OWASP Security Integration System

From OWASP
Revision as of 03:39, 12 September 2019 by MB netblue4 (talk | contribs) (What does SCAT do)

Jump to: navigation, search
OWASP Project Header.jpg

Table of content

  1. What is the Secure code assurance tool
  2. Description of the Secure code assurance tool (SCAT) and how it builds, verifies and assures secure software
  3. See how the SCAT single purpose screens integrate security into each of the SDLC phases
  4. How to import client specific risks, security requirements and tests

What is the Secure code assurance tool

  • Secure code assurance tool (SCAT) is a mechanism for implementing a secure software development process
  • SCAT, guided by COBIT, identifies IT risk, assurance, InfoSec, business and developers as being stakeholders in the software development process
  • SCAT is a developer tool that helps development teams meet these stakeholder requirements and generate an audit trail as evidence of a secure development process
  • What does SCAT do

  • SCAT is a process integrity tool delivering a consistent, authorised and auditable software development process, proving security controls operate efficiently over a period of time. Preventing vulnerabilities from reaching or recurring in production
  • What does SCAT not do

  • SCAT is not a point in time security verification tool for detecting vulnerabilities in production

Description

    SCAT is used by inhouse and third party development teams to build, verify and assure secure software

    Build

    • SCAT uses code level guidance to clearly instructs developers on how to correctly implement security requirements

    Verify

    • SCAT uses a combination of ZAP basic scans and security test plans to verify correct implementation of security requirements

    Assure

    • SCAT centrally stores and publishes test results. Providing traceability through requirements and assurance evidence of correct implementation


    SCAT has the following governance objectives implemented by the following “first line of defense” functions

    SCATGovObj.png

    Benefits realisation: Enabling development teams to deliver at speed

    1. Promoting compliance to security requirements
    2. Minimising the impact of audit and assurance

    Risk optimisation: Minimise the negative and maximise the positive consequences

    1. Informing risk based decision making

    Resource optimisation: Predictable, repeatable and consistent level of security across all teams

    1. Integrating security into the software development process


  • SCAT is a simple 5 screen MVC, C# web application with a small footprint that can be deployed without further complicating development environment
  • SCAT is part of three domains to consider when securing software development
  • I've detailed the other domains in an article that will be published in the Nov/Dec issue of the ISC2 magazine, I will add a link here after publication.



See how developers use SCAT

See below how the Secure code assurance tool integrates security into software development phases

  • Sprint planning phase
  • Objective: Enabling developers to generate security requirements before development begins
    How

    1. Link security risk and requirements to specific technologies
    2. Developers select technologies and get the lit of associated risks and security requirements
    • Developers use the Identify risks screen to
      1. Select the application critical function they are developing/changing
      2. Identify the technologies they are using to develop/change the application critical function
      3. The Secure code assurance tools uses its internal mapping to automatically generate the security requirements associated with using this technology
      4.                See how to use the tools and its internal mapping to generate security requirements
        
    • Product owners use the Secure code requirements screen to
      1. Export security requirements for import into backlog management tools

  • Development phase
  • Objective: Consistent and correct implementation of security requirements across all teams
    How

    1. Organisation approved secure code blocks for each security requirement
    2. ZAP basic vulnerability scan to verify understanding
    • Developers use the Secure development screen to
      1. View and understand how to attack and prevent the risks associated with the critical function
      2. View the secure code requirements to protect against exploitation
      3. View the secure code block to implement the security requirement
      4. After development run a ZAP basic scan to verify security requirements have been correctly implemented
      5.                 See how the tool helps developers understand security requirements and write secure code
        

  • Testing phase
  • Objective: Guide the secure testing process
    How

    1. Providing secure tests plans to test risk/li>
    2. Successful test results from organisational test suite is centrally stored against each risk
    • Testers use the Secure testing screen to
      1. View the test plans required to test the risk
      2. Attach testing result to the test plan as control assurance evidence proving the risk has been mitigated
      3. The Secure code assurance tool does not integrate with any testing tools other than OWASP ZAP. Testing results generated outside of the secure code assurance tool is manually uploaded and stored
      4.                See how the tool helps testers test risk mitigation efforts and store testing evidence
        

  • Approval phase
  • Objective: Streamline the approval and audit process
    How

    1. Providing traceability through requirements by centrally publishing the risk alongside its secure test plan and test results/li>
    2. Giving approvers and auditors all the information they require for their assessment

  • Risk management
  • Objective: Enable risk managers to prioritise, plan and monitor mitigation efforts

    • Risk managers use the Application risk exposure screen to
      1. View each application critical function and the associated risks
      2. Identify where mitigation effort is required by viewing which risks require security requirements
      3. Identify where development effort is required by viewing which security requirements need secure code blocks
      4. Identify where extra testing effort is required by viewing which risks require security test plans
      5.                See how the Application landscape overview screen informs risk based decision making
        



    Preparation phase

    When developing secure software we need to consider both standard secure code and client specific architectural requirements

    Standard secure code requirements

    • SCAT comes out the box with a standard OWASP secure code requirements map. This mapping need to be modified to the specific organisation requirements

    • Information security and development team use the Internal mapping screen to
      1. Map the security requirements to OWASP risks
      2. Map organisation approved secure code blocks to security requirements
      3. Map security test plans to OWASP risks
      4.                See how to setup the SCAT's internal mapping
        

    Client specific architectural requirements

    • To generate these requirements we perform a risk assessment on client application landscape and identify
      1. Critical applications and functions
      2. Risk associated with each critical application function
      3. Architectural security requirements to secure each critical application functions
      4. Client specific secure code blocks to implement security requirements
      5. Secure test plans to verify risk has been mitigated


    • Tool administrators use the Internal mapping screen to
      1. Create json files of the organisation specific risks, security requirements, secure code blocks and tests
      2. Import these into the SCAT
      3.     See how to import organisations specific risks, security requirements, secure code blocks and tests
        



    How does the SCAT implement first line of defence

    Promoting compliance to security requirements

    Internal mapping.png
    • Understand the security requirement: The tool maintains the following internal mapping allowing organisations to translate complex security requirements into code level and testing guidance
      1. Risks mapped to technologies and secure code requirements
      2. Secure code requirements (OWASP ASVS) mapped to secure code building block
      3. Secure test plans (OWASP testing guide) mapped to risks
      4. The second mapping is lifted from OWASP secure knowledge framework and duplicated in the SCAT. I hope to link with the SKF and remove the duplicate functionality from the SCAT tool
    • Verify understanding: The tool also makes use of OWASP ZAP basic scan to scan localhost for vulnerabilities, confirming the correct implementation of security requirements


    Minimising the impact of audit and assurance

    • In the testing and approval phase SCAT allows testers to stores testing evidence against the critical application function and its associated risk. Providing traceability through requirements and centrally storing and publishing test evidence


    Informing risk based decision making

    • For each application critical function, SCAT shows
      1. The risks that impact that application critical function
      2. Security requirements and secure code block to protect against the risk
      3. Test evidence proving risk has been mitigated to within tolerance
    • Allowing risk teams see levels of exposure, easily compare it to tolerance levels. And prioritise and coordinate mitigation activities across teams and the whole application landscape


    Integrating security into the software development process

    Integrate security
    • SCAT wraps security theory, best practices and requirements into set of single purpose security screens. Then plots each of those screens to a specific software development phase
    • Plotting security screens to specific software development phases provides development teams with concise information when and how they need it







    Licensing

    This program is free software: you can redistribute it and/or modify it under the terms of the link GNU Affero General Public License 3.0 as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    Project Resources

    [Installation Package]

    [Source Code]

    Project Leader

    Michael Bergman

    Classifications

    Project Type Files TOOL.jpg
    Incubator Project
    Owasp-defenders-small.png
    Affero General Public License 3.0