Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 10, 1999

Buffer Overflows Leave You Vulnerable to Attacks


RSS
View this exclusive article with VIP access -- click here to join |
See More Security Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

Buffer overflows are a serious problem. A buffer overflow is a condition in a program where the software loads a buffer with data without checking the data for proper length. When the data size exceeds the buffer size and no coded remedy is in place to correct that situation, a buffer overflow occurs because of excess data.

So what's the big deal about buffer overflows? If the excess data destined for the buffer contains shell code or other executable code, the OS might execute the code. The implications are clear: Buffer overflow conditions leave room for attackers to penetrate or deny service to a system with relative ease.

How serious is the problem? Very serious, if you ask me. Over the last 2 weeks, users have reported more than a dozen and a half security risks related to buffer overflows in Windows NT-based applications. This is a staggering figure for reported NT security problems.

Some of the first discoveries of buffer overflows on i386 processors were publicly reported as early as 1995—perhaps even earlier in the underground. Savvy programmers found these problems, developed shell code to help facilitate exploits against the problems, and the rest is, as they say, history. And that history is still being made on an almost daily basis, as witnessed in the barrage of vulnerability reports posted in this newsletter alone.

Knowledge of buffer overflows is not a new revelation; information of this type has been shared in the PC underground for more than a decade. Over the years, countless numbers of security risks have occurred as direct results of poor programming practices that left room for buffer overflows through faulty or nonexistent bounds checking.

I can't understand why developers don't pay acute attention to the reported security risks and learn from other developers' mistakes. The number of buffer overflows reported in just the last 2 weeks shows that developers continue to ignore the warning signs.

It's time we handled this problem more effectively; the eEye Digital Security Team tells me crackers seek out these buffer overflow conditions rampantly. The overflows are easy to find and easy to exploit. If nothing else, the overflows can lead to a hard-to-detect denial of service (DoS) attack, and at worst, they can lead to a complete network compromise.

The bottom line is that, for whatever reason, developers by and large don't take security seriously. But all developers should be aware that security starts with them, the software creators. So if they write code that works but is insecure, the product will remain less-than-acceptable to security-minded consumers.

Security is a red-hot topic, and it will continue to get even hotter. Over a relatively short period of time, a huge number of Windows administrators will learn enough security knowledge and skills to understand which companies don't take security seriously and which companies do. Administrators will learn this by watching for security risk reports, and they'll remember a company when its name appears in those reports. And I think they'll take particular note of any vendors who continually have buffer overflows in their code.

So ask yourself how that might affect your ability to sell products in the future. Sure, you can sell products today, but will you be able to sell them tomorrow? I seriously doubt it. Is it easier to learn adequate coding practices, or is it easier to go out of business due to a bad reputation?

I think the days of old-school programming are long gone. The new school is attentive to buffer overflows and other security implications. To become a decent programmer or security practitioner in today's world, you must be aware of security issues as they surface; otherwise, how can you expect to guard against the risks? The answer is, you can't. Until next time, have a great week.

End of Article



Reader Comments
The article is timely, but my only probelm with it is the comment at the end of the atricle. "I think the days of old-school programming are long gone." I don't know how far back the author goes, but in mainframe programming, there were strict rules as far as resource usage on the server. This buffer overflow problem is either ignorance or the ignoring of server resources and how they need to be used. The latest programmers have a wealth of resources at their fingertips and with that comes many times the abuse of resources. The buffer over flow is a problem but the term "old-school" needs to be clarified.

Izzy Leeds November 15, 1999


The article is timely. However, it failed to provide enough information for a developer to test for the problem identified. Are there references to some sample tests for exposing this problem? Given that those that intend to use these tests for malicious intents already know, why is the article so secretive? Any references for how to detect and fix these type of security holes? Thanks.

sunny November 17, 1999


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

Where is Microsoft NetMeeting in Windows XP?

...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing