Pcornel
Storage · SMB

SMB Signing

Cheat sheet · https://pcornel.dk/topic.php?topic=4155

Back to the Topic

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 — server
  • Get-SmbClientConfiguration | fl RequireSecuritySignature — client
  • Get-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 boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?