<?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: defects]]></title>
    <link>http://securityratty.com/tag/defects</link>
    <description></description>
    <pubDate>Thu, 08 May 2008 16:05:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[On Security & Risk Management Innovation]]></title>
      <link>http://securityratty.com/article/044cbc91b90e3bcf8694d48ef0276511</link>
      <guid>http://securityratty.com/article/044cbc91b90e3bcf8694d48ef0276511</guid>
      <description><![CDATA[Pre-Script - It should be noted that the outcome of this discussion - in the last paragraph - is one smart way you can approach the We need to reduce your budget discussion (if that discussion hasnt...]]></description>
      <content:encoded><![CDATA[<p><span style="color: #666699;"><em>Pre-Script - It should be noted that the outcome of this discussion - in the last paragraph - is one smart way you can approach the “We need to reduce your budget” discussion (if that discussion hasn’t come already).</em></span></p>
<p>I’ve often read people who say that we (security, risk management) need to “think like the attacker”.  And when you read this sort of article, that usually alludes to trying to anticipate the tactics an attacker might use to mess with your C, I, or A.  Smart stuff, that, and very useful when architecting security solutions.  But as I was training some folks Monday, I was thinking in the back of my head about Threat Capability (TCap) in FAIR.  As you might know, we like to estimate the capability of a threat to apply some level of “force” against our assets.  This ability to apply force is a byproduct of the attacker&#8217;s skills and resources.  And thinking of how an attacker applies skills and resources, I came across another way we might “think” like an attacker.</p>
<p>Traditionally, I’ve thought of “skills” as being a byproduct of the toolset an attacker has.  This mindset probably stems from my time with Penetration Testing teams, where in the process of scoping the  PenTest I would ask our clients to select the level of effort that they wanted us to throw at them.  If a client chose “high” we’d throw every ‘spoit we had at them.  If they chose “low” we’d limit ourselves to a more commonly available toolset.</p>
<p>But while the resources part of TCap is time &amp; materials (money) - the skills are really more than just the toolset.  Skills would include the ability of the attacker to be creative and innovative.    As an example of that innovation from those PenTesting days - when we got a “high” effort request, we would always try to couple that with some “social engineering”-type of attack, or some unique means of delivering an existing exploit.  Our creativity was not necessarily a byproduct of a unique exploit or tool we had, but the process by which we might deliver pre-existing or commonly available exploits.  I remember when we first got ahold of a handful of 32mb thumb drives (hey, 32mb was <em>huge</em> back then) and &#8220;dropped&#8221; a few in the lobby of a client&#8217;s retail space.  The keystroke loggers and phone-home script weren&#8217;t new, but using the thumb drive as delivery vehicle certainly was.</p>
<p>So I’ve started to really think about this concept of innovation, and how if “thinking like an attacker” means to be innovative, we ought to do the same.  I’ve been thinking of two main categories of innovation this morning.</p>
<p><strong>INNOVATION</strong></p>
<p>The first I’ll call <em><strong>Technology Innovation</strong></em>.  And by Technology Innovation, I mean some new, unique, “ahead of the curve” technology that an attacker can use against us.  The obvious example of which is a zero-day.  It’s that “high” tool set our PenTesters would use against the clients.  For security departments, this might be the latest security product designed to enhance our ability to P, D, and/or R.</p>
<p>Alternately, we can be creative in the way we deliver (manage) existing technology.  I think of this as<strong> Process Innovation</strong>.  It’s doing more with what we already have, just like the PenTest team would be creative in the delivery of an existing exploit.</p>
<p>Unfortunately for us - attackers have traditionally had quite a leg up on us in terms of Process Innovation.  It is much easier fro them to be creative, as they are free of political constraints and bureaucracy.  In contrast, when the security industry tries Process Innovation, the results are checklists and “standards”.  It’s committees and consensus.  An extreme example of which might be something like SABSA - a great work if you want to understand some very smart people’s comprehensive understanding of organizational security  - but the “adoption”of which will do very little to help you be innovative in P/D/R.</p>
<p>It’s worth noting that ultimately, this is one reason <strong>I don’t like regulatory compliance efforts</strong> - <strong>they simply serve to prove how mundane your security department is</strong>,  wasting valuable resources that could be spent on creating ways to be more effective.</p>
<p><strong>PROCESS INNOVATION AS A SUBSTITUTE FOR TECHNOLOGY INNOVATION</strong></p>
<p>As we come to the close of 2009, some surveys suggest that security spending isn’t horribly impacted yet by the economy (the latest from E&amp;Y points to only 5% of their respondents getting budget cuts).  But if this is a protracted downturn, and because InfoSec is an operational expense, I would expect cash to become more and more difficult to keep.  And regardless if technology spends do slow, I believe it makes sense to think about Process Innovation because I see Process Innovation as a means to increase effectiveness without significant capital expenditures (effectiveness increases because our ability to manage risk has a direct correlation to the amount of risk we have).</p>
<p>The bad news is, of course, that great innovation is hard.  It is R &amp; D.  Failure is usually a pre-requisite to success.</p>
<p>The good news is, our current state is so bad that many of us don’t need to come up with a whizbang new way of reducing software defects in the SDLC as innovation.  Simply inserting a risk analyst into the PMO’s processes might count as a big enough victory. Be cautioned, though,  that if we’re substituting the risk reductions provided by technology acquisition - Process Innovation might actually be even more &#8220;expensive&#8221; as it requires us to expend political capital.   But there are (forgive the term) innovative ways to spend this political capital.</p>
<p>For example, by taking a second now and figuring out the 3 things that the rest of the organization can do to make your life easier, when that “I need to reduce your budget” talk comes, you can be prepared to negotiate.  Get a political capital &#8220;loan&#8221; or &#8220;investment&#8221; from the C-Suite reducing your budget.  Something to the effect of: “I expected this, and am happy to give up my budget.  But if our tolerance for risk hasn’t changed, what I’d like to do is get you to personally back my office on three projects I’ve identified that can reduce our risk without requiring significant capital expenditure.”</p>
]]></content:encoded>
      <pubDate>Wed, 12 Nov 2008 11:23:30 +0000</pubDate>
      <category domain="http://securityratty.com/tag/innovation">innovation</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/process innovation">process innovation</category>
      <category domain="http://securityratty.com/tag/call technology innovation">call technology innovation</category>
      <category domain="http://securityratty.com/tag/technology innovation">technology innovation</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/risk">risk</category>
      <category domain="http://securityratty.com/tag/risk management">risk management</category>
      <category domain="http://securityratty.com/tag/attackers skills">attackers skills</category>
      <source url="http://riskmanagementinsight.com/riskanalysis/?p=516">On Security &amp; Risk Management Innovation</source>
    </item>
    <item>
      <title><![CDATA[Weve reached the application security tipping point]]></title>
      <link>http://securityratty.com/article/6050b998309be3621b2e51a5698fa756</link>
      <guid>http://securityratty.com/article/6050b998309be3621b2e51a5698fa756</guid>
      <description><![CDATA[Its been a long road since the early 90s when people first started public sharing of vulnerability information. Back then there were flat LANs, no network filters, and world writeable NFS mounts...]]></description>
      <content:encoded><![CDATA[<p>It’s been a long road since the early 90’s when people first started public sharing of vulnerability information.  Back then there were flat LANs, no network filters, and world writeable NFS mounts hanging out on the internet. But with the spread of vulnerability information it all started to change. The first major shift in exploit targets was the move from network vulnerabilities to system vulnerabilities.  As organizations got better at firewalling, using switch technology and encryption, attackers started exploiting misconfigured hosts. The major second shift to operating system code level vulnerabilities came when OS vendors started locking down their systems out of the box and users started to get better at managing security configurations.  Now we are in the midst of the third major shift.  OS vendors such as Microsoft and Linux have scrubbed out most of the defects in the OS code.  Microsoft Windows went over a year without a remote unauthenticated “wormable” vulnerability.  Attackers have moved on to applications. </p>
<p>No longer are OS vendors and other large infrastructure technology providers the main source of vulnerabilities. It’s the thousands of applications, produced by thousands of software vendors, that make up this huge 3rd wave. ISS reported that in 2007 that the top five sources of vulnerabilities: Microsoft, Apple, Oracle,  IBM, and Cisco, had dropped to supplying us with only 13.6% of our vulnerabilities. 86.4% came from the other thousands of software vendors that supply our computers with a seemingly unending supply of vulnerabilities for attackers to exploit.</p>
<p><img alt="" src="http://www.iss.net/x-force_report_images/2008/images_for_vulnerabilities/vendors_accountability.gif" title="Top 5 Vendors Only Account for 13.6% of Vulnerabilities" class="alignnone" width="322" height="261" /></p>
<p>In a recent report Microsoft has congratulated itself on doing a good job securing Windows.  And by all accounts they have done a good job.  But then they state this:</p>
<blockquote><p>“Unless software development practices change throughout the industry, any improvements in the security of Windows would be meaningless.” </p></blockquote>
<p>Whoa.  Millions of dollars spent on securing the most prevalent piece of software and it could be meaningless? Yes, it’s true.  Since attackers typically only need one vulnerability, if it isn’t in the network, and it isn’t in the host configuration, and it isn’t in the OS, they will happily exploit a vulnerability in an application. </p>
<p>At every shift of exploit target the problem has gotten more difficult to solve.  Networks had choke points and could be centrally managed.  It took a while but eventually host configurations became centrally managed and automated tools could scan configurations.  Although OSes were huge and complex beasts with 10’s of millions of lines of code, with enough effort, their vulnerabilities have been largely tamed as Microsoft’s Windows and the Linux kernel track record shows.  This was a very substantial, over five year effort, which used some of the most talented security people anywhere.<br />
But now what to do?  Instead of a few OSes we now have thousands of applications with vulnerabilities. As Microsoft found out, the attackers don’t go away, they just move on to the next incrementally less juicy vulnerability.  In the world of exploits that typically means the vulnerability with the next smallest target population.</p>
<p>Attackers have started with the common client applications that can be found on almost every machine: Acrobat, Flash, RealPlayer, Quicktime, popular antivirus software.  And they will continue down the popularity slope until they get to application populations down in the thousands which is getting to fairly small software vendors.  Attackers can do this because they can bundle many vulnerabilities together, exploiting the statistical fact that you must have some vulnerable software installed.  Compromised web sites have been found attacking visitors with over ten client side exploits preying on multiple versions of vulnerable client software.</p>
<p>The solution to this problem is all software must be written securely, not just the software from the big guys.  Small vendors think they aren’t a target just like home users used to think they weren’t a target.  People thought, “Why would someone want to attack my home computer?”  Then they realized they did home banking, or had a fast internet connection that could be used for DDoS attacks or sending spam.  All software vendors need to get the same wakeup call.  Attackers don’t want to find a vulnerability in <em>your</em> software to make <em>you</em> look bad.  They want <em>any</em> vulnerability.  If the population of your software is small they will just bundle your vulnerability together with others in an exploit pack.  The days of the average software vendor not having to worry about application security are officially over.  </p>
]]></content:encoded>
      <pubDate>Tue, 04 Nov 2008 16:06:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/vulnerable software">vulnerable software</category>
      <category domain="http://securityratty.com/tag/popular antivirus software">popular antivirus software</category>
      <category domain="http://securityratty.com/tag/software vendors">software vendors</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/application security">application security</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/vulnerability">vulnerability</category>
      <category domain="http://securityratty.com/tag/wormable vulnerability">wormable vulnerability</category>
      <source url="http://www.veracode.com/blog/2008/11/we%e2%80%99ve-reached-the-application-security-tipping-point/">Weve reached the application security tipping point</source>
    </item>
    <item>
      <title><![CDATA[Massive SQL Injection Attacks - the Chinese Way]]></title>
      <link>http://securityratty.com/article/42e493c2424af4f8ef6cc5dd581317bf</link>
      <guid>http://securityratty.com/article/42e493c2424af4f8ef6cc5dd581317bf</guid>
      <description><![CDATA[From copycats and &quot;localizers&quot; of Russian web malware exploitation kits , to suppliers of original hacking tools, the Chinese IT underground has been closely following the emerging threats and the...]]></description>
      <content:encoded><![CDATA[<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP46U3HSQHI/AAAAAAAACUY/QH40puDsgXY/s1600-h/security_company_hacking_tools.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP46U3HSQHI/AAAAAAAACUY/QO3L0OWKJcY/s200-R/security_company_hacking_tools.JPG" /></a>From <a href="http://ddanchev.blogspot.com/2008/05/firepack-exploitation-kit-localized-to.html">copycats</a> and <a href="http://ddanchev.blogspot.com/2007/10/mpack-and-icepack-localized-to-chinese.html">"localizers" of Russian web malware exploitation kits</a>, to suppliers of original hacking tools, the Chinese IT underground has been closely following the emerging threats and the obvious insecurities on a large scale, and so is either filling the niches left open by other international communities, or coming up with tools setting new benchmarks for massive SQL injection attacks, like the case with this one :<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5DX0GzAtI/AAAAAAAACUg/3GOnK2TsSRk/s1600-h/search_engines_mass_SQL_injection.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5DX0GzAtI/AAAAAAAACUg/pdCwjwri7LM/s200-R/search_engines_mass_SQL_injection.JPG" /></a>"<i>A professional web site vulnerability scanning, use of tools, SQL injection is a new generation of tools to help Web developers and site of the station quickly find vulnerabilities in order to be able to effectively prepare Security work. At the same time, the tool to Web developers to demonstrate the ways in which hackers are using these vulnerabilities, hackers, as well as through the loopholes to do things, can effectively raise the safety awareness of relevant personnel.</i>"<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DkEEtbqI/AAAAAAAACUo/Mm7pCwd7LT4/s1600-h/search_engines_mass_SQL_injection2.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DkEEtbqI/AAAAAAAACUo/qMaY93_QOvY/s200-R/search_engines_mass_SQL_injection2.JPG" /></a>Nothing's wrong with the marketing pitch at the first place, but going through the features, the "massive SQL injections through search engine reconnaissance" and automatic page rank verification which you can see in the attached screenshots, ruin the "security auditing" marketing pitch. The tool not only allows easy integration of potentially vulnerable sites obtained through <a href="http://ddanchev.blogspot.com/2007/07/sql-injection-through-search-engines.html">search engines reconnaissance</a>, but also, is prioritizing the results based on the probability for successful injection, next to the page rank of the domains in question. A simple demonstration offered by the company is also, directly enticing its users to "localize" the search engine reconnaissance, by filtering the search results for a particupar country, in this case they used French sites for one of the demos. Here are some excerpts from its CHANGE log speaking for themselves :<br />
<br />
"<i><b>2008.7.15 release version 1.3 </b><br />
&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DyBXVu7I/AAAAAAAACUw/37LsW8yh_AE/s1600-h/chinese_SQL_injector.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5DyBXVu7I/AAAAAAAACUw/ub8OVgeWC6Y/s200-R/chinese_SQL_injector.png" /></a><i>- New powerful "automatic machine cycle" feature&nbsp;</i><br />
<i>- Automatic machine cycle is to provide assistance to the advanced user manual into the use of a very&nbsp;</i><br />
<i>- powerful and flexible module, the main sites used for some special filtering into the hand, is almost a&nbsp;</i><br />
<i>- universal tool, you can achieve the following: <br />
&nbsp;</i><br />
<a href="http://4.bp.blogspot.com/_wICHhTiQmrA/SP5D-g3FyAI/AAAAAAAACU4/xYACViJuVn4/s1600-h/chinese_SQL_injector2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_wICHhTiQmrA/SP5D-g3FyAI/AAAAAAAACU4/oPVCur3PMgI/s200-R/chinese_SQL_injector2.png" /></a><i>1. In support of GET / POST / COOKIES in a variety of ways, such as the injection.&nbsp;</i><br />
<i>2. Scan the key to the page (background, upload, WebShell, databases, backup files, etc.).&nbsp;</i><br />
<i>3. According to the dictionary to violence landing back-guess solution WebShell password and password (required to verify that the code can not guess solution).&nbsp;</i><br />
<i>4. Page language does not limit the types and databases (to provide specific statements into the database).&nbsp;</i><br />
<i>5. At the same time, support for the circulation of the two variables and two dictionaries, fast running and violent content of the database solution to guess a password.</i>"<br />
<br />
It gets even more interesting in terms of the massive SQL injection attacks mentality which is pretty evident on all fronts :<br />
<br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5ELiLoBiI/AAAAAAAACVA/0fb6Epapby0/s1600-h/chinese_SQL_injector3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5ELiLoBiI/AAAAAAAACVA/nmrC87TeCxo/s200-R/chinese_SQL_injector3.png" /></a>"<i>- The use of the three search engine sites scans to invade the side to complete<br />
- in scanning probe into the Web site ranking points<br />
- added, "VBS upload to download", "upload directory Web site viewer," "FTP upload to download configuration file" function to make it more convenient for the sa rights to use the site. <br />
- New "sequence document scanners" <br />
- What is the sequence document scanners role? Upload to find loopholes, some of the procedures to upload the file after the upload will be renamed, rename the way the system is usually based on time or incremental increase in the number prefix code for the upload process, if not to return after the file name, Upload files to know the url is usually very difficult to sequence the use of paper scanner can be scanned out</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5FUvl0FhI/AAAAAAAACVY/Y5mM2l7Q6K4/s1600-h/chinese_SQL_injector4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_wICHhTiQmrA/SP5FUvl0FhI/AAAAAAAACVY/DU7feV1pnjU/s200-R/chinese_SQL_injector4.png" /></a><i><br />
- The best reverse domain name query engine, and quasi-wide <br />
- in scanning the database of basic information, an increase of the database of information related to the process, the link has information on the database server user login (sa need permission) <br />
- control of the interface had a big adjustment, the interface process easier to understand and operate. <br />
- based on a significant site of the wrong mode of access to a comprehensive code optimization and more accurate access to the content, accuracy and access to show progress. <br />
- added, "VBS upload to download", "upload directory Web site viewer," "FTP upload to download configuration file" function to make it more convenient for the sa rights to use the site.&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FgfdkSbI/AAAAAAAACVg/R77obP_vxig/s1600-h/chinese_SQL_injector5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FgfdkSbI/AAAAAAAACVg/ORo853Aicy4/s200-R/chinese_SQL_injector5.png" /></a><i><br />
- point into the types of improved detection order to improve the efficiency of detection. <br />
- improved automatic keyword detection, automatic keyword detection more accurate. <br />
- probe into the points the way to improve and increase the use of automatic detection of the keyword detection. <br />
- type of database to improve the detection, the use of the contents of the length of the failure to detect the type of database automatically switch to the probe through the keyword. <br />
- automatically save and load solution has been to guess the tree structure of the database, guess Solutions has been the content and structure of the database will automatically save and open the next time the injection point will be automatically made available, the solutions do not have to guess again, the continuity of work Greatly increased.&nbsp;</i><br />
<div style="text-align: left;"></div><div class="separator" style="clear: both; text-align: center;"></div><a href="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FrcWctII/AAAAAAAACVo/DcQNU5crc5k/s1600-h/chinese_SQL_injector6.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="131" src="http://2.bp.blogspot.com/_wICHhTiQmrA/SP5FrcWctII/AAAAAAAACVo/9zGp4bsPB2U/s200-R/chinese_SQL_injector6.png" width="200" /></a><i><br />
- solved from the database to read large amounts of data (on hundreds of thousands or millions of records), the half-way card program will die. <br />
- increased significantly on the wrong model of ASP.NET and SQL Server2005 significant mode of dealing with mistakes, error messages can be extracted from a Web directory! <br />
- significant amendments to the wrong mode, some of the injected one by one point in the field or access to the contents of the issue can not be successful (error code in hand); for increased access to specific points table and into the field.&nbsp;</i><br />
<i><br />
- amendments to the text of a significant error patterns to detect and correct use of loopholes in the system can be used more to expand. (Text significantly in the wrong mode in version 1.1 already supported, but in the version 1.2 upgrade in the process of scanning to improve the performance of the Gaodiao careless. -_-#) <br />
- on a variety of encoded text can be significantly wrong in the right-compatible, able to correctly handle the ASP.NET page of the text marked wrong. Through custom error keyword, truly compatible with any language, any coding error message. <br />
- crack anti-improvement and enhancement. <br />
- An increase of auto-detection feature keywords.&nbsp;</i><br />
<i><br />
- Mssql database specifically for significant points into the wrong mode of detection and the use of up and down the hard work, and many other software can not detect the point of injection can also be used. <br />
- Automatic save and load access to the database, to allow manual known to add tables and fields for solutions to guess. <br />
- Can be used to amend the degree of accuracy; optimize the code to reduce memory footprint; enhance the stability of multi-threading. <br />
- Significant amendments to the wrong mode solution guess the contents of the database must be checked first field defects.</i>"<br />
<br />
The public version of the tool has been in the while for over an year, with a VIP version available to customers only.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=PsITM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=PsITM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=JBO9M"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=JBO9M" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=owYAm"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=owYAm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=LTzNm"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=LTzNm" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=LaPQM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=LaPQM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=go5fM"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=go5fM" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=rYJ9m"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=rYJ9m" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/427878843" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 21 Oct 2008 12:18:48 +0000</pubDate>
      <category domain="http://securityratty.com/tag/keyword detection">keyword detection</category>
      <category domain="http://securityratty.com/tag/detection">detection</category>
      <category domain="http://securityratty.com/tag/database">database</category>
      <category domain="http://securityratty.com/tag/database solution">database solution</category>
      <category domain="http://securityratty.com/tag/solution">solution</category>
      <category domain="http://securityratty.com/tag/process">process</category>
      <category domain="http://securityratty.com/tag/upload process">upload process</category>
      <category domain="http://securityratty.com/tag/text">text</category>
      <category domain="http://securityratty.com/tag/load solution">load solution</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/427878843/massive-sql-injection-attacks-chinese.html">Massive SQL Injection Attacks - the Chinese Way</source>
    </item>
    <item>
      <title><![CDATA[NSA Posts Secrets to Writing Secure Code - Write at 13 LOC Per Day]]></title>
      <link>http://securityratty.com/article/4358b5d1c6b5267989eeb604a45c3edb</link>
      <guid>http://securityratty.com/article/4358b5d1c6b5267989eeb604a45c3edb</guid>
      <description><![CDATA[The National Security Agency has released a case study showing how to cost-effectively develop code with zero defects. If adopted widely, the practices advocated in the case study could help make...]]></description>
      <content:encoded><![CDATA[The National Security Agency has released a case study showing how to cost-effectively develop code with zero defects. If adopted widely, the practices advocated in the case study could help make commercial software programs more reliable and less vulnerable to attack, the researchers of the project conclude.
The case study is the write-up of an NSA-funded [...]]]></content:encoded>
      <pubDate>Tue, 21 Oct 2008 03:09:47 +0000</pubDate>
      <category domain="http://securityratty.com/tag/commercial software programs">commercial software programs</category>
      <category domain="http://securityratty.com/tag/study">study</category>
      <category domain="http://securityratty.com/tag/national security agency">national security agency</category>
      <category domain="http://securityratty.com/tag/project conclude">project conclude</category>
      <category domain="http://securityratty.com/tag/develop code">develop code</category>
      <category domain="http://securityratty.com/tag/widely">widely</category>
      <category domain="http://securityratty.com/tag/attack">attack</category>
      <category domain="http://securityratty.com/tag/defects">defects</category>
      <category domain="http://securityratty.com/tag/researchers">researchers</category>
      <source url="http://securitybuddha.com/2008/10/21/nsa-posts-secrets-to-writing-secure-code-write-at-13-loc-per-day/">NSA Posts Secrets to Writing Secure Code - Write at 13 LOC Per Day</source>
    </item>
    <item>
      <title><![CDATA[Building Secure Web Applications Training in Minneapolis]]></title>
      <link>http://securityratty.com/article/425c10b73ebf6262c2b07d2a4b9edeaa</link>
      <guid>http://securityratty.com/article/425c10b73ebf6262c2b07d2a4b9edeaa</guid>
      <description><![CDATA[I am very excited to announce that I am co-teaching a public software security class with Ken van Wyk , in Minneapolis, the class runs September 30 - October 2. Ken co-wrote a great book called Secure...]]></description>
      <content:encoded><![CDATA[<div>I am very excited to announce that I am co-teaching a public software security class with <a href="http://krvw.com/about/about.html">Ken van Wyk</a>, in Minneapolis, the class runs September 30 - October 2. Ken co-wrote a great book called <a href="http://1raindrop.typepad.com/1_raindrop/2007/02/book_review_sec.html">Secure Coding</a>, and has trained folks in software security all across the globe. I am really looking forward to doing this class with Ken, I wanted to make sure we got Ken up here before the weather got too cold! The summary is below, if you would like more info please let me know. More details to follow.</div><br /><div>Building Secure Web Applications in Java/J2EE</div><br /><div>Course Description</div><div>This course teaches the students how to develop secure applications from the web front end through the middle tier and data and integration layers for today’s complex internetworked environment. &#160;Students will receive a deep and thorough understanding of the most prevalent and dangerous security defects in today’s applications, and what to do about them. &#160;Additionally, they will learn practical and actionable guidelines on how to remediate against these common defects in Java/J2EE and Web Services frameworks and how to test for them in their own applications.</div><br /><div>This class starts with a description of the security problems faced by today&#39;s software developer, as well as a detailed description of the Open Web Application Security Project’s (OWASP) “Top 10” security defects. &#160;These defects are studied in instructor-lead sessions as well as in hands-on lab exercises in which each student learns how to actually exploit the defects to “break into” a real web application. &#160;(The labs are performed in safe test environments.)</div><br /><div>Remediation techniques and strategies are then studied for each defect. Practical guidelines on how to integrate secure development practices into the software development process are then presented and discussed. Bring the concepts and hands on learning together, the class uses a case study to show how to design and architect security services for a real world application.</div><br /><div>Intended Audience</div><div>The ideal student for this tutorial is a hands-on web application developer or architect who is looking for a fundamental understanding of today&#39;s best practices in secure software development.</div>]]></content:encoded>
      <pubDate>Tue, 26 Aug 2008 17:43:59 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security defects">security defects</category>
      <category domain="http://securityratty.com/tag/defects">defects</category>
      <category domain="http://securityratty.com/tag/applications">applications</category>
      <category domain="http://securityratty.com/tag/secure">secure</category>
      <category domain="http://securityratty.com/tag/dangerous security defects">dangerous security defects</category>
      <category domain="http://securityratty.com/tag/secure web applications">secure web applications</category>
      <category domain="http://securityratty.com/tag/develop secure applications">develop secure applications</category>
      <category domain="http://securityratty.com/tag/secure software development">secure software development</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <source url="http://1raindrop.typepad.com/1_raindrop/2008/08/building-secure-web-applications-training-in-minneapolis.html">Building Secure Web Applications Training in Minneapolis</source>
    </item>
    <item>
      <title><![CDATA[Poor security quality in software. Someone is watching over me.]]></title>
      <link>http://securityratty.com/article/5d5ac42e7f537f2a4fe1612773543dc3</link>
      <guid>http://securityratty.com/article/5d5ac42e7f537f2a4fe1612773543dc3</guid>
      <description><![CDATA[Last week, Ben Worthen of the Wall Street Journal had a conversation with Howard Schmidt about the vulnerabilities in purchased software while Howard was waiting on line to have his iPhone upgraded...]]></description>
      <content:encoded><![CDATA[<p>Last week, Ben Worthen of the Wall Street Journal had a <a href="http://blogs.wsj.com/biztech/2008/07/21/buggy-software-is-your-fault-too/?mod=djemTECH">conversation</a> with Howard Schmidt about the vulnerabilities in purchased software while Howard was waiting on line to have his iPhone upgraded.</p>
<p>Howard Schmidt, who was once the CSO of Microsoft, knows a thing or two about vendors shipping insecure software.  He offers this advice relating to his iPhone, &#8220;Just because a piece of software was distributed through Apple’s App Store, don’t assume that it is vulnerability free.&#8221;  I think that sums up the problem pretty well.  Customers assume the software they are getting is vulnerability free until it is proved otherwise.</p>
<p>If it&#8217;s distributed by the Apple Store it is coming from a trusted brand. &#8220;It must be secure&#8221;, many think.  The same thinking is used by people who install social networking applets and give them access to their personal data.  Someone, somewhere is taking care of the software security so I don&#8217;t have to.  It must be the platform provider, the store, some industry body, my antivirus provider, or maybe even the government.</p>
<p><a href="http://www.veracode.com/blog/wp-content/uploads/2008/07/mall-security.jpg"><img class="size-medium wp-image-147 alignright" title="Mall Security" src="http://www.veracode.com/blog/wp-content/uploads/2008/07/mall-security-300x184.jpg" alt="" width="300" height="184" /></a></p>
<p>You can see how this thinking pervades the consumer space because there are regulatory bodies governing all other aspects of safety and security in our personal lives.  I&#8217;m safe in a plane or car because the government is looking out for me with standards and testing requirements.  I am safe in the mall parking lot because the men in the white SUV are patrolling.</p>
<p>This thinking also pervaded the b2b space.  I talk to companies which are outsourcing critical applications to offshore development companies and they assume that security testing is taking place as part of the development process.  I ask them if they have made security quality part of the requirements of the project and they say no.  Then I ask them what evidence does the offshore developer provide to demonstrate they have a certain level of security quality in the software they are producing and they tell me they have never asked.</p>
<p>I can tell you what would happen if they did ask because I have also spoken with the offshore developers.  They have no evidence.  Their concern is getting the software functionality done on time and on budget. They consider fixing security vulnerabilities, once discovered, rework which the customer pays for.  So not only are they not looking for vulnerabilities and relying on the customer to find them, they are charging the customer to fix the problems.  The customer has to this date accepted this model.</p>
<p>The same goes for commercial off the shelf software and open source.  Surely the developers writing the software are trained in secure software engineering.  Surely commercial software companies are using 3rd parties to test their software just like the banks have the big 4 audit their accounting or auto manufacturers submit to testing by the <a href="http://www.nhtsa.dot.gov/">NHTSA</a>. And of course open source has &#8220;many eyes&#8221; reviewing the code for security defects and informing the developers.  The customer has accepted a model where this is almost never true.</p>
<p>But times are changing and it is partially due to the availability of software that can automate the process of looking for security vulnerabilities. David Rice, the author of <a href="http://www.geekonomicsbook.com/">&#8220;Geekanomics: The Real Cost of Insecure Software&#8221;</a> was <a href="http://beastorbuddha.com/2008/07/29/talking-with-david-rice-insecure-software-implications-regulation-vendors-making-change-and-other-things/">interviewed recently by Drazin Drazic his Beast or Buddha blog</a>.  He said the trend is toward a future of secure software and automated security analysis is one of the sparks:</p>
<blockquote><p><strong>BorB: I recently wrote in a post that little is changing. We are not learning from the lessons of the past. There are few, if any new technologies that exist today, that we have great faith and trust in as being secure now, and expecting them to continue to be secure in the future. Any solutions to even basic security issues need a starting point and a significant change to current thinking, and even then, it will takes years to see the impacts of this. What are your thoughts on this? Are we seeing anything at present to make us more confident of the future?</strong></p>
<p>DR: It is true that it takes years to see the positive impacts of a change of mindset. And we are in the unfortunate position of repeating many old lessons.</p>
<p>At base, human history is a collection of exhaustive, expensive, and protracted engagements; only the relentless survive and have a chance at succeeding (notice no guarantee here). Confronting some of our most complex problems like highway safety, nuclear proliferation, or insecure software is painful, difficult, complicated, and troublesome. Human endeavors of any significance are like this. But we must do it. The inertia of culture and status quo is difficult to overcome, but overcome it we can; otherwise, we would not have the better parts of the world we enjoy today.</p>
<p>I believe the technology space is no different. We are just a little dazed and bewildered by all the changes technology has introduced so quickly and on such a grand scale. For every change we react to, another two or three rapidly appear.</p>
<p>I do see sparks of hope emerging. In the United States some members of government are beginning to understand the problem and are willing to start discussing how to approach insecure software from a policy perspective. On the technology front, companies like Ounce, Fortify, and Veracode are beginning to give software buyers an automated method of evaluating assurance levels of software. While not complete in and of themselves, these solutions are, as I stated, “sparks” that can help us progress down paths that were once not easily open to us.</p>
<p>As for the larger issue of cyber security, which software assurance is only a part of, society has a lot of adjusting to do. The Internet is a new environment for many still, and many more to come. There is a learning curve that must be confronted. It took the United States almost 80 years to develop the highway system we know and enjoy today. Nearly $400 billion was spent on this endeavor with hundreds of thousands of lives lost. As this shows, learning how to govern and navigate a new environment is expensive. Failing to learn even more so.</p></blockquote>
<p>Independent, automated, and repeatable software security testing is an essential component of a safe and secure online environment.  Without it we are stuck with the assumption of vendors perfoming software security as our imaginary security blanket that allows us to operate in the current online world.</p>
]]></content:encoded>
      <pubDate>Wed, 30 Jul 2008 10:51:49 +0000</pubDate>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/approach insecure software">approach insecure software</category>
      <category domain="http://securityratty.com/tag/insecure software">insecure software</category>
      <category domain="http://securityratty.com/tag/repeatable software security">repeatable software security</category>
      <category domain="http://securityratty.com/tag/secure online environment">secure online environment</category>
      <category domain="http://securityratty.com/tag/environment">environment</category>
      <category domain="http://securityratty.com/tag/secure">secure</category>
      <category domain="http://securityratty.com/tag/secure software">secure software</category>
      <category domain="http://securityratty.com/tag/software assurance">software assurance</category>
      <source url="http://www.veracode.com/blog/?p=145">Poor security quality in software. Someone is watching over me.</source>
    </item>
    <item>
      <title><![CDATA[Poor Security Quality In Software; Someone Is Watching Over Me]]></title>
      <link>http://securityratty.com/article/aeb219e925a6f8176126d93b8eb2be49</link>
      <guid>http://securityratty.com/article/aeb219e925a6f8176126d93b8eb2be49</guid>
      <description><![CDATA[Last week, Ben Worthen of the Wall Street Journal had a conversation with Howard Schmidt about the vulnerabilities in purchased software while Howard was waiting on line to have his iPhone upgraded...]]></description>
      <content:encoded><![CDATA[<p>Last week, Ben Worthen of the Wall Street Journal had a <a href="http://blogs.wsj.com/biztech/2008/07/21/buggy-software-is-your-fault-too/?mod=djemTECH">conversation</a> with Howard Schmidt about the vulnerabilities in purchased software while Howard was waiting on line to have his iPhone upgraded.</p>
<p>Howard Schmidt, who was once the CSO of Microsoft, knows a thing or two about vendors shipping insecure software.  He offers this advice relating to his iPhone, &#8220;Just because a piece of software was distributed through Apple’s App Store, don’t assume that it is vulnerability free.&#8221;  I think that sums up the problem pretty well.  Customers assume the software they are getting is vulnerability free until it is proved otherwise.</p>
<p>If it&#8217;s distributed by the Apple Store it is coming from a trusted brand. &#8220;It must be secure&#8221;, many think.  The same thinking is used by people who install social networking applets and give them access to their personal data.  Someone, somewhere is taking care of the software security so I don&#8217;t have to.  It must be the platform provider, the store, some industry body, my antivirus provider, or maybe even the government.</p>
<p><a href="http://www.veracode.com/blog/wp-content/uploads/2008/07/mall-security.jpg"><center><img class="size-medium wp-image-147 alignright photoborder" title="Mall Security" src="http://www.veracode.com/blog/wp-content/uploads/2008/07/mall-security-300x184.jpg" alt="" width="300" height="184" /></center></a></p>
<p>You can see how this thinking pervades the consumer space because there are regulatory bodies governing all other aspects of safety and security in our personal lives.  I&#8217;m safe in a plane or car because the government is looking out for me with standards and testing requirements.  I am safe in the mall parking lot because the men in the white SUV are patrolling.</p>
<p>This thinking also pervaded the b2b space.  I talk to companies which are outsourcing critical applications to offshore development companies and they assume that security testing is taking place as part of the development process.  I ask them if they have made security quality part of the requirements of the project and they say no.  Then I ask them what evidence does the offshore developer provide to demonstrate they have a certain level of security quality in the software they are producing and they tell me they have never asked.</p>
<p>I can tell you what would happen if they did ask because I have also spoken with the offshore developers.  They have no evidence.  Their concern is getting the software functionality done on time and on budget. They consider fixing security vulnerabilities, once discovered, rework which the customer pays for.  So not only are they not looking for vulnerabilities and relying on the customer to find them, they are charging the customer to fix the problems.  The customer has to this date accepted this model.</p>
<p>The same goes for commercial off the shelf software and open source.  Surely the developers writing the software are trained in secure software engineering.  Surely commercial software companies are using 3rd parties to test their software just like the banks have the big 4 audit their accounting or auto manufacturers submit to testing by the <a href="http://www.nhtsa.dot.gov/">NHTSA</a>. And of course open source has &#8220;many eyes&#8221; reviewing the code for security defects and informing the developers.  The customer has accepted a model where this is almost never true.</p>
<p>But times are changing and it is partially due to the availability of software that can automate the process of looking for security vulnerabilities. David Rice, the author of <a href="http://www.geekonomicsbook.com/">&#8220;Geekanomics: The Real Cost of Insecure Software&#8221;</a> was <a href="http://beastorbuddha.com/2008/07/29/talking-with-david-rice-insecure-software-implications-regulation-vendors-making-change-and-other-things/">interviewed recently by Drazin Drazic his Beast or Buddha blog</a>.  He said the trend is toward a future of secure software and automated security analysis is one of the sparks:</p>
<blockquote><p><strong>BorB: I recently wrote in a post that little is changing. We are not learning from the lessons of the past. There are few, if any new technologies that exist today, that we have great faith and trust in as being secure now, and expecting them to continue to be secure in the future. Any solutions to even basic security issues need a starting point and a significant change to current thinking, and even then, it will takes years to see the impacts of this. What are your thoughts on this? Are we seeing anything at present to make us more confident of the future?</strong></p>
<p>DR: It is true that it takes years to see the positive impacts of a change of mindset. And we are in the unfortunate position of repeating many old lessons.</p>
<p>At base, human history is a collection of exhaustive, expensive, and protracted engagements; only the relentless survive and have a chance at succeeding (notice no guarantee here). Confronting some of our most complex problems like highway safety, nuclear proliferation, or insecure software is painful, difficult, complicated, and troublesome. Human endeavors of any significance are like this. But we must do it. The inertia of culture and status quo is difficult to overcome, but overcome it we can; otherwise, we would not have the better parts of the world we enjoy today.</p>
<p>I believe the technology space is no different. We are just a little dazed and bewildered by all the changes technology has introduced so quickly and on such a grand scale. For every change we react to, another two or three rapidly appear.</p>
<p>I do see sparks of hope emerging. In the United States some members of government are beginning to understand the problem and are willing to start discussing how to approach insecure software from a policy perspective. On the technology front, companies like Ounce, Fortify, and Veracode are beginning to give software buyers an automated method of evaluating assurance levels of software. While not complete in and of themselves, these solutions are, as I stated, “sparks” that can help us progress down paths that were once not easily open to us.</p>
<p>As for the larger issue of cyber security, which software assurance is only a part of, society has a lot of adjusting to do. The Internet is a new environment for many still, and many more to come. There is a learning curve that must be confronted. It took the United States almost 80 years to develop the highway system we know and enjoy today. Nearly $400 billion was spent on this endeavor with hundreds of thousands of lives lost. As this shows, learning how to govern and navigate a new environment is expensive. Failing to learn even more so.</p></blockquote>
<p>Independent, automated, and repeatable software security testing is an essential component of a safe and secure online environment.  Without it we are stuck with the assumption of vendors perfoming software security as our imaginary security blanket that allows us to operate in the current online world.</p>
]]></content:encoded>
      <pubDate>Wed, 30 Jul 2008 10:51:49 +0000</pubDate>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/approach insecure software">approach insecure software</category>
      <category domain="http://securityratty.com/tag/insecure software">insecure software</category>
      <category domain="http://securityratty.com/tag/repeatable software security">repeatable software security</category>
      <category domain="http://securityratty.com/tag/secure online environment">secure online environment</category>
      <category domain="http://securityratty.com/tag/environment">environment</category>
      <category domain="http://securityratty.com/tag/secure">secure</category>
      <category domain="http://securityratty.com/tag/secure software">secure software</category>
      <category domain="http://securityratty.com/tag/software assurance">software assurance</category>
      <source url="http://www.veracode.com/blog/2008/07/poor-security-quality-in-software-someone-is-watching-over-me/">Poor Security Quality In Software; Someone Is Watching Over Me</source>
    </item>
    <item>
      <title><![CDATA[Monks, Compliance, Risk, and Government]]></title>
      <link>http://securityratty.com/article/b46e3605951d4230eb796ac31f183465</link>
      <guid>http://securityratty.com/article/b46e3605951d4230eb796ac31f183465</guid>
      <description><![CDATA[The Abbot at the Security Monastery takes us through an interesting tour of compliance, risk management, and what the Government is doing . Im not biased at all because its based on conversations with...]]></description>
      <content:encoded><![CDATA[<p>The Abbot at the <a href="http://blog.securitymonks.com/" target="_blank">Security Monastery</a> takes us through an <a href="http://blog.securitymonks.com/2008/07/04/intense-simplicities/" target="_blank">interesting tour of compliance, risk management, and what the Government is doing</a>.  I&#8217;m not biased at all because it&#8217;s based on conversations with me or anything like that.  =)</p>
<p>Now for those of you who don&#8217;t know me personally, here&#8217;s a little bit of trivia for you:  Every week I go back and forth between &#8220;wow, we&#8217;re doing great things above and beyond what the private sector knows about&#8221; and &#8220;culturally, security in the Government will never work because you&#8217;re trying to do risk management in a zero-defects world&#8221;.</p>
<!-- Social Bookmarks BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.guerilla-ciso.com/archives/431&amp;title=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to Del.icio.us"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/delicious.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Del.icio.us" alt="Add 'Monks, Compliance, Risk, and Government' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.guerilla-ciso.com/archives/431&amp;title=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to digg"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/digg.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to digg" alt="Add 'Monks, Compliance, Risk, and Government' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.guerilla-ciso.com/archives/431&amp;title=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to reddit"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/reddit.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to reddit" alt="Add 'Monks, Compliance, Risk, and Government' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://feedmelinks.com/categorize?from=toolbar&amp;op=submit&amp;name=Monks%2C+Compliance%2C+Risk%2C+and+Government&amp;url=http://www.guerilla-ciso.com/archives/431&amp;version=0.7" title="Add 'Monks, Compliance, Risk, and Government' to Feed Me Links"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/feedmelinks.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Feed Me Links" alt="Add 'Monks, Compliance, Risk, and Government' to Feed Me Links" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.guerilla-ciso.com/archives/431" title="Add 'Monks, Compliance, Risk, and Government' to Technorati"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/technorati.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Technorati" alt="Add 'Monks, Compliance, Risk, and Government' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.guerilla-ciso.com/archives/431&amp;t=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to Yahoo My Web"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/yahoo_myweb.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Yahoo My Web" alt="Add 'Monks, Compliance, Risk, and Government' to Yahoo My Web" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/refer.php?url=http://www.guerilla-ciso.com/archives/431&amp;title=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to Stumble Upon"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/stumbleupon.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Stumble Upon" alt="Add 'Monks, Compliance, Risk, and Government' to Stumble Upon" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.guerilla-ciso.com/archives/431&amp;title=Monks%2C+Compliance%2C+Risk%2C+and+Government" title="Add 'Monks, Compliance, Risk, and Government' to Google Bookmarks"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/google.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Google Bookmarks" alt="Add 'Monks, Compliance, Risk, and Government' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.squidoo.com/lensmaster/bookmark?http://www.guerilla-ciso.com/archives/431" title="Add 'Monks, Compliance, Risk, and Government' to Squidoo"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/squidoo.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Squidoo" alt="Add 'Monks, Compliance, Risk, and Government' to Squidoo" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.guerilla-ciso.com/archives/431" title="Add 'Monks, Compliance, Risk, and Government' to Bloglines"><img src="http://www.guerilla-ciso.com/wp-content/plugins/social_bookmarks/bloglines.png" border="0" title="Add 'Monks, Compliance, Risk, and Government' to Bloglines" alt="Add 'Monks, Compliance, Risk, and Government' to Bloglines" /></a></div>
<!-- Social Bookmarks END --><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/TheGuerillaCiso?a=8bs6zJ"><img src="http://feeds.feedburner.com/~f/TheGuerillaCiso?i=8bs6zJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/TheGuerillaCiso?a=eZOSNj"><img src="http://feeds.feedburner.com/~f/TheGuerillaCiso?i=eZOSNj" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/TheGuerillaCiso/~4/328973726" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 07 Jul 2008 11:53:46 +0000</pubDate>
      <category domain="http://securityratty.com/tag/government">government</category>
      <category domain="http://securityratty.com/tag/risk management">risk management</category>
      <category domain="http://securityratty.com/tag/security monastery takes">security monastery takes</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/compliance">compliance</category>
      <category domain="http://securityratty.com/tag/zero-defects world">zero-defects world</category>
      <category domain="http://securityratty.com/tag/neverwork">neverwork</category>
      <category domain="http://securityratty.com/tag/week">week</category>
      <category domain="http://securityratty.com/tag/bit">bit</category>
      <source url="http://feeds.feedburner.com/~r/TheGuerillaCiso/~3/328973726/431">Monks, Compliance, Risk, and Government</source>
    </item>
    <item>
      <title><![CDATA[SDL Training]]></title>
      <link>http://securityratty.com/article/36095f95c3adf54cf7cabefc378acfcb</link>
      <guid>http://securityratty.com/article/36095f95c3adf54cf7cabefc378acfcb</guid>
      <description><![CDATA[Hi everyone, Shawn Hernan here. Being a security guy is incredibly rewarding because you get to look at virtually any part of a product, from kernel drivers to web services to user education to sales...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Hi everyone, Shawn Hernan here. Being a security guy is incredibly rewarding because you get to look at virtually any part of a product, from kernel drivers to web services to user education to sales and servicing. You have to do that because a failure in one of those areas can endanger the security of our customers. Microsoft’s SDL process reflects that reality. The process is structured so that you really do have to look at each piece before you can sign off. But sometimes when others want to emulate the success of the SDL, they want to skip steps. They try to boil the SDL down into its component parts, like training, or tooling, or security response. Maybe the most common form of that mistake is training, but you see that same thinking applied to code scanning, security response, and just about every phase of the SDL. “<I style="mso-bidi-font-style: normal">Let’s just train everyone, and all our security problems will go away</I>.” If only it were so easy. I’d like to take a few minutes to try to explain why it’s not really that easy from my own experience. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>Have you ever sat in a corporate training? Some are good, some are bad, but did you ever say, “man I can’t <I>wait</I> for training today.” What about mandatory training? What about mandatory training in a subject that you really don’t think is your area? What if you had to do it every year, and got harassed if you didn’t do it? What if you were, say, an audio engineer and were dragged into a security class? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>I ran the SDL training program at Microsoft for a long time, and developed and taught a big chunk of the training. I spent hundreds of hours in front of thousands of developers, testers, and program managers. <SPAN style="mso-bidi-font-style: italic">I got some really good reviews (and a few bad ones) on the classes I offered. And I tried to do a lot of things to try to make the trainings interesting. I handed out dozens of fresh peaches in an early class on fuzz testing, for example.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The room smelled really nice after that, and there are probably still a few people around Microsoft who think of fuzz testing when they see a peach. </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>But even on my best day, I was under no illusion that the majority of the audience was excited to be there, and I was certain that they weren’t going to go back to their offices and spend weeks applying the lessons from the class, setting aside <I>other </I>things that are causing present and immediate problems in favor of something that is far off into the future. <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><SPAN style="mso-bidi-font-style: italic"><FONT face=Calibri>You have to work at getting people’s attention – especially as it relates to security and privacy. From time to time, I would see people reading their mail in class, and I would point to them and ask them a question. That did not endear me to the audience as much as the peaches, but embarrassment is always fresh and in season.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></SPAN><SPAN style="FONT-FAMILY: Wingdings; mso-bidi-font-style: italic; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J</SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT face=Calibri> <o:p></o:p></FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>One student wrote of one of my classes, “<I>the basics for secure design - could be replaced by non-anonymous site-wide exam with open material.” </I><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>He was not alone, I assure you. <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Is that an indication that our training, or any training, is pointless? Hardly, but training alone is not a change agent.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT face=Calibri size=3>Richard Derwent Cooke </FONT></SPAN><A href="http://www.changingminds.org/articles/articles08/you_get_the_results_you_reward.htm"><SPAN style="mso-bidi-font-style: italic"><FONT face=Calibri color=#0000ff size=3>wrote</FONT></SPAN></A><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>,<SPAN style="mso-spacerun: yes">&nbsp; </SPAN><I><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>“It is a first principle of Change Management that people will act in what they perceive as being their best interests.”<o:p></o:p></I></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>At best, training can provide people with insight into what they need to do to solve a security problem <I>if they believe that solving that security problem is in their best interests. <o:p></o:p></I></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>To be effective, training needs to happen in an environment:<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-style: italic; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>Where expectations are clearly set (the SDL sets specific minimum requirements). <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-style: italic; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>People have appropriate incentives and consequences (security is a great career path at Microsoft, and nobody wants to be the one holding up a ship schedule for failure to meet a security requirement).<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-style: italic; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>Where tools and resources to accomplish the goals are available (we build a whole variety of tools that map to the SDL requirements).<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-style: italic; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>Where management models the behavior (recall the original BillG TWC memo). <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-style: italic; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="mso-bidi-font-style: italic"><FONT size=3><FONT face=Calibri>Where the environment reflects and supports the values presented in the training (apparent in everything Microsoft does). <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Don’t make the mistake of thinking that a bunch of training, even really high quality training done periodically, will result in actual behavior change. It won’t. You have to build an environment where people perceive solving security problems as being in their best interests. You have to make security <I style="mso-bidi-font-style: normal">their</I> problem – not in the sense of passing the buck, but in the sense of changing their behavior so they will bring security problems to you.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>To illustrate further, I’ll cite two examples. First, fuzz testing. Fuzz testing has been a success story here at Microsoft. Tools arise spontaneously to solve new fuzzing challenges, written by people who believe the challenges are their challenges. There are people who feel ownership for our fuzzing strategy and on-going research and science, there are specific goals and requirements, we have training (remember the peaches?), and internally developed fuzzers have won prestigious awards within the company, handed out by members of the executive staff, and all of this gets revisited periodically as part of the SDL. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>By contrast, I’ll choose a less successful area – defect estimation. On my own volition, I created (based mostly on some excellent material from Microsoft Research) and taught a class called “Defect Estimation and Management” and added it to the SDL curriculum. Microsoft is a great place to work in that regard. It was pretty close to the best-reviewed class I taught. But, we have not yet been able to establish a set of tools to estimate security defect density effectively, and establish a fair set of expectations, incentives, and consequences, or even<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>decide what we should do if we had the data. We discovered some things, though. For example, based on what I observed (which should not be construed as rigorous research), it does not appear as if the density of general defects correlates closely with the density of security defects. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>And Microsoft Research found higher code coverage in testing correlates with <I style="mso-bidi-font-style: normal">higher </I>bug rates in the field. </FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>And so even though people like the idea of defect estimation, and we’ve got some interesting and surprising data, we’ve not yet been successful in changing people’s behavior. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Generally speaking, an individual test manager does not feel that establishing a high quality estimate of their defect density is in his or her best interests, as compared to, say, improving the time in which an established series of tests can be performed . <SPAN style="mso-spacerun: yes">&nbsp;</SPAN><SPAN class=msoIns><INS cite=mailto:Kristen%20Kish dateTime=2008-05-28T10:53><o:p></o:p></INS></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>We need to build an environment that has the tools, training, rewards and incentives, and expectations and consequences to change people’s behavior. Not that we’re not trying. But training won’t solve it alone, nor would tools, trophies, rants, testing, code review, or some edict from on high. The SDL is as much about changing the culture and influencing the behavior of individual engineers as it is anything else. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>I’m convinced that Microsoft’s SDL process works because it addresses the end-to-end problem - from training through servicing, and provides a complete environment where people feel ownership of their part of the security problem and have the resources to solve it. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>So the next time you find yourself sitting in some mandatory training, remember the lessons of the SDL (and most of the research on human performance management): training alone won’t cut it. If you want real behavior change, there have to be things outside the lecture room to influence people to change their behavior.</FONT></FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8558916" width="1" height="1">]]></content:encoded>
      <pubDate>Thu, 29 May 2008 11:22:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/real behavior change">real behavior change</category>
      <category domain="http://securityratty.com/tag/behavior">behavior</category>
      <category domain="http://securityratty.com/tag/sdl">sdl</category>
      <category domain="http://securityratty.com/tag/change peoples behavior">change peoples behavior</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security guy">security guy</category>
      <category domain="http://securityratty.com/tag/security defects">security defects</category>
      <category domain="http://securityratty.com/tag/defects">defects</category>
      <category domain="http://securityratty.com/tag/security class">security class</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/05/29/sdl-training.aspx">SDL Training</source>
    </item>
    <item>
      <title><![CDATA[More on Application Security Metrics]]></title>
      <link>http://securityratty.com/article/3e4b88291d588b070f231c595572d743</link>
      <guid>http://securityratty.com/article/3e4b88291d588b070f231c595572d743</guid>
      <description><![CDATA[Eric Bidstrup of Microsoft has a blog entry up titled &quot; How Secure is Secure ?&quot; In it he makes a number of points related, essentially, to measuring the security of software and what the appropriate...]]></description>
      <content:encoded><![CDATA[Eric Bidstrup of Microsoft has a blog entry up titled "<a href="http://blogs.msdn.com/sdl/archive/2008/05/08/how-secure-is-secure.aspx">How Secure is Secure</a>?"  In it he makes a number of points related, essentially, to measuring the security of software and what the appropriate metrics might be.<br /><br />I'd been asking the Microsoft guys for a while whether they had any decent metrics to break down the difference between:<br /><ul><li>Architectural/Design Defects</li><li>Implementation Defects</li></ul>I hadn't gotten good answers up to this point because measuring those internally during the development process is a constantly moving target.  If your testing methodology is always changing, then its hard to say whether you're seeing more or fewer defects of a given type than before, especially as a percentage.  That is, if you weren't catching a certain class of issue with the previous version of a static analysis tool but now you are, its hard to correlate the results to previous versions of the software.<br /><br />Eric says:<br /><blockquote>Microsoft has been releasing security bulletins since 1999. Based on some informal analysis that members of our organization have done, we believe well over 50% of *all* security bulletins have resulted from implementation vulnerabilities and by some estimates as high as 70-80%. (Some cases are questionable and we debate if they are truly “implementation issues” vs. “design issues” – hence this metric isn’t precise, but still useful). I have also heard similar ratios described in casual discussions with other software developers.</blockquote>In general I think you're likely to find this trend across the board.  Part of the reason though is that in general implementation defects are easier to find and exploit.  Exploiting input validation failures that result in buffer overflows is a lot easier than complicated business logic attacks, multi-step attacks against distributed systems, etc.<br /><br />We haven't answered whether there are more Architectural/Design defects or Implementation defects, but from an exploitability standpoint, its fairly clear that implementation defects are probably the first issues we want to fix.<br /><br />At the same time, we do need to balance that against the damage that can be done by an architectural flaw, and just how difficult they can be to fix, especially in deployed software.  Take as an example Lanman authentication.  Even if implemented without defects, the security design isn't nearly good enough to resist exploit.  Completely removing Lanman authentication from Windows and getting everyone switched over to it has taken an extremely long time in most businesses because of legacy deployment, etc.  So, as much as implementation defects are the ones generally exploited and that need patching, architectural defects can in some cases cause a lot more damage and be harder to address/remediate once discovered/exploited.<br /><br />Another defect to throw into this category would be something like WEP.  Standard WEP implementations aren't defect ridden.  They don't suffer from buffer overflows, race conditions, etc.  They suffer from fundamental design defects that can't be corrected without a fundamental rewrite.  The number of attacks resulting from WEP probably isn't known.  Even throwing out high profile cases such as TJ Maxx and Home Depot, I'm guessing the damage done is substantial.<br /><br />So far then things aren't looking good for using implementation defects as a measuring stick of how secure a piece of software is. Especially for widely deployed products that have a long lifetime and complicated architecture.<br /><br />Though I suppose I can come up counter-examples as well.  SQL-Slammer after all was a worm that exploited a buffer overflow in MS-SQL Server via a function that was open by default to the world.  It was one of the biggest worms ever (if not the biggest, I stopped paying attention years ago) and  it exploited an implementation defect, though one that was exploitable because it was part of the unauthenticated attack surface of the application - a design defect.<br /><br />All this really proves is that determining which of these types of defects to measure, prioritize, and fix is a tricky business and as always, you mileage may vary.<br /><br />As Eric clearly points out the threat landscape isn't static either.  So, what you think is a priority today might change tomorrow.  And, its different for different types of software.  The appropriate methodology for assessing and prioritizing defects for a desktop application is substantially different than that for a centrally hosted web application.  Differences related to exploitability, time-to-fix, etc.<br /><br />More on that in a post to follow.<img src="http://feeds.feedburner.com/~r/SecurityRetentive/~4/286583249" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 08 May 2008 16:05:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/defects">defects</category>
      <category domain="http://securityratty.com/tag/fundamental design defects">fundamental design defects</category>
      <category domain="http://securityratty.com/tag/fewer defects">fewer defects</category>
      <category domain="http://securityratty.com/tag/architectural defects">architectural defects</category>
      <category domain="http://securityratty.com/tag/implementation defects">implementation defects</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/security design">security design</category>
      <category domain="http://securityratty.com/tag/software developers">software developers</category>
      <source url="http://feeds.feedburner.com/~r/SecurityRetentive/~3/286583249/more-on-application-security-metrics.html">More on Application Security Metrics</source>
    </item>
  </channel>
</rss>
