ET EXPLOIT Apache log4j RCE Attempt - lower/upper TCP Bypass M2 (Outbound) (CVE-2021-44228)
SID 2034800 · rev 2 · classtype attempted-admin
What this signature means
An exploit rule: traffic that attempts to trigger a specific vulnerability. An attempt to gain administrator-level access, typically an exploit against a service that runs with high privileges.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
TCP traffic from a monitored host to any host, in an established connection, from client to server.
It fires when
- the packet payload contains "|24 7b|jndi|3a|" (bytes between | | are hexadecimal) (case-insensitive)
- the packet payload matches the regular expression "/^(l|r|d|\x24\x7b(lower|upper)\x3a(l|r|d)\x7d)(d|n|m|\x24\x7b(lower|upper)\x3a(d|n|m)\x7d)(a|i|s|\x...
- the packet payload contains "|3a 2f 2f|" (bytes between | | are hexadecimal)
What Emerging Threats says
- Emerging Threats rates it major with high confidence.
- Target: Server.
- MITRE ATT&CK technique T1190 (Exploit Public Facing Application), tactic Initial Access.
- Covers CVE-2021-44228.
- Meant for perimeter, internal sensors.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- Log4Shell-Style HTTP Exploit, LDAP Callback, and Payload Fetch
by trypcaphub · 238 packets · 5mo ago
3 alertsOpen in viewer
Rule
alert tcp $HOME_NET any -> any any (msg:"ET EXPLOIT Apache log4j RCE Attempt - lower/upper TCP Bypass M2 (Outbound) (CVE-2021-44228)"; flow:established,to_server; content:"|24 7b|jndi|3a|"; nocase; fast_pattern; pcre:"/^(l|r|d|\x24\x7b(lower|upper)\x3a(l|r|d)\x7d)(d|n|m|\x24\x7b(lower|upper)\x3a(d|n|m)\x7d)(a|i|s|\x24\x7b(lower|upper)\x3a(a|i|s)\x7d)(p|\x24\x7b(lower|upper)\x3a(p)\x7d)/Ri"; content:"|3a 2f 2f|"; distance:0; reference:cve,2021-44228; classtype:attempted-admin; sid:2034800; rev:2; metadata:attack_target Server, created_at 2021_12_17, cve CVE_2021_44228, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2021_12_17, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;)
Emerging Threats Open. Rule created Dec 17, 2021. Last revised by ET Dec 17, 2021. Text on PcapHub refreshed 7mo ago.