{"id":"9069ea3c-b213-4c52-be13-86506a227ab1","title":"Linux Crypto Mining Indicators","description":"Detects command line parameters or strings often used by crypto miners","author":"Florian Roth (Nextron Systems)","status":"test","level":"high","date":"2021-10-26","modified":"2022-12-25","tags":["attack.impact","attack.t1496"],"technique_ids":["T1496"],"logsource":{"product":"linux","category":"process_creation"},"falsepositives":["Legitimate use of crypto miners"],"references":["https://www.poolwatch.io/coin/monero"],"source_path":"rules/linux/process_creation/proc_creation_lnx_crypto_mining.yml","source_sha256":"5e6041f1d175d91f877da25024205444fc725aff06dffa4f7312200a9c8b378a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/linux/process_creation/proc_creation_lnx_crypto_mining.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Linux Crypto Mining Indicators\nid: 9069ea3c-b213-4c52-be13-86506a227ab1\nstatus: test\ndescription: Detects command line parameters or strings often used by crypto miners\nreferences:\n    - https://www.poolwatch.io/coin/monero\nauthor: Florian Roth (Nextron Systems)\ndate: 2021-10-26\nmodified: 2022-12-25\ntags:\n    - attack.impact\n    - attack.t1496\nlogsource:\n    product: linux\n    category: process_creation\ndetection:\n    selection:\n        CommandLine|contains:\n            - ' --cpu-priority='\n            - '--donate-level=0'\n            - ' -o pool.'\n            - ' --nicehash'\n            - ' --algo=rx/0 '\n            - 'stratum+tcp://'\n            - 'stratum+udp://'\n            # Sub process started by xmrig - the most popular Monero crypto miner - unknown if this causes any false positives\n            - 'sh -c /sbin/modprobe msr allow_writes=on'\n            # base64 encoded: --donate-level=\n            - 'LS1kb25hdGUtbGV2ZWw9'\n            - '0tZG9uYXRlLWxldmVsP'\n            - 'tLWRvbmF0ZS1sZXZlbD'\n            # base64 encoded: stratum+tcp:// and stratum+udp://\n            - 'c3RyYXR1bSt0Y3A6Ly'\n            - 'N0cmF0dW0rdGNwOi8v'\n            - 'zdHJhdHVtK3RjcDovL'\n            - 'c3RyYXR1bSt1ZHA6Ly'\n            - 'N0cmF0dW0rdWRwOi8v'\n            - 'zdHJhdHVtK3VkcDovL'\n    condition: selection\nfalsepositives:\n    - Legitimate use of crypto miners\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1496","id":"T1496","name":"Resource Hijacking","page":"techniques/enterprise/T1496/"}],"data_path":"data/detection-rules/9069ea3c-b213-4c52-be13-86506a227ab1.json","kind":"sigma"}
