hacking:determine_if_your_computer_is_hacked
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hacking:determine_if_your_computer_is_hacked [2020/11/26 22:17] – peter | hacking:determine_if_your_computer_is_hacked [2020/11/26 22:28] (current) – peter | ||
---|---|---|---|
Line 52: | Line 52: | ||
peter :0 : | peter :0 : | ||
reboot | reboot | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Show last command by a user ===== | ||
+ | |||
+ | <code bash> | ||
+ | tail -n 100 ~/ | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | ... | ||
+ | df | ||
+ | htop | ||
+ | ip addr | ||
+ | sudo apt update | ||
+ | sudo apt upgrade | ||
+ | systemd-resolve --status | ||
+ | sudo systemctl restart systemd-resolved | ||
+ | exit | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Find System Files that have recently changed ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo find /etc /var -mtime -2 | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | ... | ||
+ | /etc | ||
+ | /etc/apport | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /etc/grub.d | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
... | ... | ||
</ | </ | ||
hacking/determine_if_your_computer_is_hacked.1606429075.txt.gz · Last modified: 2020/11/26 22:17 by peter