From: www.itworld.com

Developing more secure software: Getting started

by Julia Allen

May 19, 2008 —

 

As software and security professionals, we will never be able to get ahead
of the game by addressing security solely as an operational issue. Attackers
are creative, ingenious, and increasingly motivated by financial gain. They
have been learning how to exploit software for several decades; the same is
not true for software engineers, and we need to change this.

Project managers responsible for software development need to carefully consider
the knowledge, skills, and competencies of their development team, their organizational
culture's tolerance (and attention span) for change, and the degree to which
sponsoring executives have bought in (a prerequisite for sustaining any improvement
initiative). In some cases, it may be best to start with secure software coding
and testing practices. These are the most mature, have a fair level of automated
support, and can demonstrate some early successes, providing visible benefit
to help software security efforts gain support and build momentum. Recommended
code and testing practices include:

• Training software developers to implement language-specific secure coding
practices and ensuring their use

• Performing source code review using static analysis and other types
of code analysis tools

• Understanding the differences between software security testing
and traditional software testing, and reflecting these in the software test
program

• Conducting risk-based security testing that exercises common mistakes,
suspected software weaknesses, and implemented approaches for mitigating risks
to make sure they work and cannot be circumvented

On the other hand, secure software requirements engineering and architecture
and design practices offer opportunities to address more substantive root cause
issues early in the life cycle that if left unaddressed will show up in code
and test. Recommended requirements engineering and design practices include

• Using a defined process for identifying and documenting security
requirements that includes requirements elicitation, categorization, and prioritization

• Using techniques such as misuse/abuse cases, threat modeling, and
attack patterns to identify security threats. Attack patterns are a blueprint
for creating an attack and include attack prerequisites, related vulnerabilities,
and the skill and resources required to execute the attack

• Defining and using assurance cases to capture, communicate, demonstrate,
and validate desired levels of software security assurance based on defined
properties

• Performing an architectural risk analysis to assess the architecture
and design's ability to meet security requirements and resist, tolerate, and
recover from defined threats

Practice selection and tailoring are specific to each organization and project
based on objectives, constraints, and the criticality of the software under
development.

This excerpt was printed with permission of Pearson Education from the book
Software
Security Engineering
written by Allen,
Julia H.
/ Barnum,
Sean
/ Ellison,
Robert J.
/ McGraw,
Gary
/ Mead,
Nancy R.