ET HUNTING Possible Apache log4j RCE Attempt - Any Protocol TCP (CVE-2021-44228)
SID 2034661 · rev 2 · classtype misc-activity
What this signature means
A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
TCP traffic from any host to a monitored host or web server, 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 contains "|3a 2f 2f|" (bytes between | | are hexadecimal) (within 20 bytes of the previous match)
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
- Covers CVE-2021-44228.
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 any any -> [$HOME_NET,$HTTP_SERVERS] any (msg:"ET HUNTING Possible Apache log4j RCE Attempt - Any Protocol TCP (CVE-2021-44228)"; flow:established,to_server; content:"|24 7b|jndi|3a|"; nocase; fast_pattern; content:"|3a 2f 2f|"; within:20; reference:cve,2021-44228; classtype:misc-activity; sid:2034661; rev:2; metadata:created_at 2021_12_11, cve CVE_2021_44228, confidence Medium, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_08;)
Emerging Threats Open. Rule created Dec 11, 2021. Last revised by ET Mar 8, 2024. Text on PcapHub refreshed 7mo ago.