<?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>Static in the Ether &#187; Incidents</title>
	<atom:link href="http://lair.moria.org/blog/archives/category/security/incidents/feed" rel="self" type="application/rss+xml" />
	<link>http://lair.moria.org/blog</link>
	<description>Unix, Information Security &#38; Systems Administration</description>
	<lastBuildDate>Wed, 11 Nov 2009 09:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Zone-H got owned</title>
		<link>http://lair.moria.org/blog/archives/184</link>
		<comments>http://lair.moria.org/blog/archives/184#comments</comments>
		<pubDate>Wed, 11 Feb 2009 06:03:02 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[defacement]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/archives/184</guid>
		<description><![CDATA[While trying to follow up on the quite widely publicised Kaspersky website hack I went along to the obvious spot of Zone-h. Having it uncontactable the last two days, I tried again this morning and got the following: Zone-H defaced No Details on this as yet. Hackers blog has more on the Kaspersky hack which [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to follow up on the quite widely publicised <a href="http://www.smh.com.au/news/technology/security/security-software-makers-own-website-hacked/2009/02/09/1234027928463.html">Kaspersky website hack</a> I went along to the obvious spot of Zone-h. Having it uncontactable the last two days, I tried again this morning and got the following:</p>
<dl id="attachment_183" class="wp-caption aligncenter">
<dt class="wp-caption-dt"> <a rel="lightbox" href="http://lair.moria.org/blog/wp-content/uploads/2009/02/zone-horg-20080211-hacked.png"><br />
<img class="size-medium wp-image-183" title="zone-horg-20080211-hacked" src="http://lair.moria.org/blog/wp-content/uploads/2009/02/zone-horg-20080211-hacked.png" alt="Zone-H defaced" width="200" height="250" /></a></dt>
<dd class="wp-caption-dd">Zone-H defaced</dd>
</dl>
<p>No Details on this as yet. Hackers blog has more on the <a href="http://hackersblog.org/2009/02/07/usakasperskycom-hacked-full-database-acces-sql-injection/">Kaspersky hack</a> which seems to be good old SQL injection.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/184/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fresh Phish &#8211; more on DNS and Kaminsky</title>
		<link>http://lair.moria.org/blog/archives/165</link>
		<comments>http://lair.moria.org/blog/archives/165#comments</comments>
		<pubDate>Wed, 29 Oct 2008 21:23:38 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Articles]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=165</guid>
		<description><![CDATA[The October 2008 Issue of IEEE Spectrum magazine has an nicely phrased piece title &#8220;Fresh Phish&#8221; by David Schneider describing the potential of the DNS spoofing bug Discovered by Kaminsky. Also worth noting is the focus on Steampunk [1] [2] [3] including a reference to Steampunk band Abney Park]]></description>
			<content:encoded><![CDATA[<p>The October 2008 Issue of <a href="http://spectrum.ieee.org/"><acronym title="Institute of Electronic and Electrical Engineers">IEEE</acronym> Spectrum</a> magazine has an <a href="http://spectrum.ieee.org/oct08/6818"> nicely phrased piece title &#8220;Fresh Phish&#8221;</a> by David Schneider describing the potential of the DNS spoofing bug Discovered by Kaminsky.</p>
<p>Also worth noting is the focus on<a title="Steampunk Genre" href="http://spectrum.ieee.org/oct08/6810"> Steampunk</a> [<a href="http://spectrum.ieee.org/nov08/6928">1</a>] [<a href="http://spectrum.ieee.org/oct08/6816">2</a>] [<a href="http://spectrum.ieee.org/oct08/6810">3</a>] including a reference to <a title="Abney Park - Steampunk Band" href="www.abneypark.com/">Steampunk band Abney Park</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Next Great worm on the rise ? (MS08-067 Critical)</title>
		<link>http://lair.moria.org/blog/archives/142</link>
		<comments>http://lair.moria.org/blog/archives/142#comments</comments>
		<pubDate>Thu, 23 Oct 2008 22:29:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[worm]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=142</guid>
		<description><![CDATA[Microsoft seems to have broken with the &#8220;Patch Tuesday&#8221; scheduled release cycle with the urgent release of MS08-67 earlier today after having detected in the wild attacks against  netapi32.dll. The vulnerability is in the RPC connector we know and love so well ( Blaster, Welchia, Nimda &#8230;). ISC points out quite nicely that this could [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft seems to have broken with the &#8220;Patch Tuesday&#8221; scheduled release cycle with the urgent release of <a title="Microsofr RPC vulnerability" href="http://www.microsoft.com/technet/security/Bulletin/ms08-067.mspx">MS08-67</a> earlier today after having detected in the wild attacks against  netapi32.dll. The vulnerability is in the RPC connector we know and love so well ( Blaster, Welchia, Nimda &#8230;). ISC <a href="http://isc.sans.org/diary.html?storyid=5227&amp;rss">points out</a> quite nicely that this could be the vector of choice for the next Generation worm, and have adjusted their infocon to Yellow accordingly. I suspect that we could see such a bit of code comming out within the next 3-5 days since there is already existing exploit source for blaster , and some of the reverse enginering and weaponization techniques based on patchers are rumoured ot be quite advanced. I supec we are  either going to see a  a payload  of some kind of destructiive nature ( Us Elections anyone?) or in a somewhat more insidous (now why do the <a href="http://en.wikipedia.org/wiki/House_Ordos">Ordos</a> spring to mind) form a bonet zombie.</p>
<p>I&#8217;ve been patiently waiting for three years to catch a new worm on my telescopes, so I I&#8217;m ready and waiting.</p>
<p>Windows 2000, XP and Server 2003 are all listed as critical targets, with Vista and Server 2008 being vulnerable as well, but potentially able to limit the damage due to their newer some what more modular and layered security design.  For Operating systems other than the latter two, this release also effectively updates <a href="http://go.microsoft.com/fwlink/?LinkId=70299">MS06-040</a></p>
<p>Christopher Budd from the Microsoft Security Response Center has a nice little <a href="http://blogs.technet.com/msrc/archive/2008/10/23/ms08-067-released.aspx">writeup about it</a>, with further details on the <a href="http://www.microsoft.com/technet/security/Bulletin/ms08-067.mspx">Official release notes for MS08-67</a>. Also from a Microsoft Perspective, Michael from the <a href="http://blogs.msdn.com/sdl/default.aspx">Security Develoment Lifcycle</a> has a nice piece titled <a href="http://blogs.msdn.com/sdl/archive/2008/10/22/ms08-067.aspx">MS08-067 and the SDL</a> in which he actually explains the bug itself.</p>
<p>Microsoft have also gone as far as to provide a <a title="Microsoft webcast on MS08-067" href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032393978&amp;EventCategory=4&amp;culture=en-US&amp;CountryCode=US">webcast</a> on the subject.</p>
<p><strong>Update:</strong> Infosec blogspace is all a twitter with this.  I&#8217;ll add relecant content as I find it.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/142/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A poetic approach to Dan&#8217;s (And Halvar&#8217;s) DNS debacle</title>
		<link>http://lair.moria.org/blog/archives/75</link>
		<comments>http://lair.moria.org/blog/archives/75#comments</comments>
		<pubDate>Wed, 23 Jul 2008 19:43:15 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Humour]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=75</guid>
		<description><![CDATA[With the ongoing smoldering relating to the cross platform cross-vendor flaw in DNS as reported by Dan Kaminsky, Christofer Hoff has put a summary of  the situation together, but as a poem. Its also worth noting that Halvar Flake has stepped up and stated that hes found the bug as well ( so I assume [...]]]></description>
			<content:encoded><![CDATA[<p>With the ongoing smoldering relating to the cross platform cross-vendor flaw in DNS as reported by Dan Kaminsky, <a href="http://rationalsecurity.typepad.com/"> Christofer Hoff</a> has put a summary of  the situation together, but as a <a href="http://rationalsecurity.typepad.com/blog/2008/07/the-dns-debacle.html">poem</a>.</p>
<p>Its also worth noting that Halvar Flake has stepped up and stated that hes found the bug as well ( so I assume He will be sharing the stage with Dan at Defcon)</p>
<p>Footnote:</p>
<p>While trawling through logs it was interesting to nitice that this post was noted in <a href="https://www.e-secure-it.com/">E-Securre-it</a> and <a href="http://www.team-cymru.org/News/">Team Cymru&#8217;s</a> security news links links on the 24th of July 2008</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress  and dealing with incoming hacks</title>
		<link>http://lair.moria.org/blog/archives/46</link>
		<comments>http://lair.moria.org/blog/archives/46#comments</comments>
		<pubDate>Sat, 07 Jun 2008 17:10:09 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=46</guid>
		<description><![CDATA[The other day morning stated out with a conversation with darb that went as follows: DARB: so&#8230;wordpress hey? BVI: I got over writing my own code BVI: now I&#8217;m waiting for my blog to be 0wn3d DARB: you know wordpress is the equivalent of an 8ft tall ogre that stands outside looking pretty, smashes tables [...]]]></description>
			<content:encoded><![CDATA[<p>The other day morning stated out with a conversation with <a title="Brad Whittington" href="http://whijo.net/">darb</a> that went as follows:</p>
<blockquote><p>DARB: so&#8230;wordpress hey?<br />
BVI: I got over writing my own code<br />
BVI: now I&#8217;m waiting for my blog to be 0wn3d<br />
DARB: you know wordpress is the equivalent of an 8ft tall ogre that stands outside looking pretty, smashes tables when he tries to sit down, and needs 20kg of food every day&#8230;and offers little or no protection on the side entrance to your establishment?<br />
BVI: exactly!<br />
DARB: lolz<br />
BVI: mine has a spiked collar and a beware of the ogre sign :-)<br />
DARB: that only scares away legitimate users&#8230;bandits read that sign as &#8220;come on in, we left the side door open&#8221;<br />
BVI: yeah<br />
DARB: I love wordpress docs and plugins<br />
DARB: &#8220;just chown your /tmp file, and then chmod 777 everything&#8221;</p></blockquote>
<p>Well not 20 minutes later I noticed a number of Remote file inclusion attacks coming in. Nothing like the ogre having sent out an invite to all and sundry. Attacks were coming looking as follows:<br />
<small> </small></p>
<ul>
<li><small>/blog/wp-content/plugins/wordtube/wordtube-button.php?wpPATH=foo</small></li>
<li><small>/blog/archives/5/wp-content/plugins/wordtube/wordtube-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/wp-content/plugins/wordtube/wordtube-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/blog/archives/wp-content/plugins/wordtube/wordtube-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/blog/?flav=rss/wp-content/plugins/myflash/myflash-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/wp-content/plugins/myflash/myflash-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/blog/wp-content/plugins/myflash/myflash-button.php?wpPATH=</small><small>foo</small></li>
<li><small>/blog/archives/14/wp-content/plugins/mygallery/myfunctions/mygallerybrowser.php?myPath=</small><small>foo</small></li>
<li><small>/blog/archives/wp-content/plugins/mygallery/myfunctions/mygallerybrowser.php?myPath=</small><small>foo</small></li>
<li><small>/blog/archives/wp-content/plugins/mygallery/myfunctions/mygallerybrowser.php?myPath=</small><small>foo</small></li>
</ul>
<p>In the above the actual path for the exploit codes been replaced with <small>foo</small>, but is of the form of http://site/somepath/tx.txt????, or similar.</p>
<p>Ive now seen this form over eighty different systems.  The include file seems to vary ( see below) but the same plugins are being targeted. No real surprise as they have been known exploitable for a while.</p>
<ul>
<li><a href="http://alexrabe.boelinger.com/wordpress-plugins/myflash/">myflash</a> &lt; v1.1 01 May 2007 <a href="http://xforce.iss.net/xforce/xfdb/34000">ISS-XForce</a></li>
<li><a href="http://wordpress.org/extend/plugins/wordtube/">wordtube</a> &lt; 1.43 01 May 2007 <a href="http://xforce.iss.net/xforce/xfdb/33996">ISS X-Force</a></li>
<li><a title="Defunct plugin ?" href="http://www.wildbits.de/mygallery/#english">mygallery</a> ≤ v 1.2.1 29 April 2007 <a href="http://xforce.iss.net/xforce/xfdb/33955">ISS-X-force</a> <a href="http://www.frsirt.com/english/advisories/2007/1582">FRsirt</a></li>
</ul>
<p>All the requests were may using libwww-perl/5.810, so most likely come from compromised unix systems.  the payload file being referred to has been removed, but I found some others, which are no doubt similar. The algorithm being used for the brute forcing is rather dumb. of the entries listed above, only two relate to viable targets for my given install. I found the request for &#8220;blog/?flav=rss/&#8230;.&#8221; rather amusing.  Another interesting observation is the number of requests centered around <a title="Windows XP failing to hibernate" href="http://lair.moria.org/blog/archives/14">http://lair.moria.org/blog/archives/14</a> my post relating to <a title="Windows XP failing to hibernate" href="http://lair.moria.org/blog/archives/14">Windows XP failing to hibernate</a>. I have yet to see hits on any other particular posts.</p>
<p>Looking at the payload code form some of the other similar attacks, I found the following one interesting, as a more human driven recon script providing information for making a value judgment on the target site rather  than an automated assault. (When will these people learn that <a href="http://en.wikipedia.org/wiki/StudlyCaps">StudlyCaps</a> isn&#8217;t really that cool )</p>
<blockquote><p><code>echo "BraT&lt;br&gt;";<br />
$alb = @php_uname();<br />
$alb2 = system(uptime);<br />
$alb3 = system(id);<br />
$alb4 = @getcwd();<br />
$alb5 = getenv("SERVER_SOFTWARE");<br />
$alb6 = phpversion();<br />
$alb7 = $_SERVER['SERVER_NAME'];<br />
$alb8 = gethostbyname($SERVER_ADDR);<br />
$alb9 = get_current_user();<br />
$os = @PHP_OS;<br />
echo "os: $os&lt;br&gt;";<br />
echo "uname -a: $alb&lt;br&gt;";<br />
echo "uptime: $alb2&lt;br&gt;";<br />
echo "id: $alb3&lt;br&gt;";<br />
echo "pwd: $alb4&lt;br&gt;";<br />
echo "user: $alb9&lt;br&gt;";<br />
echo "phpv: $alb6&lt;br&gt;";<br />
echo "SoftWare: $alb5&lt;br&gt;";<br />
echo "ServerName: $alb7&lt;br&gt;";<br />
echo "ServerAddr: $alb8&lt;br&gt;";<br />
echo "NigeriaN HackerS TeaM&lt;br&gt;";</code></p></blockquote>
<p>Others are not quite so benign, providing command shells, and in some cases drive  by exploits using a number of different tools to try download further payloads onto the system or upload password files, webserver configurations and other sensitive information. c99madscript.php really seems to be the flavour of the month with these, although it has been around a  while.</p>
<p>What all these attempts that Ive seen do have in common are the trailing &#8220;???&#8221; or &#8220;?????&#8221; irrespective of the payload contents of filename. The purpose of these to me is unclear, surely its a pain to type. Is it a bug ina  script, or are people trying to do something else.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/46/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Layer 2 security is still important</title>
		<link>http://lair.moria.org/blog/archives/44</link>
		<comments>http://lair.moria.org/blog/archives/44#comments</comments>
		<pubDate>Wed, 04 Jun 2008 13:46:35 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Incidents]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Hacking]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=44</guid>
		<description><![CDATA[Richard Bejtlich posted a few days ago about the &#8216;hack&#8217; on the Metasploit webserver as reported by SunBelt. What is interesting is that the actual website wasnt compromised, but rather another system on the same VLAN at the hosting provider which then performed some ARP spoofing magic against the gateway, in effect redirecting traffic to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://taosecurity.blogspot.com/">Richard Bejtlich</a> <a href="http://taosecurity.blogspot.com/2008/06/old-school-layer-2-hacking.html">posted</a> a few days ago about the &#8216;hack&#8217; on the <a href="http://www.metasploit.com/" target="_blank">Metasploit</a> webserver as reported by <a title="Sunbelt Blog - Metasploit hacked!" href="http://sunbeltblog.blogspot.com/2008/06/metasploit-hacked.html" target="_blank">SunBelt.</a> What is interesting is that the actual website wasnt compromised, but rather another system on the same VLAN at the hosting provider which then performed some ARP spoofing magic against the gateway, in effect redirecting traffic to itself.</p>
<p>Richard mentions some other recent hacks which can be attributed to the same technique.  If you can control layer 2 why play around at layer 7?  This is something that I probably need to emphasize in my upcoming Infosec course next semester.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/44/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
