Hacked!

1. Has someone got in and managed to delete all record of their activity apart from the reboot in dmesg?
If I'm going after your particular server I'd clean up if I get root.
Bots usually don't care.

As it was mentioned here there's no evidence in provided information you have been hacked. The user 'user' is rebooting the server.
Could've script kiddie got in ? Yeah, but not by attack you showed in the logs so far.

Now .. if you want to play games :)
Code:
mv /sbin/reboot /sbin/reboot.orig
touch /sbin/reboot
chown root:wheel /sbin/reboot && chmod 755 /sbin/reboot
Now edit the /sbin/reboot and put:
Code:
#!/bin/sh

LOG=/root/susreboot.log

(
echo "$(date): I was called to reboot by ${PPID}!"
ps auxd
w
) >> ${LOG}

sync
/sbin/reboot.orig $*
And when somebody does call it you'll have your info prior to reboot in /root/susreboot.log log.
 
Back
Top