Sigma rule: Suspicious Commands Linux

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-48704722c06b, updated 2022-10-05T00:00:00.000Z.

Rule

Title
Suspicious Commands Linux
Status
test
Level
medium
Author
Florian Roth (Nextron Systems)
Date
2017-12-12
Modified
2022-10-05
File
rules/linux/auditd/execve/lnx_auditd_susp_cmds.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects relevant commands often related to malware or hacking activity

Log source

product
linux
service
auditd

Detection

cmd1:
    type: 'EXECVE'
    a0: 'chmod'
    a1: 777
cmd2:
    type: 'EXECVE'
    a0: 'chmod'
    a1: 'u+s'
cmd3:
    type: 'EXECVE'
    a0: 'cp'
    a1: '/bin/ksh'
cmd4:
    type: 'EXECVE'
    a0: 'cp'
    a1: '/bin/sh'
condition: 1 of cmd*

False positives (as the rule lists them)

  • Admin activity

Tags

  • attack.execution
  • attack.t1059.004

MITRE ATT&CK ids this rule names

References

  • Internal Research - mostly derived from exploit code including code in MSF

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/auditd/execve/lnx_auditd_susp_cmds.yml

Sources and licences

  • SigmaHQ

    "Suspicious Commands Linux" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/auditd/execve/lnx_auditd_susp_cmds.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: Suspicious Commands Linux",
entity page, dataset version ref-48704722c06b, updated 2022-10-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1543ae20-cbdf-4ec1-8d12-7664d667a825 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1543ae20-cbdf-4ec1-8d12-7664d667a825, 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.