Linux - SecurityThis 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.
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.
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
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.