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.
 
Ha. This seems like a "most likely" event. But I think a cat would be pushing the unit off the desk. I'm saying this as someone that had a cat with exact/similar coloring growing up, that would stare you in the eyes and paw would knock the coffee mug off the counter.

And that is why I have had dogs for the past 30 yrs.
 
Back
Top