Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

SMB Signing

Direct answer

SMB signing adds a cryptographic signature to every SMB message, preventing tampering and relay attacks. Recent Windows versions require it by default; it costs some throughput on slow CPUs.

When to use this

Use this when SMB signing blocks connections or must be enforced.

First 30 seconds

1. Get-SmbServerConfiguration | Select RequireSecuritySignature.

2. Client: Get-SmbClientConfiguration.

3. Required on DCs; recommended everywhere (default in Windows 11 24H2).

4. Performance impact on old hardware.

5. Verify with a session.

Operational verification

signing negotiated → each message signed → tampering detected

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Scope / prerequisiteUse this when SMB signing blocks connections or must be enforced.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Old NAS devices without signing support failing after enforcement.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Signing prevents tampering and NTLM relay.
  • Recent Windows versions require it by default.
  • It costs throughput on slow CPUs.
Key checks
  • Get-SmbShare — shares on the server
  • Get-SmbSession / Get-SmbOpenFile — sessions and open files
  • Get-SmbConnection — client connections and dialect
  • Get-SmbServerConfiguration — server settings (signing, encryption, SMB1)
  • Test-NetConnection <server> -Port 445 — SMB port reachability
ReferenceWhy it matters1 section · depth on demand

How it works

SMB signing adds a message authentication code to each packet using a key derived from the session's authentication. It shows the packets came from the authenticated peer and were not changed. Signing is negotiated: if either side requires it, it is used. SMB 3.x uses AES-CMAC or AES-GMAC; the CPU cost is small on modern hardware.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Check the effective state on both sides

PS C:\> Get-SmbServerConfiguration | Select EnableSecuritySignature, RequireSecuritySignature
PS C:\> Get-SmbClientConfiguration | Select EnableSecuritySignature, RequireSecuritySignature
PS C:\> Get-SmbConnection | Select ServerName, ShareName, Dialect, Signed, Encrypted
ServerName ShareName Dialect Signed Encrypted
---------- --------- ------- ------ ---------
fs01       Data      3.1.1   True   False
nas02      Media     2.1     False  False

Signed True in Get-SmbConnection is the evidence — configuration only says what may happen. Microsoft's signing overview notes that signing is enabled in all Windows versions and that domain controllers require it for SYSVOL and NETLOGON by default; newer releases (Windows 11 24H2, Windows Server 2025) require signing for more connections by default.

Negotiation outcome

Client requiresServer requiresResult
NoNoNot signed (SMB 3.1.1 still protects negotiation)
YesNoSigned
NoYesSigned
YesYesSigned
YesPeer cannot signConnection fails

Rolling out "require signing"

1. Inventory unsigned sessions on servers: Get-SmbSession and the SmbServer operational/audit logs.

2. Identify devices that cannot sign (old NAS, printers scanning to folders, embedded systems).

3. Upgrade or replace them; for exceptions, isolate them on a dedicated server or share.

4. Enforce via GPO: Microsoft network server/client: Digitally sign communications (always).

Performance

On SMB 3.x signing uses AES-CMAC or AES-GMAC (3.1.1 with modern Windows) and has modest cost on current CPUs. If throughput drops sharply after enforcement, check whether the connection fell back to an old dialect (Dialect 2.x) where signing uses HMAC-SHA256.

Relationship to encryption

An encrypted SMB 3 session is also integrity-protected; signing is then implied. Signing alone protects against tampering and relay but not against reading the data.

*The SMB signing connection state above are illustrative examples, not captured from a lab or production system.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Settings

Set-SmbServerConfiguration -RequireSecuritySignature $true
Set-SmbClientConfiguration -RequireSecuritySignature $true

Documented example, not captured output. Windows 11 24H2 and Server 2025 require signing by default. Signing blocks NTLM relay attacks against SMB.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in SMB → SMB Signing. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-overview · confidence 94%
Confirmation

Confirm action

Continue?