Lesson 8 of 11
Risk Assessment Fundamentals
Risk assessment is the foundation of every security investment decision. Security practitioners must quantify and communicate risk in terms that business stakeholders understand, justifying security spending and prioritizing which vulnerabilities to fix first.
Risk Formula
Risk = Threat × Vulnerability × Impact
Threat: The likelihood that a threat actor will attempt an attack
Vulnerability: A weakness that could be exploited
Impact: The business damage if the attack succeeds
Example:
- Unpatched Apache server running on internet-facing host
Threat: HIGH (automated exploit scanners hit it within hours)
Vulnerability: HIGH (known CVE with public exploit code)
Impact: HIGH (contains customer PII, breach notification required)
Risk: CRITICAL → fix immediately
- Same vulnerability on isolated internal dev machine
Threat: LOW (not internet-facing, limited access)
Vulnerability: HIGH (same CVE)
Impact: LOW (no sensitive data, not business-critical)
Risk: MEDIUM → schedule for next patch cycleQualitative vs Quantitative Risk Assessment
- Qualitative: Risk ranked as High/Medium/Low using expert judgment. Fast to conduct, easy to communicate. Used for initial triage and executive reporting
- Quantitative: Risk expressed in financial terms using formulas. ALE (Annual Loss Expectancy) = SLE × ARO where SLE = Single Loss Expectancy and ARO = Annual Rate of Occurrence
- Example: E-commerce site DDoS. SLE = $50,000 (revenue lost per hour × downtime). ARO = 2 attacks per year. ALE = $100,000. If DDoS mitigation costs $40,000/year → justified investment
Risk Treatment Options
- Accept: Acknowledge the risk and take no action - appropriate when the cost of mitigation exceeds the potential loss (document the decision)
- Mitigate (Reduce): Implement controls to reduce the probability or impact - patch the vulnerability, add MFA, encrypt the data
- Transfer: Shift the financial impact to a third party - cyber insurance, contractual liability transfer to vendors
- Avoid: Eliminate the activity that creates the risk - stop collecting data you don't need, shut down the vulnerable system
Vulnerability Assessment Process
# Systematic vulnerability assessment workflow
Step 1: Asset Discovery
- Inventory all systems, services, and data stores
- Tools: Nmap, Nessus, Qualys scanner
Step 2: Vulnerability Scanning
- Automated scanning with CVE database matching
- nmap -sV --script vuln target.example.com
Step 3: Prioritization (CVSS Scoring)
- CVSS v3 score 9.0-10.0: Critical → patch within 24h
- CVSS 7.0-8.9: High → patch within 7 days
- CVSS 4.0-6.9: Medium → patch within 30 days
- CVSS 0.1-3.9: Low → patch in regular cycle
Step 4: Remediation & Verification
- Apply patches, reconfigure, or implement compensating controls
- Rescan to verify vulnerability is resolvedCommon Mistakes
- Treating all vulnerabilities equally - CVSS scores indicate severity, but business context (internet-facing vs internal, data sensitivity) determines actual risk
- Only running vulnerability scans once - new CVEs are published daily; continuous scanning is essential
- Accepting risk without documenting the decision - undocumented risk acceptances become forgotten technical debt
- Confusing vulnerability (weakness) with threat (actor exploiting it) - a vulnerability with no threat actor is low risk; a low-CVSS vulnerability being actively exploited in the wild is high risk
Tip
Tip
Practice Risk Assessment Fundamentals in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
The foundational security model: Confidentiality (privacy), Integrity (trust), and Availability (uptime).
Practice Task
Note
Practice Task - (1) Write a working example of Risk Assessment Fundamentals from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with Risk Assessment Fundamentals is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready cybersecurity code.
Key Takeaways
- Risk assessment is the foundation of every security investment decision.
- Qualitative: Risk ranked as High/Medium/Low using expert judgment. Fast to conduct, easy to communicate. Used for initial triage and executive reporting
- Quantitative: Risk expressed in financial terms using formulas. ALE (Annual Loss Expectancy) = SLE × ARO where SLE = Single Loss Expectancy and ARO = Annual Rate of Occurrence
- Example: E-commerce site DDoS. SLE = $50,000 (revenue lost per hour × downtime). ARO = 2 attacks per year. ALE = $100,000. If DDoS mitigation costs $40,000/year → justified investment
Finished this lesson?