<?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: mandatory]]></title>
    <link>http://securityratty.com/tag/mandatory</link>
    <description></description>
    <pubDate>Sun, 29 Jun 2008 12:51:24 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Australia's Internet filter: legal content be banned, too?]]></title>
      <link>http://securityratty.com/article/771756ffec84fcd5ea659bd14d598a84</link>
      <guid>http://securityratty.com/article/771756ffec84fcd5ea659bd14d598a84</guid>
      <description><![CDATA[Australia's government-mandated Internet filtering system won't allow users to opt out of a filtering tier that targets &quot;illegal&quot; material. But a conservative party is already suggesting that legal...]]></description>
      <content:encoded><![CDATA[Australia's government-mandated Internet filtering system won't allow users to opt out of a filtering tier that targets "illegal" material. But a conservative party is already suggesting that legal material be added to the mandatory tier.]]></content:encoded>
      <pubDate>Tue, 28 Oct 2008 18:00:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/mandatory tier">mandatory tier</category>
      <category domain="http://securityratty.com/tag/tier">tier</category>
      <category domain="http://securityratty.com/tag/legal material">legal material</category>
      <category domain="http://securityratty.com/tag/material">material</category>
      <category domain="http://securityratty.com/tag/conservative party">conservative party</category>
      <category domain="http://securityratty.com/tag/internet">internet</category>
      <category domain="http://securityratty.com/tag/australia">australia</category>
      <category domain="http://securityratty.com/tag/targets">targets</category>
      <category domain="http://securityratty.com/tag/illegal">illegal</category>
      <source url="http://digg.com/security/Australia_s_Internet_filter_legal_content_be_banned_too">Australia's Internet filter: legal content be banned, too?</source>
    </item>
    <item>
      <title><![CDATA[Australia's Internet filter: legal content be banned, too?]]></title>
      <link>http://securityratty.com/article/789c119b6d3b9e9308d3859462ff7ee6</link>
      <guid>http://securityratty.com/article/789c119b6d3b9e9308d3859462ff7ee6</guid>
      <description><![CDATA[Australia's government-mandated Internet filtering system won't allow users to opt out of a filtering tier that targets &quot;illegal&quot; material. But a conservative party is already suggesting that legal...]]></description>
      <content:encoded><![CDATA[Australia's government-mandated Internet filtering system won't allow users to opt out of a filtering tier that targets "illegal" material. But a conservative party is already suggesting that legal material be added to the mandatory tier.<img src="http://feedproxy.google.com/~r/digg/topic/security/popular/~4/Y1FHHDHv4ws" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 28 Oct 2008 18:00:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/mandatory tier">mandatory tier</category>
      <category domain="http://securityratty.com/tag/tier">tier</category>
      <category domain="http://securityratty.com/tag/legal material">legal material</category>
      <category domain="http://securityratty.com/tag/material">material</category>
      <category domain="http://securityratty.com/tag/conservative party">conservative party</category>
      <category domain="http://securityratty.com/tag/internet">internet</category>
      <category domain="http://securityratty.com/tag/australia">australia</category>
      <category domain="http://securityratty.com/tag/targets">targets</category>
      <category domain="http://securityratty.com/tag/illegal">illegal</category>
      <source url="http://feeds.digg.com/~r/digg/topic/security/popular/~3/Y1FHHDHv4ws/Australia_s_Internet_filter_legal_content_be_banned_too">Australia's Internet filter: legal content be banned, too?</source>
    </item>
    <item>
      <title><![CDATA[MS08-067 and the SDL]]></title>
      <link>http://securityratty.com/article/df5eba2c21ebdf631d2dd9fbe82532ab</link>
      <guid>http://securityratty.com/article/df5eba2c21ebdf631d2dd9fbe82532ab</guid>
      <description><![CDATA[Hi, Michael here
No doubt you are aware of the out-of-band security bulletin issued by the Microsoft Security Response Center today, and like all security vulnerabilities, this is a vulnerability we...]]></description>
      <content:encoded><![CDATA[<P mce_keep="true">Hi, Michael here.</P>
<P>No doubt you are aware of the out-of-band security bulletin issued by the <A href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx">Microsoft Security Response Center</A> today, and like all security vulnerabilities, this is a vulnerability we can learn from and, if necessary, can use to shape future versions of the Security Development Lifecycle (SDL).</P>
<P>Before I get into some of the details, it's important to understand that the SDL is designed as a multi-pronged security process to help systemically reduce security vulnerabilities. In theory, if one facet of the SDL process fails to prevent or catch a bug, then some other facet should prevent or catch the bug. The SDL also mandates the use of security defenses, because we know full well that the SDL process will never catch all security bugs. As we have said many times, the goal of the SDL is to "Reduce vulnerabilities, and reduce the severity of what's missed."</P>
<P>In this post, I want to focus on the SDL-required code analysis, code review, fuzzing and compiler and operating system defenses and how they fared.</P>
<H3>Code Analysis and Review</H3>
<P>I want to start by analyzing the code to understand why we did not find this bug through manual code review nor through the use of our static analysis tools. First, the code in question is reasonably complex code to canonicalize path names; for example, strip out ‘..' characters and such to arrive at the simplest possible directory name. The bug is a stack-based buffer overflow inside a loop; finding buffer overruns in loops, especially complex loops, is difficult to detect with a high degree of probability without producing many false positives. At a later date I will publish more of the source code for the function. </P>
<P>The loop inside the function walks along an incoming string to determine if a character in the path might be a dot, dot-dot, slash or backslash and if it is then applies canonicalization algorithms.</P>
<P>The irony of the bug is it occurs while calling a bounded function call:</P>
<BLOCKQUOTE>
<P>_tcscpy_s(previousLastSlash, pBufferEnd - previousLastSlash, ptr + 2);</P></BLOCKQUOTE>
<P>This function is a macro that expands to <A href="http://msdn.microsoft.com/en-us/library/td1esda9(VS.80).aspx" mce_href="http://msdn.microsoft.com/en-us/library/td1esda9(VS.80).aspx">wcscpy_s</A>(dest, len, source); technically, the bug is not in the call to wcscpy_s, but it's in the way the arguments are calculated. As I alluded to, all three arguments are highly dynamic and constantly updated within the while() loop. There is a great deal of pointer arithmetic in this loop. Without going into all the gory attack details, given a specific path, and after the while() loop has been passed through a few times, the pointer, previousLastSlash, gets clobbered. </P>
<P>In my opinion, hand reviewing this code and successfully finding this bug would require a great deal of skill and luck. So what about tools?&nbsp; It's very difficult to design an algorithm which can analyze C or C++ code for these sorts of errors.&nbsp; The possible variable states grows very, very quickly.&nbsp; It's even more difficult to take such algorithms and scale them to non-trivial code bases. This is made more complex as the function accepts a highly variable argument, it's not like the argument is the value 1, 2 or 3! Our present toolset does not catch this bug. </P>
<P>Ok, now I'm really going out on a limb with this next section.</P>
<P>Over the last year or so I've noticed that the security vulnerabilities across Microsoft, but most noticeably in Windows have become bugs of a class I call "onesey - twosies" in other words, one-off bugs. There is a good side and a bad side to this. First the good news; I think perhaps we have removed a good number of the low-hanging security vulnerabilities from many of our products, especially the newer code. The bad news is, we'll continue to have vulnerabilities because you cannot train a developer to hunt for unique bugs, and creating tools to find such bugs is also hard to do without incurring an incredible volume of false positives. With all that said, I will add detail about one-off bugs to our internal education; I think it's important to make people aware that even with great tools and great security-savvy engineers, there are still bugs that are very hard to find.</P>
<H3>Fuzz Testing</H3>
<P>I'll be blunt; our fuzz tests did not catch this and they should have. So we are going back to our fuzzing algorithms and libraries to update them accordingly. For what it's worth, we constantly update our fuzz testing heuristics and rules, so this bug is not unique.</P>
<H3>Defenses</H3>
<P>If you want the full details of the defenses, and how they come into play on Windows Vista and Windows Server 2008, I urge you to read teh SVRD team's in-depth <A href="http://blogs.technet.com/swi/" mce_href="http://blogs.technet.com/swi/">analysis</A>&nbsp;once it is posted.</P>
<P>A big focus of the SDL is to define and require defenses because we have no allusions about finding or preventing all security vulnerabilities by attempting to get the code right all the time, because no-one can do that. No one. &nbsp;See my comment above about one-off bugs! </P>
<P>Let's look at each SDL mandated requirement and how they fared in light of this vulnerability.</P>
<H4>-GS</H4>
<P>The -GS story is not so simple. A lot of code is executed before a cookie check is made and the attacker can control the overflow because the overflow starts at an offset before the stack buffer, rather than at the stack buffer itself. So the attacker can overwrite other frames on the call stack, corresponding to functions that return before a cookie check is made. That's a long way of saying that -GS was not meant to prevent this type of scenarios.</P>
<H4>ASLR and NX</H4>
<P>The code fully complies with the SDL, and is linked with /DYNAMICBASE and /NXCOMPAT on Windows Vista and Windows Server 2008. There are great defenses when used together, and reduce the chance of a successful attack substantially. Also, the stack offset is randomized too, making a deterministic attack even more unlikely.</P>
<H4>Service Restart Policy</H4>
<P>By default the affected service is marked to restart only twice after a crash on Windows Vista and Windows Server 2008, which means the attacker has only two attempts to get the attack right. Prior to Windows Vista, the attacker has unlimited attempts because the service restarts indefinitely. </P>
<H4>Authentication</H4>
<P>Thanks to mandatory integrity control (MIC) settings (which comes courtesy of UAC) the networking endpoint that leads to the vulnerable code requires authentication on Windows Vista and Windows Server 2008 by default. Prior to Windows Vista, the end point is always anonymous, so anyone can attack it, so long as the attacker can traverse the firewall. This is a great example of SDL's focus on attack surface reduction; requiring authentication means the number of attackers that can access the entry point is dramatically reduced.</P>
<H4>Firewall</H4>
<P>We enabled the firewall by default in Windows XP SP2 and later, this was a direct learning from the Blaster worm. By default, ports 139 and 445 are not opened to the Internet on Windows XP SP2, Windows Vista and Windows Server 2008. </P>
<H3>Summary</H3>
<P>The $64,000 question we ask ourselves when we issue any bulletin is "did SDL fail?" and the answer in this case is categorically "No!" No because as I said earlier the goal of the SDL is "Reduce vulnerabilities, and reduce the severity of what you miss." Windows Vista and Windows Server 2008 customers are protected by the defenses in the operating system that have been crafted in part by the SDL. The development team who built the affected component compiled and linked with the appropriate settings as described in "<A href="http://msdn.microsoft.com/en-us/library/bb430720.aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb430720.aspx">Windows Vista ISV Security</A>" and <A href="http://www.microsoft.com/mspress/books/10723.aspx" mce_href="http://www.microsoft.com/mspress/books/10723.aspx">Writing Secure Code for Windows Vista</A> so that their service is protected by the operating system. </P>
<P>The team did not poke holes through the firewall unnecessarily, in accordance with the SDL.</P>
<P>The team reduced their attack surface, in accordance with the SDL, by requiring authenticated connections rather than anonymous connections by default.</P>
<P>We know that the SDL-mandated -GS has very strict heuristics so some functions are not protected by a stack cookie, but in this case, there is no buffer on the stack, so there will be no cookie. We know this. There are no plans to remedy this in the short term. </P>
<P>Fuzzing missed the bug, so we will update our fuzz testing heuristics, but we continually update our fuzzing heuristics anyway. </P>
<P>In short, based on what we know right now, Windows Vista and Windows Server 2008 customers are protected because of the SDL-mandated defenses in the operating system, and because the development team adhered to the letter of the SDL to take advantage of those defenses.</P>
<P>Chalk one up for Windows Vista and later and the SDL!</P>
<P>As usual, questions and comments are very welcome.</P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=9012073" width="1" height="1">]]></content:encoded>
      <pubDate>Wed, 22 Oct 2008 21:09:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/manual code review">manual code review</category>
      <category domain="http://securityratty.com/tag/code review">code review</category>
      <category domain="http://securityratty.com/tag/vulnerabilities">vulnerabilities</category>
      <category domain="http://securityratty.com/tag/reduce security vulnerabilities">reduce security vulnerabilities</category>
      <category domain="http://securityratty.com/tag/sdl">sdl</category>
      <category domain="http://securityratty.com/tag/windows">windows</category>
      <category domain="http://securityratty.com/tag/windows server">windows server</category>
      <category domain="http://securityratty.com/tag/sdl process fails">sdl process fails</category>
      <category domain="http://securityratty.com/tag/sdl process">sdl process</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/10/22/ms08-067.aspx">MS08-067 and the SDL</source>
    </item>
    <item>
      <title><![CDATA[Security is bigger than finding and fixing bugs]]></title>
      <link>http://securityratty.com/article/9c8ebf47be004fc532a7e7de3eceed48</link>
      <guid>http://securityratty.com/article/9c8ebf47be004fc532a7e7de3eceed48</guid>
      <description><![CDATA[Ive been catching up on various security-related articles that Ive been meaning to read, and the following article was on the list...]]></description>
      <content:encoded><![CDATA[<P>I’ve been catching up on various security-related articles that I’ve been meaning to read, and the following article was on the list <A href="http://www.itnews.com.au/News/73635,google-shares-its-security-secrets.aspx">http://www.itnews.com.au/News/73635,google-shares-its-security-secrets.aspx</A> about Google’s “security secrets.” <BR>&nbsp;<BR>Quoting from the article: </P>
<BLOCKQUOTE>
<P>“In order to keep its products safe, Google has adopted a philosophy of 'security as a cultural value'. The programme includes mandatory security training for developers, a set of in-house security libraries, and code reviews both by Google developers and outside security researchers."</P></BLOCKQUOTE>
<P>I think it is great that Google has a security program they are willing to talk about and I could not agree more with the ‘security as a cultural value’ philosophy. But isn’t there something really fundamental missing here? Design? There is a lot more to software engineering other than coding and testing. <BR>&nbsp;<BR>The SDL has a very large set of implementation-related requirements, but there are many design-related requirements also.</P>
<P>Computer security experts have known since the early 1970s that you have to get the design right; and our experiences with the SDL over the last 5 years have taught us that you need to consider security and privacy (but remember, you have to ship too!) very early in the design phase and have a consistent end-to-end process if you truly hope to reduce vulnerabilities and create more secure software. This is how the SDL is helping to create ‘security as a cultural value’ at Microsoft. </P>
<P>We’ve seen a general trend downward in security vulnerabilities in Microsoft products, and the IBM X-Force 2008 mid-year <A href="http://www-935.ibm.com/services/us/iss/xforce/midyearreport/xforce-midyear-report-2008.pdf" mce_href="http://www-935.ibm.com/services/us/iss/xforce/midyearreport/xforce-midyear-report-2008.pdf">report</A> backs the assertion that we’re making progress; according to the report Microsoft’s share of total vulnerabilities decreased from 3.7% in 2007 (1st place) to 2.5% (that’s 2.5% for <STRONG><U>all</U></STRONG> Microsoft products; a more appropriate comparison might be Windows vs Linux vs Mac OSX, or SQL Server vs Oracle vs DB2) in the first 6 months of 2008 (3rd place.) This is an encouraging signal that the SDL is working on a large scale… of course, it might also show that vulnerability researchers are moving to easier targets, which, to me shows the SDL is working too.<BR>&nbsp;<BR>What do you think?<BR></P><img src="http://blogs.msdn.com/aggbug.aspx?PostID=8867829" width="1" height="1">]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 16:09:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security researchers">security researchers</category>
      <category domain="http://securityratty.com/tag/security vulnerabilities">security vulnerabilities</category>
      <category domain="http://securityratty.com/tag/computer security experts">computer security experts</category>
      <category domain="http://securityratty.com/tag/googles security secrets">googles security secrets</category>
      <category domain="http://securityratty.com/tag/in-house security libraries">in-house security libraries</category>
      <category domain="http://securityratty.com/tag/security program">security program</category>
      <category domain="http://securityratty.com/tag/microsoft products">microsoft products</category>
      <category domain="http://securityratty.com/tag/sdl">sdl</category>
      <source url="http://blogs.msdn.com/sdl/archive/2008/08/14/security-is-bigger-than-finding-and-fixing-bugs.aspx">Security is bigger than finding and fixing bugs</source>
    </item>
    <item>
      <title><![CDATA[Oracle Database 11g Release 1: Transparent Solutions for Security and Compliance]]></title>
      <link>http://securityratty.com/article/71f5fe6c84a15fb36b79d261127f86f8</link>
      <guid>http://securityratty.com/article/71f5fe6c84a15fb36b79d261127f86f8</guid>
      <description><![CDATA[Source: Oracle) The continued emergence of new regulations worldwide combined with the increasingly sophisticated nature of information theft requires strong data security. Oracle Database 11g Release...]]></description>
      <content:encoded><![CDATA[<b>(Source: Oracle)</b> The continued emergence of new regulations worldwide combined with the increasingly sophisticated nature of information theft requires strong data security. Oracle Database 11g Release 1 provides the industry's most advanced data security capabilities with security solutions that work transparently with existing applications while addressing mandatory requirements found in regulations.
<p><a href="http://feeds.computerworld.com/~a/Computerworld/Security/News?a=ZOedGl"><img src="http://feeds.computerworld.com/~a/Computerworld/Security/News?i=ZOedGl" border="0"></img></a></p><img src="http://feeds.computerworld.com/~r/Computerworld/Security/News/~4/365031130" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 09:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/regulations worldwide">regulations worldwide</category>
      <category domain="http://securityratty.com/tag/regulations">regulations</category>
      <category domain="http://securityratty.com/tag/data security capabilities">data security capabilities</category>
      <category domain="http://securityratty.com/tag/oracle">oracle</category>
      <category domain="http://securityratty.com/tag/security solutions">security solutions</category>
      <category domain="http://securityratty.com/tag/mandatory requirements">mandatory requirements</category>
      <category domain="http://securityratty.com/tag/emergence">emergence</category>
      <category domain="http://securityratty.com/tag/source">source</category>
      <category domain="http://securityratty.com/tag/applications">applications</category>
      <source url="http://feeds.computerworld.com/~r/Computerworld/Security/News/~3/365031130/whitepapers.do">Oracle Database 11g Release 1: Transparent Solutions for Security and Compliance</source>
    </item>
    <item>
      <title><![CDATA[The web browser is sick but wheres the cure?]]></title>
      <link>http://securityratty.com/article/c1a26694b7d3db2c185a5f976e06cc90</link>
      <guid>http://securityratty.com/article/c1a26694b7d3db2c185a5f976e06cc90</guid>
      <description><![CDATA[Blogger: Ramon Krikken
The web browser is one of those peculiar pieces of software, having to accept input from arbitrary sources and then parse and render the data that is sent to it. Part of this it...]]></description>
      <content:encoded><![CDATA[
<div xmlns="http://www.w3.org/1999/xhtml"><p>Blogger: Ramon Krikken</p>

<p>The web browser is one of those peculiar pieces of software, having to accept input from arbitrary sources and then parse and render the data that is sent to it. Part of this it does by itself, and other parts are taken care of by handlers and plug-ins. In doing so, it displays hypertext, images, videos, and even runs active content like Flash, JavaScript, and ActiveX. </p>

<p>But however much we love the browser, we’ve also come to hate the myriad of vulnerabilities that affect it. Everything from cross-site scripting to remote code execution via maliciously formed animated cursor files and Flash content can make browsing a hazardous activity. The browser is sick, and that’s not desirable for a platform we use for important business and personal transactions.</p>

<p>Worsening the browser’s diagnosis is the <a href="http://taossa.com.nyud.net:8080/archive/bh08sotirovdowdslides.pdf">recent paper</a> from Mark Dowd and Alexander Sotirov, sub-titled “Setting back browser security by 10 years,” which discusses how to bypass Microsoft Vista’s memory protection capabilities with some added effort for the exploit designers. It’s not that all of the techniques are necessarily new, but the browser appears to be particularly vulnerable to easy exploitation. </p>

<p>Surprising? Not exactly, when we take into account that the browser is suffering from the same disease as the general purpose operating system: bloat and compatibility. We expect the browser to do ever more, but everything we used it for before still needs to work as if it were yesterday. It feels a bit like people insisting on using a cardboard box as a safe, and wondering why their money keeps getting stolen.</p>

<p>It’s not like we haven’t been working on the browser’s cure, though. There have been some improvements in the browsers themselves, the operating systems have also implemented compensating controls, but most of all, there has been an enormous push for securing the web applications that deliver the data in the first place. Unfortunately, the latter two won’t help secure the browser in the long run.</p>

<p>The first issue is that not all content will come from ‘nice’ servers, the second that the server can only make an educated guess on how a browser will parse and render a given set of data, and the third that operating system controls have their own limitations, whether by design or implementation (for example needing to re-compile existing code to enable certain protections.) The browser, in the end, has to be mostly responsible for keeping itself safe; the operating system must assist it in doing so.</p>

<p>So we’re in a pickle. The browser is sick (and the operating system is too), but it’s hard to cure it without a redesign that will undoubtedly impact compatibility, the ever-so-desired multi-functionality, or its ease of use. We can layer defenses by using web filtering in the enterprise environment, but in the end – for the consumer market in particular – we need to fix the browser itself. I can think of a few things I think might help: </p>

<ul><li>Some kind of <a href="http://people.mozilla.com/~bsterne/site-security-policy/">site security policy</a>&nbsp; to restrict where the browser loads auxiliary content from, and which data it can ‘trust’, when loading a web page (I’d prefer mandatory enforcement, and adding an HTML tag to be able to indicate blocks of untrustworthy data.)</li>

<li>Restricted compartments for plug-ins to run in, ensuring that their bugs cannot easily affect the whole browser.</li>

<li>Better software development practices for the plug-ins and content parsers themselves, so that they’re less vulnerable, and compiled with the latest protection measures to begin with.</li></ul>

<p>All of this means more work, and some of it means a lot of unhappy reactions when things stop working. Even then we will of course still have to deal with additional vulnerabilities, such as those that may be present in hardware, but we will at least have taken prudent steps to ‘find a cure.’</p>

</div>
<img src="http://feeds.feedburner.com/~r/SecurityAndRiskManagementStrategiesBlog/~4/364862623" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 07:11:14 +0000</pubDate>
      <category domain="http://securityratty.com/tag/browser">browser</category>
      <category domain="http://securityratty.com/tag/web browser">web browser</category>
      <category domain="http://securityratty.com/tag/browser appears">browser appears</category>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/cure">cure</category>
      <category domain="http://securityratty.com/tag/browser security">browser security</category>
      <category domain="http://securityratty.com/tag/content">content</category>
      <category domain="http://securityratty.com/tag/runs active content">runs active content</category>
      <category domain="http://securityratty.com/tag/browsers cure">browsers cure</category>
      <source url="http://feeds.feedburner.com/~r/SecurityAndRiskManagementStrategiesBlog/~3/364862623/the-web-browser.html">The web browser is sick but wheres the cure?</source>
    </item>
    <item>
      <title><![CDATA[The web browser is sick ??? but where???s the cure?]]></title>
      <link>http://securityratty.com/article/ed0b490e06092c5b7a4f3957bd361fa2</link>
      <guid>http://securityratty.com/article/ed0b490e06092c5b7a4f3957bd361fa2</guid>
      <description><![CDATA[Blogger: Ramon Krikken
The web browser is one of those peculiar pieces of software, having to accept input from arbitrary sources and then parse and render the data that is sent to it. Part of this it...]]></description>
      <content:encoded><![CDATA[
<div xmlns="http://www.w3.org/1999/xhtml"><p>Blogger: Ramon Krikken</p>

<p>The web browser is one of those peculiar pieces of software, having to accept input from arbitrary sources and then parse and render the data that is sent to it. Part of this it does by itself, and other parts are taken care of by handlers and plug-ins. In doing so, it displays hypertext, images, videos, and even runs active content like Flash, JavaScript, and ActiveX. </p>

<p>But however much we love the browser, we???ve also come to hate the myriad of vulnerabilities that affect it. Everything from cross-site scripting to remote code execution via maliciously formed animated cursor files and Flash content can make browsing a hazardous activity. The browser is sick, and that???s not desirable for a platform we use for important business and personal transactions.</p>

<p>Worsening the browser???s diagnosis is the <a href="http://taossa.com.nyud.net:8080/archive/bh08sotirovdowdslides.pdf">recent paper</a> from Mark Dowd and Alexander Sotirov, sub-titled ???Setting back browser security by 10 years,??? which discusses how to bypass Microsoft Vista???s memory protection capabilities with some added effort for the exploit designers. It???s not that all of the techniques are necessarily new, but the browser appears to be particularly vulnerable to easy exploitation. </p>

<p>Surprising? Not exactly, when we take into account that the browser is suffering from the same disease as the general purpose operating system: bloat and compatibility. We expect the browser to do ever more, but everything we used it for before still needs to work as if it were yesterday. It feels a bit like people insisting on using a cardboard box as a safe, and wondering why their money keeps getting stolen.</p>

<p>It???s not like we haven???t been working on the browser???s cure, though. There have been some improvements in the browsers themselves, the operating systems have also implemented compensating controls, but most of all, there has been an enormous push for securing the web applications that deliver the data in the first place. Unfortunately, the latter two won???t help secure the browser in the long run.</p>

<p>The first issue is that not all content will come from ???nice??? servers, the second that the server can only make an educated guess on how a browser will parse and render a given set of data, and the third that operating system controls have their own limitations, whether by design or implementation (for example needing to re-compile existing code to enable certain protections.) The browser, in the end, has to be mostly responsible for keeping itself safe; the operating system must assist it in doing so.</p>

<p>So we???re in a pickle. The browser is sick (and the operating system is too), but it???s hard to cure it without a redesign that will undoubtedly impact compatibility, the ever-so-desired multi-functionality, or its ease of use. We can layer defenses by using web filtering in the enterprise environment, but in the end ??? for the consumer market in particular ??? we need to fix the browser itself. I can think of a few things I think might help: </p>

<ul><li>Some kind of <a href="http://people.mozilla.com/~bsterne/site-security-policy/">site security policy</a>&nbsp; to restrict where the browser loads auxiliary content from, and which data it can ???trust???, when loading a web page (I???d prefer mandatory enforcement, and adding an HTML tag to be able to indicate blocks of untrustworthy data.)</li>

<li>Restricted compartments for plug-ins to run in, ensuring that their bugs cannot easily affect the whole browser.</li>

<li>Better software development practices for the plug-ins and content parsers themselves, so that they???re less vulnerable, and compiled with the latest protection measures to begin with.</li></ul>

<p>All of this means more work, and some of it means a lot of unhappy reactions when things stop working. Even then we will of course still have to deal with additional vulnerabilities, such as those that may be present in hardware, but we will at least have taken prudent steps to ???find a cure.???</p>

</div>
]]></content:encoded>
      <pubDate>Thu, 14 Aug 2008 07:11:14 +0000</pubDate>
      <category domain="http://securityratty.com/tag/browser">browser</category>
      <category domain="http://securityratty.com/tag/web browser">web browser</category>
      <category domain="http://securityratty.com/tag/browser appears">browser appears</category>
      <category domain="http://securityratty.com/tag/browser security">browser security</category>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/content">content</category>
      <category domain="http://securityratty.com/tag/runs active content">runs active content</category>
      <category domain="http://securityratty.com/tag/web page">web page</category>
      <category domain="http://securityratty.com/tag/system controls">system controls</category>
      <source url="http://srmsblog.burtongroup.com/2008/08/the-web-browser.html">The web browser is sick ??? but where???s the cure?</source>
    </item>
    <item>
      <title><![CDATA["Off the Peg" Authentication can lead to an ill-fitting suit]]></title>
      <link>http://securityratty.com/article/17363c15c6af345450b28fa8f39423f3</link>
      <guid>http://securityratty.com/article/17363c15c6af345450b28fa8f39423f3</guid>
      <description><![CDATA[I was interested to read in the papers here that the UK's Association of Private Client Investment Managers and Stockbrokers (Apcims) has raised concerns about changes to existing data security...]]></description>
      <content:encoded><![CDATA[I was interested to read in the papers here that the UK's Association of Private Client Investment Managers and Stockbrokers (Apcims) has <a href="http://www.finextra.com/fullstory.asp?id=18774">raised concerns</a> about changes to existing data security measures which are being imposed by the Financial Services Authority (FSA). The FSA is seeking to mandate strong authentication -- using secret questions (you know the kind of thing -- mother's maiden name, date of birth, name of your favourite Spice Girl, etc, etc) -- before brokers can get on with doing business with their clients by phone.  This comes a few months after a city firm was hit with a <a href="http://www.finextra.com/fullstory.asp?id=18599">&pound;77k (~$150k) fine</a> for failing to do just that.
<P><B>
Now, ordinarily, forcing mandatory extra authentication like this you'd think is a good idea, and something that should be applauded...</b> ]]></content:encoded>
      <pubDate>Wed, 30 Jul 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/favourite spice girl">favourite spice girl</category>
      <category domain="http://securityratty.com/tag/data security measures">data security measures</category>
      <category domain="http://securityratty.com/tag/financial services authority">financial services authority</category>
      <category domain="http://securityratty.com/tag/client investment managers">client investment managers</category>
      <category domain="http://securityratty.com/tag/mandatory extra authentication">mandatory extra authentication</category>
      <category domain="http://securityratty.com/tag/fsa">fsa</category>
      <category domain="http://securityratty.com/tag/secret questions">secret questions</category>
      <category domain="http://securityratty.com/tag/city firm">city firm</category>
      <category domain="http://securityratty.com/tag/strong authentication">strong authentication</category>
      <source url="http://www.rsa.com/blog/blog_entry.aspx?id=1321">"Off the Peg" Authentication can lead to an ill-fitting suit</source>
    </item>
    <item>
      <title><![CDATA[Feature Request #1: Stable Code]]></title>
      <link>http://securityratty.com/article/8ccf3e65d2b1b8b72fdbe0860c092c80</link>
      <guid>http://securityratty.com/article/8ccf3e65d2b1b8b72fdbe0860c092c80</guid>
      <description><![CDATA[I have a note to all network hardware vendors
Dear network vendor
As someone that is forced to configure and implement security on your hardware, I would greatly appreciate stable code and properly...]]></description>
      <content:encoded><![CDATA[<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have a note to all network hardware vendors&#8230;</em></p><p>Dear network vendor,</p><p>As someone that is forced to configure and implement security on your hardware, I would greatly appreciate stable code and properly functioning features. Unfortunately, I cannot always choose the hardware my customers are using in their infrastructure. However, if you would like for me to recommend they continue purchasing and using it, then the product must demonstrate to me that it is: capable, reliable, predictable and well-documented. If your product is not meeting these requirements, I&#8217;m forced to recommend other solutions to your (current) customer. </p><p><u>Stable Code</u>. If I have to spend 2-6 hours per implementation working through your product&#8217;s bugs, and then must either spend time on a support call or spend time getting packet captures to prove to you it&#8217;s not working, I am not a happy camper because you&#8217;re slowing down my progress. Your customer is not happy because they&#8217;re paying for that time and I&#8217;m not cheap. </p><p><u>Features</u>. Don&#8217;t publish in technical documentation that your product, or code can do something, only for me to find out later that it cannot. On-site in the middle of an implementation is not the time to architect Plan B. Let me know before, either through technical docs, white papers, best practices or release notes. I do read those. If you want to bend the truth, do it the marketing fluff, not my technical documents. </p><p><u>Documentation</u>. If your product <em>does</em> do what you say it does, then please do document and explain the concepts and procedures. Examples are good, but explanations are mandatory. A correct CLI reference is always lovely as well. If there are got&#8217;chas or tricks, please also document those. Again, white papers or release notes are fine. Having to track down the one security engineer from your company that holds the magic key is not practical, nor scalable. Plus, he may be on vacation during my install, which would make me irate. </p><p><u>Support</u>. If your product is not functioning or performing as expected, do NOT expect your customers to have a current maintenance contract to address a known issue or bug (or an un-known issue or bug for that matter). If they found a bug for you, you should probably <em>give</em> them a maintenance contract for a year&#8230; or two. If you don&#8217;t let us call support, I will find one of your pre-sales engineers and we will use him or her for post-sales support, which is not what you want them to do. But that&#8217;s your problem, not mine.</p><p>I believe that sums up the major issues. Specifically, I am interested in security, RADIUS, SSH, SNMP, DHCP&nbsp;and 802.1X functions. Before you add another bell or tweak another whistle, please make what you have works&#8230; consistently. That should be first, so it&#8217;s my Feature Request #1. </p><p>Respectfully,</p><p>jj</p><p># # #</p>
]]></content:encoded>
      <pubDate>Mon, 30 Jun 2008 00:01:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/code">code</category>
      <category domain="http://securityratty.com/tag/stable code">stable code</category>
      <category domain="http://securityratty.com/tag/support">support</category>
      <category domain="http://securityratty.com/tag/post-sales support">post-sales support</category>
      <category domain="http://securityratty.com/tag/current maintenance contract">current maintenance contract</category>
      <category domain="http://securityratty.com/tag/current">current</category>
      <category domain="http://securityratty.com/tag/maintenance contract">maintenance contract</category>
      <category domain="http://securityratty.com/tag/security engineer">security engineer</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <source url="http://www.securityuncorked.com/security-uncorked/2008/6/30/feature-request-1-stable-code.html">Feature Request #1: Stable Code</source>
    </item>
    <item>
      <title><![CDATA[Some firms don't admit security breaches - Geez, ya really think so?]]></title>
      <link>http://securityratty.com/article/b2d48452762f32280c4fe75aaeebe3a0</link>
      <guid>http://securityratty.com/article/b2d48452762f32280c4fe75aaeebe3a0</guid>
      <description><![CDATA[It's not often that security issues make mainstream media outlets. So when I saw this article on cbsnews.com I wanted to see what kind of &quot;investigative journalism&quot; the same folks who do 60 minutes...]]></description>
      <content:encoded><![CDATA[<p>It's not often that security issues make mainstream media outlets.  So when I saw <a href="http://www.cbsnews.com/stories/2008/06/27/tech/main4215439.shtml?source=RSSattr=SciTech_4215439">this article on cbsnews.com</a> I wanted to see what kind of "investigative journalism"  the same folks who do 60 minutes would bring to the story. The story takes the particular case of Direct Marketing Services, Inc, the parent company of Montgomery Ward. It does a good job documenting the breach, the discovery of the breach and how the company complied with credit card company rules by notifying Visa, Mastercard, Discover, etc. but did not notify the 51,000 potentially affected customers. It also does a nice job of giving credit to Affinion Group Inc.'s CardCops for spotting and discovering this theft.<br><br>The article than goes on to say that 44 states have passed statues making disclosure and notification of security and confidential breaches to affected consumers mandatory.  The article does caution though that based upon the volume of data being sold in "online black markets", there are many more breaches than we are being told about.  I think it good that CBS bangs the drums on this, but frankly that "evidence" is a bit flimsy.  I also found it gratifying that the article blames the credit card companies themselves for not doing more to publicize these breaches, so that they don't have to issue new cards.  Just goes to prove what has been written before, that in the bigger picture the cost of doing business may include the risk of compromised data and big business has determined that that is a risk worth taking.<br></p>
<p><a href="http://feeds.feedburner.com/~a/StillsecureAfterAllTheseYears?a=HEeJ6o"><img src="http://feeds.feedburner.com/~a/StillsecureAfterAllTheseYears?i=HEeJ6o" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=z6XLlI"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=z6XLlI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=tQnkYI"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=tQnkYI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=2WqCEI"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=2WqCEI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=q88FzI"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=q88FzI" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=UhJOUi"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=UhJOUi" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?a=fje4Oi"><img src="http://feeds.feedburner.com/~f/StillsecureAfterAllTheseYears?i=fje4Oi" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StillsecureAfterAllTheseYears/~4/322801642" height="1" width="1"/>]]></content:encoded>
      <pubDate>Sun, 29 Jun 2008 12:51:24 +0000</pubDate>
      <category domain="http://securityratty.com/tag/breaches">breaches</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/article">article</category>
      <category domain="http://securityratty.com/tag/article blames">article blames</category>
      <category domain="http://securityratty.com/tag/credit card companies">credit card companies</category>
      <category domain="http://securityratty.com/tag/confidential breaches">confidential breaches</category>
      <category domain="http://securityratty.com/tag/credit">credit</category>
      <category domain="http://securityratty.com/tag/nice job">nice job</category>
      <category domain="http://securityratty.com/tag/parent company">parent company</category>
      <source url="http://feeds.feedburner.com/~r/StillsecureAfterAllTheseYears/~3/322801642/some-firms-dont.html">Some firms don't admit security breaches - Geez, ya really think so?</source>
    </item>
  </channel>
</rss>
