Concepts View, Exams of Software Development

The CLASP process supports planning, implementing and performing security-related software development activities. The CLASP Resources provide access to ...

Typology: Exams

2021/2022

Uploaded on 09/27/2022

fredk
fredk 🇬🇧

3.7

(12)

285 documents

1 / 547

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Concepts View
CLASP — Comprehensive, Lightweight Application Security Process — is an activity-
driven, role-based set of process components whose core contains formalized best
practices for building security into your existing or new-start software development
lifecycles in a structured, repeatable, and measurable way.
CLASP is the outgrowth of years of extensive field work in which system resources of
many development lifecycles were methodically decomposed in order to create a
comprehensive set of security requirements. These resulting requirements form the
basis of CLASP’s best practices which allow organizations to systematically address
vulnerabilities that, if exploited, can result in the failure of basic security services — e.g.,
confidentiality, authentication, and access control.
Adaptability of CLASP to Existing Development Processes
CLASP is designed to allow you to easily integrate its security-related activities
into your existing application development processes. Each CLASP activity is
divided into discrete process components and linked to one or more specific
project roles. In this way, CLASP provides guidance to project participants —
e.g., project managers, security auditors, developers, architects, testers, and
others — that is easy to adopt to their way of working; this results in
incremental improvements to security that are easily achievable, repeatable,
and measurable.
CLASP Vulnerability Lexicon
CLASP also contains a comprehensive Vulnerability Lexicon that helps
development teams avoid/remediate specific designing/coding errors that can
lead to exploitable security services. The basis of this Lexicon is a highly
flexible taxonomy — i.e., classification structure — that enables development
teams to quickly locate Lexicon information from many perspectives: e.g.,
problem types (i.e., basic causes of vulnerabilities); categories of problem
types; exposure periods; avoidance and mitigation periods; consequences of
exploited vulnerabilities; affected platforms and programming languages; risk
assessment.
Automated Analysis Tools
Much of the information in the CLASP Vulnerability Lexicon can be enforced
through use of automated tools using techniques of static analysis of source
code.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Concepts View and more Exams Software Development in PDF only on Docsity!

Concepts View

CLASP — Comprehensive, Lightweight Application Security Process — is an activity- driven, role-based set of process components whose core contains formalized best practices for building security into your existing or new-start software development lifecycles in a structured, repeatable, and measurable way.

CLASP is the outgrowth of years of extensive field work in which system resources of many development lifecycles were methodically decomposed in order to create a comprehensive set of security requirements. These resulting requirements form the basis of CLASP’s best practices which allow organizations to systematically address vulnerabilities that, if exploited, can result in the failure of basic security services — e.g., confidentiality, authentication, and access control.

- Adaptability of CLASP to Existing Development Processes CLASP is designed to allow you to easily integrate its security-related activities into your existing application development processes. Each CLASP activity is divided into discrete process components and linked to one or more specific project roles. In this way, CLASP provides guidance to project participants — e.g., project managers, security auditors, developers, architects, testers, and others — that is easy to adopt to their way of working; this results in incremental improvements to security that are easily achievable, repeatable, and measurable. - CLASP Vulnerability Lexicon CLASP also contains a comprehensive Vulnerability Lexicon that helps development teams avoid/remediate specific designing/coding errors that can lead to exploitable security services. The basis of this Lexicon is a highly flexible taxonomy — i.e., classification structure — that enables development teams to quickly locate Lexicon information from many perspectives: e.g., problem types (i.e., basic causes of vulnerabilities); categories of problem types; exposure periods; avoidance and mitigation periods; consequences of exploited vulnerabilities; affected platforms and programming languages; risk assessment. - Automated Analysis Tools Much of the information in the CLASP Vulnerability Lexicon can be enforced through use of automated tools using techniques of static analysis of source code.

Version Date: 31 March 2006

CLASP Concepts View — Overview of CLASP Process

Overview of CLASP Process

This section provides an overview of CLASP’s structure and of the dependencies between the CLASP process components and is organized as follows:

- CLASP Views - CLASP Resources - Vulnerability Use Cases

CLASP Views

The CLASP process is presented through five high-level perspectives called CLASP Views. These views are broken down into activities which in turn contain process components. This top-down organization by View > Activity > Process Component allows you to quickly understand the CLASP process, how CLASP pieces interact, and how to apply them to your specific software development lifecycle.

These are the CLASP Views:

- Concepts View - Role-Based View - Activity-Assessment View - Activity-Implementation View - Vulnerability View

The following figure shows the CLASP Views and their interactions:

Version Date: 31 March 2006

CLASP Concepts View — Overview of CLASP Process

CLASP Resources

The CLASP process supports planning, implementing and performing security-related software development activities. The CLASP Resources provide access to artifacts that are especially useful if your project is using tools to help automate CLASP process pieces.

This table lists the name and location of CLASP Resources delivered with CLASP and indicates which CLASP Views they can support:

CLASP Resources Location

- Basic Principles in Application Security (all Views) Resource A - Example of Basic Principle: Input Validation (all Views) Resource B - Example of Basic-Principle Violation: Penetrate-and-Patch Model (all Views)

Resource C

- Core Security Services (all Views; especially III) Resource D - Sample Coding Guideline Worksheets (Views II, III & IV) Note: Each worksheet can be pasted into a MS Word document.

Resource E

- System Assessment Worksheets (Views III & IV) Note: Each worksheet can be pasted into a MS Word document.

Resource F

- Sample Road Map: Legacy Projects (View III) Resource G - Sample Road Map: New-Start Projects (View III) Resource G - Creating the Process Engineering Plan (View III) Resource H - Forming the Process Engineering Team (View III) Resource I - Glossary of Security Terms (all Views) Resource J

Version Date: 31 March 2006

CLASP Concepts View — Overview of CLASP Process

Vulnerability Use Cases

The CLASP Vulnerability Use Cases depict conditions under which security services can become vulnerable in software applications. The Use Cases provide CLASP users with easy-to-understand, specific examples of the cause-and-effect relationship between security-unaware design/source coding and possible resulting vulnerabilities in basic security services — e.g., authentication authorization, confidentiality, availability, accountability, and non-repudiation.

The CLASP Vulnerability Use Cases are based on the following common component architectures:

- Monolithic UNIX - Monolithic mainframe - Distributed architecture (HTTP[S] & TCP/IP)

It is recommended to understand the CLASP Use Cases as a bridge from the Concepts View of CLASP to the Vulnerability Lexicon (in the Vulnerability View) since they provide specific examples of security services becoming vulnerable in software applications

The following diagram depicts a recommended position of the Use Cases within the CLASP process:

Version Date: 31 March 2006

CLASP Concepts View — CLASP Best Practices

CLASP Best Practices

If security vulnerabilities built into your applications’ source code survive into production, they can become corporate liabilities with broad and severe business impact on your organization. In view of the consequences of exploited security vulnerabilities, there is no reasonable alternative to using best practices of application security as early as possible in — and throughout — your software development lifecycle.

To be effective, best practices of software application security must have a reliable process to guide a development team in creating and deploying a software application that is as resistant as possible to security vulnerabilities.

Within a software development project, the CLASP Best Practices are the basis of all security-related software development activities — whether planning, designing or implementing — including the use of all tools and techniques that support CLASP.

These are the CLASP Best Practices:

- Institute awareness programs. Essential security concepts and techniques may be foreign to your organization’s software developers and others involved in application

Version Date: 31 March 2006

CLASP Concepts View — CLASP Best Practices

development and deployment. So it is imperative at the outset to educate everyone involved. It is critical that project managers — as the driving force behind most application development or upgrade projects — consider security to be an important project goal, both through training and accountability. Awareness programs can be readily implemented, using external expert resources, as appropriate, and deliver a high return by helping to ensure that other activities promoting secure software will be implemented effectively.

- Perform application assessments. While it’s true that you cannot test security into an application, application testing and assessments should still be a central component of your overall security strategy. Assessments — particularly automated tests — can find security problems not detected during code or implementation reviews, find security risks introduced by the operational environment, and act as a defense- in-depth mechanism by catching failures in design, specification or implementation. Test and assessment functions are typically owned by a test analyst or by the QA organization but can span the entire life cycle. - Capture security requirements. Ensure that security requirements have the same level of “citizenship” as all other “must haves.” It’s easy for application architects and project managers to focus on functionality when defining requirements, since they support the greater purpose of the application to deliver value to the organization. Security considerations can easily go by the wayside. So it is crucial that security requirements be an explicit part of any application development effort. Among the factors to be considered: - An understanding of how applications will be used, and how they might be misused or attacked. - The assets (data and services) that the application will access or provide, and what level of protection is appropriate given your organization’s appetite for risk, regulations you are subject to, and the potential impact on your reputation should an application be exploited. - The architecture of the application and probable attack vectors. - Potential compensating controls, and their cost and effectiveness. - Implement secure development practices. Defined security activities, artifacts, guidelines and continuous reinforcement should become part of your organization’s overall culture. - Build vulnerability remediation procedures. It is especially important in the context of application updates and enhancements to define which steps will be taken to identify, assess, prioritize and remediate vulnerabilities.

Version Date: 31 March 2006

CLASP Concepts View — CLASP and Security Policies

CLASP and Security Policies

CLASP is a field-proven, comprehensive SDLC process guide that derives from years of cooperation with development teams in resolving security-related issues. CLASP not only implements best practices of application security but also — due to its experience past and present in the field — continually refines application-security best practices.

As a result, a high-level view of CLASP can also help increase awareness of the importance of implementing application security on these organizational levels, from the bottom up: > best practices of application-security > application-security policy > IT security policy > operations security policy > corporate security policy.

Version Date: 31 March 2006

CLASP Concepts View — What is a Security Vulnerability?

What is a Security Vulnerability?

CLASP defines a security vulnerability as a flaw in a software environment — especially in an application — that allows an attacker to assume privileges within the user's

Version Date: 31 March 2006

CLASP Concepts View — What is a Security Vulnerability?

Version Date: 31 March 2006

CLASP Concepts View — Overview of CLASP Taxonomy

Overview of CLASP Taxonomy

The CLASP taxonomy is a high-level classification of the CLASP process, divided into the following classes for better evaluation and resolution of security vulnerabilities in source code:

- Problem types underlying security-related vulnerabilities. - Categories into which the problem types are divided for diagnostic and resolution purposes. - Exposure periods (i.e., SDLC phases) in which vulnerabilities can be inadvertently introduced into application source code. - Consequences of exploited vulnerabilities for basic security services. - Platforms and programming languages which may be affected by a vulnerability. - Resources required for attack against vulnerabilities. - Risk assessment of exploitable/exploited vulnerabilities. - Avoidance and mitigation periods (i.e., SDLC phases) in which preventative measures and countermeasures can be applied.

The following figure illustrates the CLASP taxonomy and the relationship between its parts:

Version Date: 31 March 2006

CLASP Concepts View — Applying CLASP Components

Applying CLASP Components

This page describes a possible sequence for applying CLASP components, using the Sample Coding Guidelines (CLASP Resource E) as a basis.

The steps below describe a possible sequence for applying CLASP components depicted in the figure above:

- Read the CLASP Concepts View to gain an overview of the CLASP process. - In the Concepts View, pay special attention to the page Description of CLASP Process. This page contains a diagram showing, among other things, the location of the 104 CLASP problem types (i.e., basic causes of vulnerabilities), the five high-level, source-code-related categories by which they are organized, and the consequences of exploitable security vulnerabilities for security services. - Read the CLASP Sample Coding Guidelines thoroughly and select a subset of them relevant to your specific software development project. These guidelines contain a set of security-related coding standards to be applied to your project. - Apply the remaining CLASP Resources throughout the planning, design, construction, and testing process, as needed.

Version Date: 31 March 2006

CLASP Concepts View — Applying CLASP Components

- Use the Sample Coding Guidelines to select a subset of the 104 CLASP problem types (i.e., basic causes of vulnerabilities) — located in the CLASP Vulnerability View — which are most important to your project. - Familiarize yourself with the CLASP Role-Based View, which provides an overview of the project roles associated with applying the selected subset of Sample Coding Guidelines, and assign these guidelines to your relevant project personnel — e.g., designer, security auditor, implementers. - Consider the subset of vulnerabilities selected in part though the Sample Coding Guidelines when using the Activity-Assessment View to assess and select the desired subset of 24 activities contained in the Activity- Implementation View.

Version Date: 31 March 2006

CLASP Concepts View — CLASP and IT Internal Controls

This figure centers on Sarbanes-Oxley sections 302, 404 and 409:

Role-Based View

This section contains role-based introductions to the CLASP method and provides a high-level view to project managers of how they and their project team should approach security issues. This section also introduces the basic responsibilities they have. These are meant to be concise introductions that are a starting point for employees when they first need to address software security.