TryHackMe Vulnerabilities 101 Room
My notes on the THM room Vulnerabilities 101
TryHackMe Vulnerabilities 101 Room
Common Vulnerability Scoring System (CVSS)
- A widely used, open framework for communicating the technical characteristics and severity of vulnerabilities.
- CVSS scores range from 0 to 10, with higher scores representing greater severity.
CVSS should not be treated as a complete vulnerability-prioritisation system. A high technical severity does not necessarily mean that a vulnerability presents the greatest risk to a particular organisation.
Advantages:
- Well-established and widely adopted.
- Vendor-neutral and openly documented.
- Provides a consistent method of describing and comparing vulnerability severity.
- Can incorporate threat and environmental information in addition to the Base metrics.
Limitations:
- The Base score represents technical severity rather than remediation priority.
- A Base score does not account for the importance of the affected asset within a particular organisation.
- Base characteristics are intentionally relatively static. Threat information, such as exploit maturity or active exploitation, needs to be considered separately through the relevant CVSS metrics or other vulnerability-prioritisation information.
- Using the Base score alone can therefore give an incomplete picture of real-world risk.
Vulnerability Priority Rating (VPR)
- A proprietary vulnerability-prioritisation system developed by Tenable.
- VPR produces a dynamic score from 0.1 to 10 based on technical impact and current threat intelligence.
Unlike a static severity score, VPR can change as the threat landscape develops.
Advantages:
- Designed specifically to help prioritise vulnerability remediation.
- Uses threat intelligence and predictive analysis to consider the likelihood of exploitation.
- Considers factors such as vulnerability age, exploit maturity, threat activity and technical impact.
- Scores are dynamic and can change as new information becomes available.
Limitations:
- Proprietary to Tenable rather than an open framework such as CVSS.
- Requires the Tenable ecosystem to make practical use of the scoring system.
- VPR assesses the vulnerability itself and does not, by itself, represent the complete risk to a particular organisation. Asset criticality and business context still need to be considered.
Vulnerability Databases
National Vulnerability Database (NVD)
- Maintained by NIST.
- Uses CVE records as its foundation and enriches them with vulnerability-management information such as severity metrics, affected products and references.
CVE - Common Vulnerabilities and Exposures.
- Provides standard identifiers for publicly disclosed vulnerabilities.
- CVE identifiers use the format
CVE-YEAR-IDNUMBER. - For example,
CVE-2017-0144identifies an SMB vulnerability that was exploited by WannaCry. - CVE identifiers make it possible for different organisations and security tools to refer unambiguously to the same vulnerability.
Exploit-DB - maintained by OffSec.
- Useful when researching publicly available exploits associated with particular software, applications and versions.
- May contain proof-of-concept (PoC) exploit code demonstrating how a vulnerability can be exploited.
Terms to know:
- Vulnerability - A weakness or flaw in the design, implementation or behaviour of a system or application that may be exploited to cause an adverse effect.
- Exploit - Code, a technique or another method that takes advantage of a vulnerability to produce an unintended result.
- Proof of Concept (PoC) - A demonstration showing that a vulnerability can be exploited, without necessarily providing a complete or weaponised exploit.
Example Process
The following represents a simplified vulnerability-assessment process within an authorised testing environment:
- Information Gathering - Gather information about the target using OSINT, including exposed systems, services and potentially relevant applications.
- Enumeration and Scanning - Identify hosts, ports and services using tools such as Nmap.
- Application Testing - Identify software and version information and examine the exposed functionality and services.
- Vulnerability Research - Search sources such as the NVD, CVE records and Exploit-DB for vulnerabilities affecting the identified software and versions.
- Validation - Where authorised and appropriate, safely test whether a vulnerability can actually be exploited.
- Documentation - Record the methodology, evidence and results, and produce a report or PoC where required.
This post is licensed under CC BY 4.0 by the author.