Sigma rule: Shell Execution Of Process Located In Tmp Directory
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5ee613468a04, updated 2023-06-02T00:00:00.000Z.
Rule
- Title
- Shell Execution Of Process Located In Tmp Directory
- Status
- test
- Level
- high
- Author
- Joseliyo Sanchez, @Joseliyo_Jstnk
- Date
- 2023-06-02
- File
- rules/linux/process_creation/proc_creation_lnx_susp_shell_child_process_from_parent_tmp_folder.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of shells from a parent process located in a temporary (/tmp) directory
Log source
- product
- linux
- category
- process_creation
Detection
selection:
ParentImage|startswith: '/tmp/'
Image|endswith:
- '/bash'
- '/csh'
- '/dash'
- '/fish'
- '/ksh'
- '/sh'
- '/zsh'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
References
- https://blogs.jpcert.or.jp/en/2023/05/gobrat.html
- https://jstnk9.github.io/jstnk9/research/GobRAT-Malware/
- https://www.virustotal.com/gui/file/60bcd645450e4c846238cf0e7226dc40c84c96eba99f6b2cffcd0ab4a391c8b3/detection
- https://www.virustotal.com/gui/file/3e44c807a25a56f4068b5b8186eee5002eed6f26d665a8b791c472ad154585d1/detection
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_susp_shell_child_process_from_parent_tmp_folder.yml
Sources and licences
SigmaHQ
"Shell Execution Of Process Located In Tmp Directory" by Joseliyo Sanchez, @Joseliyo_Jstnk (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_susp_shell_child_process_from_parent_tmp_folder.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: Shell Execution Of Process Located In Tmp Directory",
entity page, dataset version ref-5ee613468a04, updated 2023-06-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2fade0b6-7423-4835-9d4f-335b39b83867 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2fade0b6-7423-4835-9d4f-335b39b83867, 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.