Event ID 2889: Client used an unsigned or clear-text LDAP bind
Written on a domain controller for each client that performs an unsigned or clear-text (simple) LDAP bind, recording the client IP, the identity it bound as and the bind type. Requires LDAP Interface Events diagnostics.
- Channel
- Directory Service
- Logged by default
- No
- Written on
- Domain controller
- Volume
- Moderate
- Provider
- Microsoft-Windows-ActiveDirectory_DomainService
- Needs a SACL
- No
To have this event
- Registry: HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics '16 LDAP Interface Events' = 2
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| Client IP address | IP address (and port) of the client that performed the insecure bind |
| Identity the client attempted to authenticate as | The account/DN the client bound as; shows which credentials crossed the wire insecurely |
| Binding Type | Type of bind: 0 indicates an unsigned (SASL without signing) bind, 1 indicates a simple (clear-text) bind |
Analyst notes
- 012889 gives per-client attribution for insecure LDAP binds, which is exactly what you need to fix clients before enforcing signing and to spot a tool authenticating with a simple bind.
- 02A simple bind (Binding Type 1) sends credentials in clear text over an unencrypted channel and is a credential-exposure risk; prioritise those clients.
- 03Requires the LDAP Interface Events diagnostic set to 2; it is not written by default and has a performance cost, so disable it once the inventory is complete.
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Directory Service' -FilterXPath "*[System[(EventID=2889)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Also relevant, depending on field values
Related events
Common questions
- What does Windows event ID 2889 mean?
- Written on a domain controller for each client that performs an unsigned or clear-text (simple) LDAP bind, recording the client IP, the identity it bound as and the bind type. Requires LDAP Interface Events diagnostics. It is written to the Directory Service log (Directory Service).
- Is event 2889 logged by default?
- No. It must be enabled before it is recorded.
- Where is event 2889 recorded?
- In the Directory Service channel on the domain controller.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten on a domain controller for each client that performs an unsigned or clear-text (simple) LDAP bind, recording the client IP, the identity it bound as and the bind type. Requires LDAP Interface Events diagnostics. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.