Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_PUA_Crypto_Mining_Commandline_Indicators_Oct21

Detects command line parameters often used by crypto mining software

Potencialmente no deseadoSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth (Nextron Systems)
Fecha
2021-10-24
Modificada
2023-12-05
Puntuación / Calidad
65 / 85

Qué detecta esta regla

Detects command line parameters often used by crypto mining software

Define 15 patrones (15 de texto, 0 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

pua-crypto-mining-commandline-indicators-oct21.yarDetection Rule License 1.1
rule SIGNATURE_BASE_PUA_Crypto_Mining_Commandline_Indicators_Oct21 : SCRIPT FILE
{
	meta:
		description = "Detects command line parameters often used by crypto mining software"
		author = "Florian Roth (Nextron Systems)"
		id = "afe5a63a-08c3-5cb7-b4b1-b996068124b7"
		date = "2021-10-24"
		modified = "2023-12-05"
		reference = "https://www.poolwatch.io/coin/monero"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/pua_cryptocoin_miner.yar#L54-L88"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "7ae1a77d8ff02ec539ce2b8be668530c3f509f0c408dfa7f2b749b0a4d6f45b7"
		score = 65
		quality = 85
		tags = "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
}

Cadenas (15 patrones)

IdentificadorTipoValorModificadores
$s01texto" --cpu-priority="
$s02texto"--donate-level=0"
$s03texto" -o pool."
$s04texto" -o stratum+tcp://"
$s05texto" --nicehash"
$s06texto" --algo=rx/0 "
$se1texto"LS1kb25hdGUtbGV2ZWw9"
$se2texto"0tZG9uYXRlLWxldmVsP"
$se3texto"tLWRvbmF0ZS1sZXZlbD"
$se4texto"c3RyYXR1bSt0Y3A6Ly"
$se5texto"N0cmF0dW0rdGNwOi8v"
$se6texto"zdHJhdHVtK3RjcDovL"
$se7texto"c3RyYXR1bSt1ZHA6Ly"
$se8texto"N0cmF0dW0rdWRwOi8v"
$se9texto"zdHJhdHVtK3VkcDovL"

Condición

filesize < 5000KB and 1 of them

En palabras sencillas (Heurística)

  • El archivo debe ocupar menos de 5000KB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 1 patrones de la regla.

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Licencia y atribución

Autor: Florian Roth (Nextron Systems)

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: afe5a63a-08c3-5cb7-b4b1-b996068124b7

Etiquetas:SCRIPTFILE