Commentary

George Hulme
 

Toward Buffer Overflow Extinction

The first time a buffer overflow was used as part of an attack on information systems, at least the best I can find, was the infamous 1988 Morris worm. While the Morris worm propagated across Unix, buffer overflows have been the bane of Windows security for years. Microsoft is furthering its efforts to push this problem into the history books.

The first time a buffer overflow was used as part of an attack on information systems, at least the best I can find, was the infamous 1988 Morris worm. While the Morris worm propagated across Unix, buffer overflows have been the bane of Windows security for years. Microsoft is furthering its efforts to push this problem into the history books.Unless you're a programmer, you may never have heard of buffer overflows. But you've probably heard of Code Red, SQL Slammer, MS Blaster, as well as other attacks that buffer overflows made possible. Essentially, buffer overflows are programming errors. They result in the incorrect handling of temporary memory storage areas. And this can result in software crashing, just acting weird, and even be used to inject malicious software onto systems. That's where the worms and software exploits come in, and why it's so important this all-too-common programming mistake goes away.

To that end, Microsoft (as well as CPU manufacturers) started devising ways to make sure unwanted code isn't executed in the default heap or memory stack. It's called Data Execution Prevention (DEP), or No eXecute (NX). The first time this appeared in a Microsoft operating system was with Windows XP SP2. It's part of Vista, as well as Windows Server 2008 and Windows XP SP3.


More Security Insights

White Papers

More >>

Reports

More >>

Webcasts

More >>

Today, in his blog, one of Microsoft's security experts, Michael Howard, announced new application programming interfaces (APIs) that make it easier for Windows developers to add DEP protection in their application.

For those interested in how to implement the new APIs, Howard goes into some detail here.

For those of us who aren't so technically inclined, this is another step in the right direction, should developers employ the tools, toward improved software quality.


Related 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

InformationWeek encourages readers to engage in spirited, healthy debate, including taking us to task. However, InformationWeek 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. InformationWeek 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.
T-Shirt Giveaway T-Shirt Giveaway: Each week we're selecting one great comment from our readers. The author of the comment will receive an InformaitonWeek Community t-shirt. So get posting!
Subscribe to RSS

Resource Links