This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "OWASP Security Integration System"

From OWASP
Jump to: navigation, search
(Secure software development procedure using SCAT)
(Description)
Line 29: Line 29:
 
<li>SCAT is a simple 5 screen MVC, C# web application with a small footprint that can be deployed without further complicating development environment</li>
 
<li>SCAT is a simple 5 screen MVC, C# web application with a small footprint that can be deployed without further complicating development environment</li>
 
</ul>
 
</ul>
 +
 +
 +
== <b>Secure software development procedure using SCAT</b>==
 +
See below how the Security code assurance tool integrates security into the phases of software development
 +
<ul>
 +
=== <li>Sprint planning phase</li> ===
 +
    <ul>
 +
        <li><b>Developers</b> use the <b>Identify risks</b> screen<br>
 +
            <ol>
 +
                <li>To Select the application critical function they are developing/changing</li>
 +
                <li>To identify the technologies they are using to develop/change the application critical function</li>
 +
                <li>The Secure code assurance tools uses its internal mapping to automatically generate the security requirements associated with using this technology</li>
 +
                [https://youtu.be/WQVzthyGL4U See how to use the tools and its internal mapping to generate security requirements]
 +
            </ol>
 +
        <li><b>Product owners</b> use the <b>Secure code requirements</b> screen<br>
 +
            <ol>
 +
                <li>To export security requirements for import into backlog management tools</li>
 +
            </ol>
 +
      </li>
 +
    </ul>
 +
 +
=== <li>Development phase</li> ===
 +
    <ul>
 +
        <li><b>Developers</b> use the <b>Secure development</b> screen <br>
 +
            <ol>
 +
                <li>To see and understand how to attack and prevent the risks associated with the critical function</li>
 +
                <li>To see the secure code requirements to protect against exploitation</li>
 +
                <li>To see the secure code block to guide developers to implement security requirements</li>
 +
                <li>After development run a ZAP basic scan to verify security requirements have been correctly implemented </li>
 +
                [https://youtu.be/8J8KMaPnGOs See how the tool helps developers understand security requirements and write secure code]
 +
            </ol>
 +
      </li>
 +
  </ul>
 +
 +
=== <li>Testing phase</li> ===
 +
    <ul>
 +
        <li><b>Testers</b> use the <b>Secure testing</b> screen<br>
 +
            <ol>
 +
                <li>To see the OWASP test plans required to test the risk mitigation efforts</li>
 +
                <li>To attach testing result to the test plan as control assurance evidence proving the risk has been mitigated</li>
 +
                <li>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</li>
 +
                [https://youtu.be/VixapzUB_ts See how the tool helps testers test risk mitigation efforts and store testing evidence]
 +
            </ol>
 +
      </li>
 +
    </ul>
 +
 +
=== <li>Approval phase</li> ===
 +
<ul>
 +
        <li><b>Approvers</b> use the <b>Assurance evidence </b> screen<br>
 +
            <ol>
 +
                <li>To see relevant testing evidence alongside the risk, reducing the time assurance teams need to examine and approve releases</li>
 +
                <li>To see how many of the tests have test results</li>
 +
                [https://youtu.be/VixapzUB_ts See how the tool streamlines the approval process with centrally stored testing evidence]
 +
            </ol>
 +
      </li>
 +
    </ul>
 +
 +
=== <li>Risk management</li> ===
 +
    <ul>
 +
        <li><b>Risk managers</b> use the <b>Application risk exposure</b> screen<br>
 +
            <ol>
 +
                <li>To see each application critical function and the associated risks</li>
 +
                <li>To see the number of <b>security requirements </b>for each risk, and which of those requirements have secure code block.  Allowing risk team to define where mitigation effort is required and monitors the progress of mitigation efforts</li>
 +
                <li>To see the number of <b>security tests</b> for each risk.  Allowing risk team to determine where extra testing effort is required and monitor test coverage and quality</li>
 +
                [https://youtu.be/8pKxorPSq_M See how the Application landscape overview screen informs risk based decision making]
 +
            </ol>
 +
      </li>
 +
    </ul>
  
 
== How: does the SCAT implement first line of defence==
 
== How: does the SCAT implement first line of defence==

Revision as of 16:45, 26 August 2019

OWASP Project Header.jpg

Security integration system

There are 3 domains to consider when securing software development.

  1. The secure software development process
  2. Developing secure code
  3. Continuous improvement


This OWASP project focuses on the Developing secure code domain and the Secure code assurance tool.
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.

Description

  • Secure code assurance tool (SCAT) is designed to be the “first line of defense” for the software development processes. And performs the following functions (see below for more detail)
    1. Promoting compliance to security requirements
    2. Minimising the impact of audit and assurance
    3. Informing risk based decision making
    4. 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


Secure software development procedure using SCAT

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

  • Sprint planning phase
    • Developers use the Identify risks screen
      1. To Select the application critical function they are developing/changing
      2. To 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
      1. To export security requirements for import into backlog management tools

  • Development phase
    • Developers use the Secure development screen
      1. To see and understand how to attack and prevent the risks associated with the critical function
      2. To see the secure code requirements to protect against exploitation
      3. To see the secure code block to guide developers to implement security requirements
      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
    • Testers use the Secure testing screen
      1. To see the OWASP test plans required to test the risk mitigation efforts
      2. To 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
  • Risk management
    • Risk managers use the Application risk exposure screen
      1. To see each application critical function and the associated risks
      2. To see the number of security requirements for each risk, and which of those requirements have secure code block. Allowing risk team to define where mitigation effort is required and monitors the progress of mitigation efforts
      3. To see the number of security tests for each risk. Allowing risk team to determine where extra testing effort is required and monitor test coverage and quality
      4.                See how the Application landscape overview screen informs risk based decision making
        

    How: does the SCAT implement first line of defence

    1. 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
      • The second mapping is lifted from SKF and duplicated in the SCAT. I hope to link with the SKF and remove the duplicate functionality from the SCAT tool

    2. 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

    3. Informing risk based decision making
      • For each application critical function, SCAT shows
        1. The risks that impact that application critical function
        2. Test plans to test that risk and how many test plans have test evidence
        3. Security requirements to protect against the risk
        4. How many security requirements have secure code blocks to guide implementation
      • 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

    4. 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 those screens against a specific SDLC phase
      • Plotting security screen to specific SDLC phases enhances development activities in those phases to include security
      • See below an example Secure software development procedure alongside short videos of how the SCAT tool integrates security

    Preparation phase

    When developing secure software the SCAT helps development teams

    1. Write secure code
    2. Safely deploy in organisation environment


    Write secure code

    • There are security requirements that apply to all web applications e.g. code needs to protect against SQL injection
    • The SCAT uses OWASP risks, security requirements and tests to guide development teams towards writing secure code
    • The SCAT contains the OWASP data map out the box but it needs to be modified to fit the organisation
    • Information security and development team use the Internal mapping screen
      1. To map the security requirements to OWASP risks
      2. To map organisation approved secure code blocks to security requirements
      3. To map security test plans to OWASP risks
      4.                See how to setup the SCAT's internal mapping
        


    Safely deploy in organisation environment

    • Organisations have environment specific security requirements, e.g. Log files in a format that can be consumed by SEIM, which DLP or authentication mechanism to use
    • The SCAT allows organisations to
      1. Create environment specific security requirements
      2. Import environment specific security requirements

    Create environment specific security requirements

    1. Identify the technical components used in client environment
    2. Identify the risks associated with using those technologies
    3. Define a set of security controls for each of the technologies
    4. InfoSec developers develop secure code blocks for each of the client specific secure code
    5. Create client specific SCAT - import data files

    Import environment specific security requirements

    • Information security and development team use the Internal mapping screen
      1. To Import and map environment specific security requirements to risks
      2. To Import and map environment specific secure code blocks to security requirements
      3. To Import and map environment specific security test plans to risks
      4.                [ See how the SCAT imports organisations environment specific security requirements]
        

    Who uses Secure code assurance tool (SCAT)

    • Information security, risk, assurance and compliance teams define strategic direction in security policies and requirements
    • Software development teams need to implement strategic direction in code. But don't always have time to study and understand huge security policy documents or complex requirements
    • SCAT is the integration layer between strategic direction and implementation and translates strategic security direction into code level and testing guidance
    • SCAT uses guidance, training, validation and integration to secure software and promote compliance, rather than costly post development policing

    Licensing

    A project must be licensed under a community friendly or open source license.  For more information on OWASP recommended licenses, please see OWASP Licenses. While OWASP does not promote any particular license over another, the vast majority of projects have chosen a Creative Commons license variant for documentation projects, or a GNU General Public License variant for tools and code projects. This example assumes that you want to use the AGPL 3.0 license.

    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. OWASP XXX and any contributions are Copyright © by {the Project Leader(s) or OWASP} {Year(s)}.

    Roadmap

    As of November, 2013, the highest priorities for the next 6 months are:

    • Complete the first draft of the Tool Project Template
    • Get other people to review the Tool Project Template and provide feedback
    • Incorporate feedback into changes in the Tool Project Template
    • Finalize the Tool Project template and have it reviewed to be promoted from an Incubator Project to a Lab Project

    Subsequent Releases will add

    • Internationalization Support
    • Additional Unit Tests
    • Automated Regression tests

    Getting Involved

    Involvement in the development and promotion of Tool Project Template is actively encouraged! You do not have to be a security expert or a programmer to contribute. Some of the ways you can help are as follows:

Project Resources

This is where you can link to the key locations for project files, including setup programs, the source code repository, online documentation, a Wiki Home Page, threaded discussions about the project, and Issue Tracking system, etc.

Installation Package

Source Code

What's New (Revision History)

Documentation

Wiki Home Page

Issue Tracker

Slide Presentation

Video

Project Leader

A project leader is the individual who decides to lead the project throughout its lifecycle. The project leader is responsible for communicating the project’s progress to the OWASP Foundation, and he/she is ultimately responsible for the project’s deliverables. The project leader must provide OWASP with his/her real name and contact e-mail address for his/her project application to be accepted, as OWASP prides itself on the openness of its products, operations, and members.

Michael Bergman

Related Projects

This is where you can link to other OWASP Projects that are similar to yours.

Classifications

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