<?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>SecurityCurve &#187; AppSec</title>
	<atom:link href="http://www.securitycurve.com/wordpress/archives/tag/appsec/feed" rel="self" type="application/rss+xml" />
	<link>http://www.securitycurve.com/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 17:05:22 +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>Why functional testing doesn’t catch security bugs</title>
		<link>http://www.securitycurve.com/wordpress/archives/3338?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-functional-testing-doesnt-catch-security-bugs</link>
		<comments>http://www.securitycurve.com/wordpress/archives/3338#comments</comments>
		<pubDate>Wed, 12 Jan 2011 14:10:32 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>
		<category><![CDATA[Software Security]]></category>

		<guid isPermaLink="false">http://www.securitycurve.com/wordpress/?p=3338</guid>
		<description><![CDATA[I&#8217;ve been seeing quite a bit of reading material hit the wire recently having to do with the topic of software (application) security.  The second folks I referenced there, the Denim Group (cool name, btw), seem to think that it might be starting to take off&#8230; they prophesy that it could actually get enough attention in [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I&#8217;ve been seeing quite a bit of <a href="http://www.eweek.com/c/a/Security/Application-Development-Security-Considerations-for-the-Cloud-392087/" target="_blank">reading</a> material <a href="http://www.businesswire.com/news/home/20110104005799/en/Denim-Group-Guidance-Application-Security-Trends-2011" target="_blank">hit the wire</a> recently having to do with the topic of software (application) security.  The second folks I referenced there, the Denim Group (cool name, btw), seem to think that it might be starting to take off&#8230; they prophesy that it could actually get enough attention in 2011 that it could drive up salaries.  That&#8217;d be nice, but I&#8217;m not sure I&#8217;d go that far&#8230; at least not in absence of any concrete evidence (in other words, I&#8217;ll believe it when I see it).</p>
<div id="attachment_3376" class="wp-caption alignright" style="width: 310px"><a href="http://www.securitycurve.com/wordpress/wp-content/uploads/2011/01/testing.jpg" rel="lightbox[3338]"><img class="size-medium wp-image-3376" title="testing" src="http://www.securitycurve.com/wordpress/wp-content/uploads/2011/01/testing-300x240.jpg" alt="" width="300" height="240" /></a><p class="wp-caption-text">Image Source: willscullypower.wordpress.com</p></div>
<p>But there&#8217;s also a trend that I&#8217;ve been noticing as well &#8211; which is folks <a href="http://www.itwire.com/business-it-news/security/44171-software-testing-for-security-as-well-as-proper-function-a-short-reading-list" target="_blank">tending to lump together functional and security testing under the same bucket</a>.  As a dude who&#8217;s into efficiency, I would love it if that were the case.  I&#8217;d be all over it if we could use one set of tests for both security and functional testing.  However, I don&#8217;t think we can for reasons that I&#8217;m about to go into.</p>
<p>Now, please be advised that this is only my humble opinion. You&#8217;d be hard pressed to prove what I&#8217;m about to say.  But this is where the analysis has led me:</p>
<ul>
<li><strong>Premise #1: Security testing (maybe/probably/could be) involves testing all execution pathways.</strong> So, my first line of thought here is that I think that determining if there is a security vulnerability in a given line of code is a hard problem.  A problem that requires evaluation of all execution pathways [ ?(n) where n is the number of pathways ].  My thinking here is that it has almost identical complexity characteristics as the <a href="http://en.wikipedia.org/wiki/NP-hard" target="_blank">halting problem</a>.  Again, intuiting it and proving it are two very different things, so careful you don&#8217;t bite into this one too hard.</li>
<li><strong>Premise #2: Execution pathways increase exponentially according to lines of code.</strong> You&#8217;d think this would be a no-brainer, but <a href="http://books.google.com/books?id=EH3Zhrko8sEC&amp;lpg=PA119&amp;ots=ZPhAVAeRyR&amp;dq=%22execution%20pathways%22%20%22lines%20of%20code%22&amp;pg=PA119#v=onepage&amp;q&amp;f=false" target="_blank">there&#8217;s debate</a>.  However, it is clear from what we can tell that execution pathways grow &#8211; quickly &#8211; according to some rate that corresponds in some way (that looks at the early part of the curve like it might be exponential) with the number of lines of code, or classes, or modules, or function points, or whatever else you want to call them.  So I&#8217;m going to say &#8220;good enough for government work&#8221; on this one too.</li>
</ul>
<p>So assuming both of these things are true, you have a vast number of execution pathways that you&#8217;d have to test if you wanted to do a black-box security analysis.  This is borne-out, at least partially and across a pretty small data set, by techniques like fuzzing.  What do I mean by that?  I mean, that you can observe that different inputs react differently in given execution pathways (premise #1) when you are conducting black-box test of software using a fuzzing tool.</p>
<p>Of course, functional testing doesn&#8217;t do that &#8211; or need to.  For example, there&#8217;s no need in a functional test to test every given input to a particular function.  Why would you?  You&#8217;d just test the ones you know you need to process to make the thing work.</p>
<p>Anyway, feel free to disagree.</p>
<p><em>Note:  this post was pre-authored and scheduled.  Apologies for any comments that are not immediately moderated.</em></p>
<div class="shr-publisher-3338"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F3338' data-shr_title='Why+functional+testing+doesn%E2%80%99t+catch+security+bugs'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F3338' data-shr_title='Why+functional+testing+doesn%E2%80%99t+catch+security+bugs'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/3338/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Critical device firmware: more secure or less examined?</title>
		<link>http://www.securitycurve.com/wordpress/archives/3324?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=critical-device-firmware-more-secure-or-less-examined</link>
		<comments>http://www.securitycurve.com/wordpress/archives/3324#comments</comments>
		<pubDate>Mon, 03 Jan 2011 15:47:45 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://www.securitycurve.com/wordpress/?p=3324</guid>
		<description><![CDATA[Developers make mistakes.  I can say this with impunity having earned my keep as a software developer for quite a few years back in the day&#8230;  Anyway, the point is that it&#8217;s not a dig on developers when you say that they&#8217;re not perfect. The actual numbers fluctuate a bit, but a safe assumption &#8211; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.securitycurve.com/wordpress/wp-content/uploads/2011/01/Maximum-overdrive.jpg" rel="lightbox[3324]"><img class="alignright size-medium wp-image-3326" title="Maximum-overdrive" src="http://www.securitycurve.com/wordpress/wp-content/uploads/2011/01/Maximum-overdrive-210x300.jpg" alt="" width="210" height="300" /></a>Developers make mistakes.  I can say this with impunity having earned my keep as a software developer for quite a few years back in the day&#8230;  Anyway, the point is that it&#8217;s not a dig on developers when you say that they&#8217;re not perfect.</p>
<p>The actual numbers <a href="http://amartester.blogspot.com/2007/04/bugs-per-lines-of-code.html" target="_blank">fluctuate a bit</a>, but a safe assumption &#8211; one that errs on the side of fewer bugs rather than more &#8211; is around 10 bugs per thousands lines&#8230; or about 1% of code written by the average dev team.  We rely on the cycle of testing that occurs between the developer and the end user to catch defects &#8211; both security defects as well as others.  But as we know &#8211; functional testing is less useful for catching security issues than dedicated security testing.  (The &#8220;why&#8221; of that is an interesting topic &#8211; and one that I&#8217;ll probably go into again in a future post &#8211; but not strictly germane to my point here.)</p>
<p>Anyway, my point is that we&#8217;re seeing, quite naturally assuming the defect rates, all kinds of development-related issues in consumer-focused appliances recently: <a href="http://www.zdnet.com/blog/home-theater/is-your-internet-tv-vulnerable-to-hackers/4550" target="_blank">internet TV&#8217;s</a>, <a href="http://www.techtree.com/India/News/PS3_Hacked_Again/551-113988-585.html" target="_blank">game platforms</a>, <a href="http://www.nytimes.com/2010/12/27/technology/27hack.html?_r=2" target="_blank">phones</a>, etc.  It seems like the firmware of these devices is particularly vulnerable to attack; which is not surprising considering how vulnerable we all know the OS and (non-firmware) application space is.   So it makes sense that gadgets and home appliances would be vulnerable to attack just like their non-firmware counterparts.</p>
<p>But it begs the question about the firmware on non-gadget devices &#8211; platforms like medical devices, SCADA systems, cars, planes, etc.  Let&#8217;s call them &#8220;critical devices&#8221; &#8211; because security vulnerabilities on these devices can quite literally lead to loss of life under certain conditions. Is it the case that there are fewer issues on these platforms, or is it just that there are fewer people with the tools/time/ability to look at other platforms to the same degree as gadgets?</p>
<p>Let&#8217;s look at all the possibilities of what could be going on:</p>
<ul>
<li>Possibility 1:   software development is less error-prone when it comes to critical device firmware, leading to fewer defects.  In other words, developers make fewer mistakes with critical devices.</li>
<li>Possibility 2:  software testing is more comprehensive when it comes to critical device firmware.  In other words, developers of these tools implement more rigorous safety procedures and testing, leading to fewer exploitable bugs.</li>
<li>Possibility 3:  lack of marketplace availability stifles vulnerability research.  The devices are less available to the public at large, meaning that the majority of bugs are undiscovered and therefore still exploitable &#8211; but hidden.</li>
</ul>
<p>Personally, I&#8217;m cynical enough to put my money on #3&#8230;  Maybe you believe some combination of #1 and #2 with a little hint of #3.  Either way, there are a number of consequences for the critical device and their firmware&#8230; it means, the most probable case is that there are bugs &#8211; out there in the wild waiting to be found &#8211; that potentially have life or death consequences in this critical code.</p>
<p>Not to FUD anybody out, but that seems scary to me.</p>
<div class="shr-publisher-3324"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F3324' data-shr_title='Critical+device+firmware%3A+more+secure+or+less+examined%3F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F3324' data-shr_title='Critical+device+firmware%3A+more+secure+or+less+examined%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/3324/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Measuring Software Security</title>
		<link>http://www.securitycurve.com/wordpress/archives/1466?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=measuring-software-security</link>
		<comments>http://www.securitycurve.com/wordpress/archives/1466#comments</comments>
		<pubDate>Wed, 12 May 2010 22:33:20 +0000</pubDate>
		<dc:creator>Diana</dc:creator>
				<category><![CDATA[SC in the news]]></category>
		<category><![CDATA[AppSec]]></category>
		<category><![CDATA[BSIMM and BSIMM2]]></category>
		<category><![CDATA[Software Security]]></category>

		<guid isPermaLink="false">http://www.securitycurve.com/wordpress/?p=1466</guid>
		<description><![CDATA[Gary McGraw and the Building Security in Measurement Model (BSIMM) team just released BSIMM2 today. If you haven&#8217;t heard of BSIMM before, please take a look at the article I wrote about it over at eSecurity Planet. An excerpt is below. “You are not a special snowflake.” This is how Dr. Gary McGraw, author of [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Gary McGraw and the Building Security in Measurement Model (BSIMM) team just released <a href="http://www.bsimm2.com/">BSIMM2</a> today. If you haven&#8217;t heard of BSIMM before, please take a look at the <a href="http://www.esecurityplanet.com/article.php/3881771/Measuring-Software-Security-BSIMM2-and-Beyond.htm">article</a> I wrote about it over at eSecurity Planet. An excerpt is below.</p>
<blockquote><p>“You are not a special snowflake.”</p>
<p>This is how Dr. Gary McGraw, author of Software Security: Building Security In, Exploiting Online Games: Cheating Massively Distributed Systems, and CTO of the software security company Cigital distills the findings from his Building Security In Maturity Model (BSIMM) and recently launched BSIMM2 projects. Quick translation: the measurement of whether or not the software meets quantifiable security levels is applicable to all software, regardless of what unique vertical, industry, or purpose it was written for. Although each firm’s process is unique, the measurement of a software security initiative is not.</p>
<p>Measurements are what we use to determine how well we’re doing and gauge improvement (or decline) over time. Measurements are particularly helpful when assessing the relative effectiveness of different methods.</p></blockquote>
<p>For the rest of the article, please click over <a href="http://www.esecurityplanet.com/article.php/3881771/Measuring-Software-Security-BSIMM2-and-Beyond.htm">here</a>.</p>
<div class="shr-publisher-1466"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1466' data-shr_title='Measuring+Software+Security'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1466' data-shr_title='Measuring+Software+Security'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/1466/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>White Box and Black Box Testing</title>
		<link>http://www.securitycurve.com/wordpress/archives/1297?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=white-box-and-black-box-testing</link>
		<comments>http://www.securitycurve.com/wordpress/archives/1297#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:06:24 +0000</pubDate>
		<dc:creator>Diana</dc:creator>
				<category><![CDATA[SC in the news]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://www.securitycurve.com/wordpress/?p=1297</guid>
		<description><![CDATA[If you&#8217;re wondering whether to use white box/black box/grey box testing on your applications &#8211; I recently wrote an article on the subject. Jay Leek, who heads up corporate IT security services for mobile technology company Nokia Corp, was interviewed for the article and had a lot of valuable, real-world insights to add. For comprehensive [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you&#8217;re wondering whether to use white box/black box/grey box testing on your applications &#8211; I recently wrote <a href="http://searchsecurity.techtarget.com/tip/0,289483,sid14_gci1374700,00.html#">an article</a> on the subject. Jay Leek, who heads up corporate IT security services for mobile technology company Nokia Corp, was interviewed for the article and had a lot of valuable, real-world insights to add.</p>
<p><a href="http://searchsecurity.techtarget.com/tip/0,289483,sid14_gci1374700,00.html#"><br />
<blockquote>For comprehensive application security analysis, &#8220;you need a people element if you don&#8217;t have it in your own team &#8212; look to an external provider for those services.&#8221;</p></blockquote>
<p></a></p>
<div class="shr-publisher-1297"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1297' data-shr_title='White+Box+and+Black+Box+Testing'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1297' data-shr_title='White+Box+and+Black+Box+Testing'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/1297/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security in the SDLC</title>
		<link>http://www.securitycurve.com/wordpress/archives/1294?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=security-in-the-sdlc</link>
		<comments>http://www.securitycurve.com/wordpress/archives/1294#comments</comments>
		<pubDate>Mon, 23 Nov 2009 13:57:57 +0000</pubDate>
		<dc:creator>Diana</dc:creator>
				<category><![CDATA[SC in the news]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://www.securitycurve.com/wordpress/?p=1294</guid>
		<description><![CDATA[Building security into the software development lifecycle is one of my primary research areas &#8211; and recently TechTarget asked me to do a video and podcast on the topic. They&#8217;ve been syndicated for viewing/listening through BusinessWeek and other outlets. If you&#8217;re interested in this topic, please check out the links below. Countdown: Selling Security in [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Building security into the software development lifecycle is one of my primary research areas &#8211; and recently TechTarget asked me to do a video and podcast on the topic. They&#8217;ve been syndicated for viewing/listening through BusinessWeek and other outlets. If you&#8217;re interested in this topic, please check out the links below.</p>
<p><a href="http://whitepapers.businessweek.com/detail/RES/1258649336_654.html">Countdown: Selling Security in the SDLC</a> &#8211; Podcast</p>
<blockquote><p>Building security into the software development lifecycle takes more than just a plan. You&#8217;re going to need the support and involvement of both the development and security/audit organizations in order to make it work, and that will take some effort. This podcast, featuring security expert Diana Kelley, will help you develop a plan for selling the value of security to all of the constituencies who matter in your organization, from the executive suite down to the developers and testers.</p></blockquote>
<p><a href="http://whitepapers.businessweek.com/detail/RES/1258649916_589.html">Software Reliability: Building Security In</a> &#8211; Video</p>
<blockquote><p>Fixing software security vulnerabilities during development is expensive, difficult and time-consuming. But fixing them after deployment is far more expensive and counterproductive. In this video featuring security expert Diana Kelley, learn state-of-the-art techniques for building a secure software development process.</p></blockquote>
<div class="shr-publisher-1294"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1294' data-shr_title='Security+in+the+SDLC'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F1294' data-shr_title='Security+in+the+SDLC'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/1294/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whose fault is the bad software anyway?</title>
		<link>http://www.securitycurve.com/wordpress/archives/367?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=whose-fault-is-the-bad-software-anyway</link>
		<comments>http://www.securitycurve.com/wordpress/archives/367#comments</comments>
		<pubDate>Wed, 19 Apr 2006 21:13:24 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://securitycurve.com/wordpress/?p=367</guid>
		<description><![CDATA[There was an article that came around today called Software insecurity: Plenty of blame to go around over at GCN. The article contends that the blame for bad software lies at the feet of either developers or users, but that specifically who is to blame is up in the air. There is, of course, no [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There was an article that came around today called <a href="http://www.gcn.com/online/vol1_no1/40437-1.html">Software insecurity: Plenty of blame to go around</a> over at GCN. The article contends that the blame for bad software lies at the feet of either developers or users, but that specifically who is to blame is up in the air.  There is, of course, no shortage of opinion; check it out:<br />
<i><br />
Stuart Katzke of the National Institute of Standards and Technology said that standards and guidelines developed by NIST could help&#8230; He said the suite of documents produced for the Federal Information Security Management Act effectively establish a level of due diligence for government IT systems.</p>
<p>Keith Beatty of Science Applications International Corp. went out on a limb by praising the oft-criticized Common Criteria program operated by NIST and the National Security Agency.<br />
</i><br />
Do folks really need me to flay this or is the lack of useful dialog already self-evident?  Look, Common Criteria certification is not the answer to buggy software.  Microsoft&#8217;s products are common-criteria certified, and they still have plenty of bugs &#8211; if that were the answer, I think we would have seen less bugs as more software went through the process as opposed to more.  As to the <a href="http://csrc.nist.gov/publications/drafts/sp800-53A-ipd.pdf">150-page NIST document</a> &#8211; I don&#8217;t see the connection; sure, it&#8217;s good to have an assessment program (special pub 800-53), it&#8217;s good to have checklists for developers (special pub 800-53), and so on.  But is more documentation from NIST really what the industry has been missing in order to write bug-free code?  I&#8217;m thinking probably not.</p>
<p>Of course, there were some more helpful suggestions:<br />
<i><br />
Eset LLC &#8230; blamed the problem of buggy software on a disconnect between developers and users. What seems proper and intuitive to a developer often is ignored by users, who do strange and terrible things with their applications.<br />
</i><br />
Although clearly this doesn&#8217;t address all the problems: bugs can occur even in the default configuration of products.  If the Eset assertion were correct, shouldn&#8217;t the default configuration be bug-free?<br />
<i><br />
Eric Cole of Lockheed Martin Corp. acknowledged that software often has flaws&#8230;<br />
</i><br />
At last, an assertion I can agree with.  All software has flaws; I&#8217;ll buy that for a dollar.</p>
<div class="shr-publisher-367"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F367' data-shr_title='Whose+fault+is+the+bad+software+anyway%3F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F367' data-shr_title='Whose+fault+is+the+bad+software+anyway%3F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/367/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I feel like I’m taking crazy pills</title>
		<link>http://www.securitycurve.com/wordpress/archives/259?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-feel-like-im-taking-crazy-pills</link>
		<comments>http://www.securitycurve.com/wordpress/archives/259#comments</comments>
		<pubDate>Thu, 03 Nov 2005 06:15:40 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://securitycurve.com/wordpress/?p=259</guid>
		<description><![CDATA[Is it just me or does anyone else feel like we&#8217;re trapped in a skit from &#8220;Mondo Bizarro&#8221;? Everyone is in a hubub about who to sue for software bugs: Howard Schmidt says sue the developers, Bruce Schneier says sue the vendors, and Pete Lindstrom says not to sue anybody, but to send vulnerability researchers [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Is it just me or does anyone else feel like we&#8217;re trapped in a skit from &#8220;Mondo Bizarro&#8221;?  Everyone is in a hubub about who to sue for software bugs: Howard Schmidt says <a href="http://news.zdnet.co.uk/software/developer/0,39020387,39228663,00.htm">sue the developers</a>, Bruce Schneier says <a href="http://wired-vig.wired.com/news/privacy/0,1848,69247,00.html">sue the vendors</a>, and Pete Lindstrom says <a href="http://www.computerworld.com/securitytopics/security/story/0,10801,105869,00.html">not to sue anybody, but to send vulnerability researchers to jail.</a>  It&#8217;s a veritable &#8220;who&#8217;s who&#8221; of information security, and they&#8217;re all saying the answer to software security is in the courtroom.</p>
<p>I, for one, wholeheartedly object to the trend.  As a <a href="http://marc.theaimsgroup.com/?l=openssl-users&#038;m=102017825602426&#038;w=2">former developer,</a> and a former <a href="http://ukdebian.mirror.anlx.net//security/2002/dsa-120">vulnerability researcher</a>, I can&#8217;t even believe we&#8217;re discussing the matter.</p>
<p>First and foremost, let&#8217;s get prison terms and chain-gangs off the table.  Now, to be fair to Pete, he says in <a href="http://spiresecurity.typepad.com/spire_security_viewpoint/2005/11/to_sue_is_human.html">his blog that he was kidding about actually making bug research a crime</a>, but the part about it being good-natured tomfoolery was in his blog &#8211; not in the published article.  Some folks might read the article and not know that he was kidding &#8211; they might seriously consider his recommendation that bug research be &#8220;off limits&#8221;.  And why not?  Isn&#8217;t telling people about breaking copy protection <a href="http://www.eff.org/IP/DMCA/20020503_dmca_consequences.html">illegal nowadays?</a>  Why not telling people how to &#8220;circumvent protection mechanisms&#8221; in software?</p>
<p>As to who to sue, clearly it&#8217;s not (as Howard Schmidt argues) the developers.  I can honestly say that I would never have written a lick of software if I knew that I could be held personally liable for bugs.  After all, all the developers I&#8217;ve ever met don&#8217;t get to control their own sechedule &#8211; they are told the deadline they have to meet (which is always too short) and they have to choose what corners to cut to make the timeframe happen.  Not to mention the fact that no matter how careful you are, some bugs always happen.  I don&#8217;t think I know <strong>anybody</strong> who would write software &#8211; or scripts, or batch files, or web pages, or flash, or word documents with macros in it, or anything else that could potentially be considered &#8220;code&#8221; &#8211; if a bug means they (and not the company) would be held liable.  Oh, and don&#8217;t forget microcode &#8211; so no fancy new video card for you.  I don&#8217;t think anyone would be left in the business to turn it into anything more than a lump of silicon and plastic &#8211; between microcode, ASIC&#8217;s, and drivers &#8211; there&#8217;s just too much software (shudder) to take the risk.</p>
<p>I also don&#8217;t think that we want to go with the Bruce approach.  We already have a model for how this would go down &#8211; malpractice (and malpracitce insurance) in the medical industry (which, may I remind you, <a href="http://content.healthaffairs.org/cgi/content/full/hlthaff.w4.20v1/DC1">isn&#8217;t working so well nowadays</a>.)  Of all the proposals, his is the most innocuous &#8211; at least if companies are liable <strong>some</strong> people would still be around to write some software.  Although, they would all be working for companies that could afford the &#8220;bug insurance&#8221; &#8211; like Microsoft, Oracle and Sun.  Smaller companies would likely find that the costs were too high.  Forget small companies giving away free software &#8211; companies that give away free tools like <a href="http://www.schneier.com/passsafe.html">Counterpane&#8217;s PasswordSafe</a> or <a href="http://www.nessus.com/">Tenable&#8217;s Nessus</a> would likely not take out an expensive liability policy when there&#8217;s no commercial upside other than marketing.</p>
<p>I don&#8217;t want to live in that world.</p>
<div class="shr-publisher-259"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F259' data-shr_title='I+feel+like+I%E2%80%99m+taking+crazy+pills'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F259' data-shr_title='I+feel+like+I%E2%80%99m+taking+crazy+pills'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/259/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surprisingly, I don&#8217;t hate this</title>
		<link>http://www.securitycurve.com/wordpress/archives/210?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=surprisingly-i-dont-hate-this</link>
		<comments>http://www.securitycurve.com/wordpress/archives/210#comments</comments>
		<pubDate>Thu, 01 Sep 2005 14:53:11 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://securitycurve.com/wordpress/?p=210</guid>
		<description><![CDATA[I came across the article, The truth about security this morning. I followed the link expecting (based on the title and the opening paragraph) to get &#8220;fired up&#8221; about yet another yahoo telling me how to do my job. However, I was completely wrong about this one. This a lucid and balanced look at disclosure, [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I came across the article, <a href="http://www.globetechnology.com/servlet/story/RTGAM.20050826.gtkirwanaug26/BNStory/Technology/">The truth about security</a> this morning.  I followed the link expecting (based on the title and the opening paragraph) to get &#8220;fired up&#8221; about yet another yahoo telling me how to do my job.  However, I was completely wrong about this one.  This a lucid and balanced look at disclosure, vendor responsibility, and legislation of software security.  Two thumbs up on being fair &#8211; no thumbs up on suggested alternatives to the current process though.</p>
<div class="shr-publisher-210"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F210' data-shr_title='Surprisingly%2C+I+don%27t+hate+this'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F210' data-shr_title='Surprisingly%2C+I+don%27t+hate+this'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/210/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Man, I love being right!</title>
		<link>http://www.securitycurve.com/wordpress/archives/208?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=man-i-love-being-right</link>
		<comments>http://www.securitycurve.com/wordpress/archives/208#comments</comments>
		<pubDate>Wed, 24 Aug 2005 16:05:16 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://securitycurve.com/wordpress/?p=208</guid>
		<description><![CDATA[You&#8217;ve probably already heard my rant about the Amir Herzberg &#8220;Unprotected Login Hall of Shame&#8221;. However, in the interests of getting my due props, I would like to point out the recent statistics by NetCraft citing that SSL use on back logon forms is on the decrease. For those of you that missed my ramblings [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>You&#8217;ve probably already heard <a href="http://www.securitycurve.com/blog/archives/000186.html">my rant about the Amir Herzberg &#8220;Unprotected Login Hall of Shame&#8221;</a>.  However, in the interests of getting my due props, I would like to point out the recent <a href="http://www.informationweek.com/story/showArticle.jhtml?articleID=169600305">statistics by NetCraft citing that SSL use on back logon forms is on the decrease.</a></p>
<p>For those of you that missed my ramblings on this, here&#8217;s a quick ramp-up: the &#8220;Unprotected Login Hall of Shame&#8221; is a list of sites that don&#8217;t use SSL on the logon form &#8211; not the <strong>logon submission</strong> mind you &#8211; just the form.  Apparently, many banks are in the &#8220;this isn&#8217;t a problem&#8221; foxhole right next to yours truly.</p>
<div class="shr-publisher-208"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F208' data-shr_title='Man%2C+I+love+being+right%21'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F208' data-shr_title='Man%2C+I+love+being+right%21'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/208/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heap Overflows</title>
		<link>http://www.securitycurve.com/wordpress/archives/207?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=heap-overflows</link>
		<comments>http://www.securitycurve.com/wordpress/archives/207#comments</comments>
		<pubDate>Wed, 24 Aug 2005 14:56:09 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[AppSec]]></category>

		<guid isPermaLink="false">http://securitycurve.com/wordpress/?p=207</guid>
		<description><![CDATA[Some really good research on heap overflows in Windows. Useful reading material &#8211; this paper is short and to the point.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Some <a href="http://www.packetstormsecurity.com/papers/bypass/bypassing-win-heap-protections.pdf">really good research</a> on heap overflows in Windows.  Useful reading material &#8211; this paper is short and to the point.</p>
<div class="shr-publisher-207"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F207' data-shr_title='Heap+Overflows'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.securitycurve.com%2Fwordpress%2Farchives%2F207' data-shr_title='Heap+Overflows'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.securitycurve.com/wordpress/archives/207/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

