Study guide · Domain 2.0
Vulnerability Management
26% of the exam · 4 exam objectives
Vulnerability Management is how an organization finds, analyzes and fixes weaknesses: planning and running the right kind of scan for each asset, reading the output of network, web, vulnerability, cloud and attack simulation tools, prioritizing findings by severity, likelihood and context before mitigating and validating them, and the control types, risk concepts, application security and third-party risk practices that frame the whole program.
A study feature written by ExamDragon, not part of the real exam. Each heading is one of this domain's 4 exam objectives, as CompTIA states it in the CS0-004 objectives.
At a glance
Domain 2.0of the exam, as CompTIA weights it for CS0-004
- Weight
- 26%
- Objectives
- 4
- Key terms
- 10
What this guide covers, objective by objective
- 2.1Given a scenario, implement the appropriate vulnerability scanning method.
- 2.2Given a scenario, analyze output from vulnerability assessment tools.
- 2.3Given a scenario, analyze data to prioritize and mitigate vulnerabilities.
- 2.4Explain concepts related to control types, risks, and vulnerability management.
2.1Given a scenario, implement the appropriate vulnerability scanning method.
- Scanning starts with an asset inventory: you cannot scan or prioritize what you do not know exists. The inventory records each asset's owner, location and value, and discovery scans keep it current.
- Planning considerations shape every scan: scheduling (run outside peak hours), operations (avoid disrupting business processes), performance (throttle speed and concurrency), sensitivity levels (gentler templates for fragile or critical systems), segmentation (a scanner or scan engine must be able to reach each segment) and regulatory requirements (for example PCI DSS sets internal and external scan frequency).
- Internal scans show what an attacker inside the network could reach; external scans, run from outside the perimeter, show what the internet sees. Agent-based scanning runs on the host and suits laptops that are often off the network; agentless scanning reaches hosts over the network and needs them online.
- Credentialed scans log in and read patches and local settings, giving more accurate results and fewer false positives; non-credentialed scans show the unauthenticated attacker's view. Active scans send probes; passive scans only watch existing traffic and suit fragile operational technology.
- Discovery scans find what exists: mapping scans identify live hosts and how the network is laid out, and device fingerprinting identifies each host's operating system or device type from how it responds.
- Security baseline scanning compares configuration with a standard: PCI DSS for cardholder data environments, CIS Benchmarks for hardening specific systems, and the ISO 27000 series, where ISO/IEC 27001 sets the certifiable management system requirements and ISO/IEC 27002 gives control guidance.
- The situationA retailer with card payments, a factory floor and remote sales staff asks for a scanning plan.
- Step 1Run discovery scans to build the inventory, then assign each asset an owner and value.
- Step 2Use credentialed internal scans for servers, agents for remote laptops and passive monitoring for factory controllers.
- Step 3Schedule scans outside peak hours, place a scan engine in each segment, and add the internal and external scans PCI DSS requires for the cardholder data environment.
- Where questions turnAssuming one scan type fits everything. A credentialed active scan is accurate for servers but can crash fragile controllers, and a scanner blocked by a firewall reports filtered ports rather than the real state of the hosts behind it.
- The takeawayMatch the scan type to the asset and plan around operations: inventory first, then method, then schedule and placement.
2.2Given a scenario, analyze output from vulnerability assessment tools.
- Network scanning and mapping: Angry IP Scanner is a lightweight graphical tool for finding live hosts and open ports; Masscan sweeps very large ranges for open ports at high speed by sending packets asynchronously.
- Nmap is the multipurpose network scanner: it reports ports as open, closed (reachable, nothing listening) or filtered (probes blocked, state unknown), and can detect service versions and operating systems. The Metasploit Framework (MSF) exploits vulnerabilities and delivers payloads; an opened session proves a finding is exploitable.
- Maltego and Recon-ng gather open-source intelligence: Maltego draws link graphs of relationships between domains, people and addresses, and Recon-ng is a modular command-line framework that stores its results in a workspace.
- Web application scanners: Burp Suite and ZAP (Zed Attack Proxy) are intercepting proxies that capture, modify and replay requests and can scan actively; Nikto checks web servers for outdated versions, default and dangerous files and missing headers.
- Vulnerability scanners: Nessus (commercial) and OpenVAS (Open Vulnerability Assessment Scanner, open source) test hosts against large sets of vulnerability checks; Nuclei runs YAML templates, so a check for a newly published issue can be shared and run quickly.
- Cloud infrastructure assessment: ScoutSuite and Prowler audit deployed cloud accounts through the provider's APIs; Trivy scans container images, file systems and code for vulnerabilities and misconfigurations; Checkov analyzes infrastructure as code such as Terraform before deployment.
- Breach attack simulation (BAS) tools emulate attackers to test detection: Atomic Red Team offers small tests mapped to MITRE ATT&CK techniques, and Caldera automates chains of techniques through agents.
- The situationAn Nmap scan shows 22/tcp open, 80/tcp filtered and 443/tcp closed on a server that should host a website.
- Step 1Read open as a service answering, closed as the host replying with nothing listening, and filtered as a firewall dropping the probes.
- Step 2Check the firewall path for port 80, then confirm with a scan from a scanner placed in the server's own segment.
- Step 3Once the web service is reachable, run a web scanner such as Nikto or ZAP against it.
- Where questions turnConfusing tools that look alike. Prowler and ScoutSuite assess a deployed cloud account, while Checkov reads code before deployment; Nikto scans a web server, while Burp Suite and ZAP intercept and replay requests.
- The takeawayFiltered means unknown, not closed: find the filter before drawing conclusions about the service.
2.3Given a scenario, analyze data to prioritize and mitigate vulnerabilities.
- Prioritization criteria: exploitability (how easily it can be used), active exploitation reported by threat intelligence, asset value, impact if exploited, and whether a patch or other remediation is available.
- Validate findings first. A true positive is a real issue reported; a false positive is a reported issue that is not real (often a version banner on a package with a backported fix); a true negative is a correct clean result; a false negative is a real issue the scan missed, the more dangerous error.
- Scoring methods: the Common Vulnerability Scoring System (CVSS) rates severity from base metrics; in version 3.1 they are attack vector, attack complexity, privileges required, user interaction, scope and the impact on confidentiality, integrity and availability (version 4.0 drops scope and splits impact between the vulnerable and subsequent systems); EPSS, published by FIRST, estimates the probability that a vulnerability will be exploited in the next 30 days.
- Context awareness changes priority: an internal asset is reachable only from inside, an external asset is exposed to the internet, and an isolated asset has no network path. The same finding matters more on an exposed, valuable asset.
- Mitigation strategies: attack surface management (find and reduce exposure, including forgotten assets), secure coding best practices (such as parameterized queries), patching and configuration management (fix the cause in images and baselines), exceptions (documented, approved and time-limited) and compensating controls (reduce risk when a fix is not possible).
- Validation of remediation: rescan or otherwise verify every affected asset before closing a ticket, because patches fail, need restarts or miss hosts.
- The situationTwo findings: a Critical one on an isolated lab host, and a High one on an internet-facing server that threat intelligence says is being actively exploited.
- Step 1Confirm both are true positives.
- Step 2Weigh context: the isolated host has no network path, while the external server is exposed and the flaw is in active use.
- Step 3Remediate the external server first, then schedule the lab host, and rescan both to validate.
- Where questions turnSorting only by CVSS severity. A lower-rated finding that is exposed and actively exploited usually outranks a higher-rated one on an isolated system.
- The takeawaySeverity is a starting point; exposure, active exploitation and asset value decide the order.
2.4Explain concepts related to control types, risks, and vulnerability management.
- Control types describe what a control is: administrative (policies, procedures, training, personnel checks), technical (enforced by hardware or software, such as firewalls and encryption) and physical (fences, locks, guards).
- Control functions describe what a control does: preventative controls stop an event, detective controls identify it, responsive controls act when an event is detected (for example an incident response team or a playbook that isolates a host), and corrective controls restore normal operation afterward (for example restoring from backup).
- Risk concepts: inherent risk exists before controls, residual risk remains after them, and risk appetite is how much risk leadership is willing to accept. Residual risk above the appetite needs further action.
- Risk management strategies: accept (a recorded decision to live with the risk), transfer (shift the consequence, for example with insurance), avoid (stop the activity) and mitigate (apply controls to reduce likelihood or impact).
- Policies and governance set the rules for vulnerability management, and service-level objectives (SLOs) make them measurable, for example a remediation time for each severity.
- Application security: static application security testing (SAST) analyzes source code without running it, dynamic application security testing (DAST) tests the running application, and the Software Assurance Maturity Model (SAMM) measures how mature a secure development program is.
- Third-party risk: the supply chain brings in code the organization did not write. Software composition analysis (SCA) finds vulnerable or risky third-party components, and a software bill of materials (SBOM) lists every component and version in a product.
- The situationA team is told that its customer portal's risk of account takeover is above the company's risk appetite.
- Step 1Measure the inherent risk, then add multifactor authentication and a web application firewall to mitigate it.
- Step 2Measure the residual risk and compare it with the appetite.
- Step 3If it is now within appetite, accept and record it; if not, mitigate further or transfer part of it.
- Where questions turnMixing up type and function. A firewall is a technical control that can be preventative; a guard is a physical control that can deter and detect. Answer the question asked: type or function.
- The takeawayStrategies are chosen by comparing residual risk with the risk appetite.
Key terms
- CVSS
- Common Vulnerability Scoring System
- PCI DSS
- Payment Card Industry Data Security Standard
- CIS
- Center for Internet Security
- OpenVAS
- Open Vulnerability Assessment Scanner
- ZAP
- Zed Attack Proxy
- BAS
- Breach Attack Simulation
- SAST
- Static Application Security Testing
- DAST
- Dynamic Application Security Testing
- SCA
- Software Composition Analysis
- SBOM
- Software Bill of Materials
Show the answer
The High finding on the internet-facing server comes first, because it is exposed and actively exploited while the lab host has no network path. Until a patch exists, the team applies compensating controls, such as restricting access or a web application firewall rule, records a time-limited exception approved by the risk owner, and rescans once the patch is applied to validate the fix.
Built to CompTIA's CySA+ CS0-004 V4 exam objectives, document version 2.0. The explanations, worked examples and traps are ExamDragon's own. Every source this path is built on.
