<?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>McGrewSecurity &#187; vulnerabilities</title>
	<atom:link href="http://www.mcgrewsecurity.com/category/vulnerabilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcgrewsecurity.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 02:41:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>NBNS Spoofing in Metasploit</title>
		<link>http://www.mcgrewsecurity.com/2011/03/31/nbns-spoofing-in-metasploit/</link>
		<comments>http://www.mcgrewsecurity.com/2011/03/31/nbns-spoofing-in-metasploit/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 00:52:56 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[exploitation]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[pentesting]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=861</guid>
		<description><![CDATA[Tim Medin, over at the excellent Packetstan blog, just wrote up an excellent post detailing the implementation of a NBNS spoofing module which has been added to the the latest Metasploit trunk: NBNS Spoofing on your way to World Domination This module is based off an old tool, nbnspoof.py, that I wrote to perform this <a href='http://www.mcgrewsecurity.com/2011/03/31/nbns-spoofing-in-metasploit/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Tim Medin, over at the excellent <a title="http://www.packetstan.com/" href="http://www.packetstan.com/" target="_blank">Packetstan blog</a>, just wrote up an excellent post detailing the implementation of a NBNS spoofing module which has been added to the the latest Metasploit trunk:</p>
<ul>
<li><a title="http://www.packetstan.com/2011/03/nbns-spoofing-on-your-way-to-world.html" href="http://www.packetstan.com/2011/03/nbns-spoofing-on-your-way-to-world.html" target="_blank">NBNS Spoofing on your way to World Domination</a></li>
</ul>
<p>This module is based off an old tool, <a title="http://www.mcgrewsecurity.com/tools/nbnspoof/" href="http://www.mcgrewsecurity.com/tools/nbnspoof/" target="_blank">nbnspoof.py</a>, that I wrote to perform this attack, originally described (as nearly as I can tell) by <a title="http://www.notsosecure.com/folder2/2007/03/14/abusing-tcpip-name-resolution-in-windows-to-carry-out-phishing-attacks/" href="http://www.notsosecure.com/folder2/2007/03/14/abusing-tcpip-name-resolution-in-windows-to-carry-out-phishing-attacks/" target="_blank">Sumit Siddharth</a>. It&#8217;s a <em>very</em> simple attack, taking advantage of the way Windows proceeds to NetBIOS Name Service lookups once local and DNS lookups fail. If you&#8217;ve ever turned a careful eye to broadcast traffic on any network with Windows systems, you&#8217;ve probably noticed that a surprising number of lookups fail through to NBNS for various reasons.</p>
<p>Tim does a great job of describing how the spoofing works, how to use it in the context of a penetration test, and how the module was developed. Due to its integration into the current version of the Metasploit framework, I&#8217;d have to say that I recommend it over the original python version. Maybe one day soon I&#8217;ll one-up him and try to turn it into a meterpreter post-exploitation script, in order to hijack remote hosts into being spoofers <img src='http://www.mcgrewsecurity.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>Until then, and in related news, I&#8217;ve submitted a talk on some other forms of Metasploit sorcery that I have developed recently to Defcon (and tomorrow to Blackhat once the CFP opens). With any luck I&#8217;ll be speaking at one or the other later this year. Either way, I&#8217;ll see some of my readers there, hopefully!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2011/03/31/nbns-spoofing-in-metasploit/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Weaponizing the Web at Defcon 17</title>
		<link>http://www.mcgrewsecurity.com/2009/09/02/weaponizing-the-web-at-defcon-17/</link>
		<comments>http://www.mcgrewsecurity.com/2009/09/02/weaponizing-the-web-at-defcon-17/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 14:29:44 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[defcon]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=587</guid>
		<description><![CDATA[Shawn Moyer and Nathan Hamiel&#8217;s talk at Defcon 17, Weaponizing the Web: More Attacks on User-Generated Content, is now available on Vimeo: Shawn Moyer and Nathan Hamiel: Weaponizing the Web (DefCon 17) from Vim EeeeOOO on Vimeo. I just finished watching it (unfortunately missed it while I was in Vegas), and it&#8217;s very good.  I&#8217;m <a href='http://www.mcgrewsecurity.com/2009/09/02/weaponizing-the-web-at-defcon-17/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Shawn Moyer and Nathan Hamiel&#8217;s talk at Defcon 17, Weaponizing the Web: More Attacks on User-Generated Content, is now available on Vimeo:</p>
<p><object width="400" height="200"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6393740&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6393740&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="200"></embed></object>
<p><a href="http://vimeo.com/6393740">Shawn Moyer and Nathan Hamiel: Weaponizing the Web (DefCon 17)</a> from <a href="http://vimeo.com/user2229637">Vim EeeeOOO</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>I just finished watching it (unfortunately missed it while I was in Vegas), and it&#8217;s very good.  I&#8217;m looking forward to playing with MonkeyFist.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/09/02/weaponizing-the-web-at-defcon-17/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GhostExodus, the ETA, and a Control-Systems Incident at Carrell Clinic (Part 1)</title>
		<link>http://www.mcgrewsecurity.com/2009/06/30/ghostexodus-the-eta-and-a-control-systems-incident-at-carrell-clinic-part-1/</link>
		<comments>http://www.mcgrewsecurity.com/2009/06/30/ghostexodus-the-eta-and-a-control-systems-incident-at-carrell-clinic-part-1/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 00:43:23 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[forensics]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[recon]]></category>
		<category><![CDATA[SCADA]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=485</guid>
		<description><![CDATA[My phone has been blowing up most of the day about this. To sum it up: On the evening of the 18th, a script kiddie that was involved in a previous post on this site (&#8220;Perl Hacking is Dead&#8221;), XXxxImmortalxxXX, contacted me and began to brag about hacking a hospital&#8217;s HVAC system. Upon further googling, <a href='http://www.mcgrewsecurity.com/2009/06/30/ghostexodus-the-eta-and-a-control-systems-incident-at-carrell-clinic-part-1/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>My phone has been blowing up most of the day about this.  To sum it up: On the evening of the 18th, a script kiddie that was involved in a previous post on this site (&#8220;Perl Hacking is Dead&#8221;), XXxxImmortalxxXX, contacted me and began to brag about hacking a hospital&#8217;s HVAC system.  Upon further googling, it became apparent that XXxxImmortalxxXX was lying to me, and that it was the leader of the group Immortal had joined that allegedly carried out the attack.  This attacker went by the name of &#8220;GhostExodus&#8221;.</p>
<p>As most of my readers here know, my research area is control systems/SCADA, specifically human-machine interface (HMI) software.  Being involved in a field that involves elements of our critical infrastructure, I know how serious an incident involving a hospital&#8217;s HVAC system can be.  Screenshots taken by the attacker showed an HMI that gave the user control over many elements of the hospital, including pumps and chillers in the operating room.  Messing around with a system like this can seriously impact the health and safety of the patients.</p>
<p>I spent a large amount of time that weekend gathering up information on GhostExodus, and his hacker group, the &#8220;Electronik Tribulation Army&#8221;.  Monday, I met with my major professor at Mississippi State University&#8217;s Critical Infrastructure Protection Center, where I work as a Ph.D. research assistant.  I presented the information I had found, and we contacted the Texas attorney general&#8217;s office and the Jackson, MS FBI office, where we already had contacts.  For the rest of the week, I cooperated with the FBI by sharing the information that I had found.  GhostExodus was picked up by the FBI on Friday night.</p>
<p>I plan on sharing more, because there&#8217;s a huge amount of interesting data, images, and video involved with this case.  The alleged attacker uploaded many videos of his actions to Youtube and other sites, and when I put it all together into a coherent lecture, it should be pretty informative and entertaining.  Until then, there&#8217;s plenty of media coverage of the arrest:</p>
<ul>
<li><a title="http://dallas.fbi.gov/dojpressrel/pressrel09/dl063009.htm" href="http://dallas.fbi.gov/dojpressrel/pressrel09/dl063009.htm" target="_blank">http://dallas.fbi.gov/dojpressrel/pressrel09/dl063009.htm</a></li>
<li><a title="http://www.google.com/hostednews/ap/article/ALeqM5hGIxH-4yZGtIwfRX4kk3oYkhkvsAD995A5H82" href="http://www.google.com/hostednews/ap/article/ALeqM5hGIxH-4yZGtIwfRX4kk3oYkhkvsAD995A5H82" target="_blank">http://www.google.com/hostednews/ap/article/ALeqM5hGIxH-4yZGtIwfRX4kk3oYkhkvsAD995A5H82</a></li>
</ul>
<p>Google News shows over 170 related stories.</p>
<p>The best and most accurate thing to read, however, is the criminal complaint against &#8220;Jesse William McGraw&#8221;.  I have been informed that this is part of public record, however I have taken the liberty of editing out SSNs, DLs, VINs and such on this copy:</p>
<ul>
<li><a title="http://viewer.zoho.com/docs/ev6li" href="http://viewer.zoho.com/docs/ev6li" target="_blank">http://viewer.zoho.com/docs/ev6li</a></li>
</ul>
<p>(Edit: moved it offsite, because it was chewing bandwidth a lot more bandwidth than you&#8217;d expect.  You can read it online or download it from the above link)</p>
<p>If you&#8217;re reading the above, I&#8217;m &#8220;CW-1&#8243;.</p>
<p>I plan on keeping you updated on further developments and more information as this progresses.  There will also likely be some very interesting multi-media talks and lectures I can give on this, so if you want me to take the show on the road, get in touch.</p>
<p>For now, though, I&#8217;ve had a long day, and I shall rest <img src='http://www.mcgrewsecurity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/06/30/ghostexodus-the-eta-and-a-control-systems-incident-at-carrell-clinic-part-1/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>More links on the GE Fanuc iFIX vulnerabilities</title>
		<link>http://www.mcgrewsecurity.com/2009/02/12/more-links-on-the-ge-fanuc-ifix-vulnerabilities/</link>
		<comments>http://www.mcgrewsecurity.com/2009/02/12/more-links-on-the-ge-fanuc-ifix-vulnerabilities/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 15:13:55 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[SCADA]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=334</guid>
		<description><![CDATA[Yesterday, I posted a link to the advisory in GE Fanuc&#8217;s knowledge base.  For today, here&#8217;s some more links of interest regarding these vulnerabilities: NERC (North American Electric Reliability Corporation) Advisory (Direct link to PDF) CVE-2009-0216 (No information here yet, but presumably it will be updated soon) US-CERT Vulnerability Note VU# 310355 SecurityFocus : GE Fanuc iFIX Insecure <a href='http://www.mcgrewsecurity.com/2009/02/12/more-links-on-the-ge-fanuc-ifix-vulnerabilities/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a title="http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/" href="http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/" target="_blank">Yesterday</a>, I posted a link to the advisory in GE Fanuc&#8217;s knowledge base.  For today, here&#8217;s some more links of interest regarding these vulnerabilities:</p>
<ul>
<li><a title="http://www.nerc.com/fileUploads/File/Events%20Analysis/A-2009-02-10-01.pdf" href="http://www.nerc.com/fileUploads/File/Events%20Analysis/A-2009-02-10-01.pdf" target="_blank">NERC (North American Electric Reliability Corporation) Advisory</a> (Direct link to PDF)</li>
<li><a title="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0216" href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0216" target="_blank">CVE-2009-0216</a> (No information here yet, but presumably it will be updated soon)</li>
<li><a title="http://www.kb.cert.org/vuls/id/310355" href="http://www.kb.cert.org/vuls/id/310355" target="_blank">US-CERT Vulnerability Note VU# 310355</a></li>
<li><a title="http://www.securityfocus.com/bid/33739/" href="http://www.securityfocus.com/bid/33739/" target="_blank">SecurityFocus : GE Fanuc iFIX Insecure Authentication Multiple Unauthorized Access Vulnerabilities</a></li>
</ul>
<p>The latter two links actually credit us with discovering and reporting the vulnerability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/02/12/more-links-on-the-ge-fanuc-ifix-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GE Fanuc releases info on iFIX vulnerabilities VU# 310355</title>
		<link>http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/</link>
		<comments>http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 05:05:35 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[SCADA]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=322</guid>
		<description><![CDATA[If you&#8217;ve been looking for my slides from the SCADA Summit that included information on the GE Fanuc iFIX vulnerabilities that I discovered and reported, then you&#8217;re still out of luck, but this is just as good, really.  If you&#8217;re an end-user of iFIX, or a penetration tester/red-team member testing installations of iFIX products, this <a href='http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been looking for my slides from the SCADA Summit that included information on the GE Fanuc iFIX vulnerabilities that I discovered and reported, then you&#8217;re still out of luck, but this is just as good, really.  If you&#8217;re an end-user of iFIX, or a penetration tester/red-team member testing installations of iFIX products, this is really all the info you need:</p>
<ul>
<li><a title="http://support.gefanuc.com/support/index?page=kbchannel&amp;id=23301026185cfb2011f5ae92b8e007cfb" href="http://support.gefanuc.com/support/index?page=kbchannel&amp;id=23301026185cfb2011f5ae92b8e007cfb" target="_blank">GE Fanuc: Knowledge Base: Security Issue: CERT Reported Vulnerabilities in iFIX Security</a></li>
</ul>
<p>It&#8217;s a pretty good prose description of the vulnerabilities, in more detail than I was expecting from them.  Boiling it down to a couple of bullet points, these vulnerabilities encompass the following issues (trying not to put it in more detail than their write-up):</p>
<ul>
<li>Password storage is done in an easily reversible manner</li>
<li>&#8220;Network&#8221; authentication involves passing the file over Windows shares without additional encryption/protection</li>
<li>Authentication of users can be bypassed, as iFIX&#8217;s security measures for managing users&#8217; access run in the context of the currently-logged-in Windows user that is running the iFIX system.</li>
<li>Features that prevent operators from exiting the HMI screen can be bypassed with an auto-run capable USB drive (such as U3).</li>
</ul>
<p>There are some excellent suggestions for end-users that would allow them to mitigate the impact of these vulnerabilities until they are fixed in a future release of iFIX.  There&#8217;s good advice in there, even if you&#8217;re running something other than iFIX for your HMI.</p>
<p>Enjoy!</p>
<p>Edit: Quick edit for clarity.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/02/10/ge-fanuc-releases-info-on-ifix-vulnerabilities-vu-310355/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Santa Claus is Hacking to Town Challenge Results</title>
		<link>http://www.mcgrewsecurity.com/2009/01/21/santa-claus-is-hacking-to-town-challenge-results/</link>
		<comments>http://www.mcgrewsecurity.com/2009/01/21/santa-claus-is-hacking-to-town-challenge-results/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 14:58:59 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[exploitation]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=290</guid>
		<description><![CDATA[Over at the excellent ethicalhacker.net site, the results of the Santa Claus is Hacking to Town Skillz Challenge have been posted: Santa Claus is Hacking to Town &#8211; Answers and Winners These challenges are a lot of fun, and educational as well.  Ed Skoudis puts a lot of effort into writing and judging them.  There&#8217;s a <a href='http://www.mcgrewsecurity.com/2009/01/21/santa-claus-is-hacking-to-town-challenge-results/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Over at the excellent <a href="http://www.ethicalhacker.net" target="_blank">ethicalhacker.net</a> site, the results of the <a title="http://www.ethicalhacker.net/content/view/218/2/" href="http://www.ethicalhacker.net/content/view/218/2/" target="_blank">Santa Claus is Hacking to Town</a> Skillz Challenge have been posted:</p>
<ul>
<li><a title="http://www.ethicalhacker.net/content/view/230/1/" href="http://www.ethicalhacker.net/content/view/230/1/" target="_blank">Santa Claus is Hacking to Town &#8211; Answers and Winners</a></li>
</ul>
<p>These challenges are a lot of fun, and educational as well.  Ed Skoudis puts a lot of effort into writing and judging them.  There&#8217;s a whole archive of previous challenges available <a title="http://www.ethicalhacker.net/content/category/2/12/2/" href="http://www.ethicalhacker.net/content/category/2/12/2/">here</a>, and I highly recommend at least reading through, if not working through, some of the previous challenges.  </p>
<p>This time around, I managed to get an honorable mention for my entry!  I&#8217;m very happy with this.  I was unable to test the Windows-centric parts of my solution before I had to submit it and move on to real work, so that part wasn&#8217;t %100, but I did have a really solid way of getting netcat onto the web server via the command-injection-vulnerable script, and some nice netcat pivoting.  </p>
<p>Oh, and apparently I&#8217;m a security stud! :</p>
<blockquote><p>We had entries from notable security studs like Wesley McGrew, Raul Siles, Ryan Linn, Mark Baggett, Zoher Anis, Paul Tartar, and others.</p></blockquote>
<p>I might put &#8220;notable security stud&#8221; on some business cards, or maybe a button, now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/01/21/santa-claus-is-hacking-to-town-challenge-results/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Audio and video of Kaminsky&#039;s DNS talk now available</title>
		<link>http://www.mcgrewsecurity.com/2008/08/25/audio-and-video-of-kaminskys-dns-talk-now-available/</link>
		<comments>http://www.mcgrewsecurity.com/2008/08/25/audio-and-video-of-kaminskys-dns-talk-now-available/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 13:18:54 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=176</guid>
		<description><![CDATA[The kind folks who run Black Hat have gone ahead and released the audio and video of Dan Kaminsky&#8217;s talk at Black Hat USA 2008, entitled &#8220;Black Ops 2008: It&#8217;s The End Of The Cache As We Know It&#8221;, or &#8220;64K Should Be Good Enough For Anyone&#8221;.  This is the talk where he discusses the <a href='http://www.mcgrewsecurity.com/2008/08/25/audio-and-video-of-kaminskys-dns-talk-now-available/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The kind folks who run Black Hat have gone ahead and released the audio and video of Dan Kaminsky&#8217;s talk at Black Hat USA 2008, entitled &#8220;Black Ops 2008: It&#8217;s The End Of The Cache As We Know It&#8221;, or &#8220;64K Should Be Good Enough For Anyone&#8221;.  This is the talk where he discusses the DNS flaw that has been big news lately, and even if you&#8217;re already familiar with the details, Kaminsky is a very entertaining speaker.</p>
<ul>
<li><a title="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2_slides.m4v" href="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2_slides.m4v" target="_blank">Video (.m4v)</a></li>
<li><a title="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2.mp3" href="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2.mp3" target="_blank">Audio (.mp3)</a></li>
</ul>
<p>Thanks to <a title="http://blackhat.com/" href="http://blackhat.com/" target="_blank">blackhat.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/08/25/audio-and-video-of-kaminskys-dns-talk-now-available/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2_slides.m4v" length="0" type="video/mp4" />
<enclosure url="http://blackhat.com/presentations/bh-usa-08/Kaminsky/08_bhb_od2.mp3" length="0" type="audio/mpeg" />
		</item>
		<item>
		<title>Beaten to the punch: DNS spoofing Ruby&#039;s Resolv library</title>
		<link>http://www.mcgrewsecurity.com/2008/08/13/beaten-to-the-punch-dns-spoofing-rubys-resolv-library/</link>
		<comments>http://www.mcgrewsecurity.com/2008/08/13/beaten-to-the-punch-dns-spoofing-rubys-resolv-library/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 22:41:45 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=166</guid>
		<description><![CDATA[On the 6th, I posted hashes of a file, &#8220;the_dirt.txt&#8221;, to titillate my readership while I was busy shopping the information contained within it to TippingPoint and iDefense (in case I had a shot at monetizing it ).  Here are the contents of &#8220;the_dirt.txt&#8221;: the_dirt.txt The idea here is that Ruby implements its own threading <a href='http://www.mcgrewsecurity.com/2008/08/13/beaten-to-the-punch-dns-spoofing-rubys-resolv-library/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><a title="http://www.mcgrewsecurity.com/?p=159" href="http://www.mcgrewsecurity.com/?p=159" target="_blank">On the 6th</a>, I posted hashes of a file, &#8220;the_dirt.txt&#8221;, to titillate my readership while I was busy shopping the information contained within it to TippingPoint and iDefense (in case I had a shot at monetizing it <img src='http://www.mcgrewsecurity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).  Here are the contents of &#8220;the_dirt.txt&#8221;:</p>
<ul>
<li><a title="http://mcgrewsecurity.com/codedump/the_dirt.txt" href="http://mcgrewsecurity.com/codedump/the_dirt.txt" target="_blank">the_dirt.txt</a></li>
</ul>
<p>The idea here is that Ruby implements its own threading model that&#8217;s independent of the operating system&#8217;s implementation of threads.  While you can have several Ruby threads rolling at once, it&#8217;ll all show up as one process to the OS.  A nice effect of this is that Ruby threads can work the same way on multiple operating systems that may not have the same native threading model.</p>
<p>One problem with this, is that if Ruby has to ask the operating system to do something, and that function is blocking (the thread cannot continue until the function returns), <em>all </em>of the Ruby threads run by that process have to wait.  Making an operating system call to do a DNS query will block all of the Ruby threads of a multithreaded application until the result is returned.  This is sub-optimal.  Ruby&#8217;s solution in this case is to carry around it&#8217;s own DNS resolver (called &#8220;Resolv&#8221;) that plays nicely with Ruby threads, since it&#8217;s written in Ruby itself.  It can even be used as a drop-in replacement for normal DNS resolution simply by doing a &#8220;require &#8216;resolv-replace&#8217;&#8221;.</p>
<p>The problem with this DNS resolver is that it&#8217;s probably the worst you&#8217;ve seen since Windows 95 when it comes to random transaction IDs and source ports.  I noticed this when I was working out a bug in my <a title="http://www.mcgrewsecurity.com/?p=157" href="http://www.mcgrewsecurity.com/?p=157">MITM DNS Metasploit module</a>.  Take a look at the TIDs and source ports for the first 8 requests to come out of a test script:</p>
<ol>
<li>TID = 0 , SOURCE = 53571</li>
<li>TID = 1 , SOURCE = 53571</li>
<li>TID = 2 , SOURCE = 53571</li>
<li>TID = 3 , SOURCE = 53571</li>
<li>TID = 4 , SOURCE = 53571</li>
<li>TID = 5 , SOURCE = 53571</li>
<li>TID = 6 , SOURCE = 53571</li>
<li>TID = 7 , SOURCE = 53571</li>
</ol>
<p>Anyone posting a comment pointing out the subtle pattern in these requests gets to become a charter member of the Little Kaminsky Urban Achievers.</p>
<p>Congrats to Keita Yamaguchi, Christian Neukirchen, sheepman, and Tanaka Akira (according to the ruby-lang.org announcement) for beating me to the punch on it <img src='http://www.mcgrewsecurity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> :</p>
<ul>
<li><a title="http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/" href="http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/" target="_blank">Multiple Vulnerabilities in Ruby</a> (search for &#8220;DNS spoofing&#8221;)</li>
</ul>
<p>There&#8217;s a patch now, but I&#8217;ll bet pentesters will be seeing applications vulnerable to this for quite some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/08/13/beaten-to-the-punch-dns-spoofing-rubys-resolv-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dan Kaminksy&#039;s Blackhat USA 2008 slides are now available</title>
		<link>http://www.mcgrewsecurity.com/2008/08/06/dan-kaminksys-blackhat-usa-2008-slides-are-now-available/</link>
		<comments>http://www.mcgrewsecurity.com/2008/08/06/dan-kaminksys-blackhat-usa-2008-slides-are-now-available/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 20:46:30 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=160</guid>
		<description><![CDATA[Why So Serious &#8211; On Dan&#8217;s Blog Everything we knew, plus some really neat tricks.]]></description>
			<content:encoded><![CDATA[<ul>
<li><a title="http://www.doxpara.com/?p=1204" href="http://www.doxpara.com/?p=1204">Why So Serious</a> &#8211; On Dan&#8217;s Blog</li>
</ul>
<p>Everything we knew, plus some really neat tricks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/08/06/dan-kaminksys-blackhat-usa-2008-slides-are-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming paper on SCADA software vulnerabilities</title>
		<link>http://www.mcgrewsecurity.com/2008/08/04/upcoming-paper-on-scada-software-vulnerabilities/</link>
		<comments>http://www.mcgrewsecurity.com/2008/08/04/upcoming-paper-on-scada-software-vulnerabilities/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 18:42:35 +0000</pubDate>
		<dc:creator>wesley</dc:creator>
				<category><![CDATA[exploitation]]></category>
		<category><![CDATA[SCADA]]></category>
		<category><![CDATA[vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=156</guid>
		<description><![CDATA[I wasn&#8217;t going to talk about this on here for a while, since the public disclosure and paper won&#8217;t be out for another six months, probably, but my major professor is so excited about it that he just had to put out a press release: MSU News: Computer science student uncovers software flaw I&#8217;m going <a href='http://www.mcgrewsecurity.com/2008/08/04/upcoming-paper-on-scada-software-vulnerabilities/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t going to talk about this on here for a while, since the public disclosure and paper won&#8217;t be out for another six months, probably, but my major professor is so excited about it that he just had to put out a press release:</p>
<ul>
<li><a title="http://www.msstate.edu/web/media/detail.php?id=4309" href="http://www.msstate.edu/web/media/detail.php?id=4309" target="_blank">MSU News: Computer science student uncovers software flaw</a></li>
</ul>
<p>I&#8217;m going to clear up a few things on this, but I&#8217;m also going to have a bit of fun&#8230;</p>
<blockquote><p>A Mississippi State graduate student working with the university&#8217;s Critical Infrastructure Protection Center could be nicknamed &#8220;Johnny-on-the spot.&#8221; (sic)</p></blockquote>
<p>I feel like I&#8217;m in the Rat-Pack now.  &#8220;Hey Frank, I need a big-leaguer who can trace through this stuff in immdbg!&#8221;, &#8220;Call that kid up at MSU, he&#8217;s a real Johnny-on-the-spot.&#8221;</p>
<blockquote><p>Robert W. &#8220;Wes&#8221; McGrew</p></blockquote>
<p>This is the part where we abbreviate my middle name, Wesley (which I go by among people I know), put it in quotes as a nickname, and then place it <em>after</em> my middle initial, which is what it stands for anyw&#8230; damnit now even I&#8217;m confused.</p>
<p>OK, now for some clarifications:</p>
<blockquote><p>&#8230;discovered what is being called &#8220;a significant software vulnerability&#8221; that could allow hackers the ability to gain entry to computer control systems of numerous industries and potentially threaten national security.</p>
<p>&#8230;</p>
<p>&#8220;We know that this software exists in very critical infrastructures in the U.S.,&#8221; said Vaughn. &#8220;Through his research, Wes demonstrated how it was possible to obtain unauthorized access to the control system in just a few seconds.</p></blockquote>
<p>The vulnerabilties that I have found (I&#8217;m not even disclosing the software&#8217;s name yet) are very serious, however they&#8217;re <strong>not</strong> remote-access-granting by themselves.  Once you have any sort of access, remote or local, you can pretty much run all over the access controls and other security/auditing mechanisms.  It&#8217;s still troubling, as many installations of these systems have hacked-together remote access over rdp or software packages like PCAnywhere.  We&#8217;ve heard several first-hand accounts of the poor physical security of these systems as well.</p>
<p>There&#8217;s been a lot of instances in the past of computers on SCADA networks being compromised by worms, botnet herders, and other attackers that didn&#8217;t even realize they were on a SCADA system.  These are the sort of vulnerabilities that can turn a normal attack that happens to be on a SCADA system into an actual control systems attack.</p>
<p>I promise you&#8217;ll get all the juicy details you can eat in the paper.</p>
<blockquote><p>The National Security Agency was notified immediately of McGrew&#8217;s discovery. Shortly thereafter, the Department of Homeland Security broadcast an alert that included information on how to rectify the problem.</p></blockquote>
<p>Too bad you didn&#8217;t have your shortwave radio tuned to the right frequency or you would have caught some zero day.  Seriously though, I do think some important installations have been given some heads-up and mitigation strategies.</p>
<p>That&#8217;s really about all (or more than) I want say about it at this point <img src='http://www.mcgrewsecurity.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Edit:</strong> Never going to live this down on IRC:</p>
<pre>14:05 &lt; jgk&gt; Robert W. "Wes" McGrew of Collinsville recently discovered
             what is being called "a tiramisu" that could allow hackers
             the ability to gain satiety of numerous industries and
             potentially threaten a toilet.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/08/04/upcoming-paper-on-scada-software-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

