<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEUHR3wycCp7ImA9WxJUEks.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127</id><updated>2009-07-10T15:50:36.298-07:00</updated><title type="text">Google Online Security Blog</title><subtitle type="html">The latest news and insights from Google on security and safety on the Internet.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://googleonlinesecurity.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Molly Graham</name><uri>http://www.blogger.com/profile/14622034276288473028</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/GoogleOnlineSecurityBlog" type="application/atom+xml" /><entry gd:etag="W/&quot;CEANQXY9fSp7ImA9WxJVEEs.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-2466994922245745170</id><published>2009-06-16T13:06:00.000-07:00</published><updated>2009-06-26T17:33:10.865-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-26T17:33:10.865-07:00</app:edited><title>HTTPS security for web applications</title><content type="html">&lt;span class="byline-author"  style="font-size:100%;"&gt;Posted by Alma Whitten, Software Engineer, Security &amp;amp; Privacy Teams&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;A group of privacy and security experts sent a &lt;a href="http://www.wired.com/images_blogs/threatlevel/2009/06/google-letter-final2.pdf" id="qxp4" title="letter"&gt;letter&lt;/a&gt; today urging Google to strengthen its leadership role in web application security, and we wanted to offer some of our thoughts on the subject. &lt;/span&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;i&gt;&lt;span style="font-style: normal;"&gt;We've long &lt;a href="http://googleonlinesecurity.blogspot.com/2008/12/announcing-browser-security-handbook.html" id="wopc" title="advocated for"&gt;advocated for&lt;/a&gt; — and &lt;a href="http://gmailblog.blogspot.com/2008/07/making-security-easier.html" id="tl_v" title="demonstrated"&gt;demonstrated&lt;/a&gt; — &lt;span style="background-color: rgb(255, 255, 255);"&gt;a focus on&lt;/span&gt; strong security in web applications. We run our own business on Google Apps, and we strive to provide a high level of security to our users. We currently let people access a number of our applications — including Gmail, Google Docs, and Google Calendar, among others — via &lt;a href="http://en.wikipedia.org/wiki/Https" id="ja9m" title="HTTPS"&gt;HTTPS&lt;/a&gt;, a protocol that establishes a secure connection between your browser and our servers.&lt;br /&gt;&lt;br /&gt;Let's take a closer look at how this works in the case of Gmail.  We know that tens of millions of Gmail users rely on it to manage their lives every day, and we have offered HTTPS access as an option in Gmail from the day we launched.&lt;/span&gt;&lt;/i&gt;  If you &lt;a href="http://mail.google.com/support/bin/answer.py?answer=74765&amp;amp;cbid=-17ta0pv9qt0jq&amp;amp;src=cb&amp;amp;lev=answer" id="n.fi" title="choose to use"&gt;choose to use&lt;/a&gt; HTTPS in Gmail, &lt;span style="background-color: rgb(255, 255, 255);"&gt;our systems are designed to maintain it&lt;/span&gt; throughout the email session — not just at login — so everything you do &lt;span style="background-color: rgb(255, 255, 255);"&gt;can be passed through a more&lt;/span&gt; secure connection. Last summer we made it even easier by letting Gmail users opt in to &lt;a href="http://gmailblog.blogspot.com/2008/07/making-security-easier.html" id="z6:0" title="always use HTTPS"&gt;always use HTTPS&lt;/a&gt; every time they log in (no need to type or bookmark the "https").   &lt;/span&gt;&lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;&lt;span style="font-size:100%;"&gt; Free, always-on HTTPS is pretty unusual in the email business, particularly for a free email service, but we see it as an another way to make the web safer and more useful. It's something we'd like to see all major webmail services provide. &lt;/span&gt;&lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;&lt;span style="font-size:100%;"&gt;     In fact, we're currently looking into whether it would make sense to turn on HTTPS as the default for all Gmail users.   &lt;/span&gt;&lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;We know HTTPS is a good experience for many &lt;/span&gt;&lt;span style="font-size:100%;"&gt;power users who've already turned it on as their default setting. And in this case, the additional cost of offering HTTPS isn't holding us back. But we want to more completely understand the impact on people's experience, analyze the data, and make sure there are no negative effects. Ideally we'd like this to be on by default for all connections, and we're investigating the trade-offs, since there are some downsides to HTTPS — in some cases it makes certain actions slower.&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;   &lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;&lt;span style="font-size:100%;"&gt; We're planning a trial in which we'll move small samples of different types of Gmail users to HTTPS to see what their experience is, and whether it affects the performance of their email. Does it load fast enough? Is it responsive enough? Are there particular regions, or networks, or computer setups that do particularly poorly on HTTPS?  &lt;/span&gt;&lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;&lt;span style="font-size:100%;"&gt; Unless there are negative effects on the user experience or it's otherwise impractical, we intend to turn on HTTPS by default more broadly, hopefully for all Gmail users.&lt;span style="background-color: rgb(255, 255, 255);"&gt; We're also considering how to make this work best for other apps including Google Docs and Google Calendar (we offer free HTTPS for those apps as well).  &lt;/span&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;     &lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;   &lt;/div&gt;   &lt;div&gt;&lt;span style="font-size:100%;"&gt; Stay tuned, but we wanted to share our thinking on this, and to let you know we're always looking at ways to make the web more secure and more useful.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update @ 1:00pm&lt;/span&gt;:  We've had some more time to go through the report.  There's a factual inaccuracy we wanted to point out:  a cookie from Docs or Calendar doesn't give access to a Gmail session.  The master authentication cookie is always sent over HTTPS — whether or not the user specified HTTPS-only for their Gmail account.  But we can all agree on the benefits of HTTPS, and we're glad that the report recognizes our leadership role in this area.  As the report itself points out, "Users of Microsoft Hotmail, Yahoo Mail, Facebook and MySpace are also vulnerable to [data theft and account hijacking]. Worst of all — these firms do not offer their customers any form of protection.  Google at least offers its tech savvy customers a strong degree of protection from snooping attacks."  We take security very seriously, and we're proud of our record of providing security for free web apps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update on June 26th&lt;/span&gt;: We've sent a response to the signatories of the letter. You can read it &lt;a href="http://www.google.com/googleblogs/pdfs/google_httpsresponse.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-2466994922245745170?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=iXu5You-eUE:E9wgCms5w3Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=iXu5You-eUE:E9wgCms5w3Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?i=iXu5You-eUE:E9wgCms5w3Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/iXu5You-eUE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/2466994922245745170/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=2466994922245745170&amp;isPopup=true" title="33 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2466994922245745170?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2466994922245745170?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/iXu5You-eUE/https-security-for-web-applications.html" title="HTTPS security for web applications" /><author><name>Jay</name><uri>http://www.blogger.com/profile/08177113963774105206</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="07173800869356838136" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">33</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2009/06/https-security-for-web-applications.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQBRn05fCp7ImA9WxJXEEs.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-8528075173029712348</id><published>2009-06-03T12:56:00.001-07:00</published><updated>2009-06-03T13:52:37.324-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-03T13:52:37.324-07:00</app:edited><title>Top 10 Malware Sites</title><content type="html">&lt;span class="byline-author"&gt;Posted by Niels Provos, Security Team&lt;/span&gt;&lt;br /&gt;&lt;p&gt;A recent surge in compromised web servers has generated many interesting discussions in online forums and blogs.  We thought we would join the conversation by sharing what we found to be the most popular malware sites in the last two months.&lt;br /&gt;&lt;br /&gt;As we've &lt;a href="http://googleonlinesecurity.blogspot.com/2008/02/all-your-iframe-are-point-to-us.html"&gt;discussed previously&lt;/a&gt;, we constantly scan our index for potentially dangerous sites.  Our automated systems found more than 4,000 different sites that appeared to be set up for distributing malware by massively compromising popular web sites.  Of these domains more than 1,400 were hosted in the .cn TLD.  Several contained plays on the name of Google such as &lt;a href="http://www.google.com/safebrowsing/diagnostic?site=goooogleadsence.biz/"&gt;goooogleadsence.biz&lt;/a&gt;, etc.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_wLESxcF8BBY/SibVjEXYs0I/AAAAAAAAHP0/PxUHv8s7g3Y/s1600-h/top10sites.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 324px;" src="http://1.bp.blogspot.com/_wLESxcF8BBY/SibVjEXYs0I/AAAAAAAAHP0/PxUHv8s7g3Y/s400/top10sites.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5343192806365639490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The graph shows the top-10 malware sites as counted by the number of compromised web sites that referenced it.  All domains on the top-10 list are suspected to have compromised more than 10,000 web sites on the Internet.  The graph also contains arrows indicating when these domains where first listed via the &lt;a href="http://code.google.com/apis/safebrowsing/"&gt;Safe Browsing API&lt;/a&gt; and flagged in our search results as potentially dangerous.&lt;br /&gt;&lt;br /&gt;Other malware researchers &lt;a href="http://blog.unmaskparasites.com/2009/05/07/gumblar-cn-exploit-12-facts-about-this-injected-script/"&gt;reported&lt;/a&gt; widespread compromises pointing to the domains gumblar.cn and martuz.cn, both of which made it on our top-10 list. For gumblar, we saw about 60,000 compromised sites; Martuz peaked at slightly over 35,000 sites.  Beladen.net was also &lt;a href="http://securitylabs.websense.com/content/Blogs/3408.aspx"&gt;reported&lt;/a&gt; to be part of a mass compromise, but made it only to position 124 on the list with about 3,500 compromised sites.&lt;br /&gt;&lt;br /&gt;To help make the Internet a safer place, our Safe Browsing API is freely available and is being used by browsers such as Firefox and Chrome to protect users on the web.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-8528075173029712348?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=3pOs9QQDMbo:u5PjenNJgv4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=3pOs9QQDMbo:u5PjenNJgv4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?i=3pOs9QQDMbo:u5PjenNJgv4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/3pOs9QQDMbo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/8528075173029712348/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=8528075173029712348&amp;isPopup=true" title="13 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8528075173029712348?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8528075173029712348?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/3pOs9QQDMbo/top-10-malware-sites.html" title="Top 10 Malware Sites" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_wLESxcF8BBY/SibVjEXYs0I/AAAAAAAAHP0/PxUHv8s7g3Y/s72-c/top10sites.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">13</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2009/06/top-10-malware-sites.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEFQHo-fCp7ImA9WxVbFU4.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-7291320788164226863</id><published>2009-03-31T14:06:00.000-07:00</published><updated>2009-03-31T14:23:31.454-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-31T14:23:31.454-07:00</app:edited><title>Reducing XSS by way of Automatic Context-Aware Escaping in Template Systems</title><content type="html">&lt;span class="byline-author"&gt;Posted by Jad S. Boutros, Security Team&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Building on our earlier posts on defenses against web application flaws [&lt;a href="http://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html"&gt;"Automating Web Application Security Testing"&lt;/a&gt;, &lt;a href="http://googleonlinesecurity.blogspot.com/2008/07/meet-ratproxy-our-passive-web-security.html"&gt;"Meet ratproxy, our passive web security assessment tool"&lt;/a&gt;], we introduce Automatic Context-Aware Escaping (Auto-Escape for short), a functionality we added to two Google-developed general purpose template systems to better protect against Cross-Site Scripting (XSS).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;We developed Auto-Escape specifically for general purpose template systems; that is, template systems that are for the most part unaware of the structure and programming language of the content on which they operate. These template systems typically provide minimal support for web applications, possibly limited to basic escaping functions that a developer can invoke to help escape unsafe content being returned in web responses. Our observation has been that web applications of substantial size and complexity using these template systems have an increased risk of introducing XSS flaws. To see why this is the case, consider the simplified template below in which double curly brackets &lt;code&gt;{{&lt;/code&gt; and &lt;code&gt;}}&lt;/code&gt; enclose placeholders (variables) that are replaced with run-time content, presumed unsafe.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;  &amp;lt;span style="color:{{USER_COLOR}};"&amp;gt;&lt;br /&gt;    Hello {{USERNAME}}, view your &amp;lt;a href="{{USER_ACCOUNT_URL}}"&amp;gt;Account&amp;lt;/a&amp;gt;.&lt;br /&gt;  &amp;lt;/span&amp;gt;&lt;br /&gt;  &amp;lt;script&amp;gt;&lt;br /&gt;    var id = {{USER_ID}}; // some code using id, say:&lt;br /&gt;    // alert("Your user ID is: " + id);&lt;br /&gt;  &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;In this template, four variables are used (not in this order):&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;USER_NAME&lt;/i&gt; is inserted into regular HTML text and hence can be escaped safely by HTML-escape.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;USER_ACCOUNT_URL&lt;/i&gt; is inserted into an HTML attribute that expects a URL and therefore in addition to HTML-escape, also requires validation that the URL scheme is safe. By allowing only a safe white-list of schemes, we can prevent (say) &lt;code&gt;javascript:&lt;/code&gt; pseudo-URLs, which HTML-escape alone does not prevent.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;USER_COLOR&lt;/i&gt; is inserted into a Cascading Style Sheets (CSS) context and therefore requires an escaping that also prevents scripting and other dangerous constructs in CSS such as those possible in &lt;code&gt;expression()&lt;/code&gt; or &lt;code&gt;url()&lt;/code&gt;. For more information on concerns with harmful content in CSS, refer to the CSS section of the &lt;a href="http://code.google.com/p/browsersec/wiki/Part1#Cascading_stylesheets"&gt;Browser Security Handbook&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;USER_ID&lt;/i&gt; is inserted into a Javascript variable that expects a number as it is not enclosed in quotes. As such, it requires an escaping that coerces it to a number (which a typical Javascript-escape function does not do), otherwise it can lead to arbitrary javascript execution. More variants may be developed to coerce content to other data types, including arrays and objects.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Each of these variable insertions requires a different escaping method or risks introducing XSS. To keep the example small, we excluded several contexts of interest, particularly style tags, HTML attributes that expect Javascript (such as &lt;code&gt;onmouseover&lt;/code&gt;), and considerations of whether attribute values are enclosed within quotes or not (which also affects escaping).&lt;br /&gt;&lt;/p&gt;&lt;h4&gt;Auto-Escape&lt;br /&gt;&lt;/h4&gt;&lt;p&gt;The example above demonstrates the importance of understanding the precise context in which variables are being inserted and the need for escaping functions that are both safe and correct for each. For larger and complex web applications, we notice two related vectors for XSS:&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;A developer forgetting to apply escaping to a given variable.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;A developer applying the wrong escaping for that variable for the context in which it is being inserted.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Considering the sheer number of templates in large web applications and the number of untrusted content they may operate on, the process of proper escaping becomes complicated and error prone. It is also difficult to efficiently audit from a security testing perspective. We developed Auto-Escape to take that complexity away from the developer and into the template system and therefore reduce the risks of XSS that would have ensued.&lt;br /&gt;&lt;/p&gt;&lt;h4&gt;A Look at Implementation&lt;br /&gt;&lt;/h4&gt;&lt;p&gt;Auto-Escape is a functionality designed to make the Template System web application context-aware and therefore able to apply automatically and properly the escaping required. This is achieved in three parts:&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;We determined all the different contexts in which untrusted content may be returned and provided proper escaping functions for each. This is part science and part practical. For example, we did not find the need to support variable insertion inside an HTML tag name itself (as opposed to HTML attributes) so we did not build support for it. Other factors come into play, including availability of existing escaping functions and backwards compatibility. As a result, part of that work is template system dependent.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;We developed our own parser to parse HTML and Javascript templates. It provides methods which can be queried at a point of interest to obtain the context information necessary for proper escaping. The parser is designed with performance in mind, and it runs in a stream mode without look-ahead. It aims for simplicity while understanding that browsers may be more lenient than specifications, particularly in certain corner cases.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;We added an extra step into the parsing that the template system already performs to locate variables, among other needs. This extra step activates our HTML/Javascript parser, queries it for the context of each variable then applies its escaping rules to compute the proper escaping functions to use for each variable. Depending on the template system, this step may be performed only the first time a template is used or for each web response in which case some limitations may be lifted.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;A simple mechanism is provided for the developer to indicate that some variables are safe and should not be escaped. This is used for variables that are either escaped through other means in source code or contain trusted markup that should be emitted intact.&lt;br /&gt;&lt;/p&gt;&lt;h4&gt;Current Status&lt;br /&gt;&lt;/h4&gt;&lt;p&gt;Auto-Escape has been released with the C++ &lt;a href="http://code.google.com/p/google-ctemplate/"&gt;Google Ctemplate&lt;/a&gt; for a while now and it continues to develop there. You can read more about it in the &lt;a href="http://google-ctemplate.googlecode.com/svn/trunk/doc/auto_escape.html"&gt;Guide to using Auto-Escape&lt;/a&gt;. We also implemented Auto-Escape for the &lt;a href="http://www.clearsilver.net/"&gt;ClearSilver&lt;/a&gt; template system and expect it to be released in the near future. Lastly, we are in the process of integrating it into other template systems developed at Google for Java and Python and are interested in working with a few other open source template systems that may benefit from this logic. Our HTML/Javascript parser is already available with the Google Ctemplate distribution and is expected to be released as a stand-alone open source project very soon.&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;Co-developers: Filipe Almeida and Mugdha Bendre&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-7291320788164226863?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=UT9PE4mNkXM:w7lBmVREruo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=UT9PE4mNkXM:w7lBmVREruo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?i=UT9PE4mNkXM:w7lBmVREruo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/UT9PE4mNkXM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/7291320788164226863/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=7291320788164226863&amp;isPopup=true" title="9 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7291320788164226863?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7291320788164226863?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/UT9PE4mNkXM/reducing-xss-by-way-of-automatic.html" title="Reducing XSS by way of Automatic Context-Aware Escaping in Template Systems" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2009/03/reducing-xss-by-way-of-automatic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMARXo5fyp7ImA9WxVbEUw.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-3773987265455318094</id><published>2009-03-26T18:28:00.000-07:00</published><updated>2009-03-26T18:30:44.427-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-03-26T18:30:44.427-07:00</app:edited><title>Why Googlers attend the Internet Identity Workshop</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;Posted by Eric Sachs, Senior Product Manager, Google Security&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;Google’s participation in the &lt;a id="vy_m" href="http://www.internetidentityworkshop.com/?page_id=3" title="Internet Identity Workshop" style="color: rgb(85, 26, 139); "&gt;Internet Identity Workshop&lt;/a&gt; (IIW) has grown from a few lone individuals at its founding in 2005 to fifteen Googlers at the last IIW. The reason for this growth is that as Google has started to provide more APIs and developer tools for our application hosting business, we have found that standards and interoperability for identity and security on the Internet are critical.  Our engineers attend to discuss standards such as OAuth, OpenSocial, OAuth, SAML, Portable Contacts, as well as longer term trends around discovery, malware, phishing, and stronger authentication.  Another major topic is the usability of these technologies, which we summarized in a &lt;a id="b9we" href="http://googleonlinesecurity.blogspot.com/2008/12/user-experience-in-identity-community.html" title="blog post" style="color: rgb(85, 26, 139); "&gt;blog post&lt;/a&gt; after the last IIW.&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;We hope that other companies and individuals working in these areas will register to attend &lt;a id="gr:h" href="http://www.internetidentityworkshop.com/?page_id=3" title="IIW 2009a" style="color: rgb(85, 26, 139); "&gt;IIW 2009a&lt;/a&gt; and start building momentum for another great event.  If you attended either the Facebook hosted &lt;a id="hz.l" href="http://www.slideshare.net/event/openid-design-summit-redux" title="UX summit" style="color: rgb(85, 26, 139); "&gt;UX summit&lt;/a&gt; in Feb 2009 or the Yahoo hosted &lt;a id="ysnk" href="http://sites.google.com/site/oauthgoog/UXFedLogin/09nov-uxsummit" title="UX summit" style="color: rgb(85, 26, 139); "&gt;UX summit&lt;/a&gt; in Oct 2008, you can join in further discussions on those topics at the upcoming IIW.&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;Google attendees: Dirk Balfanz, Nathan Beach, Breno de Medeiros, Cassie Doll, Brian Eaton, Ben Laurie, Kevin Marks, John Panzer, Eric Sachs, and more to come&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-3773987265455318094?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=2E6_ze0wbNc:5lBXq6wDMBE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?a=2E6_ze0wbNc:5lBXq6wDMBE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/GoogleOnlineSecurityBlog?i=2E6_ze0wbNc:5lBXq6wDMBE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/2E6_ze0wbNc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/3773987265455318094/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=3773987265455318094&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3773987265455318094?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3773987265455318094?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/2E6_ze0wbNc/why-googlers-attend-internet-identity.html" title="Why Googlers attend the Internet Identity Workshop" /><author><name>Eric Sachs</name><uri>http://www.blogger.com/profile/07249915321397925223</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11458386932934363092" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2009/03/why-googlers-attend-internet-identity.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0EMRHc9fip7ImA9WxRbGUk.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-3843938145701645497</id><published>2008-12-10T14:54:00.001-08:00</published><updated>2008-12-10T14:54:45.966-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-10T14:54:45.966-08:00</app:edited><title>Announcing "Browser Security Handbook"</title><content type="html">&lt;span class="byline-author"&gt;Posted by Michael Zalewski, Security Team.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Many people view the task of writing secure web applications as a very complex challenge - in part because of the inherent shortcomings of technologies such as HTTP, HTML, or Javascript, and in part because of the subtle differences and unexpected interactions between various browser security mechanisms.&lt;br /&gt;&lt;br /&gt;Through the years, we found that having a full understanding of browser-specific quirks is critical to making sound security design decisions in modern &lt;i&gt;Web 2.0&lt;/i&gt; applications. For example, the same user-supplied link may appear to one browser as a harmless relative address, while another could interpret it as a potentially malicious Javascript payload. In another case, an application may rely on a particular HTTP request that is impossible to spoof from within the browser in order to defend the security of its users. However, an attacker might easily subvert the safeguard by crafting the same request from within commonly installed browser extensions. If not accounted for, these differences can lead to trouble.&lt;br /&gt;&lt;br /&gt;In hopes of helping to make the Web a safer place, we decided to release our &lt;a title="Browser Security Handbook" href="http://code.google.com/p/browsersec/wiki/Main" id="rhcz"&gt;Browser Security Handbook&lt;/a&gt; to the general public. This 60-page document provides a comprehensive comparison of a broad set of security features and characteristics in commonly used browsers, along with (hopefully) useful commentary and implementation tips for application developers who need to rely on these mechanisms, as well as engineering teams working on future browser-side security enhancements.&lt;br /&gt;&lt;br /&gt;Please note that given the sheer number of characteristics covered, we expect some kinks in the initial version of the handbook; feedback from browser vendors and security researchers is greatly appreciated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-3843938145701645497?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=YOgP25VN"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=vThYIiKD"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=vThYIiKD" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/O4AU6_wiBy4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/3843938145701645497/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=3843938145701645497&amp;isPopup=true" title="9 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3843938145701645497?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3843938145701645497?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/O4AU6_wiBy4/announcing-browser-security-handbook.html" title="Announcing &quot;Browser Security Handbook&quot;" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">9</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/12/announcing-browser-security-handbook.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHQHY7cSp7ImA9WxRbF0o.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-6387079038158171167</id><published>2008-12-08T13:21:00.001-08:00</published><updated>2008-12-08T13:22:11.809-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-08T13:22:11.809-08:00</app:edited><title>Native Client: A Technology for Running Native Code on the Web</title><content type="html">&lt;span class="byline-author"&gt;Posted by Brad Chen, Native Client Team.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most native applications can access everything on your computer – including your files. This access means that you have to make decisions about which apps you trust enough to install, because a malicious or buggy application might harm your machine. Here at Google we believe you shouldn't have to choose between powerful applications and security.  That's why we're working on &lt;a href="http://code.google.com/p/nativeclient/?tbbrand=GZEZ&amp;amp;utm_campaign=en&amp;amp;utm_source=en-et-secblog&amp;amp;utm_medium=et" &gt;Native Client&lt;/a&gt;, a technology that seeks to give Web developers the opportunity to make safer and more dynamic applications that can run on any OS and any browser. Today, we're sharing our technology with the research and security communities for their feedback to help make this technology more useful and more secure.&lt;br /&gt;&lt;br /&gt;Our approach is built around a software containment system called the inner-sandbox that is designed to prevent unintended interactions between a native code module and the host system. The inner-sandbox uses static analysis to detect security defects in untrusted x86 code.  Previously, such analysis has been challenging due to such practices as self-modifying code and overlapping instructions. In our work, we disallow such practices through a set of alignment and structural rules that, when observed, enable the native code module to be disassembled reliably and all reachable instructions to be identified during disassembly. With reliable disassembly as a tool, it's then feasible for the validator to determine whether the executable includes unsafe x86 instructions.  For example, the validator can determine whether the executable includes instructions that directly invoke the operating system that could read or write files or subvert the containment system itself.&lt;br /&gt;&lt;br /&gt;To learn more and help test Native Client, check out our &lt;a href="http://google-code-updates.blogspot.com/2008/12/native-client-technology-for-running.html"&gt;post on the Google Code blog&lt;/a&gt; as well as our &lt;a href="http://code.google.com/p/nativeclient/?tbbrand=GZEZ&amp;amp;utm_campaign=en&amp;amp;utm_source=en-et-secblog&amp;amp;utm_medium=et" &gt;developer site&lt;/a&gt;.  Our developer site includes our research paper and of course the source for the project under the BSD license.&lt;br /&gt;&lt;br /&gt;We look forward to hearing what you think!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-6387079038158171167?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=C9SoQAdJ"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=xHsaBQFL"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=xHsaBQFL" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/2QGrbq4tQuU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/6387079038158171167/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=6387079038158171167&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/6387079038158171167?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/6387079038158171167?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/2QGrbq4tQuU/native-client-technology-for-running.html" title="Native Client: A Technology for Running Native Code on the Web" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/12/native-client-technology-for-running.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMEQXcyeSp7ImA9WxRbEk8.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-1290141936788972914</id><published>2008-12-02T06:00:00.000-08:00</published><updated>2008-12-02T06:00:00.991-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-02T06:00:00.991-08:00</app:edited><title>User Experience in the Identity Community</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; "&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;Eric Sachs &amp;amp; Ben Laurie, Google Security&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;One of the major conferences on Internet identity standards is the &lt;a href="http://iiw.idcommons.net/" id="xwok" title="Internet Identity Workshop" style="color: rgb(85, 26, 139); "&gt;Internet Identity Workshop&lt;/a&gt; (IIW), a semiannual 'un-conference' where the sessions are not determined ahead of time. It is attended by a large set of people who work on Internet security and identity standards such as OAuth, OpenID, SAML, InfoCards, etc.  A major theme within the identity community this year has been about improving the user experience and growing the adoption of these technologies.  The OpenID community is making great progress on user experience, with Yahoo, AOL, and Google quickly improving the support they provide (read a &lt;a href="http://blog.plaxo.com/archives/2008/11/yahoo_ups_the_a.html" id="jh0r" title="summary" style="color: rgb(85, 26, 139); "&gt;summary&lt;/a&gt; from Joseph Smarr of Plaxo).  Similarly, the InfoCard community has been working on simplifying the user experience of InfoCard technology, including the &lt;a href="http://blogs.msdn.com/card/archive/2008/11/18/the-cardspace-geneva-selection-experience.aspx" id="pyzp" title="updated" style="color: rgb(85, 26, 139); "&gt;updated&lt;/a&gt; CardSpace selector from Microsoft.&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; margin-bottom: 0px; "&gt;Another hot topic at IIW centered around &lt;span style="background-color: rgb(255, 255, 255); "&gt;how to improve the user experience when testing alternatives and enhancements to passwords to make them less susceptible to phishing attacks.  Many websites and enterprises have tried these password enhancements/alternatives, but they found that people complained that they were hard to use, or that they weren't portable enough for people who use multiple computers, including web cafes and smart phones.  We have published an &lt;a href="http://sites.google.com/site/oauthgoog/UXFedLogin/strongauth" id="zq0m" title="article" style="color: rgb(85, 26, 139); "&gt;article&lt;/a&gt; summarizing some of the community's current ideas for how to deploy these new authentication mechanisms using a multi-layered approach that minimizes additional work required by users.  We have also pulled together a set of &lt;a href="http://sites.google.com/site/oauthgoog/UXFedLogin/strongauthvideos" id="ln7n" title="videos" style="color: rgb(85, 26, 139); "&gt;videos&lt;/a&gt; showing how a number of these different approaches work with both web-based and desktop applications.  We hope this information will be helpful to other websites and enterprises who are concerned about phishing.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-1290141936788972914?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=g2twxZuB"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=9u931A56"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=9u931A56" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/KdUhqcr2y0c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/1290141936788972914/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=1290141936788972914&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/1290141936788972914?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/1290141936788972914?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/KdUhqcr2y0c/user-experience-in-identity-community.html" title="User Experience in the Identity Community" /><author><name>Eric Sachs</name><uri>http://www.blogger.com/profile/07249915321397925223</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="11458386932934363092" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/12/user-experience-in-identity-community.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QARXg6cSp7ImA9WxRUFkk.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-6444139837950470630</id><published>2008-11-25T13:22:00.001-08:00</published><updated>2008-11-25T13:42:24.619-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-25T13:42:24.619-08:00</app:edited><title>Gmail security and recent phishing activity</title><content type="html">&lt;span class="byline-author"&gt;Posted by Chris Evans&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We've seen some speculation recently about a purported security vulnerability in Gmail and the theft of several website owners' domains by unauthorized third parties. At Google we're committed to providing secure products, and we mounted an immediate investigation. Our results indicate no evidence of a Gmail vulnerability.&lt;br /&gt;&lt;br /&gt;With help from affected users, we determined that the cause was a phishing scheme, a common method used by malicious actors to trick people into sharing their sensitive information. Attackers sent customized e-mails encouraging web domain owners to visit fraudulent websites such as "google-hosts.com" that they set up purely to harvest usernames and passwords. These fake sites had no affiliation with Google, and the ones we've seen are now offline. Once attackers gained the user credentials, they were free to modify the affected accounts as they desired. In this case, the attacker set up mail filters specifically designed to forward messages from web domain providers.&lt;br /&gt;&lt;br /&gt;Several news stories referenced a &lt;a title="domain theft from December 2007" href="http://www.davidairey.com/google-gmail-security-hijack/" id="d.kh"&gt;domain theft from December 2007&lt;/a&gt; that was incorrectly linked to a Gmail CSRF vulnerability&lt;/span&gt;. We did have a Gmail CSRF bug reported to us in September 2007 that we fixed worldwide within 24 hours of private disclosure of the bug details. Neither this bug nor any other Gmail bug was involved in the December 2007 domain theft.&lt;br /&gt;&lt;br /&gt;We recognize how many people depend on Gmail, and we strive to make it as secure as possible. At this time, we'd like to thank the wider security community for working with us to achieve this goal. We're always looking at new ways to enhance Gmail security. For example, we recently gave users the option to &lt;a href="http://gmailblog.blogspot.com/2008/07/making-security-easier.html" id="murn" title="always connect via https"&gt;always run their entire session using https&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To keep your Google account secure online, we recommend you only ever enter your Gmail sign-in credentials to web addresses starting with https://www.google.com/accounts, and never click-through any warnings your browser may raise about certificates. For more information on how to stay safe from phishing attacks, see our blog post &lt;a href="http://googleblog.blogspot.com/2008/04/how-to-avoid-getting-hooked.html" id="o8q2" title="here"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-6444139837950470630?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=5ziOaTxJ"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=UypYbMp4"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=UypYbMp4" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/jSxgatXB-tY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/6444139837950470630/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=6444139837950470630&amp;isPopup=true" title="26 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/6444139837950470630?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/6444139837950470630?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/jSxgatXB-tY/gmail-security-and-recent-phishing.html" title="Gmail security and recent phishing activity" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">26</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/11/gmail-security-and-recent-phishing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QERHg-eSp7ImA9WxRUEUw.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-3412298504869715183</id><published>2008-11-18T17:41:00.000-08:00</published><updated>2008-11-19T10:28:25.651-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-19T10:28:25.651-08:00</app:edited><title>OAuth for Secure Mashups</title><content type="html">&lt;span class="byline-author"&gt;Posted by Eric Sachs, Senior Product Manager, Google Security&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A year ago, a number of large and small websites announced a new open standard called &lt;a href="http://oauth.net/" id="hz33" title="OAuth"&gt;OAuth&lt;/a&gt;. This standard is designed to provide a secure and privacy-preserving technique for enabling specific private data on one site to be accessed by another site.  One popular reason for that type of cross-site access is data portability in areas such as personal health records (such as Google Health or Microsoft Healthvault), as well as social networks (such as OpenSocial enabled sites). I originally became involved in this space in the summer of 2005, when Google started developing a feature called &lt;a href="http://code.google.com/apis/accounts/docs/AuthSub.html" id="e3yh" title="AuthSub"&gt;AuthSub&lt;/a&gt;, which was one of the pre-cursors of OAuth. That was a proprietary protocol, but one that has been used by hundreds of websites to provide add-on services to Google Account users by getting permission from users to access data in their Google Accounts.  In fact, that was the key feature that a few of us used to start the Google Health portability effort back when it was only a prototype project with a few dedicated Googlers.  &lt;div id="zq.s" style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div id="zq.s1" style="margin-top: 0px; margin-bottom: 0px;"&gt; However, with the development of a common Internet standard in OAuth, we see much greater potential for data portability and secure mash-ups. Today we &lt;a href="http://igoogledeveloper.blogspot.com/2008/11/sign-in-to-myspace-aol-mail-and-google.html"&gt;announced&lt;/a&gt; that the gadget platform now supports OAuth, and the interoperability of this standard was demonstrated by new iGoogle gadgets that AOL and MySpace both built to enable users to see their respective AOL or MySpace mailboxes (and other information) while on iGoogle. However, to ensure the user's privacy, this only works after the user has authorized AOL or MySpace to make their data available to the gadget running on iGoogle.  We also previously &lt;a href="http://googledataapis.blogspot.com/2008/10/whats-that-google-data-gadgets.html" id="w6.8" title="announced"&gt;announced&lt;/a&gt; that third-party developers can build their own iGoogle gadgets that access the OAuth-enabled APIs for Google applications such as Calendar, Picasa, and Docs. In fact, since both the gadget platform and OAuth technology are open standards, we are working to help other companies who run services similar to iGoogle to enhance them with support for these standards. Once that is in place, these new OAuth-powered gadgets that are available on iGoogle will also work on those other sites, including many of the gadgets that Google offers for its own applications. This provides a platform for some interesting mash-ups.  For example, a third-party developer could create a single gadget that uses OAuth to access both Google OAuth-enabled APIs (such as a Gmail user's &lt;a href="http://code.google.com/apis/contacts/" id="v05v" title="address book"&gt;address book&lt;/a&gt;) and &lt;a href="http://developer.myspace.com/community/myspace/dataavailability.aspx" id="lewp" title="MySpace OAuth enabled APIs"&gt;MySpace OAuth-enabled APIs&lt;/a&gt; (such as a user's friend list) and display a mashup of the combination.  &lt;/div&gt;  &lt;div id="d23k" style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div id="ivuk" style="margin-top: 0px; margin-bottom: 0px;"&gt; While the combination of OAuth with gadgets is an exciting new use of the technology, most of the use of OAuth is between websites, such as to enable a user of Google Health to allow a clinical trial matching site to access his or her health profile.  I previously mentioned that one privacy control provided by OAuth is that it defines a standard way for users to authorize one website to make their data accessible to another website. In addition, OAuth provides a way to do this without the first site needing to reveal the identity of the user -- it simply provides a different opaque security token to each additional website the user wants to share his or her data with.  It would allow a mutual fund, for example, to provide an iGoogle gadget to their customers that would run on iGoogle and show the user the value of his or her mutual fund, but without giving Google any unique information about the user, such as a social security number or account number.  In the future, maybe we will even see industries like banks use standards such as OAuth to allow their customers to authorize utility companies to perform direct debit from the user's bank account without that person having to actually share his or her bank account number with the utility vendor. &lt;/div&gt;  &lt;div id="pvsw" style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div id="odub" style="margin-top: 0px; margin-bottom: 0px;"&gt; The OAuth community is continuing to enhance this standard and is very interested in having more companies engaged with its development. The &lt;a href="http://oauth.net/" id="q6e4" title="OAuth"&gt;OAuth.net&lt;/a&gt; website has more details about the current standard, and I maintain a &lt;a href="http://sites.google.com/site/oauthgoog/" id="uw8z" title="website"&gt;website&lt;/a&gt; with advanced information about Google's use of OAuth, including work on integrating OAuth with desktop apps, and integrating with federation standards such as OpenID and SAML.  If you're interested in engaging with the OAuth community, please get in touch with us. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-3412298504869715183?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=RbYKY1QI"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=livMlZFo"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=livMlZFo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/bEpTg1dntxU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/3412298504869715183/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=3412298504869715183&amp;isPopup=true" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3412298504869715183?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3412298504869715183?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/bEpTg1dntxU/oauth-for-secure-mashups.html" title="OAuth for Secure Mashups" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/11/oauth-for-secure-mashups.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkICRHg_cSp7ImA9WxRXGEU.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-5499970354086765572</id><published>2008-10-24T14:25:00.000-07:00</published><updated>2008-10-24T14:42:45.649-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-24T14:42:45.649-07:00</app:edited><title>Malware? We don't need no stinking malware!</title><content type="html">&lt;span class="byline-author"&gt;Written by Oliver Fisher&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;"This site may harm your computer"&lt;/span&gt;&lt;br /&gt;You may have seen those words in Google search results — but what do they mean? If you click the search result link you get another warning page instead of the website you were expecting. But if the web page was your grandmother's baking blog, you're still confused. Surely your grandmother hasn't been secretly honing her l33t computer hacking skills at night school. Google must have made a mistake and your grandmother's web page is just fine...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_LMSk7hTEaIE/SQI_1LfaQYI/AAAAAAAAtcc/zI4emYNyj4g/s1600-h/example.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 125px;" src="http://3.bp.blogspot.com/_LMSk7hTEaIE/SQI_1LfaQYI/AAAAAAAAtcc/zI4emYNyj4g/s320/example.png" alt="" id="BLOGGER_PHOTO_ID_5260837497572311426" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I work with the team that helps put the warning in Google's search results, so let me try to explain. The good news is that your grandmother is still kind and &lt;a href="http://fitz.blogspot.com/2008/10/everybody-should-have-one.html"&gt;loves turtles&lt;/a&gt;. She isn't trying to start a botnet or steal credit card numbers. The bad news is that her website or the server that it runs on probably has a security vulnerability, most likely from some out-of-date software. That vulnerability has been exploited and malicious code has been added to your grandmother's website. It's most likely an invisible script or iframe that pulls content from another website that tries to attack any computer that views the page. If the attack succeeds, then viruses, spyware, key loggers, botnets, and other nasty stuff will get installed.&lt;br /&gt;&lt;br /&gt;If you see the warning on a site in Google's search results, it's a good idea to pay attention to it. Google has automatic scanners that are constantly looking for these sorts of web pages. I help build the scanners and continue to be surprised by how accurate they are. There is almost certainly something wrong with the website even if it is run by someone you trust. The automatic scanners make unbiased decisions based on the malicious content of the pages, not the reputation of the webmaster.&lt;br /&gt;&lt;br /&gt;Servers are just like your home computer and need constant updating. There are lots of tools that make building a website easy, but each one adds some risk of being exploited. Even if you're diligent and keep all your website components updated, your web host may not be. They control your website's server and may not have installed the most recent OS patches. And it's not just innocent grandmothers that this happens to. There have been warnings on the websites of banks, sports teams, and corporate and government websites.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Uh-oh... I need help!&lt;/span&gt;&lt;br /&gt;Now that we understand what the malware label means in search results, what do you do if you're a webmaster and Google's scanners have found malware on your site?&lt;br /&gt;&lt;br /&gt;There are some resources to help clean things up. The Google Webmaster Central blog has &lt;a href="http://googlewebmastercentral.blogspot.com/2008/04/my-sites-been-hacked-now-what.html"&gt;some tips&lt;/a&gt; and a &lt;a href="http://googlewebmastercentral.blogspot.com/2007/09/quick-security-checklist-for-webmasters.html"&gt;quick security checklist for webmasters&lt;/a&gt;. &lt;a href="http://stopbadware.org/"&gt;Stopbadware.org&lt;/a&gt; has great information, and their &lt;a href="http://groups.google.com/group/stopbadware"&gt;forums&lt;/a&gt; have a number of helpful and knowledgeable volunteers who may be able to help (sometimes I'm one of them). You can also use the Google SafeBrowsing diagnostics page for your site (http://www.google.com/safebrowsing/diagnostic?site=&lt;i&gt;&amp;lt;site-name-here&amp;gt;&lt;/i&gt;) to see specific information about what Google's automatic scanners have found. If your site has been flagged, Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt; lists some of the URLs that were scanned and found to be infected.&lt;br /&gt;&lt;br /&gt;Once you've cleaned up your website, use Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt; to &lt;a href="http://googlewebmastercentral.blogspot.com/2008/08/hey-google-i-no-longer-have-badware.html"&gt;request a malware review&lt;/a&gt;. The automatic systems will rescan your website and the warning will be removed if the malware is gone.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Advance warning&lt;/span&gt;&lt;br /&gt;I often hear webmasters asking Google for advance warning before a malware label is put on their website. When the label is applied, Google usually &lt;a href="http://www.google.com/support/webmasters/bin/answer.py?answer=45432#2"&gt;emails the website owners&lt;/a&gt; and then posts a warning in Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt;. But no warning is given ahead of time - &lt;span style="font-weight: bold;"&gt;before&lt;/span&gt; the label is applied - so a webmaster can't quickly clean up the site before a warning is applied.&lt;br /&gt;&lt;br /&gt;But, look at the situation from the user's point of view. As a user, I'd be pretty annoyed if Google sent me to a site it knew was dangerous. Even a short delay would expose some users to that risk, and it doesn't seem justified. I know it's frustrating for a webmaster to see a malware label on their website. But, ultimately, protecting users against malware makes the internet a safer place and everyone benefits, both webmasters and users.&lt;br /&gt;&lt;br /&gt;Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt; has started a test to provide &lt;a href="http://googlewebmastercentral.blogspot.com/2008/10/message-center-warnings-for-hackable.html"&gt;warnings to webmasters&lt;/a&gt; that their server software may be vulnerable. Responding to that warning and updating server software can prevent your website from being compromised with malware. The best way to avoid a malware label is to never have any malware on the site!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reviews&lt;/span&gt;&lt;br /&gt;You can request a review via Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt; and you can see the status of the review there. If you think the review is taking too long, make sure to check the status. Finding all the malware on a site is difficult and the automated scanners are far more accurate than humans. The scanners may have found something you've missed and the review may have failed.  If your site has a malware label, Google's &lt;a href="http://www.google.com/webmasters/tools/"&gt;Webmaster Tools&lt;/a&gt; will also list some sample URLs that have problems. This is not a full list of all of the problem URLs (because that's often very, very long), but it should get you started.&lt;br /&gt;&lt;br /&gt;Finally, don't confuse a malware review with a &lt;a href="http://googlewebmastercentral.blogspot.com/2008/07/requesting-reconsideration-using-google.html"&gt;request for reconsideration&lt;/a&gt;. If Google's automated scanners find malware on your website, the site will usually not be removed from search results. There is also a different process that removes spammy websites from Google search results. If that's happened and you disagree with Google, you should submit a &lt;a href="http://googlewebmastercentral.blogspot.com/2008/07/requesting-reconsideration-using-google.html"&gt;reconsideration request&lt;/a&gt;. But if your site has a malware label, a reconsideration request won't do any good — for malware you need to file a malware review from the Overview page.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_LMSk7hTEaIE/SQJAJQN-pYI/AAAAAAAAtck/DOkV2_QwJdQ/s1600-h/example2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 202px;" src="http://4.bp.blogspot.com/_LMSk7hTEaIE/SQJAJQN-pYI/AAAAAAAAtck/DOkV2_QwJdQ/s320/example2.png" alt="" id="BLOGGER_PHOTO_ID_5260837842438759810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;How long will a review take?&lt;/span&gt;&lt;br /&gt;Webmasters are eager to have a Google malware label removed from their site and often ask how long a review of the site will take. Both the original scanning and the review process are fully automated. The systems analyze large portions of the internet, which is big place, so the review may not happen immediately. Ideally, the label will be removed within a few hours. At its longest, the process should take a day or so.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-5499970354086765572?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=SIUWOyG4"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=62ZsGul3"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=62ZsGul3" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/FIyRCnLebV4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/5499970354086765572/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=5499970354086765572&amp;isPopup=true" title="10 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5499970354086765572?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5499970354086765572?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/FIyRCnLebV4/malware-we-dont-need-no-stinking.html" title="Malware? We don't need no stinking malware!" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_LMSk7hTEaIE/SQI_1LfaQYI/AAAAAAAAtcc/zI4emYNyj4g/s72-c/example.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">10</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/10/malware-we-dont-need-no-stinking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QCQ3Y9fyp7ImA9WxdbFUo.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-8589879725675215836</id><published>2008-08-12T14:01:00.000-07:00</published><updated>2008-08-12T14:09:22.867-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T14:09:22.867-07:00</app:edited><title>New spam and virus trends from Enterprise</title><content type="html">&lt;span class="byline-author"&gt;Written by Amanda Kleha, Google Apps Security &amp;amp; Compliance team&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://www.google.com/a/help/intl/en/security/index.html"&gt;Google Apps Security &amp;amp; Compliance&lt;/a&gt; team, which provides email and web security for more than 40,000 companies, regularly tracks trends in spam, viruses, and other threats. Check out some of our latest findings over on the &lt;a href="http://googleenterprise.blogspot.com/2008/08/security-spotlight-july-virus-attacks.html"&gt;Enterprise blog&lt;/a&gt;. Also, on Friday, August 15, at 10:00 am PT, we'll be hosting a &lt;a href="http://w.on24.com/r.htm?e=116483&amp;amp;s=1&amp;amp;k=E679E434ECD09EFE9AB299E6B4E16A3B&amp;amp;partnerref=blog_security"&gt;webinar&lt;/a&gt; on keeping your business safe from web and email threats -- tune in if you'd like to learn more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-8589879725675215836?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=EIfcy0RJ"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=WOfF3JAs"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=WOfF3JAs" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/1mq055TO3rM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/8589879725675215836/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=8589879725675215836&amp;isPopup=true" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8589879725675215836?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8589879725675215836?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/1mq055TO3rM/new-spam-and-virus-trends-from.html" title="New spam and virus trends from Enterprise" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/08/new-spam-and-virus-trends-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUGSHw4eip7ImA9WxdbFEo.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-3184501384980108539</id><published>2008-08-11T11:06:00.001-07:00</published><updated>2008-08-11T11:10:29.232-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-11T11:10:29.232-07:00</app:edited><title>Keyczar: Safe and Simple Cryptography</title><content type="html">&lt;span class="byline-author"&gt;Written by Steve Weis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right;" src="http://2.bp.blogspot.com/_LMSk7hTEaIE/SKCABPuzeVI/AAAAAAAAhXc/nyKwkCyDdwQ/s200/keyczar_logo.jpg" alt="" id="BLOGGER_PHOTO_ID_5233323525895584082" border="0" /&gt;Cryptography is notoriously hard to get right and if improperly used, can create serious security holes. Common mistakes include using the wrong cipher modes or obsolete algorithms, composing primitives in an unsafe manner, hard-coding keys in source code, or failing to anticipate the need for future key rotation. With these risks in mind, we're pleased to announce the open-source release of &lt;a href="http://www.keyczar.org/"&gt;Keyczar&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Keyczar is a cryptographic toolkit that supports encryption and authentication for both symmetric and public-key algorithms. It addresses some of the aforementioned issues by choosing safe defaults, tagging outputs with key version information, and providing a simple application programming interface. Keyczar's key versioning system makes it easy to rotate and revoke keys, without worrying about backward compatibility or making any changes to source code.&lt;br /&gt;&lt;br /&gt;We look forward to working with the open source community and continuing to make cryptography safer and easier to use. To download Keyczar or for more information, please visit our &lt;a href="http://code.google.com/p/keyczar"&gt;Google Code project&lt;/a&gt; and &lt;a href="http://groups.google.com/group/keyczar-discuss"&gt;discussion group&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-3184501384980108539?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=6ODRtEpO"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=agNjL0Me"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=agNjL0Me" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/iXt3UNU0ZIg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/3184501384980108539/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=3184501384980108539&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3184501384980108539?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/3184501384980108539?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/iXt3UNU0ZIg/keyczar-safe-and-simple-cryptography.html" title="Keyczar: Safe and Simple Cryptography" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_LMSk7hTEaIE/SKCABPuzeVI/AAAAAAAAhXc/nyKwkCyDdwQ/s72-c/keyczar_logo.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/08/keyczar-safe-and-simple-cryptography.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUBQ3s_fSp7ImA9WxdVEkk.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-5523715890775360696</id><published>2008-07-16T13:24:00.000-07:00</published><updated>2008-07-16T13:30:52.545-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-16T13:30:52.545-07:00</app:edited><title>Are you using the latest web browser?</title><content type="html">&lt;span class="byline-author"&gt;Written by Thomas Duebendorfer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In view of mass defacements of hundreds of thousand of web pages - with the intent to misuse them to launch drive-by download attacks - security researchers from ETH Zurich, Google, and IBM Internet Security Systems were interested in looking at the other side of the attack: the web browser. By analyzing the web browser versions seen in visits to Google websites, they have shown that more than 600 million Internet users don't use the latest version of their browser.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Slow migration to latest browser version&lt;/b&gt;&lt;br /&gt;The researchers' paper, entitled &lt;a href="http://www.techzoom.net/insecurity-iceberg"&gt;"Understanding the Web Browser Threat"&lt;/a&gt;, shows that as of June 2008, only 59.1% percent of Internet users worldwide use the latest major version of their preferred web browser. Firefox users are the most attentive: 92.2% of them surfed with Firefox 2, the latest major version before the recently released 3.0. Only 52.5% of Microsoft Internet Explorer users have updated to version 7, which is the most secure according to multiple publicly-cited Microsoft experts (among them Sandi Hardmeier). The study revealed that 637 million Internet users worldwide who use web browsers are either not running the latest version of their preferred browser or have not installed the latest patches. These users are vulnerable to exploitation due to their web browser's "built-in" vulnerabilities and the lack of more recent security mechanisms such as improved phishing protection.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Neglected security patches&lt;/b&gt;&lt;br /&gt;Over the past 18 months, the study also shows, a maximum of 83.3% of Firefox users were using the latest major version of the web browser and also had all current patches installed (i.e. latest minor version). Only 56.1% and 47.6% of Opera and Internet Explorer users, respectively, were similarly utilizing fully-patched web browsers. Apple users are no better: since the public release of Safari 3, only 65.3% of users operate the latest Safari version.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_LMSk7hTEaIE/SH5ZvdukCtI/AAAAAAAAd10/-yGf2De4l8I/s1600-h/share.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_LMSk7hTEaIE/SH5ZvdukCtI/AAAAAAAAd10/-yGf2De4l8I/s400/share.png" alt="" id="BLOGGER_PHOTO_ID_5223711289765006034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;Maximum measured share of users surfing the web with the most secure versions of Firefox, Safari, Opera and Internet Explorer in June 2008 as seen on Google websites.&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Obsolete browser warning&lt;/b&gt;&lt;br /&gt;The study's most important finding is that technical measures now in place do not sufficiently guarantee browser security, and that users' security awareness must be further developed. The problem is that most users are unaware that they are not using their browser's latest version. It must be made clear to web browser users that outdated software is associated with significantly higher risk. The researchers therefore suggest that, as a critical component of web software, a visible warning be instituted that warns the user of missing security patches in a way analogous to the 'best before' date in the perishable food industry. Software updates must also be made easier to find. The resulting transparency would go far in contributing to end user awareness of software weaknesses, and allow users to better evaluate risks.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_LMSk7hTEaIE/SH5aAEVMy0I/AAAAAAAAd18/nXMAqQdWXno/s1600-h/expired.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_LMSk7hTEaIE/SH5aAEVMy0I/AAAAAAAAd18/nXMAqQdWXno/s400/expired.png" alt="" id="BLOGGER_PHOTO_ID_5223711575005514562" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;em&gt;Example "best before" implementation on a Web browser&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;As a side effect, having users migrate faster to the latest browser version would not only increase security but also make the lives of webmasters easier, as they would need to test and optimize websites for fewer older versions of web browsers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-5523715890775360696?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=gDlcQ2b9"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=w8JeXKZ7"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=w8JeXKZ7" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/j4mV3PUWWWY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/5523715890775360696/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=5523715890775360696&amp;isPopup=true" title="24 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5523715890775360696?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5523715890775360696?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/j4mV3PUWWWY/are-you-using-latest-web-browser.html" title="Are you using the latest web browser?" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_LMSk7hTEaIE/SH5ZvdukCtI/AAAAAAAAd10/-yGf2De4l8I/s72-c/share.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">24</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/07/are-you-using-latest-web-browser.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUEQ30_fip7ImA9WxdXGUg.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-2193653239305893818</id><published>2008-07-01T16:49:00.000-07:00</published><updated>2008-07-01T16:50:02.346-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-01T16:50:02.346-07:00</app:edited><title>Meet ratproxy, our passive web security assessment tool</title><content type="html">&lt;span class="byline-author"&gt;Posted by Michal Zalewski&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We're happy to announce that we've just open-sourced &lt;a href="http://code.google.com/p/ratproxy"&gt;ratproxy&lt;/a&gt;, a passive web application security assessment tool that we've been using internally at Google. This utility, developed by our information security engineering team, is designed to transparently analyze legitimate, browser-driven interactions with a tested web property and automatically pinpoint, annotate, and prioritize potential flaws or areas of concern.  &lt;br /&gt;&lt;br /&gt;The proxy analyzes problems such as cross-site script inclusion threats, insufficient cross-site request forgery defenses, caching issues, cross-site scripting candidates, potentially unsafe cross-domain code inclusion schemes and information leakage scenarios, and much more. (A more-detailed discussion of these features and information on securing vulnerable applications is provided &lt;a href="http://code.google.com/p/ratproxy/wiki/RatproxyDoc"&gt;here&lt;/a&gt;.) Compared with more-traditional active crawlers, or with fully manual request inspection and modification frameworks, this approach offers several significant advantages in terms of minimized overhead; marginalized risk of site disruptions; high coverage of complex, client-driven application states in web 2.0 solutions; and insight into dynamic cross-domain trust models.&lt;br /&gt;&lt;br /&gt;We decided to make this tool freely available as open source because we feel it will be a valuable contribution to the information security community, helping advance the community's understanding of security challenges associated with contemporary web technologies. We believe that responsible security research brings a net overall benefit to the safety of the Web as a whole, and have released this tool explicitly to support that kind of research.&lt;br /&gt;&lt;br /&gt;To download the proxy, please visit this &lt;a href="http://ratproxy.googlecode.com/files/ratproxy-1.50.tar.gz"&gt;page&lt;/a&gt;. Also, please keep in mind that the proxy is designed solely to highlight interesting patterns in web applications, and a further analysis by a security professional is often required to interpret the results and their significance for the tested platform.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-2193653239305893818?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=5AvS6vw2"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=sIWTM6AF"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=sIWTM6AF" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/matIm4t6Uks" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/2193653239305893818/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=2193653239305893818&amp;isPopup=true" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2193653239305893818?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2193653239305893818?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/matIm4t6Uks/meet-ratproxy-our-passive-web-security.html" title="Meet ratproxy, our passive web security assessment tool" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">7</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/07/meet-ratproxy-our-passive-web-security.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkANR386eyp7ImA9WxdTGEU.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-663530374649564816</id><published>2008-05-15T13:49:00.000-07:00</published><updated>2008-05-15T13:53:16.113-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-15T13:53:16.113-07:00</app:edited><title>Safe Browsing Diagnostic To The Rescue</title><content type="html">&lt;span class="byline-author"&gt;Posted by Niels Provos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We've been protecting Google users from malicious web pages since 2006 by showing warning labels in Google's search results and by publishing the data via the &lt;a  title="Safe Browsing API" href="http://code.google.com/apis/safebrowsing/" target="_blank"&gt;Safe Browsing API&lt;/a&gt; to client programs such as Firefox and Google Desktop Search. To create our data, we've built a large-scale infrastructure to automatically determine if web pages pose a risk to users. This system has proven to be highly accurate, but we've noted that it can sometimes be difficult for webmasters and users to verify our results, as attackers often use sophisticated obfuscation techniques or inject malicious payloads only under certain conditions. With that in mind, we've developed a Safe Browsing diagnostic page that will provide detailed information about our automatic investigations and findings.&lt;br /&gt;&lt;br /&gt;The &lt;a title="Safe Browsing Diagnostic page" href="http://www.google.com/safebrowsing/diagnostic?site=http://malware.testing.google.test/testing/malware/"&gt;Safe Browsing diagnostic page&lt;/a&gt; of a site is structured into four different categories:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;What is the current listing status for [the site in question]?&lt;/b&gt;&lt;br&gt;&lt;br /&gt;We display the current listing status of a site and also information on how often a site or parts of it were listed in the past.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;What happened when Google visited this site?&lt;/b&gt;&lt;br&gt;&lt;br /&gt;This section includes information on when we analyzed the page, when it was last malicious, what kind of malware we encountered and so fourth.&amp;nbsp;&amp;nbsp; To help web masters clean up their site, we also provide information about the sites that were serving malicious software to users and which sites might have served as intermediaries.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Has this site acted as an intermediary resulting in further distribution of malware?&lt;/b&gt;&lt;br&gt;&lt;br /&gt;Here we provide information if this site has facilitated the distribution of malicious software in the past.  This could be an advertising network or statistics site that accidentally participated in the distribution of malicious software.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Has this site hosted malware?&lt;/b&gt;&lt;br&gt;&lt;br /&gt;Here we provide information if the the site has hosted malicious software in the past.  We also provide information on the victim sites that initiated the distribution of malicious software.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;All information we show is historical over the last ninety days but does not go further into the past.&amp;nbsp;&amp;nbsp; Initially, we are making the Safe Browsing diagnostic page available in two ways.&amp;nbsp; We are adding a link on the &lt;a title="interstitial" href="http://www.google.com/interstitial?url=http://malware.testing.google.test/testing/malware/"&gt;interstitial&lt;/a&gt; page a user sees after clicking on a search result with a warning label, and also via an "additional information" link in Firefox 3's warning page.  Of course, for anyone who wants to know more about how our detection system works, we also provide a detailed &lt;a title="tech report" href="http://research.google.com/archive/provos-2008a.pdf"&gt;tech report [pdf]&lt;/a&gt; including an overview of the detection system and in-depth data analysis.&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-663530374649564816?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=XMKOvTbD"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=Yjj5lHjc"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=Yjj5lHjc" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/86T7u6nfNTo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/663530374649564816/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=663530374649564816&amp;isPopup=true" title="83 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/663530374649564816?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/663530374649564816?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/86T7u6nfNTo/safe-browsing-diagnostic-to-rescue.html" title="Safe Browsing Diagnostic To The Rescue" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">83</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/05/safe-browsing-diagnostic-to-rescue.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8BRHo5eSp7ImA9WxdTEEw.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-8351519294230153907</id><published>2008-05-05T11:38:00.001-07:00</published><updated>2008-05-05T13:04:15.421-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-05T13:04:15.421-07:00</app:edited><title>Contributing To Open Source Software Security</title><content type="html">&lt;span class="byline-author"&gt;Written by Will Drewry&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From &lt;a id="t82-" title="operating systems" href="http://www.linux.org/" target="_blank"&gt;operating systems&lt;/a&gt; to &lt;a id="zafu" title="web browsers" href="http://www.mozilla.org/" target="_blank"&gt;web browsers&lt;/a&gt;, open source software plays a critical role in the operation of the Internet. The security of open source software is therefore quite important, as it often interacts with personal information -- ranging from credit card numbers to medical records -- that needs to be kept safe. There has been a long-lived discussion on whether open source software is inherently more secure than closed source software.  While popular opinion has begun to tilt in favor of openness, there are still arguments for both sides.  Instead of diving into those treacherous waters (or giving weight to the idea of "inherent security"), I'd like to focus on the fruits of this extensive discussion.  In particular, David A. Wheeler laid out a "bottom line" in his &lt;a id="ldw." href="http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO/open-source-security.html"&gt;Secure      Programming for Linux and Unix HOWTO&lt;/a&gt; which applies to both open and closed source software. It predicates real security in software on three actions:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;i&gt;people need to actually review the code&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;i&gt;developers/reviewers need to know how to write secure code&lt;br /&gt;&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;i&gt;once found, security problems need to be fixed quickly, and their                                  fixes distributed quickly&lt;/i&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;While distilling anything down to three steps makes it seem easy, this isn't necessarily the case.  Given how important open source software is to Google, we've attempted to contribute to this bottom line.  As Chris &lt;a title="post" href="http://googleonlinesecurity.blogspot.com/2007/10/auditing-open-source-software.html" id="u6ym"&gt;said before&lt;/a&gt;, our engineers are encouraged to contribute both software and time to open source efforts.  We &lt;a id="m0o9" href="http://www.google.com/search?hl=en&amp;amp;q=%22Google+Security+Team%22+CVE&amp;amp;btnG=Search"&gt;regularly submit&lt;/a&gt; the results of our automated and manual security analysis of open source software back to the community, including related software engineering time. In addition, our engineering teams frequently release software under open source licenses. This software was written either with security in mind, such as with &lt;a id="abc0" href="http://code.google.com/p/bunny-the-fuzzer/"&gt;security testing                                        tools&lt;/a&gt;, or by engineers well-versed in the &lt;a id="ouhv" href="http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications"&gt;security        challenges&lt;/a&gt; of their project.&lt;br /&gt;&lt;br /&gt;These efforts leave one area completely unaddressed -- getting security problems fixed quickly, and then getting those fixes distributed quickly.  It has been unclear how to best resolve this issue.  There is no centralized security authority for open source projects, and operating system distribution publishers are the best bet for getting updates to the highest number of users.  Even if users can get updates in this manner, how should a security researcher contact a particular project's author?  If there's a potential, security-related issue, who can help evaluate the risk for a project?  What resources are there for projects that have been compromised, but have no operational security background? &lt;br /&gt;&lt;br /&gt;I'm proud to announce that Google has sponsored participation in oCERT, the &lt;a title="open source computer emergency response team" href="http://ocert.org/" id="xji8"&gt;open source computer emergency response team&lt;/a&gt;.  oCERT is a volunteer workforce of security professionals from the open source community with the goal of providing security vulnerability mediation and incident response services to open source projects.  It will strive to contact software authors with all security reports and aid in debugging and patching, especially in cases where the author, or the reporter, doesn't have a background in security.  Reliable contacts for projects, publishers, and vendors will be maintained where possible and used for notification when issues arise and fixes are available for mediated issues.  Additionally, oCERT will aid projects of any size with responses to security incidents, such as server compromises. &lt;br /&gt;&lt;br /&gt;It is my hope that this initiative will not only aid in remediating security issues in a timely fashion, but also provide a means for additional security contributions to the open source community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-8351519294230153907?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=khctcBYr"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=xXwmGswO"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=xXwmGswO" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/-DwFl8sEKd0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/8351519294230153907/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=8351519294230153907&amp;isPopup=true" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8351519294230153907?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8351519294230153907?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/-DwFl8sEKd0/contributing-to-open-source-software.html" title="Contributing To Open Source Software Security" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">11</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/05/contributing-to-open-source-software.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIHRnc-eip7ImA9WxZRF0s.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-8430044300368359501</id><published>2008-02-11T13:57:00.001-08:00</published><updated>2008-02-11T14:22:17.952-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-11T14:22:17.952-08:00</app:edited><title>All Your iFrame Are Point to Us</title><content type="html">&lt;span class="byline-author"&gt;Written by Niels Provos, Anti-Malware Team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It has been over a year and a half since we started to identify web pages that infect vulnerable hosts via &lt;i&gt;drive-by downloads&lt;/i&gt;, i.e. web pages that attempt to exploit their visitors by installing and running malware automatically.  During that time we have investigated billions of URLs and found more than three million unique URLs on over 180,000 web sites automatically installing malware.  During the course of our research, we have investigated not only the prevalence of drive-by downloads but also how users are being exposed to malware and how it is being distributed.   Our research paper is currently under peer review, but we are making a &lt;a href="http://research.google.com/archive/provos-2008a.pdf"&gt;technical report [PDF]&lt;/a&gt; available now.  Although our technical report contains a lot more detail, we present some high-level findings here:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Search Results Containing a URL Labeled as Harmful&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_LMSk7hTEaIE/R7DFFTZgEGI/AAAAAAAAGk0/eNxgOyjY3x4/s1600-h/harmful_search_result_pages.png"&gt;&lt;img style="cursor: pointer;" src="http://bp3.blogger.com/_LMSk7hTEaIE/R7DFFTZgEGI/AAAAAAAAGk0/eNxgOyjY3x4/s400/harmful_search_result_pages.png" alt="" id="BLOGGER_PHOTO_ID_5165845467491209314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above graph shows the percentage of daily queries that contain at least one search result labeled as harmful.  In the past few months, more than 1% of all search results contained at least one result that we believe to point to malicious content and the trend seems to be increasing.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Browsing Habits&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Good computer hygiene, such as running automatic updates for the operating system and third-party applications, as well as installing anti-virus products goes a long way in protecting your home computer.  However, we have been wondering if  users' browsing habits impact the likelihood of encountering malicious web pages.   To study this aspect, we took a sample of ~7 million URLs and mapped them to &lt;a title="DMOZ" href="http://www.dmoz.org/"&gt;DMOZ&lt;/a&gt; categories.  Although we found that adult web pages may increase the risk of exploitation, each DMOZ category was affected.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Malicious Content Injection&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To understand if malicious content on a web server is due to poor web server security, we analyzed the version numbers reported by web servers on which we found malicious pages. Specifically, we looked at the Apache and the PHP versions exported as part of a server's response.   We found that over 38% of both Apache and PHP versions were outdated increasing the risk of remote content injection to these servers.&lt;br /&gt;&lt;br /&gt;Our "&lt;a href="http://www.usenix.org/event/hotbots07/tech/full_papers/provos/provos.pdf"&gt;Ghost In the Browser [PDF]&lt;/a&gt;" paper highlighted third-party content as one potential vector of malicious content.  Today, a lot of third-party content is due to advertising.  To assess the extent to which advertising contributes to drive-by downloads, we analyze the distribution chain of malware, i.e. all the intermediary URLs a browser downloads before reaching a malware payload.  We inspected each distribution chain for membership in about 2,000 known advertising networks.  If any URL in the distribution chain corresponds to a known advertising network, we count the whole page as being infectious due to Ads.  In our analysis, we found that on average 2% of malicious web sites were delivering malware via advertising.  The underlying problem is that advertising space is often syndicated to other parties who are not known to the web site owner.  Although non-syndicated advertising networks such as Google Adwords are not affected, any advertising networks practicing syndication needs to carefully study this problem. Our &lt;a href="http://research.google.com/archive/provos-2008a.pdf"&gt;technical report [PDF]&lt;/a&gt; contains more detail including an analysis based on the popularity of web sites.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Structural Properties of Malware Distribution&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Finally, we also investigated the structural properties of malware distribution sites.  Some malware distribution sites had as many as 21,000 regular web sites pointing to them.  We also found that the majority of malware was hosted on web servers located in China.  Interestingly, Chinese malware distribution sites are mostly pointed to by Chinese web servers.&lt;br /&gt;&lt;br /&gt;We hope that an analysis such as this will help us to better understand the malware problem in the future and allow us to protect users all over the Internet from malicious web sites as best as we can.  One thing is clear - we have a lot of work ahead of us.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-8430044300368359501?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=9pBVMnpr"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=NYx2ZFD9"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=NYx2ZFD9" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/8rBZJF8OzRo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/8430044300368359501/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=8430044300368359501&amp;isPopup=true" title="21 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8430044300368359501?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8430044300368359501?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/8rBZJF8OzRo/all-your-iframe-are-point-to-us.html" title="All Your &lt;b&gt;&lt;tt&gt;iFrame&lt;/tt&gt;&lt;/b&gt; Are Point to Us" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp3.blogger.com/_LMSk7hTEaIE/R7DFFTZgEGI/AAAAAAAAGk0/eNxgOyjY3x4/s72-c/harmful_search_result_pages.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">21</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2008/02/all-your-iframe-are-point-to-us.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MBRXw4fCp7ImA9WB9VE0o.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-8870035823860978621</id><published>2007-11-29T14:28:00.000-08:00</published><updated>2007-11-29T14:30:54.234-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-29T14:30:54.234-08:00</app:edited><title>Help us fill in the gaps!</title><content type="html">&lt;span class="byline-author"&gt;Posted by Ian Fette&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;We've been targeting malware &lt;a title="for over a year and a half" href="http://googleblog.blogspot.com/2006/01/putting-stop-to-spyware.html" id="ugj2"&gt;for over a year and a half&lt;/a&gt;, and these efforts are paying off. We are now able to display warnings in search results when a site is known to be malicious, which can help you avoid drive-by downloads and other computer compromises. We are already distributing this data through the &lt;a title="Safe Browsing API" href="http://code.google.com/apis/safebrowsing/" id="fice"&gt;Safe Browsing API&lt;/a&gt;, and we are working on bringing this protection to more users by integrating with more Google products. While these are great steps, we need your help going forward!&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;br /&gt;Currently, we know of hundreds of thousands of websites that attempt to infect people's computers with malware. Unfortunately, we also know that there are more malware sites out there. This is where we need your help in filling in the gaps. If you come across a site that is hosting malware, we now have an easy way for you to let us know about it. If you come across a site that is hosting malware, please fill out &lt;a title="this short form" href="http://www.google.com/safebrowsing/report_badware/" id="y8or"&gt;this short form&lt;/a&gt;. Help us keep the internet safe, and report sites that distribute malware. &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-8870035823860978621?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=ofFSTbFa"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=FWfCNov9"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=FWfCNov9" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/8UHj7YhL4wI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/8870035823860978621/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=8870035823860978621&amp;isPopup=true" title="33 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8870035823860978621?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/8870035823860978621?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/8UHj7YhL4wI/help-us-fill-in-gaps.html" title="Help us fill in the gaps!" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">33</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/11/help-us-fill-in-gaps.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMASXs-eip7ImA9WB9SGEQ.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-7395084475449002722</id><published>2007-10-08T16:13:00.000-07:00</published><updated>2007-10-08T17:40:48.552-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-08T17:40:48.552-07:00</app:edited><title>Auditing open source software</title><content type="html">&lt;span class="byline-author"&gt;Written by Chris Evans, Security Team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Google encourages its employees to contribute back to the open source community, and there is no exception in Google's Security Team. Let's look at some interesting open source vulnerabilities that were located and fixed by members of Google's Security team. It is interesting to classify and aggregate the code flaws leading to the vulnerabilities, to see if any particular type of flaw is more prevalent.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;JDK&lt;/b&gt;. In May 2007, I &lt;a title="released details" href="http://scary.beasts.org/security/CESA-2006-004.html" id="ro-g"&gt;released details&lt;/a&gt; on an interesting bug in the ICC profile parser in Sun's JDK. The bug is particularly interesting because it could be exploited by an evil image. Most previous JDK bugs involve a user having to run a whole evil applet. The key parts of code which demonstrate the bug are as follows:&lt;br /&gt;&lt;blockquote&gt;&lt;code style="font-size: 120%"&gt;&lt;br /&gt;TagOffset = SpGetUInt32 (&amp;Ptr);&lt;br /&gt;if (ProfileSize &amp;lt TagOffset)&lt;br /&gt;&amp;nbsp;&amp;nbsp;return SpStatBadProfileDir;&lt;br /&gt;...&lt;br /&gt;TagSize = SpGetUInt32 (&amp;Ptr);&lt;br /&gt;if (ProfileSize &amp;lt TagOffset + TagSize)&lt;br /&gt;&amp;nbsp;&amp;nbsp;return SpStatBadProfileDir;&lt;br /&gt;...&lt;br /&gt;Ptr = (KpInt32_t *) malloc ((unsigned int)numBytes+HEADER);&lt;br /&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;Both TagSize and TagOffset are untrusted unsigned 32-bit values pulled out of images being parsed. They are added together, causing a classic integer overflow condition and the bypass of the size check. A subsequent additional integer overflow in the allocation of a buffer leads to a heap-based buffer overflow. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;gunzip&lt;/b&gt;. In September 2006, my colleague Tavis Ormandy &lt;a title="reported some interesting vulnerabilities" href="http://www.scary.beasts.org/security/tavis_gzip.txt" id="qbd9"&gt;reported some interesting vulnerabilities&lt;/a&gt; in the gunzip decompressor. They were triggered when an evil compressed archive is decompressed. A lot of programs will automatically pass compressed data through gunzip, making it an interesting attack. The key parts of the code which demonstrate one of the bugs are as follows:&lt;br /&gt;&lt;blockquote&gt;&lt;code style="font-size: 120%"&gt;&lt;br /&gt;ush count[17], weight[17], start[18], *p;&lt;br /&gt;...&lt;br /&gt;for (i = 0; i &amp;lt (unsigned)nchar; i++) count[bitlen[i]]++;&lt;br /&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;Here, the stack-based array "count" is indexed by values in the "bitlen" array. These values are under the control of data in the incoming untrusted compressed data, and were not checked for being within the bounds of the "count" array. This led to corruption of data on the stack.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;libtiff&lt;/b&gt;. In August 2006, Tavis &lt;a title="reported a range of security vulnerabilities" href="http://www.scary.beasts.org/security/tavis_libtiff.txt" id="lkkz"&gt;reported a range of security vulnerabilities&lt;/a&gt; in the libtiff image parsing library. A lot of image manipulation programs and services will be using libtiff if they handle TIFF format files. So, an evil TIFF file could compromise a lot of desktops or even servers. The key parts of the code which demonstrate one of the bugs are as follows:&lt;br /&gt;&lt;blockquote&gt;&lt;code style="font-size: 120%"&gt;&lt;br /&gt;if (sp-&amp;gt;cinfo.d.image_width != segment_width ||&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sp-&amp;gt;cinfo.d.image_height != segment_height) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;TIFFWarningExt(tif-&amp;gt;tif_clientdata, module,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Improper JPEG strip/tile size, expected %dx%d, got %dx%d",&lt;br /&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;Here, a TIFF file containing a JPEG image is being processed. In this case, both the TIFF header and the embedded JPEG image contain their own copies of the width and height of the image in pixels. This check above notices when these values differ, issues a warning, and continues. The destination buffer for the pixels is allocated based on the TIFF header values, and it is filled based on the JPEG values. This leads to a buffer overflow if a malicious image file contains a JPEG with larger dimensions than those in the TIFF header. Presumably the intent here was to support broken files where the embedded JPEG had smaller dimensions than those in the TIFF header. However, the consequences of larger dimensions that those in the TIFF header had not been considered.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;We can draw some interesting conclusions from these bugs. The specific vulnerabilities are integer overflows, out-of-bounds array accesses and buffer overflows. However, the general theme is using an integer from an untrusted source without adequately sanity checking it. Integer abuse issues are still very common in code, particular code which is decoding untrusted binary data or protocols. We recommend being careful using any such code until it has been vetted for security (by extensive code auditing, fuzz testing, or preferably both). It is also important to watch for security updates for any decoding software you use, and keep patching up to date.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-7395084475449002722?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=AIMgd86f"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=oa3ZHDNZ"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=oa3ZHDNZ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/i5ZqGf1D0A4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/7395084475449002722/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=7395084475449002722&amp;isPopup=true" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7395084475449002722?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7395084475449002722?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/i5ZqGf1D0A4/auditing-open-source-software.html" title="Auditing open source software" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">6</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/10/auditing-open-source-software.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYFRXY-cCp7ImA9WB9TEEk.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-4257308291520481954</id><published>2007-09-17T09:32:00.000-07:00</published><updated>2007-09-17T09:38:34.858-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-09-17T09:38:34.858-07:00</app:edited><title>Information flow tracing and software testing</title><content type="html">&lt;span class="byline-author"&gt;Posted by Will Drewry, Security Team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Security testing of applications is regularly performed using fuzz testing.  As previously discussed on this blog, &lt;a href="http://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html" id="jmad" title="Srinath's Lemon"&gt;Srinath's Lemon&lt;/a&gt; uses a form of smart fuzzing.  Lemon is aware of classes of web application threats and the input families which trigger them, but not all fuzz testing frameworks have to be this complicated. Fuzz testing &lt;a href="http://pages.cs.wisc.edu/%7Ebart/fuzz/fuzz.html" target="_blank"&gt;originally&lt;/a&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt; relied on purely random data, ignorant of specific threats and known dangerous input. Today, this approach is often overlooked in favor of more complicated techniques.  Early sanity checks in applications looking for something as a simple as a version number may render testing with completely random input ineffective.  However, the newer, more complicated fuzz testers require a considerable initial investment in the form of complete input format specifications or the selection of a large corpus of initial input samples.&lt;br /&gt;&lt;br /&gt;At &lt;a href="http://www.usenix.org/events/woot07/tech" target="_blank"&gt;WOOT'07&lt;/a&gt;,I presented a &lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=%22Flayer%3A+Exposing+Application+Internals%22" target="_blank"&gt;paper&lt;/a&gt; on &lt;a href="http://code.google.com/p/flayer" target="_blank"&gt;Flayer&lt;/a&gt;, a tool we developed internally to augment our security testing efforts.  In particular, it allows for a fuzz testing technique that compromises between the original idea and the most complicated.  Flayer makes it possible to remove input sanity checks at execution time. With the small investment of identifying these checks, Flayer allows for completely random testing to be performed with much higher efficacy. Already, we've uncovered multiple vulnerabilities in Internet-critical software using this approach.&lt;br /&gt;&lt;br /&gt;The way that Flayer allows for sanity checks to be identified is perhaps the more interesting point. Flayer uses a &lt;a href="http://valgrind.org/" target="_blank"&gt;dynamic analysis framework&lt;/a&gt; to analyze the target application at execution time. Flayer marks, or taints, input to the program and traces that data throughout its lifespan. Considerable research has been done in the past regarding information flow tracing using dynamic analysis. Primarily, this work has been aimed at malware and exploit detection and defense. However, none of the resulting software has been made publicly available.&lt;br /&gt;&lt;br /&gt;While Flayer is still in its early stages, it is available for &lt;a href="http://code.google.com/p/flayer/downloads/list" target="_blank"&gt;download&lt;/a&gt; under the GNU Public License.  External &lt;a href="http://code.google.com/p/flayer/issues/list" id="wkck" title="contributions"&gt;contributions&lt;/a&gt; and &lt;a href="http://groups.google.com/group/flayer" id="w7dc" title="comments"&gt;feedback&lt;/a&gt; &lt;a href="http://code.google.com/p/flayer/issues/list" id="wkck" title="contributions"&gt;&lt;/a&gt;are encouraged!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-4257308291520481954?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=1j43BTcX"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=8tXSyvKG"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=8tXSyvKG" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/7kYSZQOeJgE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/4257308291520481954/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=4257308291520481954&amp;isPopup=true" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/4257308291520481954?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/4257308291520481954?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/7kYSZQOeJgE/information-flow-tracing-and-software.html" title="Information flow tracing and software testing" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/09/information-flow-tracing-and-software.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYHSXs_fip7ImA9WB5XF0o.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-7122652028700946539</id><published>2007-07-16T11:40:00.000-07:00</published><updated>2007-07-18T09:45:38.546-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-07-18T09:45:38.546-07:00</app:edited><title>Automating web application security testing</title><content type="html">&lt;span class="byline-author"&gt;Posted by Srinath Anantharaju, Security Team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cross-site scripting (aka XSS) is the term used to describe a class of security vulnerabilities in web applications. An attacker can inject malicious scripts to perform unauthorized actions in the context of the victim's web session. Any web application that serves documents that include data from untrusted sources could be vulnerable to XSS if the untrusted data is not appropriately sanitized. A web application that is vulnerable to XSS can be exploited in two major ways:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="FONT-WEIGHT:bold"&gt;Stored XSS&lt;/span&gt; - Commonly exploited in a web application where one user enters information that's viewed by another user. An attacker can inject malicious scripts that are executed in the context of the victim's session. The exploit is triggered when a victim visits the website at some point in the future, such as through improperly sanitized blog comments and guestbook entries, which facilitates stored XSS.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="FONT-WEIGHT:bold"&gt;Reflected XSS &lt;/span&gt;- An application that echoes improperly sanitized user input received as query parameters is vulnerable to reflected XSS. With a vulnerable application, an attacker can craft a malicious URL and send it to the victim via email or any other mode of communication. When the victim visits the tampered link, the page is loaded along with the injected script that is executed in the context of the victim's session.&lt;br /&gt;&lt;br /&gt;The general principle behind preventing XSS is the proper sanitization (via, for instance, escaping or filtering) of all untrusted data that is output by a web application. If untrusted data is output within an HTML document, the appropriate sanitization depends on the specific context in which the data is inserted into the HTML document. The context could be in the regular HTML body, tag attributes, URL attributes, URL query string attributes, style attributes, inside JavaScript, HTTP response headers, etc.&lt;br /&gt;&lt;br /&gt;The following are some (by no means complete) examples of XSS vulnerabilities. Let's assume there is a web application that accepts user input as the 'q' parameter. Untrusted data coming from the attacker is marked in red.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Injection in regular HTML body - angled brackets not filtered or escaped&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&amp;lt;b&amp;gt;Your query '&lt;font color="#ff0000" style="FONT-FAMILY:Courier New"&gt;&amp;lt;script&amp;gt;evil_script()&amp;lt;/script&amp;gt;&lt;/font&gt;' returned xxx results&amp;lt;/b&amp;gt; &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Injection inside tag attributes - double quote not filtered or escaped&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&amp;lt;form ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;input name="q" value="&lt;font color="#ff0000"&gt;blah"&amp;gt;&amp;lt;script&amp;gt;evil_script()&amp;lt;/script&amp;gt;&lt;/font&gt;"&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Injection inside URL attributes - non-http(s) URL&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&amp;lt;img src="&lt;font color="#ff0000"&gt;javascript:evil_script()&lt;/font&gt;"&amp;gt;...&amp;lt;/img&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;In JavaScript context - single quote not filtered or escaped&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&amp;lt;script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;var msg = '&lt;font color="#ff0000"&gt;blah'; evil_script(); //&lt;font color="#000000"&gt;'&lt;/font&gt;&lt;/font&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;// do something with msg variable&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;In the cases where XSS arises from meta characters being inserted from untrusted sources into an HTML document, the issue can be avoided either by filtering/disallowing the meta characters, or by escaping them appropriately for the given HTML context. For example, the HTML meta characters &amp;lt;, &amp;gt;, &amp;amp;, " and ' must be replaced with their corresponding HTML entity references &amp;amp;lt;, &amp;amp;gt;, &amp;amp;amp;, &amp;amp;quot; and &amp;amp;#39 respectively. In a JavaScript-literal context, inserting a backslash in front of \, ', " and converting the carriage returns, line-feeds and tabs into \r, \n and \t respectively should avoid untrusted meta characters being interpreted as code.&lt;br /&gt;&lt;br /&gt;How about an automated tool for finding XSS problems in web applications? Our security team has been developing a black box fuzzing tool called Lemon (deriving from the commonly-recognized name for a defective product). Fuzz testing (also referred to as fault-injection testing) is an automated testing approach based on supplying inputs that are designed to trigger and expose flaws in the application. Our vulnerability testing tool enumerates a web application's URLs and corresponding input parameters. It then iteratively supplies fault strings designed to expose XSS and other vulnerabilities to each input, and analyzes the resulting responses for evidence of such vulnerabilities. Although it started out as an experimental tool, it has proved to be quite effective in finding XSS problems. Besides XSS, it finds other security problems such as response splitting attacks, cookie poisoning problems, stacktrace leaks, encoding issues and charset bugs. Since the tool is homegrown it is easy to integrate into our automated test environment and to extend based on specific needs. We are constantly in the process of adding new attack vectors to improve the tool against known security problems.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt;&lt;br /&gt;I wanted to respond to a few questions that seem to be common among readers.  I've listed them below.  Thanks for the feedback.  Please keep the questions and comments coming.&lt;br /&gt;&lt;br /&gt;Q. Does Google plan to market it at some point?&lt;br /&gt;A. Lemon is highly customized for Google apps and we have no plans of releasing it in near future.&lt;br /&gt;&lt;br /&gt;Q. Did Google's security team check out any commercially available fuzzers? Is the ability to keep improving the fuzzer the main draw of a homegrown tool?&lt;br /&gt;A. We did evaluate commercially available fuzzers but felt that our specialized needs could be served best by developing our own tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-7122652028700946539?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=Pa8aZIiW"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=L65GyLjv"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=L65GyLjv" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/TfI6M87e-00" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/7122652028700946539/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=7122652028700946539&amp;isPopup=true" title="21 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7122652028700946539?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/7122652028700946539?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/TfI6M87e-00/automating-web-application-security.html" title="Automating web application security testing" /><author><name>Panayiotis Mavrommatis</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01400963704759605930" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">21</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/07/automating-web-application-security.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcDSXYzeCp7ImA9WB5XEEw.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-4473627103477740760</id><published>2007-07-09T11:54:00.000-07:00</published><updated>2007-07-09T13:31:18.880-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-07-09T13:31:18.880-07:00</app:edited><title>The reason behind the "We're sorry..." message</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_wLESxcF8BBY/RpKG2OwJMgI/AAAAAAAABZY/MUEcZfcOBgU/s1600-h/wearesorry.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_wLESxcF8BBY/RpKG2OwJMgI/AAAAAAAABZY/MUEcZfcOBgU/s400/wearesorry.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5085275195485794818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span class="byline-author"&gt;Posted by Niels Provos, Anti-Malware Team&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some of you might have seen this message while searching on Google, and wondered what the reason behind it might be. Instead of search results, Google displays the "We're sorry" message when we detect anomalous queries from your network. As a regular user, it is possible to answer a &lt;a href="http://en.wikipedia.org/wiki/Captcha" title="captcha"&gt;CAPTCHA&lt;/a&gt; - a reverse Turing test meant to establish that we are talking to a human user - and to continue searching. However, automated processes such as worms would have a much harder time solving the CAPTCHA. Several things can trigger the &lt;span&gt;&lt;i&gt;sorry&lt;/i&gt;&lt;/span&gt; message. Often it's due to infected computers or DSL routers that proxy search traffic through your network - this may be at home or even at a workplace where one or more computers might be infected. Overly aggressive SEO ranking tools may trigger this message, too. In other cases, we have seen self-propagating worms that use Google search to identify vulnerable web servers on the Internet and then exploit them. The exploited systems in turn then search Google for more vulnerable web servers and so on.&amp;nbsp; This can lead to a noticeable increase in search queries and &lt;span&gt;&lt;i&gt;sorry&lt;/i&gt;&lt;/span&gt; is one of our mechanisms to deal with this.&lt;br/&gt;&lt;br /&gt;At &lt;a href="http://www.eecs.umich.edu/%7Efarnam/worm2006.html" title="ACM WORM 2006"&gt;ACM WORM 2006&lt;/a&gt;, we published a paper on &lt;a href="http://www.citi.umich.edu/u/provos/papers/search_worms.pdf" title="Search Worms"&gt;Search Worms [PDF]&lt;/a&gt; that takes a much closer look at this phenomenon.  &lt;a href="http://en.wikipedia.org/wiki/Santy" title="Santy"&gt;Santy&lt;/a&gt;, one of the search worms we analyzed, looks for remote-execution vulnerabilities in the popular phpBB2 web application. In addition to exhibiting worm like propagation patterns, Santy also installs a botnet client as a payload that connects the compromised web server to an IRC channel. Adversaries can then remotely control the compromised web servers and use them for DDoS attacks, spam or phishing. Over time, the adversaries have realized that even though a botnet consisting of web servers provides a lot of aggregate bandwidth, they can increase leverage by changing the content on the compromised web servers to infect visitors and in turn join the computers of compromised visitors into much larger botnets. This fundamental change from remote attack to client based download of malware formed the basis of the research presented in our &lt;a href="http://googleonlinesecurity.blogspot.com/2007/05/introducing-googles-anti-malware.html" title="first blog post"&gt;first post&lt;/a&gt;. In retrospect, it is interesting to see how two seemingly unrelated problems are tightly connected.&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-4473627103477740760?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=6lpV88Pv"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=sJgLero5"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=sJgLero5" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/9u8XD-RwN54" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/4473627103477740760/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=4473627103477740760&amp;isPopup=true" title="60 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/4473627103477740760?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/4473627103477740760?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/9u8XD-RwN54/reason-behind-were-sorry-message.html" title="The reason behind the &quot;We're sorry...&quot; message" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp1.blogger.com/_wLESxcF8BBY/RpKG2OwJMgI/AAAAAAAABZY/MUEcZfcOBgU/s72-c/wearesorry.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">60</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/07/reason-behind-were-sorry-message.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUARH89cCp7ImA9WB5REk0.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-5775408038980080254</id><published>2007-06-18T14:59:00.000-07:00</published><updated>2007-06-18T15:04:05.168-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-06-18T15:04:05.168-07:00</app:edited><title>Phishers and Malware authors beware!</title><content type="html">&lt;span class="byline-author"&gt;Posted by Brian Rakowski and Garrett Casto, Anti-Phishing and Anti-Malware Teams&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OK, so it might be a little early to declare victory, but we're excited about the &lt;a href="http://code.google.com/apis/safebrowsing/overview.html" title="Safe Browsing API"&gt;Safe Browsing API&lt;/a&gt; we launched today. It provides a simple mechanism for downloading Google's lists of suspected phishing and malware URLs, so now any developer can access the blacklists used in products such as Firefox and Google Desktop.&lt;br /&gt;&lt;p&gt;The API is still experimental, but we hope it will be useful to ISPs, web-hosting companies, and anyone building a site or an application that publishes or transmits user-generated links. &lt;a href="http://code.google.com/apis/safebrowsing/key_signup.html" title="Sign up for an API key"&gt;Sign up for a key&lt;/a&gt; and let us know how we can make the API better. We fully expect to iterate on the design and improve the data behind the API, and we'll be paying close attention to your &lt;a href="http://groups.google.com/group/google-safe-browsing-api" title="user feedback"&gt;feedback&lt;/a&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; as we do that. We  look forward to hearing your thoughts.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-5775408038980080254?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=MnGtSkPd"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=zUrZ2tgv"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=zUrZ2tgv" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/9i5EnfT68pU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/5775408038980080254/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=5775408038980080254&amp;isPopup=true" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5775408038980080254?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5775408038980080254?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/9i5EnfT68pU/phishers-and-malware-authors-beware.html" title="Phishers and Malware authors beware!" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">11</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/06/phishers-and-malware-authors-beware.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMNRXw4cSp7ImA9WB5SFUU.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-5214640820345012438</id><published>2007-06-11T11:35:00.000-07:00</published><updated>2007-06-11T12:01:34.239-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-06-11T12:01:34.239-07:00</app:edited><title>Thwarting a large-scale phishing attack</title><content type="html">&lt;span class="byline-author"&gt;Posted by Colin Whittaker, Anti-Phishing Team&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;In addition to targeting malware, we're interested in combating &lt;a href="http://en.wikipedia.org/wiki/Phishing" title="Phishing"&gt;phishing,&lt;/a&gt; a social engineering attack where criminals attempt to lure unsuspecting web surfers into logging into a fake website that looks like a real website, such as eBay, E-gold or an online bank. Following a successful attack, phishers can steal money out of the victims' accounts or take their identities. To protect our users against phishing, we publish a blacklist of known phishing sites. This blacklist is the basis for the anti-phishing features in the latest versions of Firefox and Google Desktop. Although blacklists are necessarily a step behind as phishers move their phishing pages around, blacklists have proved to be reasonably effective.&lt;/p&gt;&lt;p style="text-align: justify;"&gt;Not all phishing attacks target sites with obvious financial value. Beginning in mid-March, we detected a five-fold increase in overall phishing page views. It turned out that the phishing pages generating 95% of the new phishing traffic targeted &lt;a href="http://myspace.com/" title="MySpace"&gt;MySpace&lt;/a&gt;, the popular social networking site. While a MySpace account does not have any intrinsic monetary value, phishers had come up with ways to monetize this attack. We observed hijacked accounts being used to spread bulletin board spam for some advertising revenue. According to &lt;a href="http://ha.ckers.org/blog/20070508/phishing-social-networking-sites/" title="this interview with a phisher"&gt;this interview with a phisher&lt;/a&gt;, phishers also logged in to the email accounts of the profile owners to harvest financial account information. In any case, phishing MySpace became profitable enough (more than phishing more traditional targets) that many of the active phishers began targeting it.&lt;/p&gt;&lt;p style="text-align: justify;"&gt;Interestingly, the attack vector for this new attack appeared to be MySpace itself, rather than the usual email spam. To observe the phishers' actions, we fed them the login information for a dummy MySpace account. We saw that when phishers compromised a MySpace account, they added links to their phishing page on the stolen profile, which would in turn result in additional users getting compromised. Using a quirk of the CSS supported in MySpace profiles, the phishers injected these links invisibly as see-through images covering compromised profiles. Clicking anywhere on an infected profile, including on links that appeared normal, redirected the user to a phishing page. Here's a sample of some CSS code injected into the "About Me" section of an affected profile:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&amp;lt;a style="text-decoration:none;position:&lt;br /&gt;absolute;top:1px;left:1px;" href="http://myspacev.net"&amp;gt;&amp;lt;img&lt;br /&gt;style="border-width:0px;width:1200px; height:650px;"&lt;br /&gt;src="http://x.myspace.com/images/clear.gif"&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In addition to contributing to the viral growth of the phishing attack, linking directly off of real MySpace content added to the appearance of legitimacy of these phishing pages. In fact, we received thousands of complaints from confused users along the lines of&lt;span class="sub-comment"&gt; "&lt;/span&gt;&lt;span class="sub-comment"&gt;Why won't it let any of my friends look at my pictures?&lt;/span&gt;&lt;span class="sub-comment"&gt;" regarding our warnings on these phishing pages, suggesting that even an explicit warning was not enough to protect many users. The effectiveness of the attack and the increasing sophistication of the phishing pages, some of which were hosted &lt;/span&gt;on &lt;a href="http://www.google.com/search?q=botnets" title="botnets"&gt;botnets&lt;/a&gt; and were near perfect duplications of MySpace's login page, meant that we needed to switch tactics to combat this new threat.&lt;br /&gt;&lt;br /&gt;In late March, we reached out to MySpace to see what we could do to help. We provided lists of the top phishing sites and our anti-phishing blacklist to MySpace so that they could disable compromised accounts with links to those sites. Unfortunately, many of the blocked users did not remove the phishing links when they reactivated their accounts, so the attacks continued to spread. On April 19, MySpace updated their server software so that they could disable bad links in users' profiles without requiring any user action or altering any other profile content. Overnight, overall phishing traffic dropped by a factor of five back to the levels observed in early March. While MySpace phishing continues at much lower volumes, phishers are beginning to move on to new targets.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Things you can do to help end phishing and Internet fraud&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Learn to recognize and avoid phishing. The Anti-Phishing Working Group has a good &lt;a href="http://www.antiphishing.org/consumer_recs.html" title="list of recommendations"&gt;list of recommendations&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Update your software regularly and run an anti-virus program. If a cyber-criminal gains control of your computer through a virus or a software security flaw, he doesn't need to resort to phishing to steal your information.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Use different passwords on different sites and change them periodically. Phishers routinely try to log in to high-value targets, like online banking sites, with the passwords they steal for lower-value sites, like webmail and social networking services.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-5214640820345012438?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=VnRAFITW"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=XJxTGYDk"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=XJxTGYDk" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/TAdiNY9kH6o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/5214640820345012438/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=5214640820345012438&amp;isPopup=true" title="13 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5214640820345012438?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/5214640820345012438?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/TAdiNY9kH6o/thwarting-large-scale-phishing-attack.html" title="Thwarting a large-scale phishing attack" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">13</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/06/thwarting-large-scale-phishing-attack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8ERn86eCp7ImA9WB5SEEs.&quot;"><id>tag:blogger.com,1999:blog-1176949257541686127.post-2880862429622070690</id><published>2007-06-05T09:30:00.000-07:00</published><updated>2007-06-05T10:00:07.110-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-06-05T10:00:07.110-07:00</app:edited><title>Web Server Software and Malware</title><content type="html">Posted by Nagendra Modadugu, Anti-Malware Team&lt;br /&gt;&lt;br /&gt;In this post, we investigate the distribution of web server software to provide insight into how server software is correlated to servers hosting malware binaries or engaging in drive-by-downloads.&lt;br /&gt;&lt;br /&gt;We determine server operating system by examining the 'Server:' HTTP header reported by most web servers. A survey of servers running roughly 80 million domain names reveals the web server software distribution shown below. Note that these figures may have some margin of error as it is not unusual to find hundreds of domains served by a single IP address.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Web server software across the Internet.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_LMSk7hTEaIE/RmWVdyEWsCI/AAAAAAAAEqg/iXdunlloTHc/s1600-h/image1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_LMSk7hTEaIE/RmWVdyEWsCI/AAAAAAAAEqg/iXdunlloTHc/s400/image1.png" alt="" id="BLOGGER_PHOTO_ID_5072624894191513634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Web server software distribution across the Internet.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Our numbers report a slightly larger fraction of Apache servers compared to the &lt;a href="http://news.netcraft.com/archives/web_server_survey.html" title="Netcraft web server survey"&gt;Netcraft web server survey&lt;/a&gt;. Our analysis is based on crawl information and only root URLs were examined, therefore hosts that did not present a root URL (e.g. /index.htm) were not included in the statistics. This may have contributed to the disparity with the Netcraft numbers.&lt;br /&gt;&lt;br /&gt;Amongst Apache servers, about 35% did not report any version information.  Presumably the lack of version information is considered to be a defense against version specific attacks and worms. We observed a long tail of Apache server versions; the top three detected were 1.3.37 (15%), 1.3.33 (7.91%), and 2.0.54 (6.25%).&lt;br /&gt;&lt;br /&gt;Amongst Microsoft servers, IIS 6.0 is by far the most popular version, making up about 80% of all IIS servers.  IIS 5.0 made up most of the remainder.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Web server software across servers distributing malware.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We examined about 70,000 domains that over the past month have been either distributing malware or have been responsible for hosting browser exploits leading to drive-by-downloads.  The breakdown by server software is depicted below.  It is important to note that while many servers serve malware as a result of a server compromise (by remote exploits, password theft via keyloggers, etc.), some servers are configured to serve up exploits by their administrators.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_LMSk7hTEaIE/RmWVoSEWsDI/AAAAAAAAEqo/EZmG71AhWHI/s1600-h/image2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_LMSk7hTEaIE/RmWVoSEWsDI/AAAAAAAAEqo/EZmG71AhWHI/s400/image2.png" alt="" id="BLOGGER_PHOTO_ID_5072625074580140082" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Web server software distribution across malicious servers.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Compared to our sample of servers across the Internet, Microsoft IIS features twice as often (49% vs. 23%) as a malware distributing server.  Amongst Microsoft IIS servers, the share of IIS 6.0 and IIS 5.0 remained the same at 80% and 20% respectively.&lt;br /&gt;&lt;br /&gt;The distribution of top featured Apache server versions was different this time: 1.3.37 (50%), 1.3.34 (12%) and 1.3.33 (5%).  21% of the Apache servers did not report any version information.  Incidentally, version 1.3.37 is the latest Apache server release in the 1.3 series, and it is hence somewhat of a surprise that this version features so prominently.  One other factor we observe is a vast collection of Apache modules in use.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Distribution of web server software by country.&lt;/b&gt;                            &lt;br /&gt;&lt;div style="padding: 1em 0pt; text-align: left;" align="center"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_LMSk7hTEaIE/RmWV6CEWsEI/AAAAAAAAEqw/S9h_8dW_NtQ/s1600-h/image3.png"&gt;&lt;img style="cursor: pointer;" src="http://bp1.blogger.com/_LMSk7hTEaIE/RmWV6CEWsEI/AAAAAAAAEqw/S9h_8dW_NtQ/s400/image3.png" alt="" id="BLOGGER_PHOTO_ID_5072625379522818114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Web server distribution by country&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_LMSk7hTEaIE/RmWWCyEWsFI/AAAAAAAAEq4/5kIjQoX1s4E/s1600-h/image4.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_LMSk7hTEaIE/RmWWCyEWsFI/AAAAAAAAEq4/5kIjQoX1s4E/s400/image4.png" alt="" id="BLOGGER_PHOTO_ID_5072625529846673490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Malicious web server distribution by  country&lt;br /&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_LMSk7hTEaIE/RmWWJSEWsGI/AAAAAAAAErA/y-xbrVReUXs/s1600-h/image5.png"&gt;&lt;img style="cursor: pointer;" src="http://bp2.blogger.com/_LMSk7hTEaIE/RmWWJSEWsGI/AAAAAAAAErA/y-xbrVReUXs/s400/image5.png" alt="" id="BLOGGER_PHOTO_ID_5072625641515823202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;br /&gt;&lt;div style="padding: 1em 0pt;"&gt;&lt;br /&gt;The figure on the left shows the distribution of &lt;b&gt;all&lt;/b&gt; Apache, IIS, and nginx webservers by country. Apache has the largest share, even though there is noticeable variation between countries. The figure on the right shows the distribution, by country, of webserver software of servers either distributing malware or hosting browser exploits. It is very interesting to see that in China and South Korea, a malicious server is much more likely to be running IIS than Apache.&lt;br /&gt;&lt;br /&gt;We suspect that the causes for IIS featuring more prominently in these countries could be due to a combination of factors: first, automatic updates have not been enabled due to software piracy (piracy statistics from &lt;a href="http://www.nationmaster.com/graph/cri_sof_pir_rat-crime-software-piracy-rate" title="Nationmaster"&gt;NationMaster&lt;/a&gt;, and &lt;a href="http://www.bsa.org/globalstudy/" title="BSA"&gt;BSA&lt;/a&gt;), and second, some security patches are not available for pirated copies of Microsoft operating systems.  For instance the patch for a commonly seen ADODB.Stream exploit is &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4D056748-C538-46F6-B7C8-2FBFD0D237E3&amp;amp;DisplayLang=en" title="not available to pirated copies"&gt;not available to pirated copies&lt;/a&gt; of Windows operating systems.&lt;br /&gt;&lt;br /&gt;Overall, we see a mix of results.  In Germany, for instance, Apache is more likely to be serving malware than Microsoft IIS, compared to the overall distributions of these servers.  In Asia, we see the reverse, which is part of the cause of Microsoft IIS having a disproportionately high representation at 49% of malware servers.  In summary, our analysis demonstrates how important it is to keep web servers patched to the latest patch level.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1176949257541686127-2880862429622070690?l=googleonlinesecurity.blogspot.com'/&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=Yp6w47R5"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?a=BKQi63or"&gt;&lt;img src="http://feeds.feedburner.com/~f/GoogleOnlineSecurityBlog?i=BKQi63or" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/meEMq7oHLCk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://googleonlinesecurity.blogspot.com/feeds/2880862429622070690/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=1176949257541686127&amp;postID=2880862429622070690&amp;isPopup=true" title="26 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2880862429622070690?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1176949257541686127/posts/default/2880862429622070690?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/meEMq7oHLCk/web-server-software-and-malware.html" title="Web Server Software and Malware" /><author><name>Niels Provos</name><uri>http://www.blogger.com/profile/17807363822730767592</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="15697171936303523978" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://bp0.blogger.com/_LMSk7hTEaIE/RmWVdyEWsCI/AAAAAAAAEqg/iXdunlloTHc/s72-c/image1.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">26</thr:total><feedburner:origLink>http://googleonlinesecurity.blogspot.com/2007/06/web-server-software-and-malware.html</feedburner:origLink></entry></feed>
