5 results found
Search Syntax
"regression testing" Exact phrase match
term1, term2 Search for multiple terms (OR)
-keyword Exclude results with keyword
"test plan", "test strategy" Multiple exact phrases
🧠 Smart Search powered by AI semantic matching
ISTQB® Knowledge Assistant
Analyzing your query...
AI-generated summary based on ISTQB syllabus content. Always verify with source material.
Results Overview
5 results
Chapter Select a syllabus first
K-Level
Sort
Refine
Type a keyword to narrow down the results already shown. This filters by title, content, and section — no new search is performed.
 
CT-SEC v2016 Ch.1 – The Basis of Security Testing

1.3.2 – Risk Identification, Assessment and Mitigation

Once the problem areas have been identified by the audit, risk must be evaluated and an improvement plan put in place. The auditor’s report may include recommendations as well as other areas of risk. From this point, risk identification, assessment and mitigation activities can be planned.

Risk identification is the process of documenting a risk or an area of risk. In the context of IT security, the risks are security-related. Risk assessment is the activity that assigns a value to the identified risks. It is important to understand that traditional IT risk assessment models are not sufficient to address IT security risks. Any security risk assessment model or approach should be specifically oriented to IT security risk profiles.

Security risks often are measured in terms of risk exposure. Risk exposure is computed by multiplying the potential impact or loss by the likelihood of that loss occurring. For example, if one customer’s account information is compromised, what would be the impact? What if that customer had $100 million of assets on deposit?

The likelihood of occurrence can be determined by applying a security risk assessment model such as that found in NIST Publication 800-30, Guide for Conducting Risk Assessments [NIST 800-30]. Another excellent guide to performing security risk assessments is the OWASP Risk Rating Methodology [OWASP2]. The following information is abstracted from [NIST 800-30].

Risk models define the risk factors to be assessed and the relationships among those factors. Risk factors are characteristics used in risk models as inputs to determining levels of risk in risk assessments. Risk factors are also used extensively in risk communications to highlight what strongly affects the levels of risk in particular situations, circumstances, or contexts.

Typical risk factors include threat, vulnerability, impact, likelihood, and predisposing condition. Risk factors can be decomposed into more detailed characteristics (e.g., threats decomposed into threat sources and threat events). These definitions are important for organizations to document prior to conducting risk assessments because the assessments rely upon well-defined attributes of threats, vulnerabilities, impact, and other risk factors to effectively determine risk.

Threats

A threat is any circumstance or event with the potential to adversely impact organizational operations and assets, individuals, other organizations, or a country through an information system via unauthorized access, destruction, disclosure, or modification of information, and/or denial of service.

Threat events are caused by threat sources. A threat source is characterized as:

  • The intent and method targeted at the exploitation of a vulnerability; or
  • A situation and method that may accidentally exploit a vulnerability.

In general, types of threat sources include:

  • Hostile cyber or physical attacks
  • Human errors of omission or commission
  • Structural failures of organization-controlled resources (e.g., hardware, software, environmental controls)
  • Natural and man-made disasters, accidents, and failures beyond the control of the organization.

Various taxonomies of threat sources have been developed. Some taxonomies of threat sources use the type of adverse impacts as an organizing principle. Multiple threat sources can initiate or cause the same threat event—for example, a provisioning server can be taken offline by a denial-of-service attack, a deliberate act by a malicious system administrator, an administrative error, a hardware fault, or a power failure.

Vulnerabilities and Predisposing Conditions

A vulnerability is a weakness in an information system, system security procedures, internal controls, or implementation that could be exploited by a threat source.

Most information system vulnerabilities can be associated with security controls that either have not been applied (either intentionally or unintentionally), or have been applied but retain some weakness. However, it is also important to allow for the possibility of emergent vulnerabilities that can arise naturally over time as organizational missions/business functions evolve, environments of operation change, new technologies proliferate, and new threats emerge. In the context of such changes, existing security controls may become inadequate and may need to be reassessed for effectiveness. The tendency for security controls to potentially degrade in effectiveness over time reinforces the need to maintain risk assessments during the entire software lifecycle and also the importance of continuous monitoring programs to obtain ongoing situational awareness of the organizational security posture.

Vulnerabilities are not identified only within information systems. Viewing information systems in a broader context, vulnerabilities can be found in organizational governance structures (e.g., the lack of effective risk management strategies and adequate risk framing, poor intra-agency communications, inconsistent decisions about relative priorities of missions/business functions, or misalignment of enterprise architecture to support mission/business activities).

Vulnerabilities can also be found in external relationships (e.g., dependencies on particular energy sources, supply chains, information technologies, and telecommunications providers), mission/business processes (e.g., poorly defined processes or processes that are not risk-aware), and enterprise/information security architectures (e.g., poor architectural decisions resulting in lack of diversity or resiliency in organizational information systems).

Impact

The level of impact from a threat event is the magnitude of harm that can be expected to result from the consequences of unauthorized disclosure of information, unauthorized modification of information, unauthorized destruction of information, or loss of information or information system availability. Such harm can be experienced by a variety of organizational and non-organizational stakeholders including:

  • Heads of agencies
  • Mission and business owners
  • Information owners/stewards
  • Mission/business process owners
  • Information system owners
  • Individuals/groups in the public or private sectors relying on the organization—in essence, anyone with a vested interest in the organization’s operations, assets, or individuals, including other organizations in partnership with the organization, or a country

The following information should be explicitly documented by an organization:

  • The process used to conduct impact determinations
  • Assumptions related to impact determinations
  • Sources and methods for obtaining impact information
  • The rationale for conclusions reached with regard to impact determinations

Organizations may explicitly define how established priorities and values guide the identification of highvalue assets and the potential adverse impacts to organizational stakeholders. If such information is not defined, priorities and values related to identifying targets of threat sources and associated organizational impacts can typically be derived from strategic planning and policies. For example, security categorization levels indicate the organizational impacts of compromising different types of information.

Likelihood

The likelihood of occurrence addresses the probability (or possibility) that the threat event will result in an adverse impact, regardless of the magnitude of harm that can be expected. This is a weighted risk factor based on an analysis of the probability that a given threat is capable of exploiting a given vulnerability (or set of vulnerabilities). The likelihood risk factor combines an estimate of the likelihood that the threat event will be initiated with an estimate of the likelihood of impact (i.e., the likelihood that the threat event will result in adverse impacts).

For adversarial threats, an assessment of likelihood of occurrence is typically based on:

  • Adversary intent
  • Adversary capability
  • Adversary targeting

For other than adversarial threat events, the likelihood of occurrence is estimated using historical evidence, empirical data, or other factors. Note that the likelihood that a threat event will be initiated or will occur is assessed with respect to a specific time frame (e.g., the next six months, the next year, or the period until a specified milestone is reached).

If a threat event is almost certain to be initiated or occur in the (specified or implicit) time frame, the risk assessment may take into consideration the estimated frequency of the event. The likelihood of threat occurrence can also be based on the state of the organization (including, for example, its core mission/business processes, enterprise architecture, information security architecture, information systems, and environments in which those systems operate. Predisposing conditions and the presence and effectiveness of deployed security controls to protect against unauthorized/undesirable behavior, detect and limit damage, and/or maintain or restore mission/business capabilities should also be taken into consideration.

Determining the Level of Security Risk

The likelihood of occurrence assessment and the impact assessment can be combined to calculate an overall severity for the risk. Specific assessment scores may be used as the basis of the completing the risk matrix. In other cases, estimates (low, medium or high) may be used.

The scoring for the risk matrix can be based on a scale of 0 – 9, where the numeric values are determined by specific criteria. For example, risk likelihood criteria could be evaluated for data privacy as:

0 - <3 (Low) Private data is not stored on local devices and is encrypted when stored on secure media. 3 - <6 (Medium) Private data may reside on devices such as notebook computers, but is encrypted. 6 - 9 (High) It is not known exactly if private data resides on local devices. Encryption cannot be assured.

Likewise, risk impact criteria could be assessed on the same 0 – 9 scale based on specific criteria. For example:

  1. - <3 (Low) Compromise of private data would impact fewer than 200 people.
  2. - <6 (Medium) Compromise of private data would impact between 200 and 1,000 people. 6 - 9 (High) Compromise of private data would impact over 1,000 people.

However the tester arrives at the likelihood and impact estimates, the estimates can be combined into a final severity rating for the risk item. If there is good business impact information, that should be used instead of the technical impact information. If there is no information about the business, then technical impact is the next best thing.

Below is a sample view of a risk matrix that can be used to determine the severity of individual risks.

Overall Risk Severity
Risk Impact High Medium High Critical
Medium Medium Medium High
Low Low Low Medium
  Low Medium High
  Risk Likelihood

In the example matrix above, if the likelihood is medium and the impact is high, the overall severity is high.

In addition, the risk assessment report should identify if the risk is ongoing. Continual risks indicate an increased likelihood that a loss will occur.

The severity of a risk determines the relative importance of mitigating the risk. The higher the risk severity, the more immediate the requirement for the response. The level of detail provided in any particular risk assessment is consistent with the purpose of the risk assessment and the type of inputs needed to support follow-on likelihood and impact determinations.

Show content Hide content
CTEL-ITP v2011 Ch.6 – Process for Improvement

6.4.1 – Setting Priorities.

LO-6.4.1: Summarize the activities of the Establishing phase of the IDEAL improvement framework
Related exam questions
K2 Understand 56% match
Go to Syllabus p.46

The recommendations from the ”establishing” phase are prioritized according to a list of criteria, each of which may be weighted according to the need for the improvement and the stakeholders involved.

At a minimum the following criteria should be considered:

  • Duration of improvement - A balance needs to be achieved between short-term and long-term improvements. Short-term improvements (“Quick-Wins”) have the advantage of quickly showing return on investment and may have a strong motivational role on the implementing team. Long-term improvements may address some of the fundamental improvements in the testing process, including cultural and organizational issues.
  • Implementation risk - Many improvements require a change to existing testing practices. There is a risk of failure associated with each of those improvements. The following factors will need to be considered:
    • Ability to return to an existing state if the improvement has to be abandoned
    • Overall impact on the entire improvement program of “key” improvements, especially if other improvements are dependent on the success of this particular measure
    • Ability to actually implement the improvement. Are sufficient resources available? Are key members of the improvement team likely to be allocated to other tasks? Can risks be identified within the change process (see Chapter 8), such as resistance to particular changes?
    • Cost/benefit of the proposed improvement (possibly expressed as a value of “Return on Investment”)
  • Link to objectives - Can a clear association be made between the proposed improvement and the stated objectives of the business?
  • Leverage - How much impact will this improvement have on specific objectives (e.g., high, medium, low)?
Show content Hide content
CTAL-TM v3.0 Ch.1 – Managing the Test Activities

1.3.4 – Quality Risk Mitigation Through Appropriate Testing

TM-1.3.4: Select appropriate test activities to mitigate risks according to their risk level in a given context
Related exam questions
K4 Analyze 53% match
Go to Syllabus p.30

In software development, testing is the most important quality risk mitigation activity, and makes it possible to reduce the likelihood of failures. Other possible risk mitigation measures include a contingency plan (e.g., by providing workarounds), risk transfer to a third party (e.g., the vendor of a component), or risk acceptance.

In test planning , the time and effort associated with developing and executing a test should be proportional to the risk level: Testing for higher risk levels should start early and use more rigorous test techniques, while testing for lower risk levels may start later and should use less rigorous test techniques. To best mitigate the overall risk through testing, the test manager should analyze the following contextual factors and select an appropriate test approach:

  • The test items: Different test items within a test object may have different levels of the same risk type, so a test object does not need to be tested with uniform rigor
  • The quality characteristics: Risks affecting specific quality characteristics should be mitigated by associated test types which need specific test effort, test environments, and testing skills
  • The test levels and test types: Certain risks may only be tested dynamically on particular test levels; others by static testing, (e.g., static analysis and code reviews for maintainability), or by a combination of both (e.g., by a review of the architecture, and dynamic testing of the integrated system for security vulnerabilities). Testing every test item as early as possible mitigates the risk of finding critical defects late in the lifecycle which would cause higher internal failure costs and delays.
  • The SDLC: Test activities have their own specific entry criteria. Various SDLCs fulfill them at different times.
  • The test team: The most qualified people should test the test items with the highest risk levels.
  • The regulatory requirements: Some safety related standards (e.g., IEC 61508 standard), prescribe the test techniques and the required coverage based on the integrity level. The test manager has to ensure that these standards are followed.

In addition, the risk level should influence quality control decisions such as the use of reviews of work products like test cases, the level of independence of testing from development, and the extent of regression testing performed.

During test monitoring and test control , risk-based testing allows reporting on the test progress in terms of the residual risk level at any point in time. This supports the development team and stakeholders in monitoring and controlling software development, including making release decisions, based on the residual risk level. This requires reporting test results in terms of risks in a way stakeholders can understand.

During test implementation , test prioritization is based on the risk levels. During test execution, this ensures early coverage of the most critical areas and mitigation of the highest level risks.

  • In some cases, tests are prioritized for execution in strict descending order of the levels of risk they cover, starting with the highest. This approach is called depth-first and is appropriate when it is important to mitigate the highest level risks as early as possible.
  • Alternatively, at least one test for each risk is assigned highest priority. All other tests are prioritized based on their levels of risk covered. This approach is called breadth-first and is appropriate when stakeholders want an overall view of the product quality as early as possible. In practice, testing often starts with the depth-first approach, but as time becomes more limited, it switches to the breadth-first approach, testing all remaining risk items at least once.

Whether risk-based testing proceeds depth-first, breadth-first, or combined, the time allocated for testing may be consumed without all planned tests being run. At this point, risk-based testing facilitates the provision of a justified recommendation to management whether to extend testing or to accept the remaining risk.

Show content Hide content
CT-STE v1.0.1 Ch.4 – Security Testing Standards and Best Practices

4.2.1 – Industry Standards for Security Testing

STE-4.2.1: Apply the concept of the Open Web Application Security Project, Common Vulnerability Enumeration, Common Weakness Enumeration, the Common Vulnerability Scoring System and the Common Weakness Scoring System and how to leverage them for security testing
Related exam questions
K3 Apply 51% match
Go to Syllabus p.43

The most established standard in IT security is the series of ISO 27000. The [ISO 27001] standard is internationally accepted and entitled “Information technology — Security techniques — Information security management systems — Overview and vocabulary”. The focus of this standard is on information security management, i.e., to identify risks, to evaluate them and to manage them through information security controls. All these activities are combined in an information security management system (ISMS) which is the overall core of the ISO 27000 standard. The standard is broad in scope and focuses on the general way in which an organization should assess their risks, contrast them with their specific needs and deal with the most relevant risks. The core standard can be applied to all organizations.

The ISO 27000 series consists of more than 40 individual standards, which can be classified into the following:

  • Main standard: General overview and introduction to an ISMS (starting from ISO 27000 to ISO 27005)
  • Topic specific standards to cover specific topics like service management ISO 27013 and public cloud provider ISO 27017 (see [ITGOV23a])
  • Domain specific standards to focus specific domains like telecommunication providers ISO 27011 and financial industry ISO 27015 (see [ITGOV23a])

The most used standards that apply to the context of security testing and cover the relevant test objects and test conditions which the STE should consider, are the following:

  • ISO 27000: This part explains the overall structure of the ISO 27000 series and introduces an ISMS and the role security testing can play.
  • ISO 27001: This is the most used standard, as it lists a comprehensive set of recommendations and security controls to structure and build an individual ISMS. Its focus is to establish a comprehensive view on the relevant assets within an organization, their exposed risks and possible mitigations. [ISO 27001]
  • ISO 27001, Appendix A:

The most important part of ISO 27001 for an STE is presented in this appendix. It lists security controls for different aspects such as access control, disaster recovery and network security. Each of these controls, if applied in a specific context, are important inputs for an STE, as it is their task to measure the effectiveness of a security control. [Cald11]

  • ISO 27002: This standard takes the generic security controls from ISO 27001 and gives some more guidance on how to apply them in practice and how to specify them in more detail for a specific context. [Cald11]
  • ISO 27003: This standard supports an organization to create a plan to establish an ISMS based on ISO 27001.

De facto Standards for Security Testing

There are many de facto standards which can be leveraged by an STE. One of the most important series of de facto standards stems from the MITRE corporation, even though its main business is not to generate standards. MITRE is a private, not-for-profit organization which provides engineering and technical guidance for the federal US government. The most important sponsors of MITRE are the Department of Defense, the Federal Aviation Administration and the Department of Homeland Security [MITRE21].

For the area of security testing, MITRE hosts and maintains the following well-known standards that provide added value for the STE:

Common Attack Pattern Enumeration and Classification (CAPEC™)

CAPEC™ provides a publicly available catalogue of common attack patterns. The idea is to get a better understanding of how attackers exploit weaknesses in applications and other cyber-enabled capabilities. Attack patterns are based on software design patterns for attackers. Two typical entry attack patterns are SQL injection (CAPEC-66) and relative path traversal (CAPEC-139) [CAPEC21].

CAPEC provides different views on its data sets. The most relevant ones are:

  • Domain of attack, such as software, social engineering and physical security. On the highest level CAPEC lists nine domains of attack.
  • Mechanisms of attack, such as inject unexpected items and manipulate system resources. On the highest level CAPEC lists six mechanisms of attack.

Each test object that an STE tests should be located within this catalogue. Often CAPEC is the starting point to get an initial overview of possible attacks that might be relevant for a given system.

The following MITRE standards are used for further refinement for effective security testing:

Common Weakness Enumeration (CWE)

CWE is a list of software/hardware weaknesses. Usually, each common attack pattern has one or more weaknesses that are usable for leveraging a CAPAC attack pattern [CWE21]. CWE uses the concept of views, the most used of which are:

  • Software development, such as an API, bad coding practices and permission issues. On the highest level, CWE lists 40 software development assets.
  • Hardware Design, such as memory and storage issues, core and compute issues and peripherals, on-chip fabric, and interface I/O problems. On the highest level CWE lists 12 hardware design assets.

Each common weakness is an effective starting point for an STE to test whether the underlying attack pattern can be exploited.

Open Web Application Security Project (OWASP)

It is important to realize that CWE and OWASP [OWASP21] overlap and they both list common weaknesses. OWASP is well known for publishing its OWASP Top 10 ranking.

Common Weakness Scoring System (CWSS)

The more common a weakness becomes, the more important it gets to have a prioritization scheme in place. CWSS provides a mechanism for prioritizing weaknesses in a consistent, flexible, open manner [CWSS21]. Prioritization is calculated by three sets of metrics:

  • Base Finding Metric Group:
    • The inherent risk of a weakness, confidence in the accuracy of the finding, and strength of controls is calculated. A typical metric is technical impact”, that ranges from complete control over a system to no technical impact.
  • Attack Surface Metric Group:
    • This calculates the barriers that an attacker must overcome to exploit the weakness. A typical metric is required privilege, that ranges from no privileges required to administrator privileges.
  • Environmental Metric Group:
    • This calculates the characteristics of the weaknesses that are specific to a particular environment or operational context. A typical metric is business impact, that ranges from the business could fail to no impact.

By using specific, predefined weights, all of these metrics can be aggregated into one overall CWSS value for one specific weakness. CWSS can handle unknown metrics by default values or by defining/focusing on an individual metric subset. In addition, many metrics of the Base Finding Metric Group can automatically be calculated by a static analysis tool.

Common Vulnerability Scoring System (CVSS)

A similar prioritization mechanism to CWSS is CVSS [CVSS21], which follows a similar approach, but assumes an existing, deployed vulnerability (see CVE below). Both, CVSS and CWSS are scoring systems for computer security: CVSS is a reactive approach because vulnerabilities already exist before ranking. CWSS is a proactive approach, as you are working with software before releasing it into production. Both approaches are often used together, even if they are not fully compatible (cf. [SecJour21]).

Common Vulnerabilities and Exposures (CVE)

CVE is a database of publicly disclosed information about security issues [CVE21]. A CVE number uniquely identifies a particular vulnerability from the list. CVE helps because it provides a standardized identifier for a given vulnerability within a specific system. If a system is affected by a specific CVE, this vulnerability is a specific instance of a common weakness (CWE) that can be used to do a specific attack (CAPEC). New entries within the CVE repository usually originate from the daily work of STEs. If they identify a new vulnerability unknown to CVE, they can publish it at CVE to engage the security community to identify counter measures.

Best Practices for Security Testing

Best practices only need to achieve a low formal criterion to be considered as best practices. Many best practices may fail after some time if they don’t help. Some will stop being used because of missing publication/marketing, but a few might improve their maturity on their way to being considered for a standard.

One typical mature best practice that is still used today is the STRIDE model which was invented by Microsoft [Micro09]. STRIDE allows for systematic threat modeling from an attacker perspective. The term itself is an acronym for six threat categories, which classifies potential threats: s poofing, t ampering, r epudiation, i nformation disclosure, d enial of service and e levation of privilege.

  • Spoofing identity, i.e., to claim within a system to be a person or system you are not
  • Tampering with data, i.e., the malicious modification of data
  • Repudiation, i.e., threats that take aim at auditing and tracing, ensuring that bad behaviors cannot be proven
  • Information disclosure, i.e., the exposure of information to individuals who are not supposed to have access to it
  • Denial of service, i.e., to deny service to valid users
  • Elevation of privilege, i.e., an unprivileged user gains privileged access.

Generally, STRIDE is used to support developers to consider threats during design and to close identified gaps. The STE can use the same approach to focus on testing.

Show content Hide content
CT-UT v1.0 Ch.5 – Usability Testing

5.6.2 – Usability Findings

UTFL-5.6.2: Understand how to overcome internal resistance to usability findings
Related exam questions
K2 Understand 50% match
Go to Syllabus p.36

A usability finding is a result from a usability evaluation that identifies some important issue, problem, or opportunity.

Positive usability findings are important for the following reasons:

  • They make it easier to sell the need for correcting usability problems by giving a balanced view
  • They communicate to the development team which features should not be modified or deleted
  • It enables a complete view of usability to be obtained

A usability test report should contain a section that describes the most important findings from the usability test and associated recommendations for improvement of the software product.

The description of each finding should include the following items:

  • Classification and severity rating (see below)
  • A header that briefly describes the finding
  • A description of the finding. General statements such as “Error messages are not helpful” should be supported by at least two examples
  • Relevant quotes from test participants relating to the finding (optional)
  • Recommendations for improvement (optional)
  • Screenshots illustrating the finding (optional annex)

Classification and Severity Rating of Findings

Severity classifications and ratings are assigned to usability problem to indicate the type of the finding, its impact and criticality on the user experience, and the consequences.

The moderator and the note-taker rate usability problems from the test participants' point of view. Sometimes, the severity ratings are allocated in cooperation with a domain expert.

Typical classifications are:

Classification Description
Usability problem Each usability problem must have a severity rating as described in the following note. 
Positive finding Works well. This approach can be recommended. 

Good idea 

A suggestion from a test participant that could lead to a significant improvement of the user experience. 

Functional problem 

Defect 

Typical severity ratings of usability problems are:

Severityratings Description

Minor 

Minor dissatisfaction, noticeable delays, or superficial difficulties. 

Major 

Substantial delays; or moderate dissatisfaction 

Critical 

Test participants gave up. Showstopper, substantial dissatisfaction or minor financial damage to user. 

Catastrophic 

Existential threat. Potentially life-threatening, bodily harm or substantial financial damage. 

Important parameters that influence severity ratings are:

  • Frequency: How often does the usability problem occur?
  • Impact: How badly does it hurt the user and the user's environment when the usability problem occurs?
  • Persistence: How quickly will users learn to avoid the usability problem?
Show content Hide content
Export to PDF
Layout
Content
Exam Questions
Results to Include 0 / 0
Filters
Share Your Feedback

How is your experience with TBoK?