SMB (Server Message Block) signing plays a critical role in protecting your network communications. Two of its biggest security benefits are,

Both threats typically involve an adversary-in-the-middle (AiTM). Let’s walk through how these attacks happen—and more importantly, how to defend against them.

How Attackers Get in the Middle?

When people think of AiTM attacks, they often imagine someone physically lurking in a server room. In reality, attackers usually compromise a device remotely and gain control. Once on the network, they use tools like Responder to listen for broadcast name resolution traffic.

Here’s what happens.

From here, attackers can steal credentials or relay them to access legitimate systems.

How to Reduce the Risk?

Disable LLMNR and NBT-NS

Note. You don’t need to bring back WINS servers. This is just a trick to suppress NetBIOS broadcasts.

You can also manage NodeType with SecGuide.admx from the Microsoft Security Compliance Toolkit.

Why Message Integrity Matters?

Like LDAP signing, SMB signing uses a session key negotiated during authentication. Each message is hashed and signed using that key. The recipient re-hashes the message to verify it wasn’t modified in transit.

This ensures that even if an attacker intercepts the message, they can’t alter it without detection—because they don’t have the session key.

Understanding NTLM Relay Attacks

NTLM is a challenge-response protocol.

  1. The client connects to a resource.
  2. The server issues a random challenge (nonce).
  3. The client encrypts the challenge using the user's NTLM hash and returns it.
  4. The server forwards the response to the domain controller for verification.

Here’s where an attacker can strike.

Where SMB Signing Saves the Day?

Here’s the key point: NTLM authentication traffic often travels over SMB.

If SMB signing is required, the attacker’s relayed message will fail. Why? Because they don’t have the session key needed to sign the SMB messages—even though they tricked the victim into signing the challenge.

SMB signing enforces authenticity. If the attacker can’t sign the traffic, the session won’t be established.

Even More Protection: Disable NTLMv1 and Strengthen Passwords

How to Enforce SMB Signing?

You can find detailed guidance in the official documentation, but here’s a quick summary.

Audit SMB Signing Adoption

Until recently, SMB signing usage was hard to audit. But starting with,

New event logs make it easier to track.

Older systems? Use Wireshark with these filters.

Do’s and Don’ts

DO

DON’T

By enabling SMB signing and removing outdated name resolution methods, you’re making your environment significantly harder to exploit. It’s not just a checkbox—it’s a foundational step in defending against real-world attacks.

Ready to make your SMB traffic bulletproof?