Sigma rule: Log4j RCE CVE-2021-44228 Generic

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-ead55f01ddbc, updated 2022-02-06T00:00:00.000Z.

Rule

Title
Log4j RCE CVE-2021-44228 Generic
Status
test
Level
high
Author
Florian Roth (Nextron Systems)
Date
2021-12-10
Modified
2022-02-06
File
rules-emerging-threats/2021/Exploits/CVE-2021-44228/web_cve_2021_44228_log4j.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects exploitation attempt against log4j RCE vulnerability reported as CVE-2021-44228 (Log4Shell)

Log source

category
webserver

Detection

keywords:
    - '${jndi:ldap:/'
    - '${jndi:rmi:/'
    - '${jndi:ldaps:/'
    - '${jndi:dns:/'
    - '/$%7bjndi:'
    - '%24%7bjndi:'
    - '$%7Bjndi:'
    - '%2524%257Bjndi'
    - '%2F%252524%25257Bjndi%3A'
    - '${jndi:${lower:'
    - '${::-j}${'
    - '${jndi:nis'
    - '${jndi:nds'
    - '${jndi:corba'
    - '${jndi:iiop'
    - 'Reference Class Name: foo'
    - '${${env:BARFOO:-j}'
    - '${::-l}${::-d}${::-a}${::-p}'
    - '${base64:JHtqbmRp'
    - '${${env:ENV_NAME:-j}ndi${env:ENV_NAME:-:}$'
    - '${${lower:j}ndi:'
    - '${${upper:j}ndi:'
    - '${${::-j}${::-n}${::-d}${::-i}:'
filter:
    - 'w.nessus.org/nessus'
    - '/nessus}'
condition: keywords and not filter

False positives (as the rule lists them)

  • Vulnerability scanning

Tags

  • attack.initial-access
  • attack.t1190
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2021/Exploits/CVE-2021-44228/web_cve_2021_44228_log4j.yml

Sources and licences

  • SigmaHQ

    "Log4j RCE CVE-2021-44228 Generic" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2021/Exploits/CVE-2021-44228/web_cve_2021_44228_log4j.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Log4j RCE CVE-2021-44228 Generic",
entity page, dataset version ref-ead55f01ddbc, updated 2022-02-06T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5ea8faa8-db8b-45be-89b0-151b84c82702 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5ea8faa8-db8b-45be-89b0-151b84c82702, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.