Malicious Shell Execution via Foomatic-rip Print Filter through CUPS Exploit

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-07-14
Updated
2026-08-28

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects the foomatic-rip CUPS print filter spawning a shell interpreter such as bash or sh. The CUPS foomatic-rip vulnerability chain lets an attacker-supplied printer inject commands through the FoomaticRIPCommandLine field, yielding a reverse shell and follow-on CoinMiner deployment. Execution of a shell as a child of foomatic-rip indicates remote command injection.

Related detections9 linkedT1059.004 — drag to rearrange
Malicious Foomatic-Rip Filter Spawning Shell via CUPS Exploitation
Possible ExifTool CVE-2026-3102 Command Injection via Child Process Spawn (via process_creation)
Linux: Suspicious curl/wget Download to /tmp or /dev/shm Followed by sh -c Execution
Suspicious Base64 Decoded Payload Piped to Shell on Linux
Suspicious Netcat Reverse Shell via Named Pipe on Linux via Process Creation (via process_creation)
Suspicious OpenClaw Skill File Modification via File Event
Possible TP-Link Command Injection via WlanNetworkRpm Endpoint (via webserver)
Suspicious Base64 Decoded Shell Dropper via Command Line
Possible Mirai IoT Payload Staging via chmod on Linux (via process_creation)
Malicious Shell Execution via Foomatic-rip Print Filter through CUPS Exploit
Pivot detection · T1059.004 · 9 related

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