Re:Rootkit infects Linux web servers
by gasda on Wednesday November 21, 2012 @07:41PM
(#4817048)
I don't have access to a system with the root kit, but something like comparing the reported size of the file and the number of bytes you can read might work
if ls -l /etc/rc.local | awk '{print $5}' != \
cat /etc/rc.local | wc -c
Also looks like you might be able to see it running with a ps also.
if ls -l /etc/rc.local | awk '{print $5}' != \ cat /etc/rc.local | wc -c
Also looks like you might be able to see it running with a ps also.