取证溯源

内存镜像

Windows7 可用 winpmem https://github.com/Velocidex/WinPmem

.\winpmem.exe out.dump

取证Wiki https://www.forensics-wiki.com/tools/ 取证oj https://forensics.didctf.com/

恶意外联IP

Tcpdump

另一种方法查看端口情况

ss -tulnpe

入侵痕迹

无脑搜索flag

find / -type f | xargs grep -H -l 'flag' &2>/dev/null

日志 httpd日志路径

# Linux
/etc/httpd/logs/access_log
/var/log/httpd/access_log
# Windows
D:\xampp\apache\logs\access.log
D:\xampp\apache\logs\error.log

tomcat日志路径

/usr/local/apache-tomcat-7.0.78/logs/ 

Nginx日志路径

/usr/local/nginx/logs

IIS日志

Wireshark

文件

  • .vimhostory 文件
  • /etc/systemd/system

Webshell Behinder冰蝎

Antsword蚁剑

权限维持

crontab定时任务 查看定时任务

cat /etc/crontab

查看隐藏进程

unhide