Detection rules › Sigma
Possible Coin Miner CPU Priority Param
Detects command line parameter very often used with coin miners
Known false positives
- Other tools that use a --cpu-priority flag
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation |
Telemetry coverage
| Platform | Record / event type |
|---|---|
| Linux | auditd EXECVE record: Arguments supplied to the execve system call |
Rule body
title: Possible Coin Miner CPU Priority Param
id: 071d5e5a-9cef-47ec-bc4e-a42e34d8d0ed
status: test
description: Detects command line parameter very often used with coin miners
references:
- https://xmrig.com/docs/miner/command-line-options
author: Florian Roth (Nextron Systems)
date: 2021-10-09
modified: 2022-12-25
tags:
- attack.privilege-escalation
- attack.t1068
logsource:
product: linux
service: auditd
detection:
cmd1:
a1|startswith: '--cpu-priority'
cmd2:
a2|startswith: '--cpu-priority'
cmd3:
a3|startswith: '--cpu-priority'
cmd4:
a4|startswith: '--cpu-priority'
cmd5:
a5|startswith: '--cpu-priority'
cmd6:
a6|startswith: '--cpu-priority'
cmd7:
a7|startswith: '--cpu-priority'
condition: 1 of cmd*
falsepositives:
- Other tools that use a --cpu-priority flag
level: critical
Stages and Predicates
Stage 0: condition
1 of cmd*Stage 1: cmd1
cmd1:
a1|startswith: '--cpu-priority'
Stage 2: cmd2
cmd2:
a2|startswith: '--cpu-priority'
Stage 3: cmd3
cmd3:
a3|startswith: '--cpu-priority'
Stage 4: cmd4
cmd4:
a4|startswith: '--cpu-priority'
Stage 5: cmd5
cmd5:
a5|startswith: '--cpu-priority'
Stage 6: cmd6
cmd6:
a6|startswith: '--cpu-priority'
Stage 7: cmd7
cmd7:
a7|startswith: '--cpu-priority'
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
a1 | starts_with |
| field:"a1" kind:starts_with value:"--cpu-priority" |
a2 | starts_with |
| field:"a2" kind:starts_with value:"--cpu-priority" |
a3 | starts_with |
| field:"a3" kind:starts_with value:"--cpu-priority" |
a4 | starts_with |
| field:"a4" kind:starts_with value:"--cpu-priority" |
a5 | starts_with |
| field:"a5" kind:starts_with value:"--cpu-priority" |
a6 | starts_with |
| field:"a6" kind:starts_with value:"--cpu-priority" |
a7 | starts_with |
| field:"a7" kind:starts_with value:"--cpu-priority" |