Sigma rule: Apache Spark Shell Command Injection - ProcessCreation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d3972be63299, updated 2022-07-20T00:00:00.000Z.
Rule
- Title
- Apache Spark Shell Command Injection - ProcessCreation
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-07-20
- File
- rules-emerging-threats/2022/Exploits/CVE-2022-33891/proc_creation_lnx_exploit_cve_2022_33891_spark_shell_command_injection.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to exploit an apache spark server via CVE-2014-6287 from a commandline perspective
Log source
- product
- linux
- category
- process_creation
Detection
selection:
ParentImage|endswith: '\bash'
CommandLine|contains:
- 'id -Gn `'
- "id -Gn '"
condition: selectionFalse positives (as the rule lists them)
- Unlikely
Tags
- attack.initial-access
- attack.t1190
- cve.2022-33891
- detection.emerging-threats
CVEs this rule names
MITRE ATT&CK ids this rule names
References
- https://github.com/W01fh4cker/cve-2022-33891/blob/fd973b56e78bca8822caa3a2e3cf1b5aff5d0950/cve_2022_33891_poc.py
- https://sumsec.me/2022/CVE-2022-33891%20Apache%20Spark%20shell%20command%20injection.html
- https://github.com/apache/spark/pull/36315/files
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/2022/Exploits/CVE-2022-33891/proc_creation_lnx_exploit_cve_2022_33891_spark_shell_command_injection.yml
Sources and licences
SigmaHQ
"Apache Spark Shell Command Injection - ProcessCreation" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2022/Exploits/CVE-2022-33891/proc_creation_lnx_exploit_cve_2022_33891_spark_shell_command_injection.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Apache Spark Shell Command Injection - ProcessCreation",
entity page, dataset version ref-d3972be63299, updated 2022-07-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c8a5f584-cdc8-42cc-8cce-0398e4265de3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule c8a5f584-cdc8-42cc-8cce-0398e4265de3, 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.