Skip to content
WETNav
Directory ServiceActive Directory

Event ID 2887: Count of unsigned and clear-text binds (periodic summary)

Written on a domain controller, typically every 24 hours, summarising how many unsigned SASL and clear-text (simple over unencrypted) LDAP binds it accepted in the period.

Channel
Directory Service
Logged by default
Yes
Written on
Domain controller
Volume
Low
Provider
Microsoft-Windows-ActiveDirectory_DomainService
Needs a SACL
No

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

Number of simple binds performed without SSL/TLSCount of clear-text (simple) binds over an unencrypted connection in the period
Number of unsigned SASL bindsCount of SASL binds performed without signing in the period
Have one of these events? Paste it into the decoder

Analyst notes

  • 012887 is written by default (no extra configuration) and is the quickest way to see whether any clients still use insecure LDAP binds before you enforce signing.
  • 02A non-zero count means some client will break when you enforce signing; turn on 2889 (LDAP Interface Events) to identify exactly which clients and accounts.
  • 03The counts are per period, not per client; use 2889 for attribution.

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=2887)]]" -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.

Common questions

What does Windows event ID 2887 mean?
Written on a domain controller, typically every 24 hours, summarising how many unsigned SASL and clear-text (simple over unencrypted) LDAP binds it accepted in the period. It is written to the Directory Service log (Directory Service).
Is event 2887 logged by default?
Yes, a default Windows installation records it.
Where is event 2887 recorded?
In the Directory Service channel on the domain controller.

Written on a domain controller, typically every 24 hours, summarising how many unsigned SASL and clear-text (simple over unencrypted) LDAP binds it accepted in the period. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.