Docsity

Securing Software Development: Best Practices and Threats, Slides of Software Engineering

Partial preview of the text

Download Securing Software Development: Best Practices and Threats and more Slides Software Engineering in PDF only on Docsity!

Secure Software Development

Security Operations

Application of Touchpoints

Requirement andUse cases Architectureand Design Test Plans Code (^) Test ResultsTests and Feedback from the Field

5. Abuse cases 6. Security Requirements 2. Risk Analysis

External Review

4. Risk-Based Security Tests 1. Code Review (Tools) 2. Risk Analysis 3. Penetration Testing 7. Security Operations

Don’t stand so close to me

  • Best Practices
    • Manageable number of simple activities
    • Should be applied throughout the software development process
  • Problem:
    • Software developers: lack of security domain knowledge  limited to functional security
    • Information security professionals: lack of understanding software  limited to reactive security techniques

Software Security Best Practices

  • Abuse cases
  • Business risk analysis
  • Architectural risk analysis
  • Security functionality testing
  • Risk-driven testing
  • Code review
  • Penetration testing
  • Deployment and operations

Abuse Cases

  • Drive non-functional requirements and test scenarios
  • Need information security professionals to understand attacker’s mind
  • Collaboration between software developers and infosec people

Business Risk Analysis

  • “Who cares”
  • Business stakeholders
  • Technology assessment  need software- level assessment
  • Answer security related questions: how much down time, cost of recovery, effect on reputation , etc.

Security Testing

  • In addition to testing functional specifications and requirements, need test for risk-based attacks
  • Understand attacker’s way of thinking

Code Review

  • Requires knowledge of code
  • Need information about attacker’s way of thinking

Deployment and Operations

  • Configuration and customization of software application’s deployment environment
  • Fine tuning security functionality
  • Evaluate entire system’s security properties
  • Apply additional security capabilities if needed

Who are the attackers?

  • Amateurs : regular users, who exploit the vulnerabilities of the computer system - Motivation: easy access to vulnerable resources
  • Crackers : attempt to access computing facilities for which they do not have the authorization - Motivation: enjoy challenge, curiosity
  • Career criminals : professionals who understand the computer system and its vulnerabilities - Motivation: personal gain (e.g., financial)

Types of Attack

Interruption – an asset is destroyed, unavailable or unusable ( availability )  Interception – unauthorized party gains access to an asset ( confidentiality )  Modification – unauthorized party tampers with asset ( integrity )  Fabrication – unauthorized party inserts counterfeit object into the system ( authenticity )  Denial – person denies taking an action ( authenticity )

Vulnerability Monitoring

 Identify security weaknesses

 Methods:

  • Automated tools
  • Human walk-through
  • Surveillance
  • Audit
  • Background checks

Red Team

 Organized group of people attempting to penetrate the security safeguards of the system.

 Assess the security of the system  future improvement

 Requested or permitted by the owner to perform the assessment

 Wide coverage: computer systems, physical resources, programming languages, operational practices, etc.

Building It Secure

 1960s: US Department of Defense (DoD) risk of unsecured information systems

 1981: National Computer Security Center (NCSC) at the NSA

  • DoD Trusted Computer System Evaluation Criteria (TCSEC) == Orange Book