Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_MB150

Detects MB150? Go ransomware

MalwareMB150ditekSHen 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

Detects MB150? Go ransomware

Famille de malware associée : MB150.

Cibles : PE Windows.

Elle définit 19 motifs (17 texte, 0 hex, 2 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-mb150.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_MB150 : FILE
{
	meta:
		description = "Detects MB150? Go ransomware"
		author = "ditekSHen"
		id = "9688974b-ccf9-59ea-bb31-e46c63f021bf"
		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#L7376-L7402"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "a07535fc53912ddde6a0bed187c21ecdb2701d317d7de0cbdd2db37071bc9a21"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = /main\.evade_(clicks_count|cpu_count|disk_size|foreground_window|hostname|mac|printer|screen_size|system_memory|time_acceleration|tmp|utc)/ fullword ascii
		$x2 = /main\.sandbox_(hostname|mac_addresses)/ fullword ascii
		$x3 = "main.drop_ransom_note" fullword ascii
		$x4 = "main.ransom_amount" fullword ascii
		$x5 = "main.create_encryption_key" fullword ascii
		$x6 = "main.encrypt" fullword ascii
		$x7 = "main.encrypt_encryption_key" fullword ascii
		$x8 = "main.encrypt_file" fullword ascii
		$x9 = "main.ext_blacklist" fullword ascii
		$mac1 = "00:03:FF00:05:6900:0C:2900:16:3E00:1C:1400:1C:4200:50:56" ascii nocase
		$mac2 = "00-03-FF00-05-6900-0C-2900-16-3E00-1C-1400-1C-4200-50-56" ascii nocase
		$mac3 = "0003FF000569000C2900163E001C14001C42005056" ascii nocase
		$go = "Go build ID:" ascii
		$s1 = "main.MB150" ascii
		$s2 = "http://1.1.1.1" ascii
		$s3 = "your personnal ID" ascii
		$s4 = "ransom amount" ascii
		$s5 = "binance.com" ascii
		$s6 = "getmonero.org" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or ( $go and 4 of ( $s* ) ) or ( 1 of ( $mac* ) and ( 2 of ( $x* ) or 3 of ( $s* ) ) ) )
}

Chaînes (19 motifs)

IdentifiantTypeValeurModificateurs
$x1regex/main\.evade_(clicks_count|cpu_count|disk_size|foreground_window|hostname|mac|printer|screen_size|system_memory|time_acceleration|tmp|utc)/fullword ascii
$x2regex/main\.sandbox_(hostname|mac_addresses)/fullword ascii
$x3texte"main.drop_ransom_note"fullword ascii
$x4texte"main.ransom_amount"fullword ascii
$x5texte"main.create_encryption_key"fullword ascii
$x6texte"main.encrypt"fullword ascii
$x7texte"main.encrypt_encryption_key"fullword ascii
$x8texte"main.encrypt_file"fullword ascii
$x9texte"main.ext_blacklist"fullword ascii
$mac1texte"00:03:FF00:05:6900:0C:2900:16:3E00:1C:1400:1C:4200:50:56"ascii nocase
$mac2texte"00-03-FF00-05-6900-0C-2900-16-3E00-1C-1400-1C-4200-50-56"ascii nocase
$mac3texte"0003FF000569000C2900163E001C14001C42005056"ascii nocase
$gotexte"Go build ID:"ascii
$s1texte"main.MB150"ascii
$s2texte"http://1.1.1.1"ascii
$s3texte"your personnal ID"ascii
$s4texte"ransom amount"ascii
$s5texte"binance.com"ascii
$s6texte"getmonero.org"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or ( $go and 4 of ( $s* ) ) or ( 1 of ( $mac* ) and ( 2 of ( $x* ) or 3 of ( $s* ) ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 4 motifs de ( $x* ) doivent être trouvés.
  • Au moins 4 motifs de ( $s* ) doivent être trouvés.
  • Au moins 1 motifs de ( $mac* ) doivent être trouvés.
  • Au moins 2 motifs de ( $x* ) 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: 9688974b-ccf9-59ea-bb31-e46c63f021bf

Tags:FILE