使用Linux Sniffer分析恶意流量可以通过多种工具和方法实现,以下是使用Wireshark和Bettercap进行恶意流量分析的方法:
sudo apt update sudo apt install wireshark
wireshark
tcp.port == 53
wget https://github.com/bettercap/bettercap/releases/download/v2.4.4/bettercap-2.4.4-linux-amd64.tar.gz tar xvf bettercap-2.4.4-linux-amd64.tar.gz sudo mv bettercap-2.4.4 /usr/local/bettercap
sudo bettercap
net.recon
模块发现局域网内的存活主机。arp.spoof
模块欺骗目标主机和网关,让它们的流量都经过你的设备。net.sniff
模块开始捕获流经你设备的数据包。通过上述步骤,你可以有效地使用Wireshark和Bettercap来分析恶意流量,识别和应对潜在的网络威胁。