CmdID

CmdID / Rules / Linux

Linux Crypto Mining Indicators

A Sigma rule for process creation on Linux, by Florian Roth (Nextron Systems).

high 1 ATT&CK technique

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection:
    CommandLine|contains:
      - ' --cpu-priority='
      - '--donate-level=0'
      - ' -o pool.'
      - ' --nicehash'
      - ' --algo=rx/0 '
      - 'stratum+tcp://'
      - 'stratum+udp://'
      - 'sh -c /sbin/modprobe msr allow_writes=on'
      - 'LS1kb25hdGUtbGV2ZWw9'
      - '0tZG9uYXRlLWxldmVsP'
      - 'tLWRvbmF0ZS1sZXZlbD'
      - 'c3RyYXR1bSt0Y3A6Ly'
      - 'N0cmF0dW0rdGNwOi8v'
      - 'zdHJhdHVtK3RjcDovL'
      - 'c3RyYXR1bSt1ZHA6Ly'
      - 'N0cmF0dW0rdWRwOi8v'
      - 'zdHJhdHVtK3VkcDovL'
  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 Florian Roth (Nextron Systems), 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.

None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.

ATT&CK

the techniques it is tagged with
T1496Resource Hijacking