请输入手机号码
请输入密码
top
ps -aux --sort=-%cpu
ps -ef | grep -E "bash|sh|python|perl|curl|wget"重点看:
crontab -l
ls -la /etc/cron*
cat /etc/rc.local
systemctl list-unit-files | grep enabled木马常藏:
/etc/cron.hourly/~/.ssh/authorized_keys(被加公钥)/tmp、/dev/shmnetstat -antup
ss -antup
lsof -i看是否有连接到境外 IP、挖矿池、异常端口。
# ClamAV
apt install clamav -y
clamscan -r / --bell -i
# rkhunter(查 rootkit)
apt install rkhunter
rkhunter --check
# chkrootkit
apt install chkrootkit
chkrootkit/tmp/*、/var/tmp/*/etc/init.d/ 异常脚本~/.bashrc、/etc/profile 被加命令kworker、sshd 的进程netstat -ano
tasklist
schtasks /query /fo LISTC:\Windows\TempC:\ProgramDatafind /www -name "*.php" -mtime -3
grep -r "eval(" /www
grep -r "base64_decode" /www)如果你愿意,可以告诉我:
我可以直接帮你写针对性查杀命令。