<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: simultaneous]]></title>
    <link>http://securityratty.com/tag/simultaneous</link>
    <description></description>
    <pubDate>Fri, 16 May 2008 07:12:08 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Anti-Debugging Series - Part I]]></title>
      <link>http://securityratty.com/article/5dc5d012cfad6c070272eeb8f4c0dc2b</link>
      <guid>http://securityratty.com/article/5dc5d012cfad6c070272eeb8f4c0dc2b</guid>
      <description><![CDATA[For those that dont know, anti-debugging is the implementation of one or more techniques within computer code that hinders attempts at reverse engineering or debugging a target process. Typically this...]]></description>
      <content:encoded><![CDATA[<p>For those that don&#8217;t know, anti-debugging is the implementation of one or more techniques within computer code that hinders attempts at reverse engineering or debugging a target process. Typically this is achieved by detecting minute differences in memory, operating system, process information, latency, etc. that occur when a process is started in or attached to by a debugger compared to when it is not. Most research into anti-debugging has been conducted from the vantage point of a reverse engineer attempting to bypass the techniques that have been implemented. Limited data has been presented that demonstrates anti-debugging methods in a high level language that the average developer can understand. It is with this in mind that I hope to begin a series of posts that present some of the methods of anti-debugging in a clear, concise, and well documented fashion. The end goal of this series is to arm developers with the techniques and knowledge that will allow them to add a layer of protection to their software while simultaneous educating reverse engineers in some of the anti-debugging methods used by malware authors today.</p>
<p>Before we delve into the intricacies of individual methods of anti-debugging let&#8217;s use this post to define the classes of anti-debugging that we will be discussing. While other classes may exist, the definition of these classes is an attempt to include the majority of anti-debugging methods in use today. There is some overlap between classifications and we may have left out some methods due to limited exposure or effectiveness.</p>
<p><strong>API Based Anti-Debugging</strong><br />
API based anti-debugging is the most straightforward and possibly the easiest to understand for a typical developer. Using both documented and undocumented API calls, these methods query process and system information to determine the existence or operation of a debugger. From single line calls such as IsDebuggerPresent() and CheckRemoteDebugger() to slightly more complex methods including debugger detaching and CloseHandle() checks. These methods are generally trivial to add to an existing code base and many can even be implemented in as few as two or three lines.</p>
<p><strong>Exception Based Anti-Debugging</strong><br />
Exception based anti-debugging is slightly different than your basic API based techniques. Many times when a debugger is attached to a process, exceptions are trapped and handled by the debugger without regard to passing the exception back to the application for continued execution. Occasionally these exceptions can even crash or terminate a process when run under a debugger and be handled gracefully when running clean. It is these discrepancies that makes exception based anti-debugging techniques possible.</p>
<p><strong>Process and Thread Block Anti-Debugging</strong><br />
Some of the API based anti-debugging methods use published functions to query information from within the process and thread blocks for our running code. Many API based detections can be subverted within a debugger by hooking the API call and returning values that indicate a clean process. One way around this subversion is to directly query the process and thread blocks, bypassing the API calls. Direct analysis of the process and thread blocks, while more complex, can lead to a more accurate and high assurance result.</p>
<p><strong>Modified Code Anti-Debugging</strong><br />
One of the methods that a debugger uses to signal a breakpoint is to insert a break byte into the running code at the location that it wishes to stop execution. The process execution breaks when this value is seen, giving control to the debugger. When the program is resumed, the breakpoint value is removed and replaced with the original byte, the execution backed up one byte, and the program is resumed. Detection of software based breakpoints can be achieved by analyzing the process for modifications from the expected norm.</p>
<p><strong>Hardware and Register Based Anti-Debugging</strong><br />
A second way that a debugger can break the execution of a process is by using a hardware breakpoint. A hardware breakpoint relies upon CPU registers to store the pertinent information and to detect when the target break addresses are seen on the bus. A break interrupt is triggered at the appropriate time based on these register values. Reading or modifying the hardware can allow for the detection of a debugger.</p>
<p><strong>Timing and Latency Anti-Debugging</strong><br />
Finally timing and latency can be used as an effective anti-debugging method. When executing a program within a debugger, specifically when single stepping, a much larger latency occurs between execution of instructions. This latency can be detected and compared against a reasonable threshold to detect the existence of a debugger attached to our process.</p>
<p>Each of the classes of anti-debugging outlined above has merit when used individually to protect a process. While none of them can be assured to ever protect a program from a determined reverse engineer or debugger, implementation of these techniques (or many of them if appropriate) can sufficiently slow down the debugging process and hopefully make the attacker spend his time on other, easier, ventures. In the remainder of this series on anti-debugging we will review in depth some of the more interesting methods of each of the above classes. So bring along your debugger and your development environment and let the games begin.</p>
]]></content:encoded>
      <pubDate>Tue, 02 Dec 2008 17:56:25 +0000</pubDate>
      <category domain="http://securityratty.com/tag/process execution breaks">process execution breaks</category>
      <category domain="http://securityratty.com/tag/execution">execution</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/methods query process">methods query process</category>
      <category domain="http://securityratty.com/tag/hardware breakpoint">hardware breakpoint</category>
      <category domain="http://securityratty.com/tag/hardware">hardware</category>
      <category domain="http://securityratty.com/tag/process information">process information</category>
      <category domain="http://securityratty.com/tag/target process">target process</category>
      <category domain="http://securityratty.com/tag/methods">methods</category>
      <source url="http://www.veracode.com/blog/2008/12/anti-debugging-series-part-i/">Anti-Debugging Series - Part I</source>
    </item>
    <item>
      <title><![CDATA[Linksys WRT610N Review]]></title>
      <link>http://securityratty.com/article/edcd9863740d597dbc3a37c18f2e59ff</link>
      <guid>http://securityratty.com/article/edcd9863740d597dbc3a37c18f2e59ff</guid>
      <description><![CDATA[My review of the Linksys WRT610N at Macworld: The router works quite well at handling Wi-Fi and other functions, but is terrible at working with Mac OS X, one of the advertised features of the...]]></description>
      <content:encoded><![CDATA[<p><a href="http://www.macworld.com/article/135222/2008/09/linksyswrt610n.html"><strong>My review of the Linksys WRT610N at Macworld:</strong></a> The router works quite well at handling Wi-Fi and other functions, but is terrible at working with Mac OS X, one of the advertised features of the product. The WRT610N is a revised design of the previous simultaneous dual-band (2.4/5 GHz) Draft N WRT600N model which had far worse problems. </p>

<p>Linksys addressed many of my concerns with that previous device. The 610N can mount a drive and share it via SMB and FTP, have two full-speed connections running over both bands without skipping a beat, and supports several methods of getting the one-click WPS (Wi-Fi Protected Setup) to work. Read the review for all the details, but I can't recommend this router to Mac users with any needs beyond basic networking; I'm perfectly happy to give it a full thumbs-up for Windows XP and Vista users, however.</p>

<p><img src="http://wifinetnews.com//images/2008/WRT610N_M.jpg" alt="WRT610N_M.jpg" border="0" width="229" height="111" /></p>

<p>WPS is a particular mess, by the way. Linksys has four somewhat distinct methods of using WPS to enable a password-free encrypted connection between a client and a base station: a button on the front that, when pressed, turns on WPS; and three modes (one of them similar to that button) accessible via their Web configuration software. One option is to get the base station to create a short PIN that's then entered on the client system as an out-of-band confirmation that there's no man in the middle.</p>

<p>Apple, by contrast, has a single way of joining a WPS-offering base station: it displays the network's name in bold. Select the network, and Mac OS X displays a key code that needs to be entered on the base station. But the WRT610N can't handle that option. If you put the WRT610N into a mode in which Apple can spot the device as offering a WPS handshake, you can't enter the code into the Linksys router!</p>

<p>This shows that there's still rough edges in the WPS protocol that two of the highest-selling makers of Wi-Fi gear can manage to not mesh up their respective options. (Apple declined to comment for my Macworld story; Linksys confirmed the lack of compatibility, but put the burden on Apple's doorstep.)</p>]]></content:encoded>
      <pubDate>Tue, 16 Sep 2008 05:27:41 +0000</pubDate>
      <category domain="http://securityratty.com/tag/wrt610n">wrt610n</category>
      <category domain="http://securityratty.com/tag/linksys wrt610n">linksys wrt610n</category>
      <category domain="http://securityratty.com/tag/linksys">linksys</category>
      <category domain="http://securityratty.com/tag/wps protocol">wps protocol</category>
      <category domain="http://securityratty.com/tag/wps">wps</category>
      <category domain="http://securityratty.com/tag/base station">base station</category>
      <category domain="http://securityratty.com/tag/linksys router">linksys router</category>
      <category domain="http://securityratty.com/tag/one-click wps">one-click wps</category>
      <category domain="http://securityratty.com/tag/wps handshake">wps handshake</category>
      <source url="http://wifinetnews.com/archives/008441.html">Linksys WRT610N Review</source>
    </item>
    <item>
      <title><![CDATA[3PAR Thin Copy Desktop: A VDI-Optimized Storage Solution]]></title>
      <link>http://securityratty.com/article/faa1c491c2560f03d26087ce540dd0ef</link>
      <guid>http://securityratty.com/article/faa1c491c2560f03d26087ce540dd0ef</guid>
      <description><![CDATA[Source: 3PAR) The advent of Virtual Desktop Infrastructure (VDI) holds great promise in corporate, government, and service provider environments. Virtual Desktop Infrastructure, such as VMware VDI,...]]></description>
      <content:encoded><![CDATA[<b>(Source: 3PAR)</b> The advent of Virtual Desktop Infrastructure (VDI) holds great promise in corporate, government, and service provider environments. Virtual Desktop Infrastructure, such as VMware VDI, enables end users or their hosting providers to provision and manage hundreds of individual, virtual desktops from a set of centrally administered, consolidated servers. This approach delivers a number of potential benefits, including lower administrative and maintenance costs, higher levels of security, and increased user mobility and flexibility. 3PAR has introduced Thin Copy Desktop for VMware VDI, a storage solution designed for virtualized desktop infrastructures. This offering meets all the requirements for a VDI Optimized Storage solution, which we have outlined in this document. 3PAR Thin Copy Desktop significantly decreases physical disk space requirements for virtual desktop images and enables the rapid, simultaneous booting of hundreds  or even thousands  of virtual machines (VMs).
<p><a href="http://feeds.computerworld.com/~a/Computerworld/Security/News?a=OqJXst"><img src="http://feeds.computerworld.com/~a/Computerworld/Security/News?i=OqJXst" border="0"></img></a></p><img src="http://feeds.computerworld.com/~r/Computerworld/Security/News/~4/383300985" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 04 Sep 2008 09:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/vdi">vdi</category>
      <category domain="http://securityratty.com/tag/storage solution">storage solution</category>
      <category domain="http://securityratty.com/tag/virtual desktop infrastructure">virtual desktop infrastructure</category>
      <category domain="http://securityratty.com/tag/vmware vdi">vmware vdi</category>
      <category domain="http://securityratty.com/tag/thin copy desktop">thin copy desktop</category>
      <category domain="http://securityratty.com/tag/3par">3par</category>
      <category domain="http://securityratty.com/tag/manage hundreds">manage hundreds</category>
      <category domain="http://securityratty.com/tag/virtual desktop images">virtual desktop images</category>
      <category domain="http://securityratty.com/tag/hundreds">hundreds</category>
      <source url="http://feeds.computerworld.com/~r/Computerworld/Security/News/~3/383300985/whitepapers.do">3PAR Thin Copy Desktop: A VDI-Optimized Storage Solution</source>
    </item>
    <item>
      <title><![CDATA[3PAR Thin Copy Desktop: A VDI-Optimized Storage Solution]]></title>
      <link>http://securityratty.com/article/16989dfab02bffbda4d73e938dc0852d</link>
      <guid>http://securityratty.com/article/16989dfab02bffbda4d73e938dc0852d</guid>
      <description><![CDATA[Source: 3PAR) The advent of Virtual Desktop Infrastructure (VDI) holds great promise in corporate, government, and service provider environments. Virtual Desktop Infrastructure, such as VMware VDI,...]]></description>
      <content:encoded><![CDATA[<b>(Source: 3PAR)</b> The advent of Virtual Desktop Infrastructure (VDI) holds great promise in corporate, government, and service provider environments. Virtual Desktop Infrastructure, such as VMware VDI, enables end users or their hosting providers to provision and manage hundreds of individual, virtual desktops from a set of centrally administered, consolidated servers. This approach delivers a number of potential benefits, including lower administrative and maintenance costs, higher levels of security, and increased user mobility and flexibility. 3PAR has introduced Thin Copy Desktop for VMware VDI, a storage solution designed for virtualized desktop infrastructures. This offering meets all the requirements for a VDI Optimized Storage solution, which we have outlined in this document. 3PAR Thin Copy Desktop significantly decreases physical disk space requirements for virtual desktop images and enables the rapid, simultaneous booting of hundreds - or even thousands - of virtual machines (VMs).<br style="clear: both;"/>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v2:f4f34ae1a56fad240bc637717ae98a3e:Q0uxw8yNx8poQ%2FQKxJQtAycZkRBw4pO4%2F2AGV5i1QMLMpEg2wgSl974RKBrmsuGEkQ5WWxAA3cO0rmN8tY2Dc8t9mmhNJA%2BfmXpVhaXj9Wc%3D'><img border='0' title='Add to digg' alt='Add to digg' src='http://www.pheedo.com/images/mm/digg.gif'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v2:2f92a7c011d256cf733e878cbfad9e42:zmYgYG2YKzzlSqg0dKBU4vOJ6SzSo2bX5p2jt5xYGjnjyCfcQrfayiFgom7WLp%2BcZVbH3mNXyPHe0ntOxt6o17HTWmmqsd4nmzytBBrlCiA%3D'><img border='0' title='Add to StumbleUpon' alt='Add to StumbleUpon' src='http://www.pheedo.com/images/mm/stumbleit.gif'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v2:2686fa7fc02e8dc83fc49f23561537a8:7HFkUgKP22vzQQhW%2BPfraFFlO08ySGGz%2FvdMs1d9Yi%2FVBWxq9bNZDFJuucs1na7awgkKYmUxiPuHMq%2FNWwlgnbmxz50Ko9%2Bdgq7tudSyk6w%3D'><img border='0' title='Add to Twitter' alt='Add to Twitter' src='http://www.pheedo.com/images/mm/twitter.png'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v2:03149008a954edb6eaba5c5cab76cee9:Y%2F7m6%2BnHXo6F8t5s1q5N10fSXIUjiQ6dP8bwkLrOfzikRIkKy%2Br8XNGAK6%2F1FF8LUtdQNIBbHyx84L%2Fpv0CIYzHFSmkdR1qeozC7xPY7aSM%3D'><img border='0' title='Add to Slashdot' alt='Add to Slashdot' src='http://www.pheedo.com/images/mm/slashdot.png'/></a>
<br style="clear: both;"/>  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=f871915fc679b17cbf8fb0103b3574aa" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=f871915fc679b17cbf8fb0103b3574aa" style="display: none;" border="0" height="1" width="1" alt=""/>]]></content:encoded>
      <pubDate>Thu, 04 Sep 2008 09:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/vdi">vdi</category>
      <category domain="http://securityratty.com/tag/storage solution">storage solution</category>
      <category domain="http://securityratty.com/tag/virtual desktop infrastructure">virtual desktop infrastructure</category>
      <category domain="http://securityratty.com/tag/vmware vdi">vmware vdi</category>
      <category domain="http://securityratty.com/tag/thin copy desktop">thin copy desktop</category>
      <category domain="http://securityratty.com/tag/3par">3par</category>
      <category domain="http://securityratty.com/tag/manage hundreds">manage hundreds</category>
      <category domain="http://securityratty.com/tag/virtual desktop images">virtual desktop images</category>
      <category domain="http://securityratty.com/tag/hundreds">hundreds</category>
      <source url="http://feeds.computerworld.com/click.phdo?i=f871915fc679b17cbf8fb0103b3574aa">3PAR Thin Copy Desktop: A VDI-Optimized Storage Solution</source>
    </item>
    <item>
      <title><![CDATA[BlackHat Recap]]></title>
      <link>http://securityratty.com/article/bec2ea65daab94e0e7001ef1ba7b1b9a</link>
      <guid>http://securityratty.com/article/bec2ea65daab94e0e7001ef1ba7b1b9a</guid>
      <description><![CDATA[Another BlackHat has come and gone. As usual, it was a very busy week juggling customer meetings, recruiting, conference planning, vendor parties, and, oh yes, the actual BlackHat presentations. I had...]]></description>
      <content:encoded><![CDATA[<p>Another BlackHat has come and gone.  As usual, it was a very busy week juggling customer meetings, recruiting, conference planning, vendor parties, and, oh yes, the actual BlackHat presentations.  I had a fantastic time catching up with old friends and finally getting the opportunity to meet more of the <a href="http://n0where.org/security-twits/">Security Twits</a> and others in the security community.  I didn&#8217;t submit a talk this year, but nevertheless, fake Dan Kaminsky was still excited to see me.</p>
<p><a href="http://www.veracode.com/blog/wp-content/uploads/2008/08/chris_2742966251_1b47297b33_b.jpg"><center><img src="http://www.veracode.com/blog/wp-content/uploads/2008/08/chris_2742966251_1b47297b33_b-300x225.jpg" alt="" title="chris_2742966251_1b47297b33_b" width="300" height="225" class="aligncenter size-medium wp-image-215 photoborder" /></center></a></p>
<p>My favorite talk, as expected, was the Sotirov/Dowd talk on <a href="http://taossa.com/archive/bh08sotirovdowd.pdf">How To Impress Girls With Browser Memory Protection Bypasses</a>.  The attack is a conceptually simple, yet completely reliable technique for exploiting vulnerabilities in web browsers.  Of course, the media has <a href="http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1324395,00.html">sensationalized </a> the impact of their findings, but ultimately, this is still significant as far as browser-based exploits are concerned.  It&#8217;s worth mentioning that part of the technique allowing them to load a .NET DLL at an arbitrary location under Vista was reliant on an implementation bug wherein the OS disables ASLR if the version in the .NET COR header was below a certain value.  However, the address space spraying and stack spraying techniques are likely to be extended to other platforms utilizing similar memory protection mechanisms.  </p>
<p>As for the girls?  I can report first-hand that the ladies at TAO on Wednesday night were hanging on <a href="http://twitter.com/alexsotirov">Alex</a>&#8217;s every word.  They were particularly impressed when he whipped out the laptop for a live demo.  Unfortunately, none of the dozen iPhone owners in the immediate vicinity thought to snap a picture (too busy Twittering).  Oh well.  </p>
<p>I also enjoyed Hovav Shacham&#8217;s talk on return-oriented programming.  Simply put, he described a generalization of the return-to-libc shellcode approach with the intent to demonstrate that one could achieve Turing-complete computation using &#8220;found code&#8221; in process images.  By chaining together series of mini-computations ending in return (RET) instructions, it was possible to build higher-level programming constructs such as branches and loops.  The nature of the x86 instruction set provides some flexibility because instructions are interpreted differently depending on how you align the instruction pointer (i.e. the old shellcode trick of searching the process image for any JMP EBX instruction and using that as your EIP).  In RISC architectures such as SPARC, however, you don&#8217;t have that luxury; if your %pc isn&#8217;t aligned properly you get a bus error.  So it was quite interesting to see that they were able to extend the concept to RISC.  The practicality of the attack technique is limited by the fact that the shellcode is tuned to a particular binary image &#8212; if the shellcode was built using instructions extrapolated from glibc 2.3.5, it won&#8217;t work for a system running glibc 2.4.  </p>
<p>I thought Scott Stender&#8217;s talk on <a href="http://isecpartners.com/files/iSEC%20Partners%20-%20Concurrency%20Attacks%20in%20Web%20Applications.pdf">Concurrency Attacks in Web Applications</a> was interesting as well.  In a nutshell, spewing thousands of simultaneous requests at web application transactions that are not thread-safe can create interesting problems.  In the presentation, Scott ran his demo against a VM running on the attack machine.  I found myself wondering how effective the same attack would be over the Internet &#8212; would it be significantly less reliable (or not at all)?  Race conditions are generally easier to exploit locally than remotely due to more predictable execution conditions.  Certainly this is an under-tested vulnerability class though.</p>
<p>One presentation I wasn&#8217;t able to attend but want to follow up on is <a href="http://twitter.com/nate_mcfeters">Nate McFeters</a>, John Heasman, and Rob Carter&#8217;s talk which discussed the GIFAR attack I&#8217;ve been hearing so much about lately.  The gist is that you can create a file that is both a valid GIF and a valid JAR, then use some Java applet tricks to initiate HTTP requests on behalf of the victim.  </p>
<p>Finally, the <a href="http://pwnie-awards.org/2008/">Pwnie Awards</a> didn&#8217;t fail to disappoint.  Drama ensued over the Most Overhyped award, but at least this year some of the winners showed up to claim their awards!  <a href="http://twitter.com/halvarflake">Halvar</a> rapping Symantec lyrics was also quite memorable.</p>
<p>All in all, a fun and informative week, but as usual, I was relieved to get the hell out of Vegas and head home on Friday morning. </p>
<p>P.S. For a much more entertaining BlackHat/Defcon Recap, read <a href="http://securityuncorked.net/2008/08/anecdotes-blackhat-defcon/">Jennifer Jabbusch&#8217;s account</a> of the week&#8217;s events.  It&#8217;s my favorite one so far!</p>
]]></content:encoded>
      <pubDate>Tue, 12 Aug 2008 18:43:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/favorite">favorite</category>
      <category domain="http://securityratty.com/tag/favorite talk">favorite talk</category>
      <category domain="http://securityratty.com/tag/talk">talk</category>
      <category domain="http://securityratty.com/tag/sotirovdowd talk">sotirovdowd talk</category>
      <category domain="http://securityratty.com/tag/scott stenders talk">scott stenders talk</category>
      <category domain="http://securityratty.com/tag/completely reliable technique">completely reliable technique</category>
      <category domain="http://securityratty.com/tag/reliable">reliable</category>
      <category domain="http://securityratty.com/tag/attack">attack</category>
      <category domain="http://securityratty.com/tag/technique">technique</category>
      <source url="http://www.veracode.com/blog/?p=202">BlackHat Recap</source>
    </item>
    <item>
      <title><![CDATA[BlackHat Recap]]></title>
      <link>http://securityratty.com/article/6b779e65a6ad790dd8e631057208ff77</link>
      <guid>http://securityratty.com/article/6b779e65a6ad790dd8e631057208ff77</guid>
      <description><![CDATA[Another BlackHat has come and gone. As usual, it was a very busy week juggling customer meetings, recruiting, conference planning, vendor parties, and, oh yes, the actual BlackHat presentations. I had...]]></description>
      <content:encoded><![CDATA[<p>Another BlackHat has come and gone.  As usual, it was a very busy week juggling customer meetings, recruiting, conference planning, vendor parties, and, oh yes, the actual BlackHat presentations.  I had a fantastic time catching up with old friends and finally getting the opportunity to meet more of the <a href="http://n0where.org/security-twits/">Security Twits</a> and others in the security community.  I didn&#8217;t submit a talk this year, but nevertheless, <a href="http://flickr.com/photos/fakedankaminsky/">fake Dan Kaminsky</a> was still excited to see me.</p>
<p><a href="http://www.veracode.com/blog/wp-content/uploads/2008/08/chris_2742966251_1b47297b33_b.jpg"><center><img src="http://www.veracode.com/blog/wp-content/uploads/2008/08/chris_2742966251_1b47297b33_b-300x225.jpg" alt="" title="chris_2742966251_1b47297b33_b" width="300" height="225" class="aligncenter size-medium wp-image-215 photoborder" /></center></a></p>
<p>My favorite talk, as expected, was the Sotirov/Dowd talk on <a href="http://taossa.com/archive/bh08sotirovdowd.pdf">How To Impress Girls With Browser Memory Protection Bypasses</a>.  The attack is a conceptually simple, yet completely reliable technique for exploiting vulnerabilities in web browsers.  Of course, the media has <a href="http://searchsecurity.techtarget.com/news/article/0,289142,sid14_gci1324395,00.html">sensationalized</a> the impact of their findings, but ultimately, this is still significant as far as browser-based exploits are concerned (here is a <a href="http://blogs.zdnet.com/Bott/?p=513">more accurate report</a>).  It&#8217;s worth mentioning that part of the technique allowing them to load a .NET DLL at an arbitrary location under Vista was reliant on an implementation bug wherein the OS disables ASLR if the version in the .NET COR header was below a certain value.  However, the address space spraying and stack spraying techniques are likely to be extended to other platforms utilizing similar memory protection mechanisms.  </p>
<p>As for the girls?  I can report first-hand that the ladies at TAO on Wednesday night were hanging on <a href="http://twitter.com/alexsotirov">Alex</a>&#8217;s every word.  They were particularly impressed when he whipped out the laptop for a live demo.  Unfortunately, none of the dozen iPhone owners in the immediate vicinity thought to snap a picture (too busy Twittering).  Oh well.  </p>
<p>I also enjoyed Hovav Shacham&#8217;s talk on return-oriented programming.  Simply put, he described a generalization of the return-to-libc shellcode approach with the intent to demonstrate that one could achieve Turing-complete computation using &#8220;found code&#8221; in process images.  By chaining together series of mini-computations ending in return (RET) instructions, it was possible to build higher-level programming constructs such as branches and loops.  The nature of the x86 instruction set provides some flexibility because instructions are interpreted differently depending on how you align the instruction pointer (i.e. the old shellcode trick of searching the process image for any JMP EBX instruction and using that as your EIP).  In RISC architectures such as SPARC, however, you don&#8217;t have that luxury; if your %pc isn&#8217;t aligned properly you get a bus error.  So it was quite interesting to see that they were able to extend the concept to RISC.  The practicality of the attack technique is limited by the fact that the shellcode is tuned to a particular binary image &#8212; if the shellcode was built using instructions extrapolated from glibc 2.3.5, it won&#8217;t work for a system running glibc 2.4.  </p>
<p>I thought Scott Stender&#8217;s talk on <a href="http://isecpartners.com/files/iSEC%20Partners%20-%20Concurrency%20Attacks%20in%20Web%20Applications.pdf">Concurrency Attacks in Web Applications</a> was interesting as well.  In a nutshell, spewing thousands of simultaneous requests at web application transactions that are not thread-safe can create interesting problems.  In the presentation, Scott ran his demo against a VM running on the attack machine.  I found myself wondering how effective the same attack would be over the Internet &#8212; would it be significantly less reliable (or not at all)?  Race conditions are generally easier to exploit locally than remotely due to more predictable execution conditions.  Certainly this is an under-tested vulnerability class though.</p>
<p>One presentation I wasn&#8217;t able to attend but want to follow up on is <a href="http://twitter.com/nate_mcfeters">Nate McFeters</a>, John Heasman, and Rob Carter&#8217;s talk which discussed the GIFAR attack I&#8217;ve been hearing so much about lately.  The gist is that you can create a file that is both a valid GIF and a valid JAR, then use some Java applet tricks to initiate HTTP requests on behalf of the victim.  </p>
<p>Finally, the <a href="http://pwnie-awards.org/2008/">Pwnie Awards</a> didn&#8217;t fail to disappoint.  Drama ensued over the Most Overhyped award, but at least this year some of the winners showed up to claim their awards!  <a href="http://twitter.com/halvarflake">Halvar</a> rapping Symantec lyrics was also quite memorable.</p>
<p>All in all, a fun and informative week, but as usual, I was relieved to get the hell out of Vegas and head home on Friday morning. </p>
<p>P.S. For a much more entertaining BlackHat/Defcon Recap, read <a href="http://securityuncorked.net/2008/08/anecdotes-blackhat-defcon/">Jennifer Jabbusch&#8217;s account</a> of the week&#8217;s events.  It&#8217;s my favorite one so far!</p>
]]></content:encoded>
      <pubDate>Tue, 12 Aug 2008 18:43:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/favorite">favorite</category>
      <category domain="http://securityratty.com/tag/favorite talk">favorite talk</category>
      <category domain="http://securityratty.com/tag/talk">talk</category>
      <category domain="http://securityratty.com/tag/sotirovdowd talk">sotirovdowd talk</category>
      <category domain="http://securityratty.com/tag/scott stenders talk">scott stenders talk</category>
      <category domain="http://securityratty.com/tag/completely reliable technique">completely reliable technique</category>
      <category domain="http://securityratty.com/tag/reliable">reliable</category>
      <category domain="http://securityratty.com/tag/attack">attack</category>
      <category domain="http://securityratty.com/tag/technique">technique</category>
      <source url="http://www.veracode.com/blog/2008/08/blackhat-recap/">BlackHat Recap</source>
    </item>
    <item>
      <title><![CDATA[Links List 8.8.08]]></title>
      <link>http://securityratty.com/article/e04889523cd12799c82bedae1e2f93f6</link>
      <guid>http://securityratty.com/article/e04889523cd12799c82bedae1e2f93f6</guid>
      <description><![CDATA[Peace Corps meets long-term next-generation global leadership development meets really long-term international business development. IBMs new Corporate Service Corps program is assisting numerous...]]></description>
      <content:encoded><![CDATA[<p>Peace Corps meets long-term next-generation global leadership development meets really long-term international business development. IBM’s new Corporate Service Corps program is assisting numerous nonprofits and companies across the globe to <a href="http://online.wsj.com/article/SB121779236200008095.html?mod=djemTECH" target="_blank">become more efficient and more computer-savvy</a>. In a span of three years, over 600 of IBM’s employees will spend month-long projects in countries where it wants a bigger footprint by donating their time and services. A reason (besides getting to work with <a href="http://dougmcclure.net" target="_blank">Doug McClure</a>) to work for IBM.
<p>Buying a lemon is always a bad thing – but when you pay $1 billion for it?! Back in 2005, Google bought a <a href="http://blogs.zdnet.com/BTL/?p=9601" target="_blank">5% stake in AOL for $1 billion</a> and now is calling that investment <a href="http://legal-dictionary.thefreedictionary.com/impaired" target="_blank">“impaired”.</a> That’s one way of putting it, so it’s a good thing Google has money to burn.
<p>At LinuxWorld this week, Bob Sutor, VP of open source and standards at IBM, said that the next <a href="http://www.infoworld.com/article/08/08/07/IBM_exec_on_Linux_apps_Im_tired_of_waiting_1.html?source=NLC-Daily&amp;gcd=2008-08-08" target="_blank">10 years is “do or die”</a> for open source software designed for specific industries. 10 years? That’s like 70 years in open source development time.
<p>And finally…8/8/08…the <a href="http://www.nbcolympics.com/" target="_blank">Olympics</a> are here! Network administrators around the world, except for <a href="http://blog.sciencelogic.com/top-10-signs-your-network-admin-has-gone-rogue/07/2008" target="_blank">Terry Childs</a>, will be eyeing office network bandwidth closely as people go online to watch streaming video of the games. NBC and Microsoft will offer <a href="http://www.bcs.org/server.php?show=ConWebDoc.20432" target="_blank">2,200 hours of live video coverage</a> with up to 20 simultaneous live streams of different events. Plus <a href="http://www.nbcolympics.com/" target="_blank">NBCOlympics.com</a> will offer 3,000 hours of on-demand video content. The time difference means that much of the primetime events will be broadcast while the Western hemisphere is supposed to be hard at work. Me – I’m just glad it’s the weekend, and I can get the Olympics fix I’ve been waiting years for.</p>
]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 15:03:05 +0000</pubDate>
      <category domain="http://securityratty.com/tag/video">video</category>
      <category domain="http://securityratty.com/tag/time">time</category>
      <category domain="http://securityratty.com/tag/time difference">time difference</category>
      <category domain="http://securityratty.com/tag/on-demand video content">on-demand video content</category>
      <category domain="http://securityratty.com/tag/source">source</category>
      <category domain="http://securityratty.com/tag/source software">source software</category>
      <category domain="http://securityratty.com/tag/source development time">source development time</category>
      <category domain="http://securityratty.com/tag/live video coverage">live video coverage</category>
      <category domain="http://securityratty.com/tag/ibms">ibms</category>
      <source url="http://blog.sciencelogic.com/links-list-8808/08/2008">Links List 8.8.08</source>
    </item>
    <item>
      <title><![CDATA[DNS Vulnerability Overview and Suggested Mitigations]]></title>
      <link>http://securityratty.com/article/38fe40bd4ac84ef55210607fa6053293</link>
      <guid>http://securityratty.com/article/38fe40bd4ac84ef55210607fa6053293</guid>
      <description><![CDATA[On July 9th, 2008 a massive effort was made among software and hardware vendors to release a simultaneous patch to their products. This patch was created to mitigate or minimize the effects of a...]]></description>
      <content:encoded><![CDATA[On July 9th, 2008 a massive effort was made among software and hardware vendors to release a simultaneous patch to their products. This patch was created to mitigate or minimize the effects of a vulne...]]></content:encoded>
      <pubDate>Tue, 15 Jul 2008 11:30:25 +0000</pubDate>
      <category domain="http://securityratty.com/tag/simultaneous patch">simultaneous patch</category>
      <category domain="http://securityratty.com/tag/patch">patch</category>
      <category domain="http://securityratty.com/tag/july 9th">july 9th</category>
      <category domain="http://securityratty.com/tag/massive effort">massive effort</category>
      <category domain="http://securityratty.com/tag/hardware vendors">hardware vendors</category>
      <category domain="http://securityratty.com/tag/vulne">vulne</category>
      <category domain="http://securityratty.com/tag/effects">effects</category>
      <category domain="http://securityratty.com/tag/release">release</category>
      <category domain="http://securityratty.com/tag/software">software</category>
      <source url="http://www.net-security.org/article.php?id=1156">DNS Vulnerability Overview and Suggested Mitigations</source>
    </item>
    <item>
      <title><![CDATA[Ozmo Aims to Steal Bluetooth's Thunder for Peripherals]]></title>
      <link>http://securityratty.com/article/8f227e94fb66bf7ba980be36180b6ecf</link>
      <guid>http://securityratty.com/article/8f227e94fb66bf7ba980be36180b6ecf</guid>
      <description><![CDATA[An Intel-backed startup, Ozmo, plans low-power Wi-Fi protocol modification to compete with Bluetooth technology: Ozmo has developed chips for wireless peripherals like headphones, headsets, and...]]></description>
      <content:encoded><![CDATA[<p><a href="http://www.eetimes.com/news/latest/showArticle.jhtml?articleID=208401238"><strong>An Intel-backed startup, Ozmo, plans low-power Wi-Fi protocol modification to compete with Bluetooth technology:</strong></a> Ozmo has developed chips for wireless peripherals like headphones, headsets, and handhelds (the three H's?) as well as mice and keyboards that pair with special driver software  for computers to enable a 9 Mbps Wi-Fi-based PAN (personal area network) at the same time a computer is connected via Wi-Fi to a wireless LAN (local area network).</p>

<p>Ozmo apparently is trying to leverage the ubiquity of Wi-Fi, the market reach of Intel (which has invested in the firm and is pushing its technology), and the dissatisfaction with Bluetooth device association and throughput to stick a wedge into Bluetooth's market domination. Well over a billion Bluetooth chipsets have shipped--CSR alone has shipped over a billion--and estimates put half a billion <em>this year</em> into cell phones alone. So there's a large embedded market to overcome.</p>

<p>This new technology, so far unnamed but apparently part of Intel's Cliffside research program, is trying to reduce complexity by reducing the number of standards needed to drive a computer, while increasing the flexibility of those standards. Ozmo and Intel's system would, for instance, allow a simultaneous WLAN connection and a PAN network of up to 8 devices using a single radio on a computer.</p>

<p>The press releases and articles make it quite unclear whether a new Wi-Fi chip would be needed; that chip would almost certainly not conform to today's Wi-Fi standards except in a compatibility mode, given that Wi-Fi has no capacity for PAN-style connections. Ad hoc mode isn't quite the same thing. In the past, extensions to the 802.11 standards that are the basis of the Wi-Fi certification and service mark were allowed as long as basic 802.11 worked as expected.</p>

<p>Bluetooth and Wi-Fi have been complementary technologies for several years. There were early conflicts--I wrote an article about the severe problems in using Bluetooth 1.1 and 802.11b back in 2001! But those interference and coordination issues were resolved, and Blueooth and Wi-Fi marched forward hand in hand, without any close association between the two trade groups behind the standards and branding, but with a lot of technology acquisitions and mergers on the part of companies that make Wi-Fi gear.</p>

<p>The Bluetooth SIG has been working for years to put Bluetooth on top of ultrawideband (UWB), which is still not readily available in the marketplace. UWB is always next year's big technology, and may be passed by except for applications like high-definition video streaming among a/v electronics. The SIG also announced support in Oct. 2007 for Bluetooth + 802.11, where a Bluetooth device could initiate high-speed transfers using 802.11 (yes, Wi-Fi, but not by that name; no partnership there). Bluetooth plus UWB is likely not available until 2009 at this point; BT and Wi-Fi, not until perhaps 2010. (See my article, "<a href="http://wifinetnews.com/archives/008027.html"><strong>Bluetooth to Add Wi-Fi with UWB Delays in Mind</strong></a>," 2007-10-31.)</p>

<p>It's hard to see how Ozmo builds a place in this infrastructure, even with higher bandwidth, and what Ozmo says is lower power use and a lower cost for their chips, because laptop and desktop makers will need to buy into the Intel/Ozmo ecosystem. The demand for this kind of technology is typically driven by users who buy one component and need their computer to interface with it. </p>

<p>With Ozmo and Intel apparently planning to debut the Wi-Fi chips and driver support next year, it seems like a multi-year process to figure out whether Ozmo can evolve a competitive position to Bluetooth, even as Bluetooth is estimated to be embedded in over 1.2b cell phones by 2012.</p>]]></content:encoded>
      <pubDate>Mon, 02 Jun 2008 07:04:17 +0000</pubDate>
      <category domain="http://securityratty.com/tag/bluetooth">bluetooth</category>
      <category domain="http://securityratty.com/tag/billion bluetooth chipsets">billion bluetooth chipsets</category>
      <category domain="http://securityratty.com/tag/billion">billion</category>
      <category domain="http://securityratty.com/tag/bluetooth device association">bluetooth device association</category>
      <category domain="http://securityratty.com/tag/wi-fi gear">wi-fi gear</category>
      <category domain="http://securityratty.com/tag/wi-fi">wi-fi</category>
      <category domain="http://securityratty.com/tag/bluetooth technology">bluetooth technology</category>
      <category domain="http://securityratty.com/tag/wi-fi standards">wi-fi standards</category>
      <category domain="http://securityratty.com/tag/ozmo">ozmo</category>
      <source url="http://wifinetnews.com/archives/008336.html">Ozmo Aims to Steal Bluetooth's Thunder for Peripherals</source>
    </item>
    <item>
      <title><![CDATA[Wee-Fi: Go, Go, Wires! Go, Go, Cablevision!]]></title>
      <link>http://securityratty.com/article/cdedd3da82c24f62b8e4ae94b3d799f1</link>
      <guid>http://securityratty.com/article/cdedd3da82c24f62b8e4ae94b3d799f1</guid>
      <description><![CDATA[OSnews explains why wiring a house still makes sense in the 21st century c.e.: A very well-reasoned article from OSnews explains why the site still backs residential wiring. They're involved in the...]]></description>
      <content:encoded><![CDATA[<p><img src="http://wifinetnews.com/images/weefi.jpg" align="right" border="0" hspace="5" /><a href="http://www.osnews.com/story/19748/Wired_vs_Wireless:_Sometimes_Theres_No_Substitute_for_a_Cable"><strong>OSnews explains why wiring a house still makes sense in the 21st century c.e.:</strong></a> A very well-reasoned article from OSnews explains why the site still backs residential wiring. They're involved in the build-out of a Utah home partly as a technology demonstration, and they've put coax and Cat 5E Ethernet cable throughout, as well as conduits for future wire pulls. Fundamentally, wire has more capacity; I'd argue it does across several dimensions, too. You can run 1 Gbps raw across a Cat 5E or 6 Ethernet cable <em>in both directions at the same time</em> versus best performance of unidirectional nearly 100 Mbps in my testing of Draft N. But you also get switching with Ethernet--multiple simultaneous symmetrical 1 Gbps--and if you need more capacity you simply pull more wires and put in more switches. Wire is cheap and switches are now, too. It's a good read if you're thinking of rewiring (or unwiring) your home.</p>

<p><a href="http://www.cablerant.com/index.php?topic=697.0"><strong>Cablevision's already started its rollout:</strong></a> An observant tri-stater at the Cable Rant site spotted Cablevision installers putting up BelAir gear on their cable line. He took some photos.</p>]]></content:encoded>
      <pubDate>Fri, 16 May 2008 07:12:08 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cablevision">cablevision</category>
      <category domain="http://securityratty.com/tag/ethernet cable">ethernet cable</category>
      <category domain="http://securityratty.com/tag/future wire pulls">future wire pulls</category>
      <category domain="http://securityratty.com/tag/wire">wire</category>
      <category domain="http://securityratty.com/tag/ethernet">ethernet</category>
      <category domain="http://securityratty.com/tag/utah home partly">utah home partly</category>
      <category domain="http://securityratty.com/tag/cable rant site">cable rant site</category>
      <category domain="http://securityratty.com/tag/home">home</category>
      <category domain="http://securityratty.com/tag/osnews explains">osnews explains</category>
      <source url="http://wifinetnews.com/archives/008323.html">Wee-Fi: Go, Go, Wires! Go, Go, Cablevision!</source>
    </item>
  </channel>
</rss>
