Lab 06: Managing Technical Vulnerabilities¶
Overview¶
This lab followed vulnerability management from discovery to documentation. I scanned a lab network with Nmap and the Greenbone Vulnerability Management (GVM) framework, confirmed that an exposed service leaked sensitive data, and recorded a critical finding as a tracked risk in SimpleRisk.
Objectives¶
Discover hosts, services, and misconfigurations with Nmap
Run a vulnerability scan with GVM
Confirm the impact of a finding
Document vulnerabilities as risks for remediation tracking
Tools and Technologies¶
Nmap and the Nmap Scripting Engine
FTP client
Greenbone Vulnerability Management (GVM / OpenVAS) and Greenbone Security Assistant
SimpleRisk (risk management platform)
Kali Linux
Lab Writeup¶
Scanning with Nmap¶
Scanned the network and found that anonymous FTP login was allowed on 172.30.0.3
Logged in anonymously and downloaded
newhire.txt, which contained a new employee’s personal information, including a Social Security numberChecked each host for port 445 and SMB vulnerabilities:
IP Address |
Port 445 |
SMB Vulnerability |
|---|---|---|
172.30.0.2 |
Open |
Not vulnerable |
172.30.0.3 |
Open |
Vulnerable |
172.30.0.4 |
Closed |
N/A |
172.30.0.5 |
Closed |
N/A |
Scanning with GVM¶
Ran a GVM scan, whose top results for 172.30.0.3 were two high-severity Microsoft Windows SMB Server remote code execution vulnerabilities (MS17-010 / KB4013389)
Saw that the scan also reported anonymous FTP login, cleartext FTP login, weak SSL/TLS ciphers, and other lower-severity findings
Documenting the Risk¶
Submitted the SMB remote code execution vulnerability to SimpleRisk as a risk, scored with CVSS, so that it could be tracked through remediation
Challenge: Network Inventory¶
Used the scan results to document each host:
IP Address |
Operating System |
Open Ports |
|---|---|---|
172.30.0.2 |
Microsoft Windows (version unknown) |
135, 139, 445, 3389 |
172.30.0.3 |
Microsoft Windows Server 2016 |
21, 22, 53, 80, 88, 135, 139, 389 |
172.30.0.4 |
Linux 2.6.32 |
22, 111 |
172.30.0.5 |
Unknown |
80, 443 |
Key Findings¶
A single misconfiguration like anonymous FTP can expose sensitive personal data
The same host (172.30.0.3) had the most serious findings, so remediation should start there
Different scanners overlap but don’t report exactly the same results, so using more than one gives better coverage
Scan results only lead to action once they’re documented, scored, and assigned for remediation
Key Skills Learned¶
Scanning for services and misconfigurations with Nmap and NSE scripts
Running and reading GVM vulnerability scans
Confirming the real-world impact of a finding
Building a network inventory from scan data
Recording vulnerabilities as risks in a GRC platform
Topics Covered¶
Vulnerability management lifecycle
Vulnerability scanning
Insecure services (anonymous and cleartext FTP)
SMB vulnerabilities (MS17-010)
CVSS scoring and risk documentation
Conclusion¶
This lab connected technical scanning to risk management. Finding a vulnerability is only the first step; to get it fixed, it has to be confirmed, prioritized, and recorded where the people responsible for it can track it.