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: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.execution

References

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

    Detection Rule License (DRL) 1.1

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.