Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Robbinhood

Robbinhood ransomware payload

MalwareRobbinhoodditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 75

Ce que détecte cette règle

Robbinhood ransomware payload

Famille de malware associée : Robbinhood.

Cibles : PE Windows.

Elle définit 14 motifs (13 texte, 0 hex, 1 regex).

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

Source de la règle

malware-win-robbinhood.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Robbinhood : FILE
{
	meta:
		description = "Robbinhood ransomware payload"
		author = "ditekSHen"
		id = "a5066a22-3c87-5e9f-a94f-5a44af2f96fd"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L765-L787"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "f1c4226ed5cb1583418d5ef0efc2c2b5bc3cfe7f148f359c5d432fd660331a46"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.Robbinhood"

	strings:
		$go = "Go build ID:" ascii
		$cmd1 = "cmd.exe /c" ascii
		$cmd2 = "net use * /DELETE" nocase ascii
		$cmd3 = "sc.exe stop" ascii
		$cmd4 = "vssadmin resize shadowstorage" nocase ascii
		$s1 = /Skipping\s(file|dir)/ ascii
		$s2 = "Encrypt[ERR] GET Size:" ascii
		$s3 = ".taskkilltasklistunknown(" ascii
		$s4 = ".sysvssadmin.exewevtutil.exe MB released" ascii
		$s5 = ".sysvssadmin.exewevtutil.exewinlogin.exewinlogon.exe MB released" ascii
		$s6 = ".enc_robbinhood" ascii
		$s7 = "c:\\windows\\temp\\pub.key" nocase ascii
		$s8 = "main.CoolMaker" ascii
		$s9 = "/valery/go/src/oldboy/" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( $go and 1 of ( $cmd* ) and 3 of ( $s* ) )
}

Chaînes (14 motifs)

IdentifiantTypeValeurModificateurs
$gotexte"Go build ID:"ascii
$cmd1texte"cmd.exe /c"ascii
$cmd2texte"net use * /DELETE"nocase ascii
$cmd3texte"sc.exe stop"ascii
$cmd4texte"vssadmin resize shadowstorage"nocase ascii
$s1regex/Skipping\s(file|dir)/ascii
$s2texte"Encrypt[ERR] GET Size:"ascii
$s3texte".taskkilltasklistunknown("ascii
$s4texte".sysvssadmin.exewevtutil.exe MB released"ascii
$s5texte".sysvssadmin.exewevtutil.exewinlogin.exewinlogon.exe MB released"ascii
$s6texte".enc_robbinhood"ascii
$s7texte"c:\\windows\\temp\\pub.key"nocase ascii
$s8texte"main.CoolMaker"ascii
$s9texte"/valery/go/src/oldboy/"ascii

Condition

uint16( 0 ) == 0x5a4d and ( $go and 1 of ( $cmd* ) and 3 of ( $s* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 1 motifs de ( $cmd* ) doivent être trouvés.
  • Au moins 3 motifs de ( $s* ) doivent être trouvés.
  • Le motif $go doit être présent.

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 : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: a5066a22-3c87-5e9f-a94f-5a44af2f96fd

Métadonnées

clamav_sigMALWARE.Win.Ransomware.Robbinhood

Tags:FILE