For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/1bw-akj-fk7.md. A documentation index is available at /llms.txt.

Log4Shell Scanning Detected

Goal

Detect when a Log4j scanning attempt occurs in your environment.

Strategy

Regex search on logs to find specific payloads indicative of Log4j scanning.

Triage and response

  1. Investigate if the host is running a vulnerable version of the Log4j Java library
  2. Use the Log4j Investigation Dashboard to conduct impact analysis
  3. Explore what other services the attacker hit in the last day - Linked to investigation query
  4. Explore Java logs associated with the attacker - linked to investigation query