CySA+ domain 2: Vulnerability management
26% of the exam: scan types and tools, reading scan results, prioritising with CVSS, and remediation and compensating controls.
26% of the exam: scan types and tools, reading scan results, prioritising with CVSS, and remediation and compensating controls.
0 of 9 · 0 of 90 points
Task 1: Scanning and its tools
Scan types
- Credentialed: logs in to the host with an account and checks patches and settings from the inside. More accurate, fewer false results.
- Non-credentialed: sees the host from outside, like an attacker.
- Agent-based: a small program on each device sends results (useful for laptops that leave the network). Agentless: scans over the network.
- Active: sends requests to devices. Passive: only listens to traffic (suits sensitive systems like SCADA).
- Internal and external: from inside the network and from the internet.
Tools
- Nmap: discover hosts, ports and services.
- Nessus, OpenVAS, Qualys: infrastructure vulnerability scanning.
- Nikto, OWASP ZAP, Burp Suite: web application scanning.
- ScoutSuite, Prowler: cloud configuration scanning.
Wrong results
- False positive: the scanner reports a flaw that isn't there. Confirm by hand.
- False negative: a real flaw the scanner missed. More dangerous, because you don't know about it.
1.1You want an accurate list of missing patches on servers. The best scan:
101.2A sensitive industrial control system may crash if scanned. What do you use?
101.3The scanner reports an Apache flaw but the server runs IIS. This is a:
10Task 2: Prioritising with CVSS
The base CVSS parts
- AV (Attack Vector): N network, A adjacent network, L local, P physical access needed. N is worst.
- AC (Attack Complexity): L easy, H hard.
- PR (Privileges Required): N no account, L a normal account, H admin.
- UI (User Interaction): N no victim needs to click, R required.
- S (Scope): C when the damage spreads to other systems.
- C / I / A: impact on confidentiality, integrity and availability (H, L, N).
Example: AV:N/AC:L/PR:N/UI:N = an attack from the internet, easy, no account, no victim. That is the worst case.
Scores
0.1 to 3.9 low, 4 to 6.9 medium, 7 to 8.9 high, 9 to 10 critical.
Beyond CVSS
- Asset criticality: a medium flaw on the payment server matters more than a high one on an isolated test box.
- Is it exploited? A flaw on the CISA KEV list (known exploited) gets fixed first.
- Internet-facing? Worse than internal.
2.1In CVSS, what does AV:N mean?
102.2Two flaws: 9.8 on an isolated test box, and 7.5 on the internet-facing payment server and actively exploited. Which first?
102.3A CVSS score of 9.1 is:
10Task 3: Remediation and common attacks
Remediation
- Patching is the default. Test it in staging first and apply it in a maintenance window.
- Compensating control: when you can't patch, isolate the host, close the port or put a WAF in front.
- Exception: temporary risk acceptance signed by the system owner, with an expiry date.
- Configuration management: hardening baselines such as the CIS Benchmarks.
Inhibitors to remediation
Legacy systems, proprietary software, fear of business interruption, SLAs and MOUs with other parties, and management approvals.
Attacks to know
- SQL injection, XSS, CSRF, SSRF (the server fetches an internal address for you), directory traversal (
../../etc/passwd), RCE. - Insecure deserialization, buffer overflow, privilege escalation.
- Broken access control: change the account number in the URL and see someone else's account (IDOR).
3.1A request containing `?file=../../../etc/passwd`. This attack is:
103.2The site fetches an image from a user-supplied URL, and the attacker enters http://169.254.169.254. This is:
103.3We can't patch a legacy system right now. What is right?
10