Developing more secure software: Getting started

May 19, 2008, 09:29 AM —  Software Engineering Institute, Carnegie Mellon — 

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.

» posted by abennett

Software Engineering Institute, Carnegie Mellon

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

jfruh
Apple syncing patent can't come soon enough

pasmith
New Twitter features borrow from 3rd party clients

Esther Schindler
Open Source Changes the Software Acquisition Process

mikelgan
How to set up continuous podcast play on the new iTunes

David Strom
Five important Windows 7 mobility features

sjvn
Guard your Wi-Fi for your own sake                        

Sandra Henry-Stocker
Grepping on Whole Words

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace