Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Miner_Win_Xmrig_Strings

Detects XMRig EXE

MalwareSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-01-04
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects XMRig EXE

Elle définit 19 motifs (19 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

miner-win-xmrig-strings.yarDetection Rule License 1.1
rule SEKOIA_Miner_Win_Xmrig_Strings : FILE
{
	meta:
		description = "Detects XMRig EXE"
		author = "Sekoia.io"
		id = "35f203aa-20cd-4235-9ead-b34be14255d5"
		date = "2024-01-04"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/miner_win_xmrig_strings.yar#L1-L35"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "34aa0da9d3bb277927c87a3745ec9e35881682319c91141da6ff1cff7e0610d9"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "XMRig "
		$ = "pool_wallet"
		$ = "IP Address currently banned"
		$ = "rigid"
		$ = "diff_current"
		$ = "shares_good"
		$ = "shares_total"
		$ = "avg_time"
		$ = "avg_time_ms"
		$ = "hashes_total"
		$ = "pool address"
		$ = "ping time"
		$ = "connection time"
		$ = "daemon+wss://"
		$ = "daemon+https://"
		$ = "daemon+http://"
		$ = "socks5://"
		$ = "stratum+ssl://"
		$ = "stratum+tcp://"

	condition:
		uint32be( 0 ) == 0x5A4D and filesize < 15MB and 7 of them
}

Chaînes (19 motifs)

IdentifiantTypeValeurModificateurs
$texte"XMRig "
$texte"pool_wallet"
$texte"IP Address currently banned"
$texte"rigid"
$texte"diff_current"
$texte"shares_good"
$texte"shares_total"
$texte"avg_time"
$texte"avg_time_ms"
$texte"hashes_total"
$texte"pool address"
$texte"ping time"
$texte"connection time"
$texte"daemon+wss://"
$texte"daemon+https://"
$texte"daemon+http://"
$texte"socks5://"
$texte"stratum+ssl://"
$texte"stratum+tcp://"

Condition

uint32be( 0 ) == 0x5A4D and filesize < 15MB and 7 of them

En clair (Heuristique)

  • Le fichier doit faire moins de 15MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 7 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 35f203aa-20cd-4235-9ead-b34be14255d5

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE