alert tcp [$HOME_NET,$HTTP_SERVERS] any -> $EXTERNAL_NET any (
msg:"ET POLICY Anonymous LDAPv3 Bind Request Outbound";
flow:established,to_server;
flowbits:set,ET.LDAPAnonBindRequest;
flowbits:isnotset,ET.LDAPAnonBindRequest;
stream_size:server,<,5;
dsize:14;
content:"|30 0c 02 01|"; startswith;
content:"|60 07 02 01 03 04 00 80 00|"; endswith;
reference:url,ldap.com/ldapv3-wire-protocol-reference-bind/;
classtype:policy-violation;
sid:2034704; rev:2;
metadata:attack_target Client_and_Server, created_at 2021_12_14, deployment Perimeter, confidence High, signature_severity Informational, updated_at 2021_12_20;
)