LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-03-2005, 01:33 PM   #1
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
What is this process?


I just ran a 'ps aux' (after a long time of ignoring it) and I noticed that among the processes there is one called "-:0" (except for the quotes). It actually looks like this:
Code:
root      3630  0.0  0.0  1576  456 tty6     Ss+  20:56   0:00 /sbin/getty 38400 tty6
root      3743  0.0  0.2  3216 1336 ?        S    20:56   0:00 -:0
harken    3829  0.0  0.2  3904 1328 ?        S    20:56   0:00 /bin/sh  usr/bin/x-session-manager
As I said, I ignored (I know, shame on me) for a while some basic security checks, but I don't remember seeing this until now. Is it normal?
chkrootkit returns clean output, so does rkhunter except for:
Code:
 Scanning for hidden files...                               [ Warning! ]
---------------
 /dev/.udevdb
/dev/.static /etc/.pwd.lock
/etc/.java
---------------
Please inspect:  /dev/.udevdb (directory)  /dev/.static (directory)  /etc/.java (directory)
I didn't see anything special in the logs. So, should I be worried about it?
 
Old 04-03-2005, 02:19 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Re: What is this process?

I just ran a 'ps aux' (after a long time of ignoring it) and I noticed that among the processes there is one called "-:0" (except for the quotes) ... Is it normal?
I believe that's just the Xserver. If you were to start another instance, it would appear as :1. Anytime you need to verify of a process like that, you can look up information on the process in /proc/<PID>. In this case, just take a look at /proc/3743/cmdline

chkrootkit returns clean output, so does rkhunter except for:
Code:
 Scanning for hidden files...                               [ Warning! ]
---------------
 /dev/.udevdb
/dev/.static /etc/.pwd.lock
/etc/.java
---------------
Please inspect:  /dev/.udevdb (directory)  /dev/.static (directory)  /etc/.java (directory)
I didn't see anything special in the logs. So, should I be worried about it?


Chkrootkit flags any hidden files or dirs that it finds outside of the home directory portions of the filesystem. So this causes alot of false positives. Those appear to be normal, but it's usually a good idea to look at the contents just to be sure.
 
Old 04-04-2005, 05:22 AM   #3
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Original Poster
Rep: Reputation: 30
Well, 'cat /proc/3662/cmdline' (it has another PID each boot, it probably doesn't matter anyhow) returns
Code:
-:0
. Still seems strange to me.
Also, the Xserver isn't represented by
Code:
root      3623  3.7  3.6 20216 18732 ?       S    12:57   0:42 /usr/X11R6/bin/X -nolisten tcp -auth /var/run/xauth
?

Not to mention that my XP install seems to have problems as well: no matter what URL I'd type in the address bar (FF or IE, rgeardless), it only displays a page that says "MONSTER", and the page's title is "Babilon computers". Anyway, I have to google for this, I didn't have time so far to do it.
 
Old 04-04-2005, 06:09 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Original Poster
Rep: Reputation: 30
An update: a 'pstree -p' tells me that the process is actually called kdm and it belongs to XFree86. It looks like this:
Code:
├─kdm(3620)─┬─XFree86(3623)
        │           └─kdm(3662)───x-session-manag(3840)+
        │                                               └─ssh-age+
'ps aux' saying
Code:
root      3662  0.0  0.2  3216 1332 ?        S    12:57   0:00 -:0
So, Capt_Caveman, it looks you were right, but I still need a confirmation that everything is alright (maybe I'm a bit paranoid though ) due to the output of 'cat /proc/NNNN/cmdline' as shown before.

And does anybody have any ideas on the other, XP problem? Google didn't reveal anything so far.
 
Old 04-04-2005, 07:32 PM   #5
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Rep: Reputation: 30
As for the XP problem, are you by any chance going through a proxy or something.
 
Old 04-04-2005, 11:17 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Sounds completely normal. I remember thinking it was strange the first time I saw it as well. As for the XP system, could be a trojan but a malicious proxy sounds very possible too. I'd do an antivirus scan and run a spyware remover like adaware
 
Old 04-05-2005, 05:23 AM   #7
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Original Poster
Rep: Reputation: 30
Indeed, the Win problem turned out to be a spyware (I'm not sure if it's WebHancer, New.Net or CommonName, one of them though). It affects the Windows' LSP, rendering impossible any kind of Web Connection.
Right now I'm downloading some trouble-fixer (LSPFix if anyone heard of it) and if it won't work...I have to do it manually...uninstall & reinstall Windows' Communication support and some other stuff. I mentioned this just in case someone else has the same problem.

Anyway, thanks Capt_Caveman for the tips and for making my fears go away. Also thanks to pAn1k for the spared time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how a father process know which child process send the signal SIGCHLD icoming Programming 10 07-20-2010 07:26 AM
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 04:21 PM
how can i get the process id on exec a process antony_csf Linux - Software 1 06-17-2004 03:06 AM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 01:19 PM
problem with binding process and than execute another process chapa Programming 0 08-27-2003 03:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration