<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>David LeBlanc's Web Log : Vulns</title><link>http://blogs.msdn.com/david_leblanc/archive/tags/Vulns/default.aspx</link><description>Tags: Vulns</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>CVE Count and Statistics</title><link>http://blogs.msdn.com/david_leblanc/archive/2008/12/08/cve-count-and-statistics.aspx</link><pubDate>Tue, 09 Dec 2008 01:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9185578</guid><dc:creator>david_leblanc</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/david_leblanc/comments/9185578.aspx</comments><wfw:commentRss>http://blogs.msdn.com/david_leblanc/commentrss.aspx?PostID=9185578</wfw:commentRss><description>&lt;P&gt;Larry Seltzer had some interesting comments on my post about the rate of Office vulnerabilities at &lt;A href="http://blogs.eweek.com/cheap_hack/content/microsoft/vulnerabilities_and_office_versions.html" mce_href="http://blogs.eweek.com/cheap_hack/content/microsoft/vulnerabilities_and_office_versions.html"&gt;Vulnerabilities and Office Versions&lt;/A&gt; &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;There may be a little flaw in the analysis in that LeBlanc studied reports during the period from 9/18/2007 to 11/17/2008. By that time earlier Office versions had been around for a long time and many vulnerabilities had already been reported on them. But even so, it makes the numbers all the more impressive for the new versions; the older ones had already had the low-hanging fruit picked clean and yet they still had CVE numbers in excess of the new ones. It seems there is no low-hanging vulnerability fruit in new versions of Office. &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Having had more grad school than I'd like to admit, I have a more than passing acquaintance with statistics. While there are certainly potential flaws in the numbers I posted, I don't think this is one of them. I'll argue that comparing vulnerability rates over the same time frame for two applications that are very similar, and which both have large market share, is better than comparisons of some number of days since release. If we have the same time frame, then the techniques used by the attackers are likely to be similar, and when we're looking at multiple versions of the same thing, we can get a good estimate of how resistant one version is to attacks that another version is susceptible to. &lt;/P&gt;
&lt;P&gt;What will be a problem in my analysis is how small the overall sample size is, and the fact that updates tend to ship at most 3-4 times per year for most of these apps. For example, this month's set of bulletins are going to skew the results considerably, but the overall trend of substantial improvement will still show up. Once I get updated numbers, I'll work them up and post them here.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9185578" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/david_leblanc/archive/tags/Security+Misc/default.aspx">Security Misc</category><category domain="http://blogs.msdn.com/david_leblanc/archive/tags/Vulns/default.aspx">Vulns</category></item><item><title>Improvements in Office Security</title><link>http://blogs.msdn.com/david_leblanc/archive/2008/11/17/improvements-in-office-security.aspx</link><pubDate>Tue, 18 Nov 2008 07:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9116308</guid><dc:creator>david_leblanc</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/david_leblanc/comments/9116308.aspx</comments><wfw:commentRss>http://blogs.msdn.com/david_leblanc/commentrss.aspx?PostID=9116308</wfw:commentRss><description>&lt;P&gt;We now have a pretty neat internal web site where I can easily search for CVE entries and bulletin counts by product. It shows some interesting trends that I hope will continue to hold. First, let me preface this by saying that CVE entry count is a better (though not perfect) way to measure how secure something is than bulletin count. We might sometimes package fixes for several CVE entries into one bulletin, and an older product might be vulnerable to all of them, but a newer product might only be vulnerable to around half. &lt;/P&gt;
&lt;P&gt;We did a lot of work to make Office 2003 more secure in service pack 3 – one question I've had is just how much that's paid off? It has been about a year, and if I search from 9/18/2007 to 11/17/2008 (today), I get the following: &lt;/P&gt;
&lt;DIV&gt;
&lt;TABLE style="BORDER-COLLAPSE: collapse" border=0&gt;
&lt;COLGROUP&gt;
&lt;COL style="WIDTH: 191px"&gt;
&lt;COL style="WIDTH: 114px"&gt;&lt;/COLGROUP&gt;
&lt;TBODY vAlign=top&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Product&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;CVE count&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office 2000 SP3&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;33&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office XP SP3&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;40&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office 2003 SP2&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;35&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office 2003 SP3&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office 2007 Gold&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;19&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: black 0.5pt solid; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P&gt;Office 2007 SP1&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-BOTTOM: black 0.5pt solid; BORDER-LEFT: medium none; PADDING-LEFT: 7px; PADDING-RIGHT: 7px; BORDER-TOP: medium none; BORDER-RIGHT: black 0.5pt solid"&gt;
&lt;P style="TEXT-ALIGN: center"&gt;16&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;
&lt;P&gt;The trending here is pretty clear – while we did a lot of good work to try and make Office 2003 more secure than previous versions, against the attacks we're seeing in 2007, it wasn't any better than Office XP. Now if you factor in huge amounts of work (no magic, no silver bullet, just lots and lots of work) that we did fixing fuzz bugs in Office 2007 and Office 2003 SP3, it looks like we've cut the incoming vulnerability rate by approximately half. If we look at it app-by-app, I think PowerPoint is a clear winner – they've had 5 CVE entries for older versions and only 1 for PowerPoint 2007 since 1/1/2007! Word has also done very well, dropping from 11 and 12 CVE entries in prior versions to only 2 for Word 2007 over the same period. &lt;/P&gt;
&lt;P&gt;We're continuing to do that level of work on anything that still has a service pack left – next SP will be SP2 for Office 2007. It will be interesting to see how much additional gain that gives us. I'd like to see us do even better over time – while we've clearly made some significant gains, we still have more work remaining. We are currently doing about as many fuzzing iterations per weekend as we're required to do to meet SDL requirements for the entire product cycle (to be fair, the requirement is for clean runs, and we're not there yet, and when we do get there, we use a different fuzzer). We've done twice as many fuzz iterations against Office 2007 SP2 as we did against Office 2007 during the entire product cycle, and 4x more against Office 14 than against Office 2007. &lt;/P&gt;
&lt;P&gt;If there's anyone out there still on Office 2003 SP2, I hope I've given you some convincing data that shows an upgrade to SP3 or better yet Office 2007 is going to pay off in much better security. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9116308" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/david_leblanc/archive/tags/Security+Misc/default.aspx">Security Misc</category><category domain="http://blogs.msdn.com/david_leblanc/archive/tags/Vulns/default.aspx">Vulns</category></item><item><title>Lies, Damn Lies, Information Leaks, and Statistics</title><link>http://blogs.msdn.com/david_leblanc/archive/2008/07/01/lies-damn-lies-information-leaks-and-statistics.aspx</link><pubDate>Tue, 01 Jul 2008 22:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8678371</guid><dc:creator>david_leblanc</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/david_leblanc/comments/8678371.aspx</comments><wfw:commentRss>http://blogs.msdn.com/david_leblanc/commentrss.aspx?PostID=8678371</wfw:commentRss><description>&lt;P&gt;Robert Hensing posted some &lt;A href="http://blogs.technet.com/robert_hensing/archive/2008/07/01/vulnerable-web-browser-study-full-of-fail.aspx" mce_href="http://blogs.technet.com/robert_hensing/archive/2008/07/01/vulnerable-web-browser-study-full-of-fail.aspx"&gt;criticism&lt;/A&gt; of a &lt;A href="http://www.techzoom.net/papers/browser_insecurity_iceberg_2008.pdf" mce_href="http://www.techzoom.net/papers/browser_insecurity_iceberg_2008.pdf"&gt;study&lt;/A&gt; that purported to analyze how many users are at risk due to using out of date or unpatched browsers. Rob rightfully points out that you can actually be running a very old version of IE (depending on OS), and still be patched against current attacks. &lt;/P&gt;
&lt;P&gt;A flaw that IE doesn't have is advertising to the server the exact minor version of the application. People often underestimate the value of information leaks – advertising the exact minor version is basically saying "Hello, you may attack me with these exploits, but I'm patched against those exploits." You can often figure this out with various fingerprinting techniques, but sometimes you can't. As it turns out, Safari, Firefox and Opera all have information disclosure flaws, and these were used to estimate the number of vulnerable browsers by examining Google's server logs. Because IE doesn't advertise this information to the server, they couldn't do a valid comparison, and dropped to a different data set. &lt;/P&gt;
&lt;P&gt;Rob admits to not having much statistical training, but having spent far too much time in graduate school, I've had quite a bit. First thing to consider is the sample size. As it turns out, you don't need that many samples to be valid. Secunia's sample was around 500,000, which is more than adequate. The next thing to consider is whether we're really dealing with 2 different populations. To their credit, they do call this out: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Secunia [21] identified (for the month of May 2008) that 4.4% of IE7, 8.1% of Firefox, 14.3% of Safari (Windows only), and 15.2% of Opera users have not applied the most recent security patches available to them from the software vendor. In comparison, we discovered that 16.7% of Firefox, 34.7% of Safari (all OS), and 43.9% of Opera Web browser installations (using our Web server log-based measurements) had not applied the most recent security patches. We found that our Firefox, Safari, and Opera results were higher than those of Secunia's, differing by a factor of 2.1 (Firefox), 2.4 (Safari), and 2.9 (Opera), and attribute this difference to a probable bias for more security aware users to take advantage of Secunia's security scanner PSI than the average global community. &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;First of all, we can clearly establish that we're dealing with 2 distinctly different populations. The assertion that IE6 is insecure is invalid, as it is still in support and gets security patches just like IE7, and while IE 7 is doing a bit better on bulletin count, it isn't a huge difference, and as I've noticed with several other products, there is a grace period where attackers don't bother until there's enough adoption. While it is interesting that around twice as many Firefox users aren't fully patched as IE7 users, this might be an artifact of release timing. The authors of the study then attempt to deal with these different populations by comparing the Google results to the Secunia results, but there's a lot of variance between the browser types – if Firefox users going to Google are 2.1x less likely to be secure than Firefox users identified by the Secunia study, but Opera is different by a factor of 2.9x, then the difference between IE users overall vs. Secunia is really anyone's guess. Is it 2.9x? 4x? 1.5x? No one really knows. &lt;/P&gt;
&lt;P&gt;It's an interesting thing to try and study, and the hypothesis that different patch delivery mechanisms might make a difference in how many users are at risk is also interesting, but data on IE users who are the majority of the population, and could behave differently as a group than users of other browsers, is really not available which makes the conclusions very questionable. Another factor that they appear not to have considered is that the number of browsers missing patches is going to be a function of how often you see patches. Something patched once a year is more likely to be patched than something patched 25 times a year. &lt;/P&gt;
&lt;P&gt;Interesting paper – too bad their conclusions aren't supportable for the bulk of the users who are using IE. &lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 9pt"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8678371" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/david_leblanc/archive/tags/Vulns/default.aspx">Vulns</category></item></channel></rss>