Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-28-2006, 11:16 AM
|
#1
|
Member
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38
Rep:
|
Chkrootkit turned up problem with chkutmp
Hi,
I ran chkrootkit today and got an unusual output - I am concerned but not familiar enough with this to know if I have a problem. If someone could please help me understand this output I would be grateful:
Checking `chkutmp'... The tty of the following user process(es) were not found
in /var/run/utmp !
! RUID PID TTY CMD
! root 15188 tty7 /usr/X11R6/bin/X -br -nolisten tcp :0 vt7
chkutmp: nothing deleted
Thanks so very much
Tommy
|
|
|
10-28-2006, 12:19 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
I ran chkrootkit today
Which version?
Checking `chkutmp'... The tty of the following user process(es) were not found in /var/run/utmp
The process is attached to a tty but no audit record was found in /var/run/utmp. Normal behaviour for processes that wait for a login to occur. If you want to run some checks run "w" (shows there's nobody at that tty), compare output of "readlink -f /proc/15188" with "readlink -f /usr/X11R6/bin/X" (process uses same binary) and "rpm -Vv --noscripts XFree86" (should not show MD5 problems).
|
|
|
10-28-2006, 02:36 PM
|
#3
|
Member
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38
Original Poster
Rep:
|
Hi -- Thanks responding
I'm using version 0.45
w --> shows only me.
When I run readlink -f /usr/X11R6/bin/X and readlink -f /proc/15188 I do get to different results, plus if I kill process 15188 it returns as another process which as also complained about by chkrootkit.
readlink -f /proc/15188 returns: /proc/15188
readlink -f /usr/X11R6/bin/X returns: /usr/X11R6/bin/Xorg
rpm -Vv --noscripts XFree86
rpm: script disabling options may only be specified during package installation and erasure
|
|
|
10-28-2006, 11:20 PM
|
#4
|
Member
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38
Original Poster
Rep:
|
Rkhunter hangs while testing running processes
One more follow up -
I ran rkhunter 1.2.8 and it hangs while "testing running processes"
|
|
|
10-29-2006, 05:32 AM
|
#5
|
Moderator
Registered: May 2001
Posts: 29,415
|
When I run readlink -f /usr/X11R6/bin/X and readlink -f /proc/15188 I do get to different results
Sorry. Should be "readlink -f /proc/15188/exe", else you don't have the link to the binary.
plus if I kill process 15188 it returns as another process which as also complained about by chkrootkit.
Nobody asked you to kill stuff. This is kind of theoretical since the chance chkutmp's tty warnings alone pointing to a compromise can be considered almost nonexistant, but killing stuff is a good way to loose data in case something suspicious happened and a good way to attract attention.
rpm -Vv --noscripts XFree86
rpm: script disabling options may only be specified during package installation and erasure
Well, if the "--noscripts" switch doesn't make rpm run, then run it without the switch.
I ran rkhunter 1.2.8
RKH is at 1.2.9 older versions are *not* supported.
|
|
|
All times are GMT -5. The time now is 01:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|