Не "включи fail2ban", а конкретные флаги для аудита, ACL, SUID-охоты, capabilities и разбора файлов.
ssh -J jump user@targetHost x / IdentityFile ~/.ssh/id_xssh -L 5432:localhost:5432 hostssh -R 8080:localhost:80 hostscp -o ProxyJump=jump file user@target:/pathfind / -perm -4000 -type f 2>/dev/nullchmod g+s dirchmod +t dirgetfacl filesetfacl -m u:alice:rwx fileauditctl -w /etc/passwd -p wa -k passwd_watchausearch -k passwd_watchdebsums -crkhunter --checkaide --init && aide --checknft list rulesetiptables -t nat -L -n -viptables -L -n -v --line-numbersipset create blocklist hash:ipfailregex = ^<HOST> .*Failed passwordnmap --script ssl-enum-ciphers -p 443 hostopenssl s_client -connect host:443 -showcertscurl -sI https://host | grep -i strictopenssl x509 -pubkey -noout -in cert.pemcrt.sh/?q=domainstrings -n 8 filefile suspicious_fileexiftool file.jpgbinwalk file.binstrace -f -e trace=network -p PIDchage -l usernamesudo cat /etc/shadowopenssl passwd -6 'pass'hash-identifierumaskgetcap /usr/bin/pingsetcap cap_net_raw+ep ./mytoolcapsh --printlynis audit systemgitleaks detect --source .sudo ss -ltnp | grep 'users.*root'