Send to a friend Print

Risk Management

Seven categories of software security flaws

Posted:
11:00 17 Mar 2008
Topics:
Security Flaws & Exploits | Security | Software Types

The seven pernicious kingdoms

Seven attack vectors for software were formulated by Gary McGraw, CTO at secure code development consultancy Cigital, in conjunction with security experts Katrina Tsipenyuk and Brian Chess, which they called "The seven pernicious kingdoms".

 

Input validation

Check user input so attackers can not send confusing or manipulative data to be processed.

 

API abuse

Application programming interfaces (APIs) are ways to access software functions. If you access such features in unexpected ways, you can create security loopholes.

 

Security features

Misusing well-known security features such as encryption and authentication can create gaping holes in your software at the very points where you are trying to make it as secure as possible.

ADVERTISEMENT

 

Time and state

This is a big attack vector for distributed software. Autonomous systems working together across networks need to be aware of each other's state of operation. If attackers can find loopholes to exploit differences in state, distributed applications can be compromised.

 

Errors

Good error handling is critical. Common mistakes involve not handling errors at all, or returning too much information in error messages that can give away clues about a system. Both can render systems vulnerable.

 

Code quality

Poor quality code can make a system vulnerable to unpredictable behaviour. Make sure your code is elegant and performs well to avoid creating security loopholes.

 

Encapsulation

Good security relies on trust boundaries, and understanding what parts of a system, or an organisation, a particular piece of code can touch. Drawing robust trust boundaries around systems will help to stop attackers finding their way in, but this requires code that understands and respects those boundaries.




Special Reports & Profiles

Computer data recovery: An essential guide for IT professionals
Computer data recovery can be a tricky business, usually requiring the help of hard drive data recovery experts. But in all hard drive recovery situations, experts advise users remain calm and not act in a way that will make matters worse.
Security think tank Computer Weekly Security Think Tank
Information security questions answered by experts from: (ISC)2, British Computer Society, Gartner, National Computing Centre, Information Security Forum, Information Systems Security Association, and The Corporate Information Forum
Heathrow Terminal 5 Heathrow Terminal 5 - the latest from Computer Weekly
BAA’s latest London airport terminal, Heathrow Terminal 5 is based on ambitious and innovative use of IT, despite its currebt difficulties. Catch up on the background and latest news
ADVERTISEMENT

Featured Blog

Philip Virgo nominated for New Statesmen New Media AwardPhilip Virgo has been nominated for a New Statesmen New Media Award in the 'Inform and Educate' category....MoreAll blogs
ADVERTISEMENT
Advertisements