﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>shawnbass.com - Security blog</title>
    <description>Anything related to information security, including vulnerabilities, exploits, patching, etc.</description>
    <link>http://www.shawnbass.com/Blogs/tabid/58/BlogId/3/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>shawn@shawnbass.com</managingEditor>
    <webMaster>shawn@shawnbass.com</webMaster>
    <pubDate>Thu, 29 Jul 2010 13:43:59 GMT</pubDate>
    <lastBuildDate>Thu, 29 Jul 2010 13:43:59 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.5.0.35082</generator>
    <item>
      <title>Lots of SQL injection flying around the internet...Are you performing input field validation?</title>
      <description>&lt;p&gt;For those not familiar with SQL injection, it's in it's simplest form a method of injection a SQL statement into a database server by way of hiding it in a web parameter.  There's a more detailed explanation &lt;a href="http://www.nextgenss.com/papers/advanced_sql_injection.pdf"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyway, I wanted to throw together a quick blog entry on this because SQL injection is a very common issue that affects a large number of public websites.  Most of the webmasters are not even aware that their web site exposes them to SQL injection.  Recently, there's been a &lt;a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;taxonomyId=17&amp;articleId=9080580&amp;intsrc=http://www.shawnbass.comhm_topic"&gt;flurry&lt;/a&gt; &lt;a href="http://blog.washingtonpost.com/securityfix/2008/04/hundreds_of_thousands_of_micro_1.html"&gt;of&lt;/a&gt; &lt;a href="http://www.pcworld.com/article/id,145151-c,hackers/article.html"&gt;activity&lt;/a&gt; &lt;a href="http://isc.sans.org/diary.html?storyid=4139"&gt;and&lt;/a&gt; &lt;a href="http://ddanchev.blogspot.com/2008/04/united-nations-serving-malware.html"&gt;news&lt;/a&gt; on the Internet about a large amount of SQL injection attacks that are being used to spread malware.&lt;/p&gt;
&lt;p&gt;This particular form of SQL injection appears to have been done by a bot and it also appears that most of the sites were targetted by their page rank in search engines.  Hah!  Sometimes it pays to be the little guy.  Anyway, there's various mentions on the Internet on how to know if you've been compromised so I'm not going to go into that.  What I would like to bring up is that this is NOT a Microsoft problem per se.  It's a problem with poorly written web applications, which one could possibly attribute to Microsoft for making development so easy but I don't think that helps the situation.  Microsoft did publically acknowledge this issue &lt;a href="http://blogs.iis.net/bills/archive/2008/04/25/sql-injection-attacks-on-iis-web-servers.aspx"&gt;here&lt;/a&gt; and stated that it's not a particular vulnerability with IIS or SQL (which is actually true).  However, what they don't state is that this is a developer education issue and people need to start taking responsibility for teaching their developers safe coding practices.&lt;/p&gt;
&lt;p&gt;For those interested in learning more about SQL injection, check out the links I posted above.  Also check out some of the SQL injection toolkits located &lt;a href="http://michaeldaw.org/diary/sql-injection-toolkit/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Finally, for information on how to combat SQL injection, here's a few things that may help:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2006/09/30/Tip_2F00_Trick_3A00_-Guard-Against-SQL-Injection-Attacks.aspxhttp://weblogs.asp.net/scottgu/archive/2006/09/30/Tip_2F00_Trick_3A00_-Guard-Against-SQL-Injection-Attacks.aspx"&gt;Scott Guthrie on Guarding Against SQL Injection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms998271.aspx"&gt;MSDN Patterns &amp; Practices on How-To Protect Against SQL Injection in ASP.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One final thing:  While most of this article talks about things from a Microsoft ASP/SQL point of view, SQL injection is not exclusive to Microsoft products and can occur on a variety of web and SQL platforms.  Things just tend to get a bit more sensationalized when dealing with MS products.&lt;/p&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/134/Lots-of-SQL-injection-flying-around-the-internet-Are-you-performing-input-field-validation.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/134/Lots-of-SQL-injection-flying-around-the-internet-Are-you-performing-input-field-validation.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/134/Lots-of-SQL-injection-flying-around-the-internet-Are-you-performing-input-field-validation.aspx</guid>
      <pubDate>Tue, 29 Apr 2008 21:56:57 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=134</trackback:ping>
    </item>
    <item>
      <title>Whole Disk Encryption ineffective?</title>
      <description>&lt;p&gt;There's a lot of buzz in the security industry right now after a paper was published by some researchers from Princeton University that demonstrates how whole disk encryption systems can be completely thwarted by obtaining the encryption keys from a laptop's RAM.  How is this possible?  Well, when an Operating System is in sleep mode the decryption keys are stored in memory to allow the operating system to boot back up and continue accessing the encrypted disk.  In addition, different RAM chips decay their memory contents at different rates when power has been removed from the RAM chips.  Cooling the RAM chips can slow that decay rate upwards of 10 minutes by using a simply air duster can turned upside down.  Once the RAM chips are cooled, their contents can be dumped by booting to a USB disk with memory extraction tools, or if you're unable to change the boot order, the chips can be removed and transferred to another system where the contents of the RAM chips can be extracted.  Once the contents of RAM is extracted, code can be run to retrieve the encryption keys which can then be used to decrypt data off the disk.  Scary eh?&lt;/p&gt;
&lt;p&gt;The original paper by the Priceton researchers can be found &lt;a href="http://citp.princeton.edu.nyud.net/pub/coldboot.pdf"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There's also coverage of the issue by the SANS ISC &lt;a href="http://isc.sans.org/diary.html?storyid=4006"&gt;here&lt;/a&gt; (including a video that demos the issue) and &lt;a href="http://isc.sans.org/diary.html?storyid=4024"&gt;here&lt;/a&gt; (provides guidance for known whole disk encryption software).&lt;/p&gt;
&lt;p&gt;Currently known affected products are Microsoft Bitlocker, Apple's FileVault, and TrueCrypt.  At the &lt;a href="http://isc.sans.org/diary.html?storyid=4024"&gt;second ISC link&lt;/a&gt;, there's information that PGP WDE and Utimaco SafeGuard are also vulnerable.  No news yet from CheckPoint PointSec.  However, one would assume that almost all whole disk encryption vendors would be vulnerable to this.&lt;/p&gt;
&lt;p&gt;How do you safeguard against it?  Power down your system instead of sleeping or hibernating.&lt;/p&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/120/Whole-Disk-Encryption-ineffective.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/120/Whole-Disk-Encryption-ineffective.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/120/Whole-Disk-Encryption-ineffective.aspx</guid>
      <pubDate>Tue, 26 Feb 2008 15:48:11 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=120</trackback:ping>
    </item>
    <item>
      <title>HD Moore begins first steps to make iPhone a powerful hacking platform</title>
      <description>HD Moore's &lt;a href="http://www.metasploit.com/"&gt;Metasploit&lt;/a&gt; is an invaluable free tool that's used by many to perform penetration testing of their systems.  Recently, HD blogged about buying an iPhone and beginning the process of porting pieces of the Metasploit platform to the iPhone.  What does this mean?  It means a portable handheld pentesting platform!  Perhaps HD should get a copyright on iSploit now &lt;img src="/Portals/_default/Smileys/wink.gif" border="0"&gt;&lt;br&gt;&lt;br&gt;Read the entire blog entry &lt;a href="http://blog.metasploit.com/2007/09/root-shell-in-my-pocket-and-maybe-yours.html"&gt;here&lt;/a&gt;.  Good times ahead!&lt;br&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/71/HD-Moore-begins-first-steps-to-make-iPhone-a-powerful-hacking-platform.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/71/HD-Moore-begins-first-steps-to-make-iPhone-a-powerful-hacking-platform.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/71/HD-Moore-begins-first-steps-to-make-iPhone-a-powerful-hacking-platform.aspx</guid>
      <pubDate>Wed, 26 Sep 2007 13:21:41 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=71</trackback:ping>
    </item>
    <item>
      <title>DefCon 15: Day 1 Wrap-up</title>
      <description>DefCon 15 Day 1 review&lt;a href=http://www.shawnbass.com/Blogs/tabid/58/EntryId/49/DefCon-15-Day-1-Wrap-up.aspx&gt;More...&lt;/a&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/49/DefCon-15-Day-1-Wrap-up.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/49/DefCon-15-Day-1-Wrap-up.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/49/DefCon-15-Day-1-Wrap-up.aspx</guid>
      <pubDate>Fri, 10 Aug 2007 02:43:17 GMT</pubDate>
      <slash:comments>3</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=49</trackback:ping>
    </item>
    <item>
      <title>Just returned from DefCon 15 - As usual it was a great conference</title>
      <description>While I've still not caught up (READ: recovered) from the 3 day conference in Las Vegas, I can definitely say that I'm glad I went.  I don't have all of my thoughts organized yet on the sessions that I attended, but over the coming days I'll be blogging on a &lt;a href="http://www.defcon.org/"&gt;DefCon 15&lt;/a&gt; wrap up where I'll cover my perspective on the sessions that I attended...and those that I walked out of &lt;img src="/Portals/_default/Smileys/wink.gif" border="0"&gt;  Stay tuned.&lt;br&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/48/Just-returned-from-DefCon-15-As-usual-it-was-a-great-conference.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/48/Just-returned-from-DefCon-15-As-usual-it-was-a-great-conference.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/48/Just-returned-from-DefCon-15-As-usual-it-was-a-great-conference.aspx</guid>
      <pubDate>Mon, 06 Aug 2007 18:52:49 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=48</trackback:ping>
    </item>
    <item>
      <title>Google Adsense vulnerable to CSRF (Stealing your Adsense account)</title>
      <description>&lt;P&gt;&lt;FONT face="Times New Roman"&gt;I came across this &lt;A href="http://www.jungsonnstudios.com/blog/?i=213&amp;bin=11010101" target=_blank&gt;blog post&lt;/A&gt; on Jungsonn Studio's blog the other day where they demonstrate how Google Adsense is vulnerable to a type of cross-site scripting attack that when the suspect javascript code is executed and you visit your Adsense account in another browser tab, they are able to switch your Adsense account over to them.  Pretty interesting find, and it really makes you think about all the times that you authenticate into a variety of different sites within different browser tabs all the while having done lots of surfing of other pages (of which you don't know that you can trust).  It's definitely something that all of the bloggers out there that use Google Adsense should be thinking about when they pop into their account from a browser tab &lt;IMG src="/Portals/_default/Smileys/wink.gif" border=0&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Times New Roman"&gt;Shawn&lt;/FONT&gt;&lt;/P&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/13/Google-Adsense-vulnerable-to-CSRF-Stealing-your-Adsense-account.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/13/Google-Adsense-vulnerable-to-CSRF-Stealing-your-Adsense-account.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/13/Google-Adsense-vulnerable-to-CSRF-Stealing-your-Adsense-account.aspx</guid>
      <pubDate>Thu, 05 Apr 2007 19:24:59 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=13</trackback:ping>
    </item>
    <item>
      <title>Microsoft releases out of band patch (MS07-017) for Animated Cursor vulnerability</title>
      <description>MS07-017 is a re-release of an earlier patch against a vulnerability in Animated Cursors.  Apparently when the code was created for the first fix, the rest of the code wasn't audited and another vulnerability was recently found.  The patch can be found on Microsoft's website over &lt;a href="http://www.microsoft.com/technet/security/bulletin/ms07-017.mspx"&gt;here&lt;/a&gt;&lt;br&gt;&lt;br&gt;This vulnerability affects all versions of Windows from 2000 through Vista, so you'll definitely want to patch this one.  Also, there's at least 4-5 public exploits available for this one.  You can be certain that it's being exploited in the wild.&lt;br&gt;&lt;br&gt;Shawn&lt;br&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/8/Microsoft-releases-out-of-band-patch-MS07-017-for-Animated-Cursor-vulnerability.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/8/Microsoft-releases-out-of-band-patch-MS07-017-for-Animated-Cursor-vulnerability.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/8/Microsoft-releases-out-of-band-patch-MS07-017-for-Animated-Cursor-vulnerability.aspx</guid>
      <pubDate>Tue, 03 Apr 2007 20:37:17 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=8</trackback:ping>
    </item>
    <item>
      <title>The Metasploit Project has officially released version 3.0 of the Framwork</title>
      <description>&lt;P&gt;The Metasploit Project has just officially released version 3.0 of the framework on their website.  3.0 is a complete rewrite of the framwork and is written in Ruby.  It currently contains 177 exploits, 104 payloads, 17 encoders, and 3 nop modules.  It is a fantastic tool for penetration testing, and best of all -- it's completely free.&lt;/P&gt;
&lt;P&gt;Read their blog entry on the new of the 3.0 release &lt;A href="http://blog.metasploit.com/2007/03/metasploit-framework-30-released.html" target=_blank&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And get yourself a copy of Metasploit 3.0 over &lt;A href="http://sugar.metasploit.com/" target=_blank&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;
&lt;P&gt;Shawn&lt;/P&gt;</description>
      <link>http://www.shawnbass.com/Blogs/tabid/58/EntryId/6/The-Metasploit-Project-has-officially-released-version-3-0-of-the-Framwork.aspx</link>
      <author>shawn@shawnbass.com</author>
      <comments>http://www.shawnbass.com/Blogs/tabid/58/EntryId/6/The-Metasploit-Project-has-officially-released-version-3-0-of-the-Framwork.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.shawnbass.com/Blogs/tabid/58/EntryId/6/The-Metasploit-Project-has-officially-released-version-3-0-of-the-Framwork.aspx</guid>
      <pubDate>Tue, 27 Mar 2007 16:50:37 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.shawnbass.com/DesktopModules/Blog/Trackback.aspx?id=6</trackback:ping>
    </item>
  </channel>
</rss>