Windows: Detects Suspicious cmd.exe or PowerShell spawned from Confluence (tomcat) Processes

Alerts when Confluence/embedded Tomcat spawns cmd.exe or PowerShell on Windows, indicating possible command execution after exploitation.

FreeReviewedSigma · Medium · v5
Product
windows
Category
process_creation
Author
Andreas Braathen (mnemonic.io) (SigmaHQ), DRL 1.1
Published
2023-11-14
Updated
2026-07-31

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule flags exploitation attempts associated with CVE-2023-22518 by detecting Windows process chains where a Confluence-related Tomcat parent process spawns a child command interpreter. Attackers commonly use cmd.exe or PowerShell to execute attacker-controlled commands after reaching a vulnerable Confluence endpoint. The detection relies on process creation telemetry, matching parent image/command line patterns for Confluence within Tomcat and child process names/images ending in cmd.exe or PowerShell.exe.

Related detections9 linkedT1059 — drag to rearrange
Possible Ivanti Pulse Connect Secure Command Injection via License Keys-Status Endpoint (via webserver)
Possible Craft CMS RCE via Query-String CLI Option Injection
Possible Aspera Faspex Pre-Auth RCE via YAML Deserialization in package_relay (via webserver)
Possible Sitecore Pre-Auth RCE via Report.ashx Insecure Deserialization (via webserver)
Possible WatchGuard Pre-Auth RCE via agent login XML-RPC CVE-2022-26318
Possible Oracle Opera CGI Webshell Command Execution via operabin
Suspicious PHP Stream Wrapper in Query-String CLI Argument
Possible Sitecore Experience Platform Pre-Auth RCE via TypeConfuseDelegate Gadget (via webserver)
Possible SSTI Remote Command Execution from Web Application Process
Windows: Detects Suspicious cmd.exe or PowerShell spawned from Confluence (tomcat) Processes
Pivot detection · T1059 · 9 related

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.