 |
Book Summary InformationAuthor: Kenneth R. Van Wyk, Mark G. Graff Edition: Paperback Audio: English (Unknown); English (Original Language); English (Published) Published: 2003-07 ISBN: 0596002424 Number of pages: 200 Publisher: O'Reilly Media
Book Reviews of Secure Coding: Principles and PracticesBook Review: "Secure Coding" Should Be THE BIBLE For IT Professionals Summary: 5 Stars
There are some books that I believe should be mandatory reading for any person studying computer science, information technology auditing, or some other related fields, and that should also be on the must read lists of any technology professional. I do not often come across a book like this. Secure Coding: Principles and Practices (204 pages , O'Reilly Media, 2003, ISBN 0-596-00242-4) by Mark C. Graff and Kenneth R. van Wyk, however, meets my "must-read" criteria and then some.
Why do I feel this way? The first reason is that the credentials of the authors far exceed those of many other authors I have read. For starters, van Wyk has his engineering degree from Lehigh University, which in some quarters used to be regarded as a far superior engineering schools than Stanford and MIT. As one of the founders of the Computer Emergency Response Team (CERT) at Carnegie Mellon University, van Wyk also served as the Operations Chief of the Defense Information Systems Agency (DISA). Graff, at the time he wrote the book, was the Chief Cyber Security Officer at Lawrence Livermore National Lab and often serves as an Congressional expert witness on Internet security.
When people have credentials such as these, a reader might be afraid to pick up a book like this for fear of being intimidated by the writing of such highly qualified people. But that is the very first surprise of the book: it is written in such a plain-speak fashion with little or no unneeded fluff, that it is extremely easy to grasp their message and see how it would apply to an information technology professional's daily work routine. This is not something easily discounted, as there are many other books out there two to three more pages long that convey less than 50% of what is offered in this book.
The authors follow a very simple and well laid out path in presenting their story. They are up front in saying that if someone claims to be an expert or that they claim they can lock down an application 100%, you should run for the hills (well not exactly in those words). But this extreme is countered with a discussion of why people write bad code, a reason that is often lost on security "experts" and auditors: people are human and respond to the various stimuli in their environment. Nobody likes to write bad code they posit, but sometimes there is not often a choice.
As I read more of the book, I felt that these two individuals should be teaching IT audit classes and security audit classes. They are not afraid to point out that policy (and be extension business processes) should drive architecture and design decisions, not the other way around. They do not pull punches in saying that it can be dangerous to over-architect or over-design an application or system. They clearly lay out their arguments in terms that should be familiar to any IT auditor: controls, risk assessments, threats, and more. For IT developers and administrators, there are more than enough examples and discussions so that their points hit home. There are more than enough tips in the book that taught me new ways to approach my coding.
If you are serious about wanting to do the best job possible, regardless of what you do and want value in any resources you purchase. This book is it. In fact, you can download the first chapter in PDF format from O'Reilly (see link below) to get a feel for what I am talking about.
The Scorecard
Double Eagle on a Par 5
Summary of Secure Coding: Principles and PracticesPractically every day, we read about a new type of attack on computer systems and networks. Viruses, worms, denials of service, and password sniffers are attacking all types of systems -- from banks to major e-commerce sites to seemingly impregnable government and military computers --at an alarming rate. Despite their myriad manifestations and different targets, nearly all attacks have one fundamental cause: the code used to run far too many systems today is not secure. Flaws in its design, implementation, testing, and operations allow attackers all-too-easy access. Secure Coding, by Mark G. Graff and Ken vanWyk, looks at the problem of bad code in a new way. Packed with advice based on the authors' decades of experience in the computer security field, this concise and highly readable book explains why so much code today is filled with vulnerabilities, and tells readers what they must do to avoid writing code that can be exploited by attackers. Writing secure code isn't easy, and there are no quick fixes to bad code. To build code that repels attack, readers need to be vigilant through each stage of the entire code lifecycle: - Architecture: during this stage, applying security principles such as "least privilege" will help limit even the impact of successful attempts to subvert software.
- Design: during this stage, designers must determine how programs will behave when confronted with fatally flawed input data. The book also offers advice about performing security retrofitting when you don't have the source code -- ways of protecting software from being exploited even if bugs can't be fixed.
- Implementation: during this stage, programmers must sanitize all program input (the character streams representing a programs' entire interface with its environment -- not just the command lines and environment variables that are the focus of most security analysis).
- Testing: during this stage, programs must be checked using both static code checkers and runtime testing methods -- for example, the fault injection systems now available to check for the presence of such flaws as buffer overflow.
- Operations: during this stage, patch updates must be installed in a timely fashion. In early 2003, sites that had diligently applied Microsoft SQL Server updates were spared the impact of the Slammer worm that did serious damage to thousands of systems.
Beyond the technical, Secure Coding sheds new light on the economic, psychological, and sheer practical reasons why security vulnerabilities are so ubiquitous today. It presents a new way of thinking about these vulnerabilities and ways that developers can compensate for the factors that have produced such unsecured software in the past. It issues a challenge to all those concerned about computer security to finally make a commitment to building code the right way.
Programming Books
|
 |
|
|
The Web Application Hacker's Handbook: Finding and Exploiting Security Flawsby Dafydd Stuttard, Marcus Pinto Wiley; Published: 2011-09-27; Paperback; BookBest price: $26.42Price in other shops: $50.00
Secure Programming with Static Analysisby Brian Chess, Jacob West Addison-Wesley Professional; Published: 2007-07-09; Paperback; BookBest price: $42.00Price in other shops: $59.99
The CSSLP Prep Guide: Mastering the Certified Secure Software Lifecycle Professionalby Ronald L. Krutz, Alexander J. Fry Wiley; Published: 2009-08-24; Paperback; BookBest price: $40.47Price in other shops: $60.00
The Art of Software Security Assessment: Identifying and Preventing Software Vulnerabilitiesby Mark Dowd, John McDonald, Justin Schuh Addison-Wesley Professional; Published: 2006-11-30; Paperback; BookBest price: $42.71Price in other shops: $67.99
Building Secure Software: How to Avoid Security Problems the Right Wayby John Viega, Gary McGraw Addison-Wesley Professional; Published: 2001-10-04; Hardcover; BookBest price: $33.50Price in other shops: $59.99
The Security Development Lifecycleby Michael Howard, Steve Lipner Microsoft Press; Published: 2006-06-28; Paperback; BookBest price: $17.12Price in other shops: $34.99
Software Security: Building Security Inby Gary McGraw Addison-Wesley Professional; Published: 2006-02-02; Paperback; BookBest price: $39.14Price in other shops: $64.99
24 Deadly Sins of Software Security: Programming Flaws and How to Fix Themby Michael Howard, David LeBlanc, John Viega McGraw-Hill Osborne Media; Published: 2009-09-03; Paperback; BookBest price: $26.82Price in other shops: $49.99
Writing Secure Code, Second Editionby Michael Howard, David LeBlanc MICROSOFT; Microsoft Press; Published: 2003-01-04; Paperback; BookBest price: $14.99Price in other shops: $49.99
Secure Coding in C and C++by Robert C. Seacord Addison-Wesley Professional; Published: 2005-09-19; Paperback; BookBest price: $33.89Price in other shops: $54.99
|