Security Testing and Risk Reviews
Assessments show whether controls work and where new risks lie. This lesson explains implementing a risk management framework through assessment, the main types of security testing and the rules that govern them, and internal, supplier and architecture risk reviews.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how risk management frameworks are implemented through assessment.
- Compare vulnerability assessments, penetration tests and configuration reviews.
- Explain rules of engagement and authorisation for testing.
- Describe internal, supplier and architecture risk reviews.
Implementing a risk management framework
A risk management framework becomes real through assessment. Implementation means selecting the framework (such as ISO/IEC 27001 or the NIST RMF), defining which systems it covers, mapping the organisation's controls to its requirements, assessing those controls and tracking the gaps found. A gap analysis compares the current state with the framework's target state and produces a prioritised improvement plan.
Assessments are repeated periodically and after significant changes, as part of continuous monitoring. In the NIST RMF, control assessment is a formal step whose results feed the authorisation decision, and assessors document their methods and evidence in an assessment report.
Types of security testing
Security testing ranges from automated scanning to simulated attacks. The following comparison summarises the main approaches.
Scans can be credentialed (authenticated), which log in and see installed software, patch levels and configuration, giving more accurate results with fewer false positives, or non-credentialed, which see only what an outsider would see. Scans can run internally or externally, and agent-based scanning covers laptops that are rarely on the office network.
Penetration tests are classified by the tester's knowledge: black box (no prior knowledge, like an external attacker), white box (full knowledge, including designs and source code, for thorough coverage) and grey box (partial knowledge, such as a user account). Red teams emulate real adversaries over longer periods to test detection and response; blue teams defend; purple teaming brings them together to improve detections. Application testing includes SAST (analysing source code) and DAST (testing running applications), and social engineering tests assess human controls.
The following diagram compares a non-credentialed vulnerability scan with a credentialed scan of the same servers.

Which kind of test?
Rules of engagement
All testing must be authorised in writing by someone with authority over the systems. The rules of engagement define the scope (which systems, addresses and applications), what is out of scope, the dates and times, permitted techniques (for example, whether denial of service or social engineering is allowed), how sensitive data found will be handled, emergency contacts and what to do if a real compromise or critical flaw is discovered. Cloud and hosting providers' policies may also need to be followed. Testing outside the agreed scope is unauthorised access, even for an employee.
Rules of engagement
Risk reviews
Risk reviews examine particular areas for new or changed risks. Internal reviews look at the organisation's own processes and systems, for example after a reorganisation, a new regulation, an incident or a major project.
Supplier reviews assess third parties that hold the organisation's data or connect to its systems. Before contracting, due diligence uses security questionnaires, certifications such as ISO/IEC 27001, independent assurance reports such as SOC 2 Type II, and evidence of practices such as vulnerability management. Contracts include security requirements, breach notification and the right to audit. Reviews continue during the relationship, scaled to the supplier's criticality, and end with secure return or destruction of data. Supply chain attacks, in which attackers compromise a supplier to reach its customers, make this essential.
Architecture reviews assess system designs for weaknesses such as single points of failure, flat networks without segmentation, missing encryption, excessive trust between components, exposed management interfaces and dependencies on unsupported technology. They are most effective before implementation, but existing architectures are also reviewed when risks change. Findings from all reviews enter the risk register.
Scan accuracy
A non-credentialed scan of 50 Linux servers reports 300 vulnerabilities based on version banners. System administrators say most are already patched because their distribution backports fixes without changing version numbers. How can the practitioner get accurate results?
Run a credentialed scan, which can check installed package versions and patch status directly rather than inferring them from banners, reducing false positives. Findings that remain are validated before remediation tickets are raised.
Out of scope
During an authorised penetration test of a company's web application, the tester discovers credentials that would allow access to a partner's system. The partner is not in scope. What should the tester do?
Stop and not use the credentials against the partner's system, which would be unauthorised access. The tester should follow the rules of engagement: record the finding, secure the credentials and report it promptly to the client contact, who can notify the partner. Exploiting it would require the partner's written authorisation.
What distinguishes a grey-box penetration test?
Show answer
The tester has partial knowledge of the target, such as a user account or network diagrams, between a black-box test with no knowledge and a white-box test with full knowledge.
Exam Tips
Remember for the exam
- Never test without written authorisation and agreed rules of engagement.
- Credentialed scans are more accurate than non-credentialed scans.
- Review suppliers before contracting and throughout the relationship.