<?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; exploit</title>
	<atom:link href="http://lair.moria.org/blog/archives/tag/exploit/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>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>Defcon16 Toolsets</title>
		<link>http://lair.moria.org/blog/archives/94</link>
		<comments>http://lair.moria.org/blog/archives/94#comments</comments>
		<pubDate>Wed, 20 Aug 2008 21:29:14 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[Security Tools]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=94</guid>
		<description><![CDATA[With the 16th incarnation of Defcon having come and gone last week, a number of people have put together a nice list of the various tools released. The ZDnet&#8217;s Rob Fuller has done all the hard work of tracking down the various tools and their websites in his article -  entitled &#8220; DEFCON 16: List [...]]]></description>
			<content:encoded><![CDATA[<p>With the 16<sup>th</sup> incarnation of <a href="https://www.defcon.org/">Defcon</a> having come and gone last week, a number of people have  put together a nice list of the various tools released. The ZDnet&#8217;s Rob Fuller has done all the hard work of tracking down the various tools and their websites in his article -  entitled &#8220;<a title="Permanent Link to DEFCON 16: List of tools and stuff released" rel="bookmark" href="http://blogs.zdnet.com/security/?p=1735"> DEFCON 16: List of tools and stuff released</a><br />
&#8220;seems to be the most definitive.  Another <a href="http://www.room362.com/archives/217-DEFCON-16-The-Tools-not-the-Toools.html">(updated) list</a> is on Rob&#8217;s personal site in which he includes some other items like <strong>Packet-O-Matic, </strong><strong>PE-Scambler  </strong>and<strong>VMware Pen-Testing Framework</strong>, alng with a link to the ISO.</p>
<p> Of all the tools release its <a href="http://davix.secviz.org/">DAVIX</a>, that makes me happiest, other than it being a relaly slick Compilation of VizSec tools, it also features <a title="InetVis - 3d security analysis" href="http://vizsec.org/applications/inetvis/">InetVis</a>, which is a part of the postgraduate research by one of my students (Jean-Pierre van Riel), which I <a href="http://lair.moria.org/blog/archives/55">previously posted </a>about.</p>
<p><a href="http://ikat.ha.cked.net/"><strong>iKat</strong></a> is the other tool that tickles my fancy.</p>
<p>There are some interesting setf odf Defcon Photos floating around such as <a href="http://www.flickr.com/photos/stits/sets/72157606608859399/">these</a> by sits, who has also made available a zip of the of the <a href="http://www.stits.org/fp/Defcon_16/">Defcon 16 CD</a> contents.An 732MB <a title="Defcon 16 CD ISO" href="http://edge.i-hacked.com/defcon16-cd-iso-posted">ISO  version</a> is also available that at least has checksums.</p>
<p>I see some fun times ahead!</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/94/feed</wfw:commentRss>
		<slash:comments>3</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>
	</channel>
</rss>
