YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_PUA_Crypto_Mining_Commandline_Indicators_Oct21
Detects command line parameters often used by crypto mining software
Potentially unwantedSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-10-24
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
Detects command line parameters often used by crypto mining software
It defines 15 patterns (15 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
pua-crypto-mining-commandline-indicators-oct21.yarDetection Rule License 1.1
rule SIGNATURE_BASE_PUA_Crypto_Mining_Commandline_Indicators_Oct21 : SCRIPT FILE
{
meta:
= "Detects command line parameters often used by crypto mining software"
= "Florian Roth (Nextron Systems)"
= "afe5a63a-08c3-5cb7-b4b1-b996068124b7"
= "2021-10-24"
= "2023-12-05"
= "https://www.poolwatch.io/coin/monero"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/pua_cryptocoin_miner.yar#L54-L88"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "7ae1a77d8ff02ec539ce2b8be668530c3f509f0c408dfa7f2b749b0a4d6f45b7"
= 65
= 85
= "SCRIPT, FILE"
strings:
$s01 = " --cpu-priority="
$s02 = "--donate-level=0"
$s03 = " -o pool."
$s04 = " -o stratum+tcp://"
$s05 = " --nicehash"
$s06 = " --algo=rx/0 "
$se1 = "LS1kb25hdGUtbGV2ZWw9"
$se2 = "0tZG9uYXRlLWxldmVsP"
$se3 = "tLWRvbmF0ZS1sZXZlbD"
$se4 = "c3RyYXR1bSt0Y3A6Ly"
$se5 = "N0cmF0dW0rdGNwOi8v"
$se6 = "zdHJhdHVtK3RjcDovL"
$se7 = "c3RyYXR1bSt1ZHA6Ly"
$se8 = "N0cmF0dW0rdWRwOi8v"
$se9 = "zdHJhdHVtK3VkcDovL"
condition:
filesize < 5000KB and 1 of them
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s01 | text | " --cpu-priority=" | |
| $s02 | text | "--donate-level=0" | |
| $s03 | text | " -o pool." | |
| $s04 | text | " -o stratum+tcp://" | |
| $s05 | text | " --nicehash" | |
| $s06 | text | " --algo=rx/0 " | |
| $se1 | text | "LS1kb25hdGUtbGV2ZWw9" | |
| $se2 | text | "0tZG9uYXRlLWxldmVsP" | |
| $se3 | text | "tLWRvbmF0ZS1sZXZlbD" | |
| $se4 | text | "c3RyYXR1bSt0Y3A6Ly" | |
| $se5 | text | "N0cmF0dW0rdGNwOi8v" | |
| $se6 | text | "zdHJhdHVtK3RjcDovL" | |
| $se7 | text | "c3RyYXR1bSt1ZHA6Ly" | |
| $se8 | text | "N0cmF0dW0rdWRwOi8v" | |
| $se9 | text | "zdHJhdHVtK3VkcDovL" |
Condition
filesize < 5000KB and 1 of themIn plain words (Heuristic)
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- At least 1 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: afe5a63a-08c3-5cb7-b4b1-b996068124b7
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- Potentially unwantedSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-12-31
- Potentially unwantedSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-07-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-08
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-11
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25