Skip to content

About

Risk-based vulnerability management program. Six verified remediation cycles took a Windows host from 2 Critical / 8 High / 12 Medium to 0/0/2 with documented risk acceptance. Tenable, Azure, CVSS, NIST SP 800-40.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Risk-Based Vulnerability Management Program

A full vulnerability management cycle run end to end against a lab environment: establish a credentialed baseline, prioritize findings by risk rather than raw count, remediate in controlled increments, and re-scan after every change to prove the fix landed.

The point of the exercise was not to find vulnerabilities — a default Windows build hands you those for free. The point was to show the loop that actually reduces risk in an enterprise: scan → prioritize → remediate one control → verify → repeat, with evidence at every step. Over six remediation cycles the host went from 2 Critical / 8 High / 12 Medium to 0 Critical / 0 High / 2 Medium, with the residual findings accepted and documented rather than quietly dropped.

Tools used

Tool Role
Tenable Vulnerability Management Credentialed scanning, plugin-level findings, compliance audit
Microsoft Azure Hosted the Windows 11 and Linux target VMs
Windows Group Policy / Local Security Policy Applied the host hardening controls
CIS benchmark audit (Tenable) Configuration auditing beyond CVE-based findings
PowerShell Scripted, idempotent remediation and verification
CVSS v3 Severity input to the prioritization model
NIST SP 800-40r4 Patch and vulnerability management process reference

Environment

Asset Role
final-vm-test-k Primary Windows remediation target
win-11-vulnerab Secondary Windows 11 host
kekoa-stig-test Additional Windows 11 host (built for STIG work; see separate project)
linux-programmatic-kekoa Linux target, scanned via the Tenable API

All hosts are lab VMs on a private 10.2.0.0/21 subnet. No production or third-party systems were in scope.


1. Establish a credentialed baseline

A credentialed scan is the starting point. An unauthenticated scan sees open ports; a credentialed scan sees installed software versions, registry-backed policy settings, and local account state — which is where the real findings are.

Scan 1 — 04 Jul 2026 00:27 UTC · final-vm-test-k

Critical High Medium Low Info Total
2 8 12 1 151 174

The two Critical and all eight High findings traced back to a single root cause: Wireshark 2.2.x, an unsupported end-of-life release (plugins 56710, 213824, and the 2.2.5 through 2.2.16 chain). One unmaintained third-party package accounted for every Critical and High finding on the host.

The Medium tier was a separate story — configuration weakness rather than missing patches:

Plugin Finding
57608 SMB Signing not required
58453 Terminal Services doesn't use Network Level Authentication (NLA) only
63478 Microsoft Windows LM / NTLMv1 Authentication Enabled
51192 SSL Certificate Cannot Be Trusted
57582 SSL Self-Signed Certificate

📄 scans/01-baseline-scan.pdf

2. Prioritize by risk, not by count

Sorting by CVSS alone would have put the Wireshark CVEs at the top and left 63478 (LM/NTLMv1, rated Medium) near the bottom. That ordering is wrong for this host. NTLMv1 is directly exploitable for credential relay and downgrade attacks, and it is a one-line policy fix with no patch window and no vendor dependency.

The prioritization model weighted four inputs:

  1. CVSS base score — technical severity
  2. Asset criticality — what the host does and what it can reach
  3. Exploitability — is there a public exploit, and does it need authentication
  4. Remediation cost — effort, downtime, and business disruption

That produced a remediation order that front-loaded the cheap, high-leverage fixes: remove the EOL package first (clears 10 findings in one action), then close the authentication and protocol weaknesses one at a time.

3. Remediate in controlled increments, verifying each one

Every cycle changed exactly one control and was followed by a re-scan. Changing several settings between scans makes it impossible to attribute a result — and when something breaks, impossible to know what broke it.

Cycle 1 — Windows OS update and compliance audit

Scan 2 — 07 Jul 2026 00:43 UTC

Applied pending cumulative updates, then ran a full CIS/STIG-style compliance audit against the host. The resulting 999-page report is the compliance-baseline artifact — it audits registry-backed policy settings (event log sizing, Mark of the Web handling, DEP enforcement, and several hundred more) that CVE-based scanning never looks at.

📄 scans/02-windows-os-update.pdf

Cycle 2 — Guest account group membership

Scan 3 — 07 Jul 2026 02:14 UTC · Result: 2 / 8 / 12 / 1

Verified the built-in Guest account was disabled and removed from any privileged local group.

Local Security Policy → Local Policies → Security Options
  → "Accounts: Guest account status" = Disabled

Equivalent verification:

Get-LocalUser -Name Guest | Select-Object Name, Enabled
Get-LocalGroupMember -Group 'Administrators'

Severity counts were unchanged, which is the expected and correct outcome — this is a hardening control, not a scanner-visible vulnerability. Documenting a fix that doesn't move the numbers matters as much as one that does.

📄 scans/03-guest-account-group-membership.pdf

Cycle 3 — Remove end-of-life third-party software

Scan 4 — 08 Jul 2026 01:20 UTC · Result: 0 / 0 / 5 / 1

Removed Wireshark 2.2.x. The host had no operational requirement for a packet analyzer, so removal was chosen over upgrade — the lowest-risk option is not installing software you do not need.

Get-Package -Name "*Wireshark*" | Uninstall-Package
# verify
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
  Where-Object DisplayName -like "*Wireshark*"

All Critical and High findings cleared in a single action — 10 findings eliminated, 2 Critical and 8 High to zero. This is the payoff of tracing findings to a root cause instead of remediating CVE by CVE.

📄 scans/04-third-party-software-removal.pdf

Cycle 4 — Require SMB signing

Scan 5 — 08 Jul 2026 18:49 UTC · Result: 0 / 0 / 4 / 1 — cleared plugin 57608

Unsigned SMB permits man-in-the-middle tampering and relay against the file-sharing protocol.

Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options
  → "Microsoft network server: Digitally sign communications (always)" = Enabled
  → "Microsoft network client: Digitally sign communications (always)" = Enabled
Set-SmbServerConfiguration -RequireSecuritySignature $true -Force
Set-SmbClientConfiguration -RequireSecuritySignature $true -Force

📄 scans/05-smb-signing-enabled.pdf

Cycle 5 — Require RDP Network Level Authentication

Scan 6 — 08 Jul 2026 19:26 UTC · Result: 0 / 0 / 3 / 1 — cleared plugin 58453

Without NLA, RDP allocates a full session before the user authenticates, which exposes the pre-auth surface to unauthenticated attackers and enables resource-exhaustion attacks.

Computer Configuration → Administrative Templates → Windows Components
  → Remote Desktop Services → Remote Desktop Session Host → Security
  → "Require user authentication for remote connections by using Network Level Authentication" = Enabled
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' `
  -Name 'UserAuthentication' -Value 1

📄 scans/06-rdp-nla-enabled.pdf

Cycle 6 — Restore LAN Manager authentication level

Scan 7 — 08 Jul 2026 20:00 UTC · Result: 0 / 0 / 2 / 1 — cleared plugin 63478

LM and NTLMv1 hashes are trivially crackable and are the basis for NTLM relay. The secure default refuses both and sends NTLMv2 only.

Local Policies → Security Options
  → "Network security: LAN Manager authentication level"
  = "Send NTLMv2 response only. Refuse LM & NTLM"
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa' -Name 'LmCompatibilityLevel' -Value 5

📄 scans/07-lan-manager-auth-level.pdf

4. Automate the remediations

The cycles above were applied by hand through Group Policy and the Windows Security interface, which is the right way to learn what each control does and the wrong way to run a program at scale. remediation/ contains the same controls as idempotent PowerShell, written so a rebuilt host can be brought back to the verified end state in one pass.

Script Cycle Clears plugin
Set-GuestAccountRestriction.ps1 2 — (hardening control)
Remove-WiresharkEOL.ps1 3 56710, 213824, + 8 High
Enable-SMBSigning.ps1 4 57608
Enable-RDPNetworkLevelAuth.ps1 5 58453
Set-LanManagerAuthLevel.ps1 6 63478
Get-RemediationStatus.ps1 all read-only audit of every control above
# Baseline, remediate, verify
.\remediation\Get-RemediationStatus.ps1 -CsvPath .\before.csv
.\remediation\Remove-WiresharkEOL.ps1 -Force
.\remediation\Enable-SMBSigning.ps1
.\remediation\Get-RemediationStatus.ps1 -CsvPath .\after.csv

Each script carries the Tenable plugin ID it clears in its header, so automation output reconciles directly against the scan reports in scans/ instead of being read in isolation. Get-RemediationStatus.ps1 reports the plugin alongside each control for the same reason.

Three details worth calling out, because they are where a naive version of this goes wrong:

  • SMB signing is set on both server and client. Configuring the server side alone still leaves the host initiating unsigned outbound sessions — which is the direction that gets relayed.
  • The Guest account is resolved by RID (S-1-5-*-501), not by name. Renaming the Guest account is itself a common hardening step, and a name-based check silently passes on a host where it has been renamed.
  • LmCompatibilityLevel is paired with NoLMHash. Setting the authentication level stops LM being sent; it does not remove LM hashes already stored. Existing hashes persist until each account next changes its password, and the script says so in its output.

Each script also documents its compatibility cost — NLA refuses pre-CredSSP clients, NTLMv2-only breaks pre-Windows 2000 and some embedded appliances, SMB signing adds throughput overhead. A remediation script that does not tell you what it might break is not safe to run unattended.

Status: these were written after the documented remediation cycles, from the controls those cycles applied. They have not yet been executed against a live host — the .TESTED ON blocks are intentionally blank until they have been.

5. Extend coverage: additional hosts and cross-platform scanning

A single host is not a program. Two further scan targets extended coverage.

Additional Windows host scan — kekoa-stig-test, 07 Jun 2026 2 Critical / 3 High / 2 Medium / 2 Low / 135 Info. Surfaced application-layer findings the primary target did not carry — outdated Microsoft Edge, unpatched Outlook and Teams, and 166555 (WinVerifyTrust signature validation, CVE-2013-3900), a signature-validation weakness that stays exploitable until a registry mitigation is explicitly applied.

This host was built for STIG work and is named accordingly, but the scan itself is a standard credentialed vulnerability scan and contains no STIG compliance checks. DISA STIG remediation is a separate project: Windows 11 STIG Remediation.

📄 scans/08-windows-11-additional-host-scan.pdf 📄 scans/09-windows-11-host-scan.pdf

Linux scanning via the Tenable API — linux-programmatic-kekoa, 17 Jul 2026 Scans launched programmatically rather than through the console, which is how scanning works at scale. Baseline returned 1 High / 2 Medium / 2 Low:

Plugin Finding
26919 Unauthenticated SMB access permitted (arbitrary credential acceptance)
10079 Anonymous FTP enabled

Both are service-exposure problems rather than missing patches — the Linux equivalent of the NTLMv1 finding on Windows, and the same lesson: configuration is a vulnerability class.

📄 scans/10-linux-host-scan-baseline.pdf 📄 scans/11-linux-host-scan-followup.pdf


Results

Metric Baseline Final Change
Critical 2 0 −100%
High 8 0 −100%
Medium 12 2 −83%
Low 1 1 —
Actionable total 23 3 −87%

Remediation window: 04 Jul – 08 Jul 2026, four days across six verified cycles.

Accepted residual risk

Three findings were deliberately left in place, documented rather than suppressed:

Plugin Finding Rationale
51192 SSL Certificate Cannot Be Trusted Self-signed certificate on a lab host with no PKI. In production this is remediated by issuing a CA-signed certificate, not by silencing the plugin.
57582 SSL Self-Signed Certificate Same root cause as 51192.
10114 ICMP Timestamp Request Remote Date Disclosure Informational disclosure with negligible impact on an internal host; mitigation cost exceeds the risk.

An accepted risk that is written down, justified, and reviewable is a managed risk. An accepted risk that is hidden by a scanner exclusion is an unmanaged one that nobody will find again.

Lessons learned

Trace findings to root causes before you remediate. Ten of the 23 actionable findings were one EOL package. Remediating CVE by CVE would have taken ten changes and ten re-scans instead of one. The first analytical pass over any scan should be "what single change clears the most rows."

Severity ranking is an input, not a decision. 63478 (LM/NTLMv1) was rated Medium but was more dangerous on this host than several Highs, and cost one policy change to fix. Asset context and remediation cost belong in the priority calculation alongside CVSS.

Verify every change, including the ones that shouldn't move the numbers. The Guest account cycle produced identical severity counts. Recording that is what distinguishes a program with evidence from one that assumes its controls are working.

Credentialed scanning is not optional. Every configuration finding here — SMB signing, NLA, LM compatibility level — is registry-backed and invisible to an unauthenticated scan. An uncredentialed program would have reported this host as nearly clean.

Automate what you have already verified by hand. Applying each control manually first is how you learn what it does and what it breaks. Scripting it afterwards is how it survives a rebuild. Doing it in that order means the automation encodes a known-good end state rather than an assumption — and the plugin IDs in each script header keep the automation tied to the scan evidence that justified it.

One control per cycle. Batching the four configuration changes into a single scan would have saved three re-scans and cost the ability to attribute any result or roll back cleanly.

MITRE ATT&CK mapping

The remediated controls close these techniques:

Technique ID Control applied
Adversary-in-the-Middle: LLMNR/NBT-NS Poisoning and SMB Relay T1557.001 SMB signing required (cycle 4); NTLMv2-only (cycle 6)
Brute Force: Password Cracking T1110.002 LM/NTLMv1 hashes no longer issued (cycle 6)
Valid Accounts: Local Accounts T1078.003 Guest account disabled and de-privileged (cycle 2)
External Remote Services T1133 RDP NLA required (cycle 5)
Exploit Public-Facing Application T1190 EOL Wireshark removed; OS patches applied (cycles 1, 3)
Subvert Trust Controls: Code Signing Policy Modification T1553.006 WinVerifyTrust (CVE-2013-3900) identified on the second Windows host

Repository contents

Vulnerability-Management-Program/
├── README.md
├── remediation/
│   ├── Get-RemediationStatus.ps1        # read-only audit of all controls
│   ├── Remove-WiresharkEOL.ps1          # cycle 3
│   ├── Set-GuestAccountRestriction.ps1  # cycle 2
│   ├── Enable-SMBSigning.ps1            # cycle 4
│   ├── Enable-RDPNetworkLevelAuth.ps1   # cycle 5
│   └── Set-LanManagerAuthLevel.ps1      # cycle 6
└── scans/
    ├── 01-baseline-scan.pdf
    ├── 02-windows-os-update.pdf
    ├── 03-guest-account-group-membership.pdf
    ├── 04-third-party-software-removal.pdf
    ├── 05-smb-signing-enabled.pdf
    ├── 06-rdp-nla-enabled.pdf
    ├── 07-lan-manager-auth-level.pdf
    ├── 08-windows-11-additional-host-scan.pdf
    ├── 09-windows-11-host-scan.pdf
    ├── 10-linux-host-scan-baseline.pdf
    └── 11-linux-host-scan-followup.pdf

This project was completed as the hands-on component of my M.S. Cybersecurity and Information Assurance capstone at Western Governors University, using lab virtual machines I built and owned.

About

Risk-based vulnerability management program. Six verified remediation cycles took a Windows host from 2 Critical / 8 High / 12 Medium to 0/0/2 with documented risk acceptance. Tenable, Azure, CVSS, NIST SP 800-40.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages