Welcome Guest. | Log In| Register | Membership Benefits
Dark Reading's hacked-off Weblog

Topics:   Hacked Off
  • Email this page E-mail this page
  • |  Print Print this page
  • |   Bookmark and Share

IE7 Zero-Day Lessons

The recent zero-day IE7 vulnerability is a big deal. Hackers used it to hack into hundreds of thousands of machines, if not millions. Both IE7 and Vista are vastly more secure than their predecessors, yet this bug sliced right through them to give the hacker a robust exploit. We need to do a post mortem of this event to figure out what we should do in the future.

Dec 19, 2008 | 12:41 AM | 

By Robert Graham
Dark Reading
The recent zero-day IE7 vulnerability is a big deal. Hackers used it to hack into hundreds of thousands of machines, if not millions. Both IE7 and Vista are vastly more secure than their predecessors, yet this bug sliced right through them to give the hacker a robust exploit. We need to do a post mortem of this event to figure out what we should do in the future."0days" used to be rare, and only the paranoids worried about them. Now 0days are common, and they need to be part of everyone's defense.

Don't look to commercial products to solve this problem for you. Vendors have been falling over themselves to demonstrate how their products can mitigate this vulnerability, but it's mostly exaggeration. For example, in the IDS industry, vendors can create "exploit" signatures, but it appears that at least one of the known exploits was obfuscated to avoid most IDS products.

More important, many products only address this vulnerability if the products have been configured in a certain way -- a way that most of their customers find unacceptable. It's like weight-loss products that guarantee you will lose weight, but only when used with a general program of diet and exercise. (Presumably, if you were willing to diet and exercise, you wouldn't need weight-loss products).

Rather than relying on products, the solution you should be looking for is to reconfigure, or "harden," Windows. Microsoft lists many ways to reconfigure IE7 to mitigate this vulnerability on its security blog about this vulnerability.

Well, if those hardened steps block these exploits, why doesn't IE7 come configured that way in the first place? The answer is that security is a set of trade-offs. Each of these configuration steps breaks something that you may want. You need to figure out what features you actually need, and disable the rest.

The biggest hardening step is disabling JavaScript ("Active Scripting"). This blocks almost all the vulnerabilities that Internet Explorer has had. Unfortunately, the trade-off is that most Websites these days require JavaScript to function. It can't be considered a viable security step if you expect users to surf the Web.

Another big step is to enable DEP. This is a relatively new feature in Windows that blocks hackers from exploiting memory corruption bugs (such as this IE7 0day). Microsoft leaves this feature disabled for fear that it may break some older software, especially ActiveX controls that corporations may use for internal applications. If you don't have something internal that breaks with DEP, enable it. Even if one of your internal applications breaks, you should still enable DEP and fix that application.

Another important choice you need to make is to disable "administrator" access for users. When users infect themselves with either a 0day exploit or by running a virus, the infection is contained because it cannot gain complete control over the machine. It's a tough transition to make, but many large companies have successfully done so.

Internet Explorer has a related "protected" mode that may help. In this mode, users cannot easily download and run software. In theory, this mode has no effect on vulnerabilities. In practice, though, it protects you because most all exploits are simply a first stage downloader of a second program that does the truly nasty stuff. This "protected" mode stops the download, and therefore will protect against the known exploits for the 0day.

This bug is within a Microsoft-specific feature called "data binding." In fact, most IE vulns have been within Microsoft-specific features. Users don't need features like data binding to surf the Web; they would only need these features when using certain Web applications within the company. If your company does not use data binding, then turn it off. Other features you can turn off that might mitigate this 0day are "XML islands" and "OLEDEB32DLL." For the future, you should turn off as much Microsoft-specific stuff as you can, leaving only the bare minimum behind that your custom, in-house stuff needs.

Security is a trade-off. There is no single product or configuration that works for everyone. The solution to this problem, like most problems, is to figure out which trade-offs are appropriate for you.

Robert Graham is CEO of Errata Security. Special to Dark Reading



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS









  1. Cookies, Social Media And FireSheep
  2. SMB Guide To Credit Card Regulations, Part 2: The Low-Hanging Fruit
  3. HP And The Scary Corporate Fifth Column Concept
  4. Taking USB Attacks To The Next Level
  5. NoSQL: Not Much, Anyway
  1. Taking Cybersecurity Lessons To The Bank
  2. Researchers See Real-Time Phishing Jump
  3. 'BlackSheep' Sniffs Out Firesheep WiFi-Hacking
  4. Slideshow: Ten Free Security Monitoring Tools
  5. A Different Spin On Sleuthing Stuxnet
  6. M&A Activity Muddles Database Security
  1. Secure Managed Web Hosting Saves 960.gs from Malicious Hackers
  2. Access Governance as a Business Service: An Integrated Strategy for Automation with ITSM
  3. Business Driven Access Management and Governance: Simplifying the Delivery and Governance of Access Throughout
 
 


 
  Ars Technica
Boing Boing
Channel 9 Forums
CRN Blogs
Dr.Dobb's Portal: Blogs
Engadget
Gizmodo
GrokLaw
  Lifehacker
Schneier on Security
Slashdot
TechCrunch
Techdirt
Techmeme
Valleywag
 
  February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
  May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008