Unix Review > Archives > 2005 > May 2005

UnixReview.com
June 2005

Book Review: Buffer Overflow Attacks: Detect, Exploit, Prevent

Reviewed by Kristy Westphal

Buffer Overflow Attacks: Detect, Exploit, Prevent
By James C. Foster, Vitaly Osipov, Nish Bhalla, Niels Heinen
Syngress, January 2005
ISBN 1-932266-67-4
497 pages

After reading Buffer Overflow Attacks, I found myself highly frustrated at anyone who develops code and who doesn't check for buffer overflows. If you are one of those people, and you don't have this book, get a copy. If you don't choose this book, then find a book somewhere that covers this topic to similar depth. It's important to understand this topic and how to prevent buffer overflows because they are one of the oldest and most-used exploits out there.

This book does an excellent job of walking you through the entire process, from defining buffer overflows to actually writing exploits. It covers Win32 as well as Linux and FreeBSD types of overflows, and deftly points out the differences between them. Keep in mind that overflows are simple in explanation, but as they vary from platform to platform, there are many challenges to getting them right.

Each category of overflow discussed (heap corruption, stack, format strings and Windows buffer overflows) examines the pertinent issues, applies the overflow type to the relevant architecture, shows the exact snippets of code needed to execute a successful exploit, and then analyzes the entire code set. The authors challenge the reader to write code that might be the next headline, but the real point is to educate the reader on how these types of exploits occur and, better yet, how they can be prevented.

Sys Admin Spotlight

CMP DevNet Spotlight

Regular Expressions: Two Easy Steps Better Than One Hard One
Complicated regular expressions and yacc are powerful parsing tools, but they can cause trouble in inexperienced hands. One helpful alternative is "partial evaluation" (PE) or "active data" parsing

In the News

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 11.0

Version 11.0 delivers every issue of Sys Admin from 1992 through 2005 and every issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!




MarketPlace

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Wanna see your ad here?