
title: Suspicious LDAP-Attributes Used
author: xknow @xknow_infosec
date: 2019/03/24
description: 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.
detection:
  SELECTION_1:
    EventID: 5136
  SELECTION_2:
    AttributeValue: '*'
  SELECTION_3:
    AttributeLDAPDisplayName:
    - primaryInternationalISDNNumber
    - otherFacsimileTelephoneNumber
    - primaryTelexNumber
  condition: (SELECTION_1 and SELECTION_2 and SELECTION_3)
falsepositives:
- Companies, who may use these default LDAP-Attributes for personal information
id: d00a9a72-2c09-4459-ad03-5e0a23351e36
level: high
logsource:
  product: windows
  service: security
modified: 2020/08/23
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
status: experimental
tags:
- attack.t1071
- attack.t1001.003
- attack.command_and_control
ruletype: SIGMA
