SMB:
Vulnerability Discovery
SMB vuln scans covering signing, EternalBlue, shares, and access control
Detecting Known SMB Vulnerabilities
Enumerate SMB services to identify unpatched vulnerabilities including EternalBlue (MS17-010), SMBGhost (CVE-2020-0796), and misconfigurations using Nmap and Metasploit.
MS17-010 EternalBlue - Detection
Detect MS17-010 EternalBlue SMB vulnerability on Windows hosts using network scanning, traffic analysis, and patch verification techniques.
Samba Version Weakness Detection
Identifies outdated or misconfigured Samba versions via banner grabbing and CVE mapping to uncover exploitable SMB vulnerabilities.
SMB Signing Not Required Detection
Identifies SMB servers with message signing disabled, enabling relay and MITM attacks. Covers detection via Nmap, Nessus, and manual verification methods.
SMB vulnerability discovery identifies configuration weaknesses and known CVEs that make SMB exploitation possible. SMB signing disabled or not required is the most impactful finding, since it enables NTLM relay attacks across the environment. NetExec, Nmap, and RunFinger.py detect signing status across large IP ranges quickly.
Null session and guest access allow unauthenticated enumeration and sometimes share access. Test with smbclient and enum4linux-ng using empty credentials and the Guest account. SMBv1 enabled (detected via Nmap or NetExec) exposes hosts to EternalBlue and related exploits, and is a finding even when patched since the protocol itself lacks modern security features.
Check for known CVEs by correlating the SMB dialect, OS version, and build number. Beyond EternalBlue, look for SMBGhost (CVE-2020-0796) on SMBv3.1.1 compression, PrintNightmare paths accessible via SMB, and ZeroLogon indicators on domain controllers. Exposed ADMIN$, C$, and IPC$ shares with weak credentials, shared local admin passwords, and missing account lockout policies compound these issues.