Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > Linux > system administration

Forbidden processes found

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Forbidden processes found      Add to my favorites
Leonilo
Oct 30, 2009 00:15:44 GMT   

A security report shows a bunch of vulnerabilities titled as "forbidden process found". When trying to evaluate the impact of remediating or correcting these vulnerabilites, I need to understand what do these services/commands/processes do. So I need a brief description of them. The processes found by the security report are:
chargen (Inetd)
daytime (Inetd)
discard (Inetd)
dtrc (Process)
dtspc (Inetd)
echo (Inetd)
exec (Inetd)
ident (Inetd)
instl_boots(Inetd)
klogin (Inetd)
kshell (Inetd)
ntalk (Inetd)
printer (Inetd)
recserv (Inetd)
rpc.statd (Process)
tftp (Inetd)
time (Inetd)

Note that some of them are listed as Inetd and some of them as Process, why is this?
Thank you.
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Ivan Krastev This member has accumulated 7500 or more points
Oct 30, 2009 02:08:58 GMT  5 pts

Some of the processes were started from the init scripts - they are listed as a PROCESS.
The other ones (started from inetd) are marked as inetd.

For every process/service search google,wikipedia ...

Here is example - http://en.wikipedia.org/wiki/DAYTIME

regards,
ivan
Matti Kurkela Expert in this area This member has accumulated 7500 or more points
Oct 30, 2009 10:18:32 GMT  8 pts

"Forbidden processes found" is a misleading title, as these refer mostly to network services, not necessarily processes.

"(Process)" in the listing means that the respective service is running as an independent daemon process. In HP-UX, this usually means you can stop the service from starting by editing the appropriate file in /etc/rc.config.d/ directory.

Rpc.statd is one of the NFS common services. If your server neither exports nor mounts NFS filesystems, you can set NFS_CLIENT and NFS_SERVER to 0 in /etc/rc.config.d/nfsconf and then rpc.statd won't be started at system boot any more. Note that you must have NFS_CLIENT set to 1 if you wish to make network-based Ignite backups (make_net_recovery).

"(Inetd)" means this is a network service that is started on-demand by inetd. If no-one is using the service, you won't find it in the system's process list. The inetd process handles the actual network connection: the service proces gets the incoming data piped to it from inetd and the outgoing data is handled the same way.

Some of the services marked "(Inetd)" are implemented internally by the inetd process: these are chargen, daytime, discard, echo and time. All of these are very simple services.

Daytime and time just send the current system time back to whoever connects them and then close the connection. Daytime sends the time value in human-readable format; time uses machine-friendly format. These might be used for time synchronization by very simple network devices, but even the simplest modern managed switches have plenty of processing power to use proper time synchronization protocols like SNTP or NTP.

Chargen, discard and echo are designed as aids for network service debugging.

Chargen sends back an endless stream of characters, which may be useful for testing "what happens to a client software if the server goes insane?"

Discard is a network equivalent of /dev/null: it receives everything and sends back nothing.

Echo just sends back anything sent to it.

Some Denial-of-Service attacks have involved tricking a program to connecting to another server's chargen/echo/discard ports, so the current recommendation is to disable these services if you don't need it.

All the rest of processes marked "(Inetd)" can be identified by finding the service name in the left-most column of /etc/inetd.conf file, then looking towards the end of the line to find the name of the executable and reading the man page of the respective executable ("man <name-of-executable>").

MK
Steven E. Protter Expert in this area This member has accumulated 80000 or more points
Oct 30, 2009 15:29:19 GMT  2 pts

Shalom,

Just comment out the services and restart inetd.

tftp is used to start ignite boots, as is instl_boots, they should be kept off except when actually booting an Ignite system.

Just see that none of these servcies are required for production before you shut them down.

The audit is right, they should not be used.

SEP
Dirk Dierickx Expert in this area This member has accumulated 1000 or more points
Nov 2, 2009 08:55:01 GMT  3 pts

almost all of these will have an extended description in the man pages.

if you want to know exactly what these do, you should read the manpage.

i might be saying rtfm, but there you presented a huge list.

the difference between process and inetd if that inetd processes are started when a network request on a certain port is made. processes are mostly daemons that start at boot and stay running in the background as long as the machine is up.
Leonilo
Nov 2, 2009 18:09:28 GMT    N/A: Question Author

Ok, and how can I find the man pages?
Thank you!
Steven E. Protter Expert in this area This member has accumulated 80000 or more points
Nov 2, 2009 19:32:09 GMT  4 pts

Shalom,

man ident

man inst_boots

etc.

That will get you a few of them.

SEP
Leonilo
Nov 4, 2009 17:59:05 GMT    N/A: Question Author

I've got info for most of the services listed above.
Can you help me getting a brief description of these 3 remaining ones:

dtrc (Process)
instl_boots(Inetd)
printer (Inetd)

Thank you!
Leonilo
F Verschuren This member has accumulated 1000 or more points
Nov 8, 2009 09:40:00 GMT    Unassigned

dtrc (Process)
I do not know (ask google

instl_boots(Inetd)
check:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1347323
it is used for the lan boot.

printer (Inetd)
this proces must be enabled if other servers are using this server as remote print server
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.