<?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: discretionary]]></title>
    <link>http://securityratty.com/tag/discretionary</link>
    <description></description>
    <pubDate>Wed, 13 Feb 2008 07:58:30 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[How Secure is Secure?]]></title>
      <link>http://securityratty.com/article/030fa94dec1f15755b9a1d1bbfae60d9</link>
      <guid>http://securityratty.com/article/030fa94dec1f15755b9a1d1bbfae60d9</guid>
      <description><![CDATA[Hi folks, Eric Bidstrup here

As I touched on in my December posting on Common Criteria , and as Michael Howard discussed in his post on security metrics , trying to objectively quantify and measure...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Hi folks, Eric Bidstrup here.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>As I touched on in my December posting on </FONT><A href="http://blogs.msdn.com/sdl/archive/2007/12/20/common-criteria-and-answering-the-question-is-it-safe.aspx"><FONT face=Calibri size=3>Common Criteria</FONT></A><FONT face=Calibri size=3>, and as Michael Howard discussed in his post on </FONT><A href="http://blogs.msdn.com/sdl/archive/2008/04/18/oh-no-security-metrics.aspx"><FONT face=Calibri size=3>security metrics</FONT></A><FONT face=Calibri size=3>, trying to objectively quantify and measure “How secure is secure” is far more difficult than one might think. I’d like to share my perspective that there are two “dimensions” useful to consider when characterizing software security metrics: <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal">security functional requirements</I></B> and <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal">security engineering quality requirements</I></B>. While the SDL is focused primarily (but not exclusively) on the latter, both are ultimately important when assessing the security of a given bit of software. However, for reasons I’ll elaborate on below, the SDL does focus on trying to prevent the most common causes of vulnerabilities today and hence looking at the ways in which Microsoft tracks and measures individual products teams’ compliance with SDL requirements offers some interesting fodder for the security metrics debate. I’m not offering a complete solution, but am sharing our experience at Microsoft with measuring how development teams actually follow the SDL. It’s helped us deliver more secure software, and sharing this will hopefully help others as well as putting more data on the table for consideration when discussing security metrics.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Putting aside computer security for just a moment, it’s interesting to look at other ways in which we attempt to measure security in our society. </FONT><A href="http://en.wikipedia.org/wiki/Padlock"><FONT face=Calibri size=3>Padlocks</FONT></A><FONT face=Calibri size=3> offer security protections, and organizations such as the American Standard for Testing and Materials (ASTM) provide standards like </FONT><A href="http://www.astm.org/Standards/F883.htm"><FONT face=Calibri size=3>F883-04 Standard Performance Specification for Padlocks</FONT></A><FONT face=Calibri size=3> that characterize padlock security ratings. Prisons provide security protections as well. <SPAN style="COLOR: black; mso-bidi-font-family: Arial">Prisoners reside in different facilities that vary by security level. The US Bureau of Prisons uses a numbered scale from one to six to represent the security level. </SPAN>Both of these examples are similar in that the threats and risks each of them must protect against are reasonably well understood and relatively static (meaning the threats don’t change much over time). Computer security is still evolving with new classes of attacks still being discovered, and while hackers understand how to exploit known types of vulnerabilities – software developers are still catching up in learning how to modify engineering practices to be resilient against both new and old types of attacks. Hence, metrics are more challenging for computer security.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Several attempts have been made by governments to come up with a security rating system similar to the examples listed above. In the 1980’s, the US Department of Defense created the “</FONT><A href="http://en.wikipedia.org/wiki/TCSEC"><FONT face=Calibri size=3>Trusted Computer System Evaluation Criteria (TCSEC)</FONT></A><FONT face=Calibri size=3>” that tried to establish a standard for measure operating system security. The “Orange Book” offered a relatively simple system for assigning “score” summarized below:</FONT></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in"><FONT face=Calibri size=3>D (Minimal Protection) </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT face=Calibri size=3>C (Discretionary Protection) </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>C1: Discretionary Security Protection </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>C2: Controlled Access Protection </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT face=Calibri size=3>B (Mandatory Protection) </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>B1: Labeled Security Protection </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>B2: Structured Protection </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>B3: Security Domains </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT face=Calibri size=3>A (Verified Protection) </FONT></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 0pt 1in; mso-add-space: auto"><FONT face=Calibri size=3>A1: Verified Design</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>In the 1990’s, the US and other nations combined their efforts to create an international security standard for software known as the </FONT><A href="http://en.wikipedia.org/wiki/Common_Criteria"><FONT face=Calibri size=3>Common Criteria</FONT></A><FONT face=Calibri size=3> (ISO 15408). Common Criteria also has a rating system that scores products with “evaluation assurance levels” (EALs):</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in"><FONT face=Calibri size=3>EAL 1: Functionally Tested </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 2: Structurally Tested<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 3: Methodically Tested and Checked<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 4: Methodically Designed, Tested, and Reviewed<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 5: Semi-formally Designed and Tested<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 6: Semi-formally Verified Design and Tested<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 0pt 0.5in"><FONT size=3><FONT face=Calibri>EAL 7: Formally Verified Design and Tested<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Both TCSEC and Common Criteria (CC) are primarily focused on “security functional requirements” (as called out earlier, distinct from “security engineering quality requirements”). The EALs reflect the amount of rigor and attention to claimed security functional requirements a developer applied while creating a product. Furthermore, the EALs also reflect increasing levels of effort and resources necessary by anyone reviewing a product in order to evaluate the product’s claimed security functional requirements. However, EAL ratings for commercial products have historically not correlated with the number of vulnerabilities found in commercial products after release. As I discussed in my December posting on </FONT><A href="http://blogs.msdn.com/sdl/archive/2007/12/20/common-criteria-and-answering-the-question-is-it-safe.aspx"><FONT face=Calibri size=3>Common Criteria</FONT></A><FONT size=3><FONT face=Calibri>, this is because CC is primarily focused on “security functional requirements” and fails to adequately address “security engineering quality requirements”. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>This leads a question on how to measure those aspects of software security that earlier efforts have been unable to successfully address.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>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. In other words, most vulnerabilities can be addressed by the “security engineering quality requirements” described via SDL. This is not to say that “security functional requirements” are unimportant or that SDL ignores secure design (as </FONT><A href="http://blogs.msdn.com/sdl/archive/2008/02/14/wrapping-up-threat-modeling.aspx"><FONT face=Calibri size=3>Adam has described in his threat modeling series</FONT></A><FONT face=Calibri size=3>), but rather that it is not where vulnerabilities are being most frequently encountered. With SDL, we adopt a pragmatic approach in looking at identifying the root causes of security vulnerabilities, and trying to prevent those root causes from reoccurring. The challenge lies in how we actually validate that development teams are indeed adopting and executing whatever changes SDL requires in engineering (either in terms of process or tools). Process changes are often difficult to quantify, as we must rely upon development teams truthfully attesting they have followed the process. As long as development teams believe the process results in better code, they generally will adopt and follow such practices. Tool usage becomes more interesting and valuable in that using tools becomes a vehicle for objectively and independently verifying if code satisfies requirements or not. But that is just the tip of the iceberg…</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>As I said above in my comments on EALs, the amount of time required by anyone reviewing a product to assess “security” is relevant since security review can be a very time and resource intensive activity. However, running static code analysis tools, verifying build tools and switches, searching for </FONT><A href="http://msdn.microsoft.com/en-us/library/bb288454.aspx"><FONT face=Calibri size=3>banned APIs</FONT></A><FONT size=3><FONT face=Calibri>, and recording the output of other tools that inspect code and/or binaries for potential implementation vulnerabilities is a key element in how we approach the challenge of trying to measure compliance with SDL requirements from product groups at Microsoft today. While not every technique required by SDL has a corresponding tool, we try to provide both tools and automation if and wherever possible. There is still much work to be done in terms of standardizing tool output formats and creating automation to assess tool output. However, these “grass roots” metrics derive from practical experience of changing engineering requirements based on actual vulnerabilities. We look objectively at what is causing vulnerabilities, and target solutions to address the root causes of those issues. As the saying goes, “If it hurts when you do that, stop doing that”. If what we have done in the past has hurt our customers by creating vulnerabilities requiring security bulletins, we want to stop doing that. </FONT><SPAN style="FONT-FAMILY: Wingdings; 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></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>The challenge in using a plethora of individual detailed metrics such as I describe above (that we do internally at Microsoft for measuring SDL compliance), is that they don’t roll up into a nice aggregate score that customers can easily understand.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>However, they have translated into reduced numbers of vulnerabilities as </FONT><A href="http://blogs.msdn.com/sdl/archive/2008/04/18/oh-no-security-metrics.aspx"><FONT face=Calibri size=3>Michael Howard wrote a few weeks ago</FONT></A><FONT face=Calibri size=3>. Coupling these types of scores with assessment of compliance with “security functional requirements” might be the basis for coming up with a metric that is useful to customers, both in the government and private sector.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>What do you think?</FONT></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8472807" width="1" height="1">]]></content:encoded>
      <pubDate>Thu, 08 May 2008 12:46:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security metrics">security metrics</category>
      <category domain="http://securityratty.com/tag/software security metrics">software security metrics</category>
      <category domain="http://securityratty.com/tag/implementation vulnerabilities">implementation vulnerabilities</category>
      <category domain="http://securityratty.com/tag/potential implementation vulnerabilities">potential implementation vulnerabilities</category>
      <category domain="http://securityratty.com/tag/metrics">metrics</category>
      <category domain="http://securityratty.com/tag/secure">secure</category>
      <category domain="http://securityratty.com/tag/software">software</category>
      <category domain="http://securityratty.com/tag/discretionary security protection">discretionary security protection</category>
      <category domain="http://securityratty.com/tag/security protection">security protection</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/05/08/how-secure-is-secure.aspx">How Secure is Secure?</source>
    </item>
    <item>
      <title><![CDATA[Recession brings a downturn in security spending and jobs]]></title>
      <link>http://securityratty.com/article/eb9e0726b1940273c6d6e383bd0b146d</link>
      <guid>http://securityratty.com/article/eb9e0726b1940273c6d6e383bd0b146d</guid>
      <description><![CDATA[Many financial indicators are pointing to a looming global recession. This means that companies will be tightening their belts and drastically cutting down on their discretionary spending. What does...]]></description>
      <content:encoded><![CDATA[<p>Many financial indicators are pointing to a looming global recession. This means that companies will be tightening their belts and drastically cutting down on their discretionary spending. What does this mean for information security industry? And what can CISOs do to recession proof their security programs? </p>

<p>This means leaner security organizations (yes that means lay offs), significantly reduced spending on security consultants and contractors, and squeezing the most out of every buck that is spent for information security. This would also mean longer sales cycles for security vendors, cost taking precedence over functionality. From a CISO perspective, it means more justification for security budgets, begging other parts of the business to fund security projects, and pushing existing vendors to provide more for the same amount of dollars. </p>

<p>Some people see a silver lining to all this. Here is what they say, “When things get tough, businesses will more likely to focus on what they do best and hand off operational tasks to an outsourcer.” Many on-shore and off-shore providers have had double digit growth in their managed security businesses in the past. But here is the dirty little secret of security outsourcing - many times it does not save you costs. A lot of times you end up spending the same, if not more, on outsourcing. You could potentially get some cost benefits by working with an off shore provider, but due to the declining dollar that proposition is also becoming pretty bleak. </p>

<p>We may be better off than other areas of IT because the demand for information security professionals is still outstripping supply, but expect a lot more organizations to pick people from other parts of their organization and move them to information security rather than hiring new people. Unfortunately, this means lesser jobs for all of us – the real security folk. </p>]]></content:encoded>
      <pubDate>Wed, 13 Feb 2008 07:58:30 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/information security">information security</category>
      <category domain="http://securityratty.com/tag/information security professionals">information security professionals</category>
      <category domain="http://securityratty.com/tag/businesses">businesses</category>
      <category domain="http://securityratty.com/tag/security businesses">security businesses</category>
      <category domain="http://securityratty.com/tag/fund security projects">fund security projects</category>
      <category domain="http://securityratty.com/tag/real security folk">real security folk</category>
      <category domain="http://securityratty.com/tag/information security industry">information security industry</category>
      <category domain="http://securityratty.com/tag/security budgets">security budgets</category>
      <source url="http://blogs.forrester.com/srm/2008/02/recession-bring.html">Recession brings a downturn in security spending and jobs</source>
    </item>
  </channel>
</rss>
