Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Buran

Buran ransomware payload

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

Ce que détecte cette règle

Buran ransomware payload

Famille de malware associée : Buran.

Cibles : PE Windows.

Elle définit 22 motifs (22 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

malware-win-buran.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Buran : FILE
{
	meta:
		description = "Buran ransomware payload"
		author = "ditekSHen"
		id = "1433bac5-2ece-54bb-8e57-b5834fffc719"
		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#L871-L903"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "eaf50d824dbade0ca63fafc5b4a376553039de9b51a0f6387cb28c8f91a7e0b9"
		score = 75
		quality = 73
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.Buran"

	strings:
		$v1_1 = "U?$error_info_injector@V" ascii
		$v1_2 = "Browse for Folder (FTP)" fullword ascii
		$v1_3 = "Find/Replace in Files" fullword ascii
		$v1_4 = "PAHKLM" fullword ascii
		$v1_5 = "PAHKCR" fullword ascii
		$v1_6 = "chkOpt_" ascii
		$h1 = "Search <a href=\"location\" class=\"menu\">in this folder</a>" ascii
		$h2 = "<br>to find where the text below" ascii
		$h3 = "</a> files with these extensions (separate with semi-colons)" ascii
		$h4 = "Need help with <a href=\"" ascii
		$path = "\\work\\cr\\nata\\libs\\boost_" wide
		$v2_1 = "(ShlObj" fullword ascii
		$v2_2 = "\\StreamUnit" fullword ascii
		$v2_3 = "TReadme" fullword ascii
		$v2_4 = "TDrivesAndShares" fullword ascii
		$v2_5 = "TCustomMemoryStreamD" fullword ascii
		$v2_6 = "OpenProcessToken" fullword ascii
		$v2_7 = "UrlMon" fullword ascii
		$v2_8 = "HttpSendRequestA" fullword ascii
		$v2_9 = "InternetConnectA" fullword ascii
		$v2_10 = "FindFiles" fullword ascii
		$v2_12 = "$*@@@*$@@@$" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )
}

Chaînes (22 motifs)

IdentifiantTypeValeurModificateurs
$v1_1texte"U?$error_info_injector@V"ascii
$v1_2texte"Browse for Folder (FTP)"fullword ascii
$v1_3texte"Find/Replace in Files"fullword ascii
$v1_4texte"PAHKLM"fullword ascii
$v1_5texte"PAHKCR"fullword ascii
$v1_6texte"chkOpt_"ascii
$h1texte"Search <a href=\"location\" class=\"menu\">in this folder</a>"ascii
$h2texte"<br>to find where the text below"ascii
$h3texte"</a> files with these extensions (separate with semi-colons)"ascii
$h4texte"Need help with <a href=\""ascii
$pathtexte"\\work\\cr\\nata\\libs\\boost_"wide
$v2_1texte"(ShlObj"fullword ascii
$v2_2texte"\\StreamUnit"fullword ascii
$v2_3texte"TReadme"fullword ascii
$v2_4texte"TDrivesAndShares"fullword ascii
$v2_5texte"TCustomMemoryStreamD"fullword ascii
$v2_6texte"OpenProcessToken"fullword ascii
$v2_7texte"UrlMon"fullword ascii
$v2_8texte"HttpSendRequestA"fullword ascii
$v2_9texte"InternetConnectA"fullword ascii
$v2_10texte"FindFiles"fullword ascii
$v2_12texte"$*@@@*$@@@$"ascii

Condition

uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $v1* ) doivent être trouvés.
  • Tous les motifs de ( $v2* ) doivent être trouvés.
  • Au moins 1 motifs de ( $h* ) doivent être trouvés.
  • Au moins 2 motifs de ( $v1* ) doivent être trouvés.
  • Au moins 10 motifs de la règle doivent être trouvés.
  • Le motif $path 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: 1433bac5-2ece-54bb-8e57-b5834fffc719

Métadonnées

clamav_sigMALWARE.Win.Ransomware.Buran

Tags:FILE