Linux sshd Spawns Root Shell Script Commands Suggesting CVE-2024-3094 Exploitation

Alerts on sshd spawning bash/sh one-liners as root, a potential indicator of CVE-2024-3094 style exploitation.

FreeReviewedSigma · High · v5
Product
linux
Category
process_creation
Author
Arnim Rupp, Nasreddine Bencherchali, Thomas Patzke (SigmaHQ), DRL 1.1
Published
2024-04-01
Updated
2026-07-31

What it detects

This rule flags process creation where the parent process is sshd and the child command line starts with either "bash -c" or "sh -c" executed as user root. Such activity can indicate post-authentication command execution behavior consistent with exploitation attempts tied to CVE-2024-3094. It relies on Linux process creation telemetry including parent image path, child command line, and executing user.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.