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
(Sprint planning phase)
(Sprint planning phase)
Line 94: Line 94:
 
                 [https://youtu.be/WQVzthyGL4U See how to use the tools and its internal mapping to generate security requirements]
 
                 [https://youtu.be/WQVzthyGL4U See how to use the tools and its internal mapping to generate security requirements]
 
             </ol>
 
             </ol>
         <li><b>Developers</b> use the <b>Identify risks</b> screen<br>
+
         <li><b>Product owners</b> use the <b>Secure code requirements</b> screen<br>
 
             <ol>
 
             <ol>
 
                 <li>To export security requirements for import into backlog management tools</li>
 
                 <li>To export security requirements for import into backlog management tools</li>

Revision as of 11:31, 21 August 2019

OWASP Project Header.jpg

Secure code assurance tool (SCAT)

Who uses 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

Why: Problems the tool address

  • Low levels of compliance: Development teams don’t have the time to study and understand the complex security requirements and don’t know how to write code or test code that implements it
  • Compliance and assurance seen as blockers: Approvers and assurance teams delay release while development teams do a post development, blind scramble for evidence to prove they have met security requirements
  • Duplication of effort and inconsistent implementation: Complex application landscapes with multiple dev teams, application and technologies make it difficult for risk managers to answer basic questions like “what is the highest priority risk across our application landscape” and effectively assign resources

What: First line of defense for the software development process

  • SCAT is a secure code assurance tool for both inhouse and third party development teams
  • 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 designed to be the “first line of defense” for the software development processes. And performs the following functions
    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

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

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
        

    Tool setup

    • Information security and development team can also
      1. Define new organisation specific risks and security requirements
      2. Link additional scanning tools

    Security integration system

    There are 3 domains to consider when securing software development.

    1. The secure software development process: Involves securing the way an organisation develops software. So any development change dropped into the process comes out secure on the other end.
    2. Developing secure code: Helping the development team produce secure code. By supporting the development team at each phase of the software development process
    3. Continuous improvement:..........


    This OWASP project focuses on the Developing secure code domain and details the why and how behind 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.


    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