Sigma rule: Linux HackTool Execution

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8d29cc829016, updated 2024-09-19T00:00:00.000Z.

Rule

Title
Linux HackTool Execution
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), Georg Lauenstein (sure[secure])
Date
2023-01-03
Modified
2024-09-19
File
rules/linux/process_creation/proc_creation_lnx_susp_hktl_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects known hacktool execution based on image name.

Log source

product
linux
category
process_creation

Detection

selection_c2_frameworks:
    Image|endswith:
        - '/crackmapexec'
        - '/havoc'
        - '/merlin-agent'
        - '/merlinServer-Linux-x64'
        - '/msfconsole'
        - '/msfvenom'
        - '/ps-empire server'
        - '/ps-empire'
        - '/sliver-client'
        - '/sliver-server'
        - '/Villain.py'
selection_c2_framework_cobaltstrike:
    Image|contains:
        - '/cobaltstrike'
        - '/teamserver'
selection_scanners:
    Image|endswith:
        - '/autorecon'
        - '/httpx'
        - '/legion'
        - '/naabu'
        - '/netdiscover'
        - '/nuclei'
        - '/recon-ng'
selection_scanners_sniper:
    Image|contains: '/sniper'
selection_web_enum:
    Image|endswith:
        - '/dirb'
        - '/dirbuster'
        - '/eyewitness'
        - '/feroxbuster'
        - '/ffuf'
        - '/gobuster'
        - '/wfuzz'
        - '/whatweb'
selection_web_vuln:
    Image|endswith:
        - '/joomscan'
        - '/nikto'
        - '/wpscan'
selection_exploit_tools:
    Image|endswith:
        - '/aircrack-ng'
        - '/bloodhound-python'
        - '/bpfdos'
        - '/ebpfki'
        - '/evil-winrm'
        - '/hashcat'
        - '/hoaxshell.py'
        - '/hydra'
        - '/john'
        - '/ncrack'
        # default binary: https://github.com/Pennyw0rth/NetExec/releases/download/v1.0.0/nxc-ubuntu-latest
        - '/nxc-ubuntu-latest'
        - '/pidhide'
        - '/pspy32'
        - '/pspy32s'
        - '/pspy64'
        - '/pspy64s'
        - '/setoolkit'
        - '/sqlmap'
        - '/writeblocker'
selection_linpeas:
    # covers: all linux versions listed here: https://github.com/carlospolop/PEASS-ng/releases
    Image|contains: '/linpeas'
condition: 1 of selection_*

False positives (as the rule lists them)

  • Unlikely

Tags

  • attack.execution
  • attack.resource-development
  • attack.t1587

MITRE ATT&CK ids this rule names

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_hktl_execution.yml

Sources and licences

  • SigmaHQ

    "Linux HackTool Execution" by Nasreddine Bencherchali (Nextron Systems), Georg Lauenstein (sure[secure]) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_susp_hktl_execution.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: Linux HackTool Execution",
entity page, dataset version ref-8d29cc829016, updated 2024-09-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a015e032-146d-4717-8944-7a1884122111 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a015e032-146d-4717-8944-7a1884122111, 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.