main logo icon

Published on

December 4, 2026

|

20 min read

SMB Signing Explained: Why It Matters, What It Stops and How to Enforce It (2026)

What SMB signing is, the relay it stops, why most servers still do not require it, Microsoft's 2024 to 2026 default changes, how to find servers without it, the performance cost in Microsoft's words, and how to enforce it on Windows, Samba and NAS.

Arafat Afzalzada

Arafat Afzalzada

Founder

Network Security

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

TL;DR

SMB signing puts a keyed hash of every SMB message in the message header, so a server can tell whether a message was altered in transit and whether it came from the client that authenticated. Microsoft says the signature "confirms the sender's and receiver's identities, and prevents relay attacks". "SMB signing not required" is one of the most common findings in Stingrai's internal network tests because, outside domain controllers, Windows never required it until Windows 11 24H2 (October 2024) and, for outbound connections, Windows Server 2025 (November 2024). Servers running Windows Server 2022 and earlier, and most storage appliances, still accept unsigned sessions. The attack it stops is an NTLM relay to SMB: the attacker forwards a victim's live logon to a file server and gets a session as that user, with no password cracked. NSA and CISA listed insecure SMB among their top ten misconfigurations in October 2023; a CISA red team cited SMB signing again in November 2024; Microsoft shipped audit events for it under CVE-2025-55234 in September 2025; and Google's October 2026 report on the ARTEX agent framework told defenders to "enforce SMB signing". The cost is CPU: Microsoft says signing "will at least slightly reduce the performance of SMB copy operations", limited on 1 Gb networks and larger on 10 Gb, with no hardware offload. The fix is one Group Policy setting on each side, "Digitally sign communications (always)", plus "server signing = mandatory" on Samba and the signing option on NAS appliances. Detect servers that still accept unsigned sessions with Microsoft's SMB server audit events 3021 and 3027, and detect a relay that got through with event 4624 (Logon Type 3, NTLM, from an address that is not the victim's) and event 4776 on the domain controller. Stingrai's internal network penetration tests list every host that accepts an unsigned session, prove what a relay to one of them reaches, and retest after the policy is enforced.

SMB signing is a feature of the Windows file-sharing protocol that adds a keyed hash of every message to the message header, so the server knows the message came from the client that authenticated and was not altered on the way. It matters because without it an attacker on the network can forward someone else's live logon to a file server and act as that user: in Microsoft's words, the signature "confirms the sender's and receiver's identities, and prevents relay attacks". "SMB signing not required" is one of the findings that appears most often in Stingrai's internal network penetration test reports, because, as NSA and CISA put it in October 2023, SMB's default configuration "does not require signing network messages", and Microsoft only began changing that default in Windows 11 24H2 and Windows Server 2025.

This guide covers what the signature does, the relay it stops, why so many servers still run without it in 2026, what Microsoft has changed and when, how to find the servers that still accept unsigned sessions, the performance cost as Microsoft states it, and how to enforce signing on Windows, Samba and storage appliances. It is written for the people who have to fix the finding, and it contains no attack commands.

Quick answer. SMB signing is a per-message signature, computed from the session key, that an SMB server can require from every client. When it is required, an attacker who relays a victim's NTLM logon to the server cannot sign the messages that follow, because the session key derives from the victim's password, so the relayed session is useless. Domain controllers have required it for years; Windows 11 24H2 requires it in both directions on Enterprise, Pro and Education editions; Windows Server 2025 requires it for outbound connections; everything older, and most NAS devices, still accept unsigned sessions unless an administrator sets "Microsoft network server: Digitally sign communications (always)". Stingrai's internal network penetration tests list every host that accepts an unsigned session and prove what a relay to one of them reaches.

SMB signing at a glance

Question

Short answer

What is it?

A signature in every SMB 2.x and 3.x message header, "generated using a session key and AES", that covers "a hash of the entire message" and "the identities of the original sender and the intended recipient" (Microsoft).

What does it stop?

Tampering with messages in transit, and relay: MITRE ATT&CK's mitigation for T1557.001 says "Enabling SMB Signing can stop NTLMv2 relay attacks."

Why is it a finding?

Any server that accepts an unsigned session can be the target of a relayed logon. In Stingrai's experience that is most member servers, workstations and storage appliances built before the 2024 defaults.

What does enforcing it cost?

CPU on the client and server. Microsoft: "SMB signing will at least slightly reduce the performance of SMB copy operations" (Microsoft, June 2023).

What is the fix?

"Microsoft network server: Digitally sign communications (always)" and its client counterpart, set to Enabled by Group Policy; "server signing = mandatory" on Samba; the signing option on NAS appliances. No restart is needed.

What does it not fix?

Relay to LDAP, AD CS web enrolment or Exchange, which need LDAP signing, channel binding and Extended Protection for Authentication.

How SMB signing works, and what a relay to SMB looks like

The signature

SMB is the protocol behind Windows file shares, printer sharing and much of remote administration. After a client authenticates to an SMB server, the two sides share a session key. With signing on, every message that follows carries a signature computed with that key. Microsoft's overview describes the result: "If someone tampers with the message in transit, the data in the tampered message doesn't match the hash in the signature", and "The hash also includes the identities of the original sender and the intended recipient."

The algorithm has moved with the protocol. SMB 2.02 replaced the MD5 signing of SMB1 with HMAC-SHA-256, SMB 3.0 introduced AES-CMAC, and Windows Server 2022 and Windows 11 added AES-128-GMAC, which Microsoft describes as "signing acceleration". All of them depend on one thing: "All cryptographic keys used in SMB 2.x and 3.x signing are derived from the session key", and "the session key itself is derived from your password".

That dependency is the whole point. In SMB 2.02 and later, signing "is controlled solely by being required or not": a session is signed whenever either side requires it, and unsigned only when neither does. The older "if client agrees" policies and the EnableSecuritySignature registry value affect only SMB1 and, in Microsoft's words, the setting "does nothing unless you're using SMB1".

The relay it stops

An NTLM relay attack is the attack an SMB signing finding describes. Microsoft's Security Response Center describes it in two steps: "Coercing a victim to authenticate to an arbitrary endpoint" and "Relaying the authentication against a vulnerable target". The attacker never learns a password. It answers a name lookup that a workstation broadcasts, or makes a server connect to it, then opens its own session to a file server in the victim's name, passes the server's challenge to the victim and forwards the victim's response back. The domain controller confirms the response, and the file server opens a session.

What the attacker cannot do is produce the session key, because that comes from the victim's password. A server that requires signing therefore accepts the logon and then rejects every unsigned message that follows, and the relayed session does nothing. A server that does not require signing hands over a working session with the victim's rights: files, and where the relayed account is a local administrator, code execution on the host. NSA and CISA put it plainly in their October 2023 advisory: "If SMB servers do not enforce SMB signing, malicious actors can use machine-in-the-middle techniques, such as NTLM relay", and combined with name resolution poisoning they "gain access to remote systems ... without needing to capture and crack any hashes".

Diagram of a relay to SMB in five stages, with what the attacker needs and what the defender can see at each

Figure 1: A relay to SMB in five stages, and what the defender can see at each. Sources: Microsoft, Overview of SMB signing, MITRE ATT&CK T1557.001 and NSA and CISA, AA23-278A.

ATT&CK v20.1 tracks the technique as T1557.001, Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay (version 2.0, last modified 12 May 2026), and its two mitigations are the two halves of the fix: M1042, "Disable LLMNR, mDNS, and NetBIOS in local computer security settings or by group policy", and M1037, which includes "Enabling SMB Signing can stop NTLMv2 relay attacks."

Why SMB signing is still not required in 2026

Three reasons, all of them about defaults.

Windows never required it outside domain controllers until late 2024. Microsoft's policy reference records the effective defaults for "Microsoft network server: Digitally sign communications (always)": Enabled in the Default Domain Controller Policy, "Disabled" for member servers, stand-alone servers and client computers. Domain controllers "require SMB signing of anyone connecting to them, typically for SYSVOL and NETLOGON", and the client required it only for those two shares. Everything else negotiated signing off.

The new defaults arrived only with new operating systems. Microsoft announced the change in June 2023 for Windows Insider builds and shipped it in Windows 11 24H2, generally available on 1 October 2024, and Windows Server 2025, generally available on 1 November 2024. Microsoft describes the new default only for Windows 11 24H2 and Windows Server 2025; the September 2025 update to Windows Server 2022, 2019 and 2016 added audit events, not a new default. A file server built in 2022 and patched every month still accepts unsigned sessions today.

Third-party devices often do not sign by default. Samba's server signing parameter defaults to a value under which signing is "required when server role is active directory domain controller and disabled otherwise" (smb.conf manual). NAS vendors expose signing as an option rather than a default, and warn about its cost: Synology's DSM 7.4 specification notes that "Enabling transport encryption mode or server signing may reduce read/write performance during SMB file transfer" (Synology). Printers and management cards often expose no signing setting at all.

The result is an estate where the domain controllers are protected and the file servers that hold the data are not, and an attacker needs only one server that does not require signing.

Evidence from 2023 to 2026

Date

Source

What it said

5 October 2023

NSA and CISA, top ten misconfigurations

Insecure SMB is listed under misconfiguration 1, default configurations: "Its default configuration, including in the latest version of Windows, does not require signing network messages to ensure authenticity and integrity." The mitigation: "Require SMB signing for both SMB client and server on all systems."

23 August 2024

Microsoft, SMB security hardening

"We now require signing by default for all Windows 11 24H2 SMB outbound and inbound connections and for all outbound connections in Windows Server 2025." Signing "prevents data tampering and relay attacks that steal credentials."

21 November 2024

CISA red team assessment

After an assessment in which the team coerced a domain controller to authenticate to a host it controlled: "If NTLM must be enabled, enable Extended Protection for Authentication (EPA) to prevent NTLM-relay attacks, and implement SMB signing to prevent certain adversary-in-the-middle and pass-the-hash attacks."

9 September 2025

Microsoft, CVE-2025-55234

"SMB Server might be susceptible to relay attacks depending on the configuration." Microsoft rated it CVSS 8.8, publicly disclosed, not exploited, and released it "to provide customers with audit capabilities" for "SMB Server signing" and "SMB Server Extended Protection for Authentication (EPA)".

30 October 2026

Google Threat Intelligence Group and Mandiant

On ARTEX, "an autonomous, multi-agent LLM-driven pentesting and offensive command-and-control (C2) platform" seen in intrusions: "enforce SMB signing, and enforce LDAP signing and channel binding. Reduce or disable NTLM where operationally feasible".

10 November 2026

Microsoft, KB5135557

NTLM's own message signing starts to be offered by Windows clients by default, "reducing exposure to relay attacks", with servers planned to require it in May 2027. "These changes apply only to NTLM authentication."

None of these is a report of a specific breach through unsigned SMB, and this guide does not claim one. What they show is that a CISA red team, Microsoft and Google kept naming SMB signing as the control in 2024, 2025 and 2026, and that Microsoft considered the exposure serious enough to assign a CVE to the configuration itself.

What Microsoft changed, and when

Date

Change

Source

3 August 2021

Guidance: signing confirms "that they are who they say they are, breaking relay attacks"; domain controllers require it by default; the SMB2 "enabled" setting "does nothing at all"

Microsoft, Storage at Microsoft

2 June 2023

Signing required by default in Windows 11 Insider build 25381 (Enterprise), then build 25905 (Pro and Education) and Windows Server Preview build 25931; not on Home

Microsoft, SMB signing required by default

1 October 2024

Windows 11 24H2 generally available: Enterprise, Pro and Education "require both outbound and inbound SMB signing"; Home "doesn't require outbound or inbound SMB signing"

Windows 11 release information, Control SMB signing behavior

1 November 2024

Windows Server 2025 generally available: "requires outbound SMB signing only", per the per-edition list. SMB client NTLM blocking and signing audit events ship alongside

Windows Server 2025 lifecycle, SMB security hardening

9 September 2025

CVE-2025-55234: audit events for SMB server signing and EPA reach every supported Windows version

Microsoft, KB5066913

10 November 2026

NTLM signing phase one on clients; phase two, servers requiring it, planned for May 2027

Microsoft, KB5135557

Timeline from August 2021 to May 2027 of SMB signing going from optional to required by default

Figure 2: SMB signing, from optional to required by default, 2021 to 2027. Sources: Microsoft, Storage at Microsoft, NSA and CISA, AA23-278A, Microsoft, CVE-2025-55234 and Microsoft, KB5135557.

One inconsistency worth knowing about

Microsoft's own pages differ on Windows Server 2025. The SMB security hardening page (dated 25 October 2024) says that "Starting with Windows 11 24H2 and Windows Server 2025, all outbound and inbound SMB connections are now required to be signed by default", while the more specific and more recent "Control SMB signing behavior" page (dated 13 August 2025) and the August 2024 announcement both say Windows Server 2025 requires outbound signing only. This guide prints the per-edition page. Either way, do not infer a server's inbound requirement from its version; read the effective setting on each server.

NTLM signing is not SMB signing

Two different signatures now carry the word "signing". SMB signing is the file-sharing protocol's own per-message signature. NTLM signing, which Microsoft began rolling out on 10 November 2026 under KB5135557, is message integrity inside the NTLM authentication protocol itself, and Microsoft states that "These changes apply only to NTLM authentication." Both reduce relay exposure; neither replaces the other. A server on Windows Server 2022 with SMB signing not required stays relayable over SMB in December 2026; Microsoft's KB says the NTLM change "applies only to NTLM authentication" and does not describe it as a substitute for SMB signing.

How SMB signing differs from its neighbours

Control

What it protects

How it stops a relay

Where to read more

SMB signing

SMB sessions on port 445: file servers, workstations, NAS, printers

The attacker cannot sign without the session key, so the relayed session is rejected

This guide

LDAP signing and channel binding

LDAP and LDAPS on domain controllers

Signing on port 389; a channel binding token tied to the victim's TLS connection on 636

NTLM relay attack guide

Extended Protection for Authentication

HTTPS services that accept Windows authentication: AD CS web enrolment, Exchange, internal web applications

Channel binding: the token in the response does not match the attacker's connection

NTLM relay attack guide

SMB encryption

SMB 3.0 and later sessions

Encrypts the session; Microsoft notes that unlike signing, "encryption isn't mandatory by default"

Microsoft, SMB security hardening

SMB client NTLM blocking

Outbound connections from Windows 11 24H2 and Windows Server 2025 clients

Stops the client sending NTLM to a server the attacker controls, which removes the supply of logons

Microsoft, SMB security hardening

NTLM signing (November 2026)

NTLM authentication inside any protocol

Session key and message signing negotiated for the NTLM exchange itself

Microsoft, KB5135557

A relayed logon goes wherever the attacker points it, so each protocol that accepts NTLM needs its own integrity check. SMB signing is the one most estates leave open on the most hosts, which is why it is usually the first finding fixed after an internal network penetration testing engagement.

How to find servers that do not require SMB signing

Scan the estate, not a sample

The finding is per host, so the check is per host. A scan of every address with port 445 open negotiates an SMB session with each and records the dialects it supports and whether message signing is required. Because SMB 2.02 and later always report signing as enabled, required is the only value that matters. The output falls into three groups: signing required (domain controllers, Windows 11 24H2 workstations, correctly configured servers), signing enabled but not required (the finding), and SMB1 still enabled, a separate finding with its own fix. Expect the second group to include most member servers older than Windows Server 2025, every NAS left on defaults, print servers, hypervisor management interfaces and backup appliances. Sort it by what the host holds and who connects to it, because that decides the severity.

Let the servers tell you who cannot sign

Before enforcing, Microsoft's audit events show which clients would break. Windows 11 24H2 and Windows Server 2025 added the policies "Audit client does not support signing" and "Audit server does not support signing" under Lanman Server and Lanman Workstation, writing to the SMBServer/Audit and SMBClient/Audit logs. On 9 September 2025, under CVE-2025-55234, Microsoft extended the server-side auditing to every supported version of Windows and Windows Server. The events, per KB5066913:

Event

Log

Meaning

3021

Microsoft-Windows-SMBServer/Audit

An SMB2 or SMB3 client connected that does not support signing

3027

Microsoft-Windows-SMBServer/Audit

An SMB1 client connected without signing enabled (Microsoft notes this one is not conclusive)

3024, 3025, 3026

Microsoft-Windows-SMBServer/Audit

A client sent no service principal name, an unrecognized one, or an empty one: the SMB server EPA audit events

31998, 31999

Microsoft-Windows-SMBClient/Audit

A server the client connected to does not support signing or encryption (Windows 11 24H2 and later)

Turn on "Audit client does not support signing" on file servers for a few weeks, then group the 3021 events by client. Microsoft warns that the results "can include false positives and false negatives", so confirm each device before deciding it cannot sign.

How to detect a relay that got through

If a server accepted a relayed session, the evidence is a real logon from the wrong place. There is no "relay" event; the session is the victim's as far as the server knows.

Signal

Where

Source

A logon over the network, with NTLM, from a machine that is not the account's own, especially a computer account ending in $ or a privileged user

Event 4624 on the target: Logon Type 3 ("A user or computer logged on to this computer from the network"), Authentication Package NTLM, and the Workstation Name field. Microsoft notes that for NTLM logons the IP fields may be empty

Microsoft, event 4624

Every NTLM validation for a domain account, with the machine it came from

Event 4776 on the domain controller, which "generates every time that a credential validation occurs using NTLM authentication" and records the Source Workstation, so a server's account validated from a workstation's name stands out

Microsoft, event 4776

Share access from an address that should not reach that server, such as an administrative share opened from a user subnet

Event 5140 on the target, which "generates every time network share object was accessed" and carries the Source Address; Microsoft's own recommendation is to monitor it when the source "shouldn't be able to connect with the specific computer"

Microsoft, event 5140

Name resolution poisoning, the usual way the attacker obtains a logon to relay

Answers on UDP 5355 (LLMNR) and UDP 137 (NetBIOS name service) from hosts that are not name servers, which ATT&CK's detection strategy for T1557.001 pairs with "unauthorized SMB relay attempts"

MITRE ATT&CK T1557.001

A client that silently negotiated an unsigned session with a server that should have refused it

Event 3021 on the server, which only fires if the audit policy is on

Microsoft, KB5066913

The practical rule from Microsoft's event guidance applies here: if an account "should never be used to log on from the specific Computer", or its credentials "shouldn't be used from Workstation Name or Source Network Address", alert on it. Computer accounts of servers logging on to workstations, and administrators logging on over NTLM at all, are the two conditions worth a rule on day one. A network security audit that reviews logging may find that 4624 is collected but 5140 is not: Microsoft's audit policy table lists Audit Logon as on by default and Audit File Share with no default setting (Microsoft).

How to enforce SMB signing

Windows: one policy on each side

The settings live under Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options:

Setting

Registry value

What it does

Microsoft network server: Digitally sign communications (always)

RequireSecuritySignature under HKLM\System\CurrentControlSet\Services\LanManServer\Parameters

The server rejects any session a client will not sign

Microsoft network client: Digitally sign communications (always)

RequireSecuritySignature under HKLM\System\CurrentControlSet\Services\LanManWorkstation\Parameters

The client refuses to talk to any server that will not sign

Both are documented on Microsoft's Overview of SMB signing, with the note that "In these policies always indicates that SMB signing is required." Do not use the "if client agrees" and "if server agrees" variants or EnableSecuritySignature; Microsoft says those "only affect the SMBv1 behavior". No restart is needed: changes "become effective without a device restart when they're saved locally or distributed through Group Policy" (Microsoft). The setting can be read back from the RequireSecuritySignature property of the SMB server and client configuration (Microsoft).

The server-side policy closes the relay target, so enforce it first and on servers first: file servers, then application servers, then workstations. The client-side policy protects users from rogue servers; roll it out after the server-side audit is clean, because a client that requires signing cannot reach a server that will not sign.

Two of Microsoft's own cautions. First, requiring signing ends guest access: "Packets from guest users are rejected, which means that the feature allowing users to connect to a server without providing credentials (guest fallback) is disabled" (Microsoft). A share that only works as a guest share was already a finding. Second, when a third-party server will not sign, the fix is on the third party: "We don't recommend disabling SMB signing as a workaround for third-party servers" (Microsoft), and from the 2023 announcement, "Do not disable SMB signing in Windows or use SMB1 to work around this behavior." The error a client shows against such a server is 0xc000a000, STATUS_INVALID_SIGNATURE, "The cryptographic signature is invalid."

Samba and Linux

On a Samba server, the parameter is server signing in smb.conf, with the values default, auto, mandatory and disabled. Under default, signing is "required when server role is active directory domain controller and disabled otherwise". The manual adds that "For the SMB2 protocol, by design, signing cannot be disabled", so disabled is treated as auto for SMB2 clients, which offers signing without enforcing it. To close the relay target, set server signing = mandatory, which "will still require SMB2 clients to use signing" (Samba, smb.conf). Samba's client signing parameter does the same for outbound connections, with the values desired, required and disabled.

A Linux host mounting Windows shares through the kernel CIFS client follows the server: the mount manual states that "If the server requires signing during protocol negotiation, then it may be enabled automatically." To make the client insist, the sec= options ending in i (krb5i, ntlmv2i, ntlmsspi) "force packet signing" (mount.cifs manual).

NAS appliances

Storage appliances are the servers most often left unsigned, and they usually hold the data that matters. Each vendor exposes the setting under its own name:

Platform

Where

Values

Source

QNAP QTS 5.1

Control Panel, Network & File Services, Win/Mac/NFS/WebDAV, Microsoft Networking, then the Advanced Options button, Server signing: "Select a security signature option to secure message transmissions and prevent relay attacks."

"Sign if client agrees", "Enforce signing", "Sign according to selected SMB version"

QNAP

Synology DSM 7.4

Advanced SMB Options, General, Server signing, listed with the note that it "may reduce read/write performance during SMB file transfer"

Listed under Advanced SMB Options, General, on the DSM 7.4 specification page; enable it there

Synology

Samba-based appliances generally

server signing in the underlying Samba configuration, where the vendor exposes it

mandatory to require

Samba

Choose the value that means required ("Enforce signing", "mandatory"), not the one that means offered. Where a device has no setting at all, ask whether it needs to accept domain credentials over SMB, and whether it can be moved to a segment that privileged accounts never authenticate to.

The performance trade-off, in Microsoft's words

Signing costs CPU on both ends, and Microsoft is direct about it. From the June 2023 announcement: "SMB signing will at least slightly reduce the performance of SMB copy operations", and the impact "depends entirely on the speed and number of your cores" (Microsoft). The policy reference adds the shape of it: "A faster drive on the source and destination allows more throughput, which causes more CPU usage of signing. If you're using a 1-GB Ethernet network or slower storage speed with a modern CPU, there's limited degradation in performance. If you're using a faster network (such as 10 Gb), the performance impact of signing may be greater", and "No such accelerators are available for SMB signing" (Microsoft). Microsoft publishes no percentage, and neither does this guide.

Two things reduce the cost. Newer platforms help: Windows Server 2022 and Windows 11 added AES-128-GMAC, which Microsoft calls "signing acceleration". Kerberos helps: Microsoft recommends "Using Kerberos instead of NTLMv2 ... so that your session key starts strong", and warns, "Don't connect to shares by using IP addresses or CNAME records, otherwise NTLM is used instead of Kerberos" (Microsoft). Measured against the alternative, a file server that hands a working session to anyone who can relay a logon, the trade-off is not close; the one high-throughput system a team hesitates over can be measured on its own before and after.

How an internal network penetration test finds it

An internal network penetration test starts from a network port or a standard domain account and audits the setting on every host, not a sample. The output is the full list of hosts that accept an unsigned session, with the operating system or appliance each one is, what it holds, and which accounts connect to it, because the same missing setting is a hygiene finding on an isolated print server and a path to the domain on a file server that domain administrators map drives from.

The test then proves the consequence. With written agreement on the target and the timing, the tester listens for the name lookups that workstations broadcast, relays one real logon to one agreed server that does not require signing, shows what the session can read or run, and stops. Agree beforehand whether the security operations team is told, because whether anyone noticed the relayed logon in event 4624 is one of the more useful results. An active directory security assessment goes further along the same path: it treats unsigned SMB as one of several relay targets alongside LDAP without signing or channel binding and AD CS web enrolment without Extended Protection, and reports the complete route from a relayed logon to control of the directory.

The finding in the report should not read "SMB signing disabled" with a severity. Expect the setting, named as the policy that fixes it; the host list in full, grouped by role; the proof (which account was relayed, from where, to which host, and what the session could do); the path to something that matters, or a statement that there is none; the fix with its Microsoft, Samba or vendor source; and a retest that shows each listed host now refuses an unsigned session.

Where Stingrai fits

Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements. Stingrai Inc is a proud CREST member, holding the CREST accreditations Penetration Testing and AI-Enabled Penetration Testing and the CREST AI Charter company certification, as listed on the CREST Marketplace.

Network and Active Directory work is human-led. Stingrai's internal network testing covers credential relay, name resolution poisoning and cleartext protocols alongside lateral movement between hosts and VLANs, and the Active Directory assessment reports every proved path toward control of the directory.

  • Who does the work: two named penetration testers from a team holding OSCE³, OSEP, CRTE, CRTO and CREST CRT certifications, with 18 published CVEs across the team, reviewed by a team lead with 16 years in penetration testing, red teaming and exploit development and by an engagement partner.

  • How findings arrive: each confirmed finding is posted to the PTaaS platform with remediation guidance as it is confirmed, so the host list reaches the people who own Group Policy before the final report.

  • What happens after: retesting of remediated findings is included, and every engagement comes with an attestation letter that gives your auditors penetration testing evidence for SOC 2, ISO 27001 and PCI DSS programs.

  • What it costs: a network penetration test typically costs US$5,000 to US$40,000 and above, and PCI DSS engagements that bundle internal, external and segmentation testing commonly land at US$12,000 to US$25,000. Each engagement is scoped individually and quoted as a fixed price.

Engagements run as one-time annual tests or as continuous programs. For teams that also run web applications, Stingrai's Hybrid Pentest, in which Snipe and certified penetration testers test the same application together, is US$6,800 per assessment for one web application and associated APIs, or US$1,275 a month on a 12-month continuous plan (pricing).

SMB signing defender checklist

Stingrai's guidance; no standard fixes this list.

  1. Inventory every host with port 445 open, including appliances, and record whether signing is required on each. The version is not the answer; the effective setting is.

  2. Turn on "Audit client does not support signing" on file servers (every supported Windows version since the September 2025 updates) and collect event 3021 for two to four weeks.

  3. Fix or isolate what cannot sign. Printers, scanners and backup agents first. Do not disable signing on the server to accommodate them.

  4. Require signing on the server side first: "Microsoft network server: Digitally sign communications (always)" on file servers, then application servers, then workstations.

  5. Set Samba to `server signing = mandatory` and every NAS to its "enforce" or "mandatory" value, not "if client agrees".

  6. Require signing on the client side once the server audit is clean, so your users' machines refuse rogue servers.

  7. Remove guest shares and SMB1, which signing enforcement will break anyway.

  8. Reduce the supply of logons to relay: disable LLMNR, mDNS and NetBIOS name service by policy; use SMB client NTLM blocking on Windows 11 24H2 and Windows Server 2025 clients; connect to shares by name, not IP address, so Kerberos is used.

  9. Close the other relay doors in the same quarter: LDAP signing and channel binding on domain controllers, Extended Protection on AD CS web enrolment and Exchange.

  10. Alert on the outcome: event 4624 with Logon Type 3 and NTLM for computer accounts and administrators from the wrong machine; event 4776 on domain controllers; event 5140 from unexpected sources.

  11. Verify behaviour, not policy: have the host list retested so each server is seen refusing an unsigned session.

Frequently Asked Questions

What is SMB signing?

SMB signing is a security feature of the Server Message Block protocol in which every SMB 2.x and 3.x message carries a signature in its header, generated from the session key with AES. The signature covers a hash of the whole message and the identities of the sender and the intended recipient, so a server can detect a message that was altered in transit or sent by someone other than the client that authenticated. Microsoft states that it prevents relay attacks.

What attack does SMB signing prevent?

It prevents an NTLM relay to SMB, in which an attacker on the network forwards a victim's live NTLM logon to a file server and gets a session as that user without knowing or cracking a password. The attacker cannot produce the session key, which derives from the victim's password, so a server that requires signing rejects every message of the relayed session. MITRE ATT&CK lists SMB signing as a mitigation for T1557.001.

Why is SMB signing not required by default?

Outside domain controllers, Windows never required it until Windows 11 24H2 (October 2024) and, for outbound connections, Windows Server 2025 (November 2024). Microsoft's policy reference lists the effective default as Disabled for member servers, stand-alone servers and clients. Older servers did not receive the new default through updates, Samba disables it by default except on domain controllers, and NAS vendors expose it as an option.

Does Windows Server 2025 require SMB signing?

Microsoft's per-edition page says Windows Server 2025 requires outbound SMB signing only, so as a client it signs, but as a server it still accepts unsigned sessions unless the server-side policy is set. A separate Microsoft page says both directions are required. Read the effective RequireSecuritySignature setting on each server rather than relying on its version.

How do you enable SMB signing?

Set "Microsoft network server: Digitally sign communications (always)" to Enabled by Group Policy on servers, then "Microsoft network client: Digitally sign communications (always)" on clients, both under Security Options. No restart is needed. On Samba set server signing = mandatory in smb.conf, and on a NAS choose the value that means enforced rather than "if client agrees".

Does SMB signing slow down file transfers?

Yes, by an amount Microsoft does not quantify. Microsoft says signing "will at least slightly reduce the performance of SMB copy operations", that the impact depends on the number and speed of CPU cores, that degradation is limited on 1 Gb Ethernet with a modern CPU and may be greater on 10 Gb networks, and that no hardware accelerators exist for SMB signing. AES-128-GMAC signing in Windows Server 2022 and Windows 11 reduces the cost.

How do you find servers that do not require SMB signing?

Scan every host with port 445 open and record whether signing is required, not merely enabled, since SMB 2 and later always report it as enabled. On Windows, turn on the audit policy "Audit client does not support signing" and collect event 3021 in the SMBServer/Audit log, which Microsoft extended to all supported Windows versions in September 2025 under CVE-2025-55234, to find the clients that would break before enforcing.

Does SMB signing stop all NTLM relay attacks?

No. It stops relay to SMB on every server that requires it. The same relayed logon can still be used against LDAP on domain controllers without signing and channel binding, AD CS web enrolment without Extended Protection for Authentication, and Exchange or other web applications without it. Each protocol needs its own integrity check.

Is NTLM signing the same as SMB signing?

No. SMB signing is the file-sharing protocol's own per-message signature. NTLM signing, which Microsoft began offering by default on Windows clients on 10 November 2026 under KB5135557 with server enforcement planned for May 2027, is message integrity inside the NTLM authentication protocol and applies only to NTLM authentication. Both reduce relay exposure; neither replaces the other.

Does a penetration test check for SMB signing?

An internal network penetration test audits the setting on every host with SMB open, lists each one that accepts an unsigned session, relays one real logon to one agreed server to prove what the session can reach, and reports the fix with its source. An Active Directory security assessment treats unsigned SMB as one relay target among several and reports the full path to the directory.

References

  1. Microsoft Learn. Overview of Server Message Block signing in Windows. Page dated 25 October 2024. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-signing-overview

  2. Microsoft Learn. Control SMB signing behavior. Page dated 13 August 2025. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-signing

  3. Microsoft Learn. SMB security hardening in Windows Server and Windows Client. Page dated 25 October 2024. https://learn.microsoft.com/en-us/windows-server/storage/file-server/smb-security-hardening

  4. Microsoft Learn. Microsoft network server: Digitally sign communications (always). Page dated 13 January 2023. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/microsoft-network-server-digitally-sign-communications-always

  5. Microsoft, Storage at Microsoft. Configure SMB Signing with Confidence. 3 August 2021. https://techcommunity.microsoft.com/blog/filecab/configure-smb-signing-with-confidence/2418102

  6. Microsoft, Storage at Microsoft. SMB signing required by default in Windows Insider. 2 June 2023. https://techcommunity.microsoft.com/blog/filecab/smb-signing-required-by-default-in-windows-insider/3831704

  7. Microsoft, Storage at Microsoft. SMB security hardening in Windows Server 2025 & Windows 11. 23 August 2024. https://techcommunity.microsoft.com/blog/filecab/smb-security-hardening-in-windows-server-2025--windows-11/4226591

  8. Microsoft Support. Support for Audit Events to deploy SMB Server Hardening: SMB Server Signing & SMB Server EPA (KB5066913). 9 September 2025. https://support.microsoft.com/en-us/servicing/os/windows/2025/09/support-for-audit-events-to-deploy-smb-server-hardening-smb-server-signing-smb-server-epa

  9. Microsoft Security Response Center. CVE-2025-55234, Windows SMB Elevation of Privilege Vulnerability. 9 September 2025. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-55234

  10. Microsoft Security Response Center. Mitigating NTLM Relay Attacks by Default. 9 December 2024. https://www.microsoft.com/en-us/msrc/blog/2024/12/mitigating-ntlm-relay-attacks-by-default

  11. Microsoft Support. NTLM signing security improvements in Windows (KB5135557). 10 November 2026. https://support.microsoft.com/help/5135557

  12. Microsoft Learn. Windows 11 release information and Windows Server 2025 lifecycle. https://learn.microsoft.com/en-us/windows/release-health/windows11-release-information and https://learn.microsoft.com/en-us/lifecycle/products/windows-server-2025

  13. Microsoft Learn. Events 4624, 4776 and 5140. https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4624

  14. NSA and CISA. NSA and CISA Red and Blue Teams Share Top Ten Cybersecurity Misconfigurations (AA23-278A). 5 October 2023. https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-278a

  15. CISA. Enhancing Cyber Resilience: Insights from CISA Red Team Assessment of a US Critical Infrastructure Sector Organization (AA24-326A). 21 November 2024. https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-326a

  16. MITRE ATT&CK. T1557.001, Adversary-in-the-Middle: Name Resolution Poisoning and SMB Relay. Version 2.0, 12 May 2026. https://attack.mitre.org/techniques/T1557/001/

  17. Google Threat Intelligence Group and Mandiant. ARTEX and Friends: Enter Agentic Offensive Frameworks. 30 October 2026. https://cloud.google.com/blog/topics/threat-intelligence/artex-and-friends-enter-agentic-offensive-frameworks

  18. Samba. smb.conf manual, server signing and client signing. https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html

  19. mount.cifs manual. https://linux.die.net/man/8/mount.cifs

  20. QNAP. Configuring Samba (Microsoft networking) settings, QTS 5.1. https://docs.qnap.com/operating-system/qts/5.1.x/en-us/configuring-samba-microsoft-networking-settings-7447174D.html

  21. Synology. DSM 7.4 software specifications, File Services & Protocols. https://www.synology.com/en-us/dsm/7.4/software_spec/file_services_protocols

Talk to Stingrai

Want the full list of servers in your estate that would accept a relayed logon, and proof of what one of them reaches? Stingrai scopes internal network penetration tests and Active Directory security assessments with retesting included, as a one-time annual engagement or a continuous program. Get a Quote or book a free discovery call.

0 views

0

X

Related reading

Credential Dumping and LSASS Explained: How It Works, Detection and Fixes (2026)
Network Security

Credential Dumping and LSASS Explained: How It Works, Detection and Fixes (2026)

Credential dumping explained: what LSASS, the SAM, NTDS.dit and DPAPI hold, why dumps still work in 2026, Microsoft's defaults, detection events and fixes.

20 min read

LLMNR Poisoning Explained: NBT-NS and mDNS, Detection and Fixes (2026)
Network Security

LLMNR Poisoning Explained: NBT-NS and mDNS, Detection and Fixes (2026)

LLMNR poisoning explained: how Windows name fallback leaks NetNTLMv2 responses to NBT-NS and mDNS poisoning, Microsoft's position, detection and fixes.

24 min read

PetitPotam and Authentication Coercion Explained: Detection and Fixes (2026)
Network Security

PetitPotam and Authentication Coercion Explained: Detection and Fixes (2026)

PetitPotam and authentication coercion explained: how a domain controller is made to authenticate to an attacker, the evidence, detection events and fixes.

21 min read

Contents

X