SMB Signing Not Required
The host does not require SMB signing, so NTLM authentication captured or coerced from another account can be relayed to it, and its SMB traffic can be altered in transit.
| Severity | Medium |
| CVSS 3.1 | 6.8 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N Open in the calculator |
| CVSS 4.0 | 7.6 CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N Open in the calculator |
| CWE | CWE-294: Authentication Bypass by Capture-replay |
| OWASP Top 10 | A07:2025 Authentication Failures |
| MITRE ATT&CK | T1557.001 Name Resolution Poisoning and SMB Relay, T1187 Forced Authentication, T1021.002 SMB/Windows Admin Shares |
| Category | Security Misconfiguration |
Description
The host accepts SMB connections that are not signed. SMB signing adds a signature derived from the session key to every SMB message, which proves that the message came from the authenticated party and was not changed on the way. When neither the server nor the connecting client requires signing, the connection is not signed.
Without signing, an attacker on the internal network who obtains NTLM authentication from a user or computer can relay it to the host and act as that account, a technique known as SMB relay or NTLM relay. Relaying an account with administrative rights on the host gives administrative access to it, which typically allows remote command execution and the extraction of stored credentials, such as local account hashes and service account secrets, and so further movement across the network; relaying a less privileged account gives access to the shares and services that account can use. An attacker who can intercept traffic can also alter unsigned SMB traffic, such as files or scripts read from a share.
The attack needs a source of authentication, and in most Windows networks one is readily achieved: by poisoning name resolution (LLMNR, NBT-NS and mDNS), by luring users to a file path that points at the attacker, or by coercing a server to authenticate, for example through the print spooler or the Encrypting File System remote protocol.
By default, domain controllers require signing of every connection to them, and Windows 11 version 24H2 Enterprise, Pro and Education require it both ways. Windows Server 2025 requires it only for the connections it makes, so a Windows Server 2025 server that is not a domain controller still accepts unsigned connections, as do earlier Windows releases and many other SMB servers, such as Samba and storage appliances. The setting is visible without credentials: the Nmap smb2-security-mode script reports Message signing enabled but not required, and NetExec can list such hosts as targets for relay tools such as ntlmrelayx.
Remediation
Require SMB signing on every host that does not already, starting with servers and administrative workstations:
- In Group Policy, under Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options, enable Microsoft network server: Digitally sign communications (always) for all computers, and Microsoft network client: Digitally sign communications (always) once servers are ready. These set
RequireSecuritySignatureto 1 underHKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\ParametersandHKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parametersrespectively. - For individual hosts, PowerShell sets the same values:
Set-SmbServerConfiguration -RequireSecuritySignature $trueandSet-SmbClientConfiguration -RequireSecuritySignature $true. - On Samba, set
server signing = mandatoryin the[global]section ofsmb.conf; on storage appliances, use the vendor's equivalent setting. - Reduce the sources of relayable authentication as well: disable LLMNR and NBT-NS, restrict NTLM where possible, and disable the print spooler on servers that do not need it.
Signing adds processing overhead, which can reduce throughput on busy file servers, so test those before enforcing it. Confirm the fix with the Nmap smb2-security-mode script, which should report that message signing is required.
References
Add This Finding to Your Library
In Pental this write-up is in Settings, Library. Add to my library copies it into your own, rated in your firm's CVSS version, ready to put in your own words.
Free trialYour trial starts when your portal goes live, not when you sign up, so the time you spend setting up does not count. · No card required
Only need the reporting? Our reporting tool is free and open source, with the same library.