Developing more secure software: Getting started

May 19, 2008, 10: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

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.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff

Crimeware: Understanding New Attacks and Defenses
By Markus Jakobsson, Zulfikar Ramzan
Published Apr 6, 2008 by Addison-Wesley Professional. Part of the Symantec Press series.
Enter now! | Official rules | Sample chapter

Securing VoIP Networks: Threats, Vulnerabilities, and Countermeasures
By Peter Thermos, Ari Takanen
Published Aug 1, 2007 by Addison-Wesley Professional.
Enter now! | Official rules | Sample chapter

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.

More Resources