CmdID

CmdID / Rules / Linux

Process Discovery

A Sigma rule for process creation on Linux, from SigmaHQ’s threat hunting rules, by Ömer Günal, oscd.community, CheraaghiMilad.

low 1 ATT&CK technique 6 programs it names 46 everyday examples trip it

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection:
    Image|endswith:
      - '/atop'
      - '/htop'
      - '/pgrep'
      - '/ps'
      - '/pstree'
      - '/top'
  condition: selection

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Ömer Günal, oscd.community, CheraaghiMilad, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

Command lines that trip it

everyday examples from tldr-pages, CC BY 4.0, each read by CmdID

Start fzf for running processes on the page for fzf

ps aux | fzfIdentify

Start top on the page for top

Do not show any idle or zombie processes on the page for top

top --idle-toggleIdentify

Show only processes owned by given user on the page for top

top --filter-only-euser usernameIdentify

Start on the page for atop

Start and display memory consumption for each process on the page for atop

atop -mIdentify

Start and display disk information on the page for atop

atop -dIdentify

Start and display background process information on the page for atop

atop -cIdentify

Start and display thread-specific resource utilization information on the page for atop

atop -yIdentify

Start and display the number of processes for each user on the page for atop

atop -auIdentify

Start htop on the page for htop

Start htop displaying processes owned by a specific user on the page for htop

htop --user usernameIdentify

And 34 more examples on CmdID’s program pages.

The commands LOLBAS or GTFOBins documents for top trip it too: each is on its program’s page, read by CmdID.

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1057Process Discovery