SMB Signing
Cheat sheet · https://pcornel.dk/topic.php?topic=4155
Answer
Client and server negotiate signing capability/requirements during SMB setup. A signed session lets the receiver validate message integrity, but the file payload is not made confidential merely by signing.
Remember
- SMB signing ≠ encryption.
- Signed SMB ≠ data confidentiality.
- Signing required ≠ authentication guaranteed to be the intended account without checking the session identity.
- TCP 445 success ≠ signing-policy compatibility.
First checks
Get-SmbServerConfiguration | fl RequireSecuritySignature— serverGet-SmbClientConfiguration | fl RequireSecuritySignature— clientGet-SmbConnection | ft ServerName,Signed— signed sessions
Verify in this order
message → signature → verified
Where it usually breaks
First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.
SMB → SMB Signing file-service map
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | A signed session proves SMB message integrity protection for that session; it does not encrypt payload contents or prove share/filesystem authorization. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: intended dialect and session negotiate the required signing state, signatures validate and normal file operations complete. | Close only after the original operation and server-side/read-back verification succeeds |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4155