{"id":712,"date":"2013-04-26T16:31:33","date_gmt":"2013-04-26T14:31:33","guid":{"rendered":"\/\/www.mcgill.org.za\/stuff\/?p=712"},"modified":"2013-04-28T13:01:03","modified_gmt":"2013-04-28T11:01:03","slug":"not-your-bot-driven-udp-flood","status":"publish","type":"post","link":"https:\/\/www.mcgill.org.za\/stuff\/archives\/712","title":{"rendered":"Not your regular bot driven UDP flood"},"content":{"rendered":"<p>After weeks of battling Joomla\/JCE sites that insist on running evil code and spewing denial of service traffic, we had a machine today sending UDP floods. This, it turns out, is not a hacked machine sending spews of botnet traffic &#8211; although it seems to be &#8212; UDP sent without port numbers, tons of it &#8212; maybe it&#8217;s some kind of raw packet driver running as LOCAL_SYSTEM &#8211; but it turns out not to be:<\/p>\n<pre>11:21:15.948103 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948105 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp<\/pre>\n<p>It&#8217;s SNMP &#8211; simple network management protocol &#8211; sending a particularly large response to a tiny query string.\u00a0 The complete dump starts with a tiny request for a large SNMP mib.\u00a0 For 79 bytes sent, the attacker gets 64kb or so delivered to his target:<\/p>\n<pre>11:21:15.917383 ethertype IPv4 (0x0800), length 79: 82.157.102.178.80 &gt; 10.0.40.133.161:  GetBulk(22)  N=0 M=2250 .1.3.6.1\r\n11:21:15.948093 ethertype IPv4 (0x0800), length 1514: 10.0.40.133.161 &gt; 82.157.102.178.80:  [len1468&lt;asnlen51916] 11:21:15.948096 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948100 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948102 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948103 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948105 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948110 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948111 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948112 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948112 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948113 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948114 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948285 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948289 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948290 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948291 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948294 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948295 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948353 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948355 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948513 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948516 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948517 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948519 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948520 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948521 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp\r\n11:21:15.948522 ethertype IPv4 (0x0800), length 1514: 10.0.40.133 &gt; 82.157.102.178: udp<\/pre>\n<p>Notice that the fragments (which are the bulk of the response) are not labelled with the port number, so it&#8217;s pretty hard to identify what they are about.<\/p>\n<p>This amplification is <strong>so<\/strong> much better than<\/p>\n<pre>dig @10.0.40.133 any isc.org<\/pre>\n<p>The particularly stupid part about this is that the SNMP request only arrived at the box because the upstream firewall rules changed (a hardware upgrade that stupidly involved unintentional configuration changes).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After weeks of battling Joomla\/JCE sites that insist on running evil code and spewing denial of service traffic, we had a machine today sending UDP floods. This, it turns out, is not a hacked machine sending spews of botnet traffic &hellip; <a href=\"https:\/\/www.mcgill.org.za\/stuff\/archives\/712\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[33,16,99,190,11],"class_list":["post-712","post","type-post","status-publish","format-standard","hentry","category-stuff","tag-networking","tag-security","tag-snmp","tag-stuff","tag-stupidity"],"_links":{"self":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/comments?post=712"}],"version-history":[{"count":4,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/712\/revisions"}],"predecessor-version":[{"id":717,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/712\/revisions\/717"}],"wp:attachment":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/media?parent=712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/categories?post=712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/tags?post=712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}