High severityET INFOActive in PcapHub scans

ET INFO Non-Anonymous LDAPv3 Bind Request Outbound

SID 2034812 · rev 3 · classtype policy-violation

What this signature means

An LDAPv3 simple bind that carries a username (not anonymous) leaving the monitored network. Unless the connection is wrapped in TLS the password travels in clear text. Informational: it shows directory authentication crossing the network edge.

An informational rule: traffic worth knowing about that is not an attack by itself. Traffic that usually breaks an organisation's acceptable-use or security policy rather than indicating a compromise.

Written by the PcapHub team.

What it watches

TCP traffic from a monitored host or web server to an outside host, in an established connection, from client to server.

It fires when

  • the packet payload starts with "|30|" (bytes between | | are hexadecimal)
  • the packet payload contains "|02 01|" (bytes between | | are hexadecimal) (within 4 bytes of the previous match)
  • the packet payload contains "|60|" (bytes between | | are hexadecimal) (within 1 bytes of the previous match)
  • a byte-level check on the payload (byte_test)
  • the packet payload contains "|02 01 03 04|" (bytes between | | are hexadecimal) (within 4 bytes of the previous match)
  • and 2 more conditions in the rule text

What Emerging Threats says

  • Emerging Threats rates it informational with high confidence.
  • Target: Client and Server.
  • Meant for perimeter sensors.

Good to know

  • Only fires when no earlier rule in the flow set the flag ET.LDAPBindRequest.
  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it12

Rule

alert tcp [$HOME_NET,$HTTP_SERVERS] any -> $EXTERNAL_NET any (msg:"ET INFO Non-Anonymous LDAPv3 Bind Request Outbound"; flow:established,to_server; flowbits:isnotset,ET.LDAPBindRequest; flowbits:set,ET.LDAPBindRequest; content:"|30|"; startswith; content:"|02 01|"; within:4; content:"|60|"; distance:1; within:1; byte_test:1,>,7,0,relative; content:"|02 01 03 04|"; distance:1; within:4; fast_pattern; byte_jump:1,0,relative; content:"|80|"; within:1; reference:url,ldap.com/ldapv3-wire-protocol-reference-bind/; classtype:policy-violation; sid:2034812; rev:3; metadata:attack_target Client_and_Server, created_at 2021_12_20, deployment Perimeter, confidence High, signature_severity Informational, updated_at 2024_03_14;)

Emerging Threats Open. Rule created Dec 20, 2021. Last revised by ET Mar 14, 2024. Text on PcapHub refreshed 7mo ago.