PDA

View Full Version : How would you know???


elcapy
February 14th, 2008, 11:24 AM
I know my Linux box still fine but how would i know if my box has been compromised is there ways that you can tell for someone that does not know Linux so some of you guys in here, I just want to know so I keep an eye out for it if it ever does happen to me. thanks in advanced

Dr Small
February 14th, 2008, 11:28 AM
Watch your auth.log for incoming requests.
/var/log/auth.log

elcapy
February 14th, 2008, 07:56 PM
thanks I will keep an eye on it from time to time.:)

HermanAB
February 15th, 2008, 02:25 PM
Like this:

$ sudo tail -f /var/log/auth.log

and
$ sudo tail -f /var/log/messages

Cheers,

Herman

unoodles
February 15th, 2008, 03:45 PM
you could also install chkrootkit and rkhunter

astrotech226
February 16th, 2008, 01:34 AM
Another neat way to monitor your system is with "tripwire". Once installed, it catalogs the files on your computer. There is some setup involved in what to ignore, etc...

A scan is run from time to time and it will alert you to file changes. This is big deal when files like "netstat" mysteriously change in the middle of the day and you have run no updates.