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
- Log4Shell-Style HTTP Exploit, LDAP Callback, and Payload Fetch
by trypcaphub · 238 packets · 5mo ago
3 alertsOpen in viewer - Credential Access: NTDS/SAM Directory Browsing and LAPS Queries
by trypcaphub · 52 packets · 7mo ago
2 alertsOpen in viewer - Active Directory Full Attack Chain (Recon to Persistence)
by trypcaphub · 128 packets · 7mo ago
2 alertsOpen in viewer - DCSync Reconnaissance: AD Replication and Schema Queries
by trypcaphub · 66 packets · 7mo ago
4 alertsOpen in viewer - Active Directory GPO Enumeration and SYSVOL Access
by trypcaphub · 85 packets · 7mo ago
1 alertOpen in viewer - LDAP Brute Force Against Active Directory (25 Attempts)
by trypcaphub · 250 packets · 7mo ago
25 alertsOpen in viewer - LDAP Injection via Search Filter Manipulation
by trypcaphub · 63 packets · 7mo ago
5 alertsOpen in viewer - AD Privilege Escalation Recon (BloodHound-style LDAP)
by trypcaphub · 86 packets · 7mo ago
7 alertsOpen in viewer - LDAP Password Policy Enumeration
by trypcaphub · 25 packets · 7mo ago
2 alertsOpen in viewer - LDAP Bind Methods (Simple, Anonymous, Failed, SASL)
by trypcaphub · 41 packets · 7mo ago
2 alertsOpen in viewer - LDAP Queries Against Active Directory
by trypcaphub · 63 packets · 7mo ago
4 alertsOpen in viewer - Kerberoasting LDAP Enumeration (SPN Search)
by trypcaphub · 39 packets · 7mo ago
2 alertsOpen in viewer
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.