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
(Process integrity and point in time in the SDLC)
(What is the Secure code assurance tool (SCAT))
 
(41 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
==What is the Secure code assurance tool (SCAT)==
 
==What is the Secure code assurance tool (SCAT)==
 
<h1><b>What is the SCAT</b></h1>
 
<h1><b>What is the SCAT</b></h1>
 +
 +
[https://www.linkedin.com/pulse/secure-code-assurance-tool-scat-version-20-michael-bergman/ For more information on the <b>why</b> behind the SCAT, read my linkedIn Article here]
  
 
==What is the SCAT==
 
==What is the SCAT==
Line 27: Line 29:
 
</ul>
 
</ul>
  
==Process integrity and point in time in the SDLC==
+
==Process integrity and point in time tools: How they work in the SDLC==
  
 
[[File:Process integrity VS point in time without check.png|800px|center|Process integrity VS point in time without check]]
 
[[File:Process integrity VS point in time without check.png|800px|center|Process integrity VS point in time without check]]
  
<h1><b>Process integrity VS point in time</b></h1>
+
<h1><b>Technical Description</b></h1>
 
 
<p>
 
 
 
==Process integrity==
 
</p>
 
<p>
 
Answers the questions: When a vulnerability is detected
 
</p>
 
<ul>
 
 
 
<li>Do developers <span style="text-decoration:underline;">consistently</span> uses and approved fixes?
 
 
 
<li>Do testers <span style="text-decoration:underline;">consistently</span> write valid test?
 
 
 
<li>Can dev teams <span style="text-decoration:underline;">consistently</span> produce evidence they have done it securely?
 
</li>
 
</ul>
 
<p>
 
<span style="text-decoration:underline;">Consistency is important</span>: It means that when a vulnerability is detected it is fixed and <span style="text-decoration:underline;">will not reoccur</span> in the next sprint or when a new developer joins the team.  Only when consistency is in place can organisations begin improving and <span style="text-decoration:underline;">maturing the process</span>
 
</p>
 
<p>
 
Process integrity tools<strong> </strong>
 
</p>
 
<ul>
 
 
 
<li>Vulnerability fixes are translated into security controls and built into the process of developing software.  These are verified and each phase  and evidence collected proving they was implemented correctly
 
  
<li>What do we mean by “translated into security controls”?: Detected vulnerabilities are enriched with organisational specifice secure code blocks, trained, verified, evidence collected and monitored for compliance.  Translating vulnerabilities into security controls has a  <span style="text-decoration:underline;">higher upfront setup cost</span>
+
==Without further complicating development environment==
</li>
 
</ul>
 
<p>
 
==Point in time security verification==
 
</p>
 
<p>
 
Answers the question: How many vulnerabilities do we have in production at this moment in time? 
 
</p>
 
<p>
 
Point in time tools
 
</p>
 
 
<ul>
 
<ul>
  
<li>Very good at periodically checking if vulnerabilities have been fixed with a low upfront setup cost
+
<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>Clearly instructs as to what needs to be fixed, but gives little guidance on <span style="text-decoration:underline;">how to</span> fix vulnerabilities
 
 
 
<li>Without guidance and only periodic checking, dev teams <span style="text-decoration:underline;">learn to fix vulnerabilities through trial and error</span> and rely on individual knowledge and experience
 
 
 
  
 +
<li>Integrates with Jira and runs ZAP and SonarQube in docker containers
  
<h1><b>Problems the tool address</b></h1>
+
<li>SCAT is part of three domains to consider when securing software development.  <em>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.</em>
  
==Low levels of compliance==
 
<ul>
 
<li> 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</li>
 
</ul>
 
  
==Compliance and assurance seen as blockers==
 
<ul>
 
<li>Approvers and assurance teams delay release while development teams do a post development, blind scramble for evidence to prove they have met security requirements</li>
 
</ul>
 
==Duplication of effort and inconsistent implementation==
 
<ul>
 
<li>Complex application landscapes with multiple dev teams, application and technologies make it difficult to control and coordinate development and testing effort</li>
 
</ul>
 
  
 
<h1><b>See how developers use SCAT</b></h1>
 
<h1><b>See how developers use SCAT</b></h1>
Line 232: Line 181:
 
<br>
 
<br>
  
<h1><b> Governance, first line of defence and SCAT</b></h1>
+
<h1>Project information</h1>
 
 
SCAT has the following governance objectives implemented by the following “first line of defense” functions
 
 
 
[[File:SCATGovObj.png|thumb]]
 
=== Benefits realisation: Enabling development teams to deliver at speed===
 
<ol>
 
<li>[https://www.owasp.org/index.php?title=OWASP_Security_Integration_System#Promoting_compliance_to_security_requirements Promoting compliance to security requirements]</li>
 
<li>[https://www.owasp.org/index.php?title=OWASP_Security_Integration_System#Minimising_the_impact_of_audit_and_assurance Minimising the impact of audit and assurance]</li>
 
</ol>
 
=== Risk optimisation: Minimise the negative and maximise the positive consequences===
 
<ol>
 
<li>[https://www.owasp.org/index.php?title=OWASP_Security_Integration_System#Informing_risk_based_decision_making Informing risk based decision making]</li>
 
</ol>
 
=== Resource optimisation: Predictable, repeatable and consistent level of security across all teams ===
 
<ol>
 
<li>[https://www.owasp.org/index.php?title=OWASP_Security_Integration_System#Integrating_security_into_the_software_development_process Integrating security into the software development process]</li>
 
</ol>
 
 
 
<br>
 
 
 
 
 
<div style="background-color:#F2F0F0; padding-left:5pt; padding-bottom:5pt">
 
=== Promoting compliance to security requirements===
 
</div>
 
[[File:Internal mapping.png|thumb]]
 
<ul>
 
    <li>Understand the security requirement: The tool maintains the following internal mapping allowing organisations to translate complex security requirements into code level and testing guidance</li>
 
        <ol>
 
            <li>Risks mapped to technologies and secure code requirements</li>
 
            <li>Secure code requirements (OWASP ASVS) mapped to secure code building block</li>
 
            <li>Secure test plans (OWASP testing guide) mapped to risks</li>
 
            <li>The second mapping is lifted from [[OWASP_Security_Knowledge_Framework|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</li>
 
        </ol>
 
    <li>Verify understanding: The tool also makes use of OWASP ZAP basic scan to scan localhost for vulnerabilities, confirming the correct implementation of security requirements
 
</li>
 
</ul>
 
<br>
 
<div style="background-color:#F2F0F0; padding-left:5pt; padding-bottom:5pt">
 
=== Minimising the impact of audit and assurance===
 
</div>
 
<ul>
 
<li>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</li>
 
</ul>
 
 
 
 
 
<div style="background-color:#F2F0F0; padding-left:5pt; padding-bottom:5pt">
 
=== Informing risk based decision making===
 
</div>
 
<ul>
 
<li>For each application critical function, SCAT shows</li>
 
<ol>
 
<li>The risks that impact that application critical function</li>
 
<li>Security requirements and secure code block to protect against the risk</li>
 
<li>Test evidence proving risk has been mitigated to within tolerance</li>
 
</ol>
 
<li>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</li>
 
</ul>
 
<br>
 
<div style="background-color:#F2F0F0; padding-left:5pt; padding-bottom:5pt">
 
 
 
=== Integrating security into the software development process===
 
</div>
 
[[File:Integrate security.png|thumb|Integrate security]]
 
<ul>
 
<li>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</li>
 
<li>Plotting security screens to specific software development phases provides development teams with concise information when and how they need it</li>
 
</ul>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
<br>
 
  
<h1>Project information</h1>
 
 
==Licensing==
 
==Licensing==
 
This program is free software: you can redistribute it and/or modify it under the terms of the [http://www.gnu.org/licenses/agpl-3.0.html 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.
 
This program is free software: you can redistribute it and/or modify it under the terms of the [http://www.gnu.org/licenses/agpl-3.0.html 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.
 +
 +
== Interested in contributing==
 +
[https://www.linkedin.com/in/michael-bergman-99826212a/ Please send a connect request with subject SCAT]
  
 
== Project Resources ==
 
== Project Resources ==
Line 318: Line 196:
  
 
== Project Leader ==
 
== Project Leader ==
[mailto://netblue4@googlemail.com Michael Bergman]
+
[https://www.linkedin.com/in/michael-bergman-99826212a/ Michael Bergman LinkedIn]
  
 
==Classifications==
 
==Classifications==

Latest revision as of 18:33, 14 October 2019

OWASP Project Header.jpg

What is the Secure code assurance tool (SCAT)

For more information on the why behind the SCAT, read my linkedIn Article here

What is the SCAT

  • SCAT is a process integrity tool, implementing a consistent, authorized and auditable software development process
  • SCAT is used by development teams to build, verify and assure secure software
    • Build: uses a combination of code level guidance, on demand training and DAST tools to train, guide and verify correct implementation
    • Verify: uses a combination of manual test plans and SATS tools to guide and verify correct implementation
    • Assure: centrally stores and publishes evidence of secure development and testing as an audit trail. Providing traceability through requirements and proving that security controls operate efficiently over a period of time
  • SCAT is not a point in time security verification tool for detecting vulnerabilities after development

Process integrity and point in time tools: How they work in the SDLC

Process integrity VS point in time without check

Without further complicating development environment

  • SCAT is a simple 5 screen MVC, C# web application with a small footprint that can be deployed without further complicating development environment
  • Integrates with Jira and runs ZAP and SonarQube in docker containers
  • 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 below how the Secure code assurance tool integrates security into software development phases

Sprint planning phase

Objective: Ensures security requirements are understood

  • Developers use the Identify risks screen to
    1. Select the critical function to developing/changing
    2. Identify the technologies used
    3. Automatically generate the security requirements and tests
    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. Create an audit trail to store evidence of secure development
    2. Create Jira tickets for requirements and tests to manage work

Development phase

Objective: Ensure correct implementation of security requirements

Secure code review phase

Objective: Ensure correct implementation of security requirements

Testing phase

Objective: Ensure valid security testing

Approval phase

Objective: Streamline the approval and audit process

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
      



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
      



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.

Interested in contributing

Please send a connect request with subject SCAT

Project Resources

[Installation Package]

[Source Code]

Project Leader

Michael Bergman LinkedIn

Classifications

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