1. Resources
  2. Detection sources
  3. Event ID 3074

Event ID 3074: The following client performed an LDAP bind over SSL/TLS and would have failed the channel binding token validation

Audit event of a domain controller: a client bound over TLS with a channel binding token that would fail validation under enforcement. With 3075 it finds clients before channel binding is required. Needs 16 LDAP Interface Events at level 2.

Log source
Directory Service log
Detection value
Supporting
Volume
Low (estimate)
Last updated
Log
Directory Service log (Microsoft-Windows-ActiveDirectory_DomainService, on by default)
Logged on
Domain controllers only
Event versions
Not published
Detects
1 attack (1 rule)
MITRE ATT&CK
1 technique in 2 tactics
Threat groups
2 groups that MITRE ATT&CK records using these techniques
Fields the rules read
The event ID and the provider only

When it is written

A domain controller writes 3074 when a client authenticates with SASL over LDAP protected by TLS and sends a channel binding token that would fail validation if the domain controller enforced it. The only trigger Microsoft lists is an improperly formatted token. The event names the client address, the identity, whether the client supports channel binding, whether the When supported setting lets it in, and the audit result flags.

Microsoft added 3074 and 3075 so that administrators can find the clients that would break before they require channel binding. Both need the 16 LDAP Interface Events diagnostic level 2, and Microsoft states that they are generated only while Domain controller: LDAP server channel binding token requirements is set to When supported or Always, not at Never.

Which domain controllers have it: KB4520412 dates the events to the August 8, 2023 update on Windows Server 2022 and the October 10, 2023 update on Windows Server 2019, with a manual enablement step that the November 14, 2023 (Windows Server 2022) and January 9, 2024 (Windows Server 2019) updates removed; Microsoft now recommends those or later updates. Windows Server 2025 includes the events. Microsoft's channel binding overview says that updates from March 2023 enabled channel binding auditing on Windows Server 2022 and 2019, which does not match the dates of the update article; this page follows the update article.

Microsoft's tables give the same trigger, an improperly formatted token, for 3039 when the policy is When supported or Always. The two event texts differ (3039: validation failed; 3074: it would have failed under enforcement), and Microsoft does not explain how a domain controller chooses between them.

How to turn it on

Microsoft-Windows-ActiveDirectory_DomainService writes the event to the Directory Service log (Event Viewer > Applications and Services Logs > Directory Service), which is on by default. Microsoft

The log needs nothing to be turned on: a domain controller writes it from the moment it is promoted. What Active Directory writes there depends on its diagnostic logging levels, one REG_DWORD value per category under HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics (for example 16 LDAP Interface Events), each from 0 (None) to 5 (Internal). Microsoft's default for every category is 0, which it describes as recording only critical and error events; several warning and information events of this library are nonetheless documented as written at that level (the CVE-2021-42291 events, the daily LDAP summaries). Some events, such as the per-client LDAP signing and channel binding events, are written only at level 2 or higher of their category; their pages say so.

Microsoft recommends keeping the levels at 0 unless you investigate an issue, notes that a higher level adds detail and events, and advises against 3 or more because it costs resources and can slow the server. The levels are set per domain controller, so set them on every domain controller whose events you need. AD LDS instances write the same kind of events to their own instance log, which this library does not cover.

Show the diagnostic logging levels of this domain controller
reg query "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics"
Based on vendor documentation.
Show the log's settings (size and retention)
wevtutil gl "Directory Service"
Based on vendor documentation.

On each domain controller: the updates above, LdapEnforceChannelBinding at 1 (When supported) or 2 (Always), and 16 LDAP Interface Events at 2. Read the current values:

reg query "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters" /v LdapEnforceChannelBinding
reg query "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics" /v "16 LDAP Interface Events"

Microsoft's update article sets the diagnostic level with reg add "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics" /v "16 LDAP Interface Events" /t REG_DWORD /d 2. The policy is the Group Policy setting Domain controller: LDAP server channel binding token requirements; When supported (1) lets clients without channel binding support in and logs these audit events, Always (2) rejects every client without a valid token.

Fields

The template of this event is not part of client Windows and Microsoft does not publish its XML field names, so the fields are named by the labels of Microsoft’s documentation.

FieldWhat it holds
Client IP addressAddress of the client and the TCP source port, as address:port in Microsoft's sample. For a relayed authentication it is the relaying machine.
Identity the client attempted to authenticate asAccount the client authenticated as, in DOMAIN\name form in Microsoft's sample. Computer accounts end with $.
Client supports channel bindingTRUE or FALSE. KB4520412 counts a client as capable of channel binding when Extended Protection for Authentication is installed or available in its operating system and not turned off through SuppressExtendedProtection.
Client permitted in when supported modeTRUE or FALSE: whether the When supported setting lets this client bind without a valid token.
Audit result flagsHexadecimal combination of the SEC_CHANNEL_BINDINGS_RESULT flags that KB4520412 tabulates. Microsoft: a value that includes the bits 0x30 means a valid token, one that includes 0x0C a failed one.

Values to know

Audit result flags

ValueMeaningSignal
0x01SEC_CHANNEL_BINDINGS_RESULT_CLIENT_SUPPORTSet when the authentication package says the client's version should support bindings.Worth knowing
0x02SEC_CHANNEL_BINDINGS_RESULT_ABSENTNo bindings were sent, or they are all zeros.Worth knowing
0x04SEC_CHANNEL_BINDINGS_RESULT_NOTVALID_MISMATCHThe channel binding hash was incorrect. A token computed for another TLS session, as in a relayed authentication, gives a mismatch.Attack signal
0x08SEC_CHANNEL_BINDINGS_RESULT_NOTVALID_MISSINGThis client is not allowed to leave the bindings out.Failure
0x10SEC_CHANNEL_BINDINGS_RESULT_VALID_MATCHEDThe client's bindings match the server's: a valid token.Expected
0x20SEC_CHANNEL_BINDINGS_RESULT_VALID_PROXYThe server required a binding from the client (ASC_REQ_PROXY_BINDINGS): a valid token.Expected
0x40SEC_CHANNEL_BINDINGS_RESULT_VALID_MISSINGThe client was allowed in without bindings (ASC_REQ_ALLOW_MISSING_BINDINGS).Worth knowing

Client supports channel binding

ValueMeaningSignal
TRUEThe client is considered capable of channel bindingUnder When supported, a capable client must send a valid token.Worth knowing
FALSEThe client is not considered capableWhen supported lets it in without a token; Always rejects it.Worth knowing

Client permitted in when supported mode

ValueMeaningSignal
TRUEThe When supported setting lets this client inIt will fail once the policy is Always.Worth knowing
FALSEThe When supported setting does not let it inFailure

Volume and noise

The event points to clients whose channel binding implementation is broken rather than missing: Microsoft's only listed trigger is a malformed token. Each source repeats the event at every bind until it is updated.

Keeping it manageable

  • Keep every 3074: the relay rule matches it with 3075, and the event is rare.
  • Group by Client IP address and identity to get the list of clients to fix, which is what Microsoft designed the event for.
  • Read Audit result flags: a value that includes 0x04 (the binding hash was wrong) deserves a look at the client behind the address before you treat it as a broken implementation.

Attacks this event reveals

Detection rules that read this event:

Frequently asked questions

Why do I not see events 3074 and 3075?

Three conditions must hold on the domain controller: an update that has them (November 14, 2023 or later on Windows Server 2022, January 9, 2024 or later on Windows Server 2019, or Windows Server 2025), the 16 LDAP Interface Events diagnostic level at 2, and the channel binding policy at When supported or Always. Microsoft states that the events are not generated at Never.

What is the difference between 3074 and 3075?

3074 is for a client whose token would fail validation, which Microsoft ties to an improperly formatted token. 3075 is for a client that sends no channel binding information at all. Both are audit events: the bind went through, and they tell you which clients would break under enforcement.

What does an audit result flags value of 0x42 mean?

0x42 is 0x02 plus 0x40: the bindings were absent, and the client was let in without them. Microsoft uses this value in its example of the diagnostic information, for a client that does not support channel binding and is permitted in When supported mode.

References