Sigma rule: Suspicious LDAP-Attributes Used
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-377c58cd35c6, updated 2022-10-05T00:00:00.000Z.
Rule
- Title
- Suspicious LDAP-Attributes Used
- Status
- test
- Level
- high
- Author
- xknow @xknow_infosec
- Date
- 2019-03-24
- Modified
- 2022-10-05
- File
- rules/windows/builtin/security/win_security_susp_ldap_dataexchange.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the usage of particular AttributeLDAPDisplayNames, which are known for data exchange via LDAP by the tool LDAPFragger and are additionally not commonly used in companies.
Log source
- product
- windows
- service
- security
- definition
- The "Audit Directory Service Changes" logging policy must be configured in order to receive events. Audit events are generated only for objects with configured system access control lists (SACLs). Audit events are generated only for objects with configured system access control lists (SACLs) and only when accessed in a manner that matches their SACL settings. This policy covers the following events ids - 5136, 5137, 5138, 5139, 5141. Note that the default policy does not cover User objects. For that a custom AuditRule need to be setup (See https://github.com/OTRF/Set-AuditRule)
Detection
selection:
EventID: 5136
AttributeValue|contains: '*'
AttributeLDAPDisplayName:
- 'primaryInternationalISDNNumber'
- 'otherFacsimileTelephoneNumber'
- 'primaryTelexNumber'
condition: selectionFalse positives (as the rule lists them)
- Companies, who may use these default LDAP-Attributes for personal information
Tags
- attack.t1001.003
- attack.command-and-control
MITRE ATT&CK ids this rule names
References
- https://medium.com/@ivecodoe/detecting-ldapfragger-a-newly-released-cobalt-strike-beacon-using-ldap-for-c2-communication-c274a7f00961
- https://blog.fox-it.com/2020/03/19/ldapfragger-command-and-control-over-ldap-attributes/
- https://github.com/fox-it/LDAPFragger
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_ldap_dataexchange.yml
Sources and licences
SigmaHQ
"Suspicious LDAP-Attributes Used" by xknow @xknow_infosec (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_ldap_dataexchange.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious LDAP-Attributes Used",
entity page, dataset version ref-377c58cd35c6, updated 2022-10-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d00a9a72-2c09-4459-ad03-5e0a23351e36 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d00a9a72-2c09-4459-ad03-5e0a23351e36, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.