Sigma rule: Linux Crypto Mining Indicators

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

Rule

Title
Linux Crypto Mining Indicators
Status
test
Level
high
Author
Florian Roth (Nextron Systems)
Date
2021-10-26
Modified
2022-12-25
File
rules/linux/process_creation/proc_creation_lnx_crypto_mining.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects command line parameters or strings often used by crypto miners

Log source

product
linux
category
process_creation

Detection

selection:
    CommandLine|contains:
        - ' --cpu-priority='
        - '--donate-level=0'
        - ' -o pool.'
        - ' --nicehash'
        - ' --algo=rx/0 '
        - 'stratum+tcp://'
        - 'stratum+udp://'
        # Sub process started by xmrig - the most popular Monero crypto miner - unknown if this causes any false positives
        - 'sh -c /sbin/modprobe msr allow_writes=on'
        # base64 encoded: --donate-level=
        - 'LS1kb25hdGUtbGV2ZWw9'
        - '0tZG9uYXRlLWxldmVsP'
        - 'tLWRvbmF0ZS1sZXZlbD'
        # base64 encoded: stratum+tcp:// and stratum+udp://
        - 'c3RyYXR1bSt0Y3A6Ly'
        - 'N0cmF0dW0rdGNwOi8v'
        - 'zdHJhdHVtK3RjcDovL'
        - 'c3RyYXR1bSt1ZHA6Ly'
        - 'N0cmF0dW0rdWRwOi8v'
        - 'zdHJhdHVtK3VkcDovL'
condition: selection

False positives (as the rule lists them)

  • Legitimate use of crypto miners

Tags

  • attack.impact
  • attack.t1496

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

Sources and licences

  • SigmaHQ

    "Linux Crypto Mining Indicators" by Florian Roth (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/linux/process_creation/proc_creation_lnx_crypto_mining.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 Crypto Mining Indicators",
entity page, dataset version ref-05ed1f227462, updated 2022-12-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/9069ea3c-b213-4c52-be13-86506a227ab1 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 9069ea3c-b213-4c52-be13-86506a227ab1, 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.