Operating System - HP-UX
1833382 Members
3435 Online
110052 Solutions
New Discussion

Re: disable services under /etc/rc.config.d

 
SOLVED
Go to solution
Crystal_1
Frequent Advisor

disable services under /etc/rc.config.d

Hi guys,

I am reviewing the CIS HP-UX Benchmark and I can't figure out why I should turn off the following services:

netconf: RARP=0; RDPD=0
ptydaemon: PTYDAEMON_START=0
vt: VTDAEMON_START=0
netdaemons: DDFA=0

Can some one explain to me how this helps secure a host?

Thanks

6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: disable services under /etc/rc.config.d

Hi,

The thumb rule for security is to turn-off all the services that are not required to run. It does not necessarily mean that there were security issues found with them. But from a hacker's perspective, anything that is opened is worth a try.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Shannon Petry
Honored Contributor

Re: disable services under /etc/rc.config.d

RARP allows someone to spoof MAC addresses with a simple broadcast, which could redirect your servers.
If you are required to run arpd for some reason, then by all means feel free to keep it up.

I think the general recommendations will tell you to restrict ports with known vulnerabilities as well as rarely used networking which could be used for exploitation. I.E. NIS/rwhod
Since daemons do not start for services, this also reduces system overhead and can lead to better performance.

Regards,
Shannon
Microsoft. When do you want a virus today?
Tom Danzig
Honored Contributor

Re: disable services under /etc/rc.config.d

If the service is there, any vulnerabilities, if they exist, can be exploited. If the services are not required, then shut them down for enhanced security (if it aint runnin' , you can't hack it).

You may want to check what other services are available in inetd.conf and disable any your server does not require.
Crystal_1
Frequent Advisor

Re: disable services under /etc/rc.config.d

Hi,

It's understood that I should disable all unecessary services. I don't understand what those settings are used for? Such as, what is PTY daemon, vt daemon, ddfa etc. I couldn't get info from the file.

Crystal

Shannon Petry
Honored Contributor
Solution

Re: disable services under /etc/rc.config.d

DDFA is two parts.
1st is the DTC: Data communications and terminal controller.
2nd is the DDFA Data Device File access software.
Specifically, the DDFA consists of the ptydaemon, vtydaemon, ddp, and ocd which play a role in allowing remote terminal access through a listening daemon.

NOTE: Standard Access is done through programs launched by inetd such as remsh, rexec, rlp, etc..

Regards,
Shannon
Microsoft. When do you want a virus today?
Sridhar Bhaskarla
Honored Contributor

Re: disable services under /etc/rc.config.d

Hi,

RARP = For network boot clients
RDPD = Router discovery protocol that can automatically update the routing tables.
ptydaemon = For shell layers. If you use a dumb terminal, you can use shl to get more sessions (shells).
vtdaemon = For "vt" users. Another login methodology to access remote systems.
DDFA: Provides interfaces to access terminal server ports

-Sri
You may be disappointed if you fail, but you are doomed if you don't try