Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Buran

Buran ransomware payload

MalwareBuranditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 73

Was diese Regel erkennt

Buran ransomware payload

Zugehörige Malware-Familie: Buran.

Ziele: Windows-PE.

Sie definiert 22 Muster (22 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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* ) )
}

Strings (22 Muster)

BezeichnerTypWertModifikatoren
$v1_1Text"U?$error_info_injector@V"ascii
$v1_2Text"Browse for Folder (FTP)"fullword ascii
$v1_3Text"Find/Replace in Files"fullword ascii
$v1_4Text"PAHKLM"fullword ascii
$v1_5Text"PAHKCR"fullword ascii
$v1_6Text"chkOpt_"ascii
$h1Text"Search <a href=\"location\" class=\"menu\">in this folder</a>"ascii
$h2Text"<br>to find where the text below"ascii
$h3Text"</a> files with these extensions (separate with semi-colons)"ascii
$h4Text"Need help with <a href=\""ascii
$pathText"\\work\\cr\\nata\\libs\\boost_"wide
$v2_1Text"(ShlObj"fullword ascii
$v2_2Text"\\StreamUnit"fullword ascii
$v2_3Text"TReadme"fullword ascii
$v2_4Text"TDrivesAndShares"fullword ascii
$v2_5Text"TCustomMemoryStreamD"fullword ascii
$v2_6Text"OpenProcessToken"fullword ascii
$v2_7Text"UrlMon"fullword ascii
$v2_8Text"HttpSendRequestA"fullword ascii
$v2_9Text"InternetConnectA"fullword ascii
$v2_10Text"FindFiles"fullword ascii
$v2_12Text"$*@@@*$@@@$"ascii

Bedingung

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* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $v1* ) müssen treffen.
  • Alle Muster aus ( $v2* ) müssen treffen.
  • Mindestens 1 Muster aus ( $h* ) müssen treffen.
  • Mindestens 2 Muster aus ( $v1* ) müssen treffen.
  • Mindestens 10 Muster aus der Regel müssen treffen.
  • Muster $path muss vorhanden sein.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 1433bac5-2ece-54bb-8e57-b5834fffc719

Metadaten

clamav_sigMALWARE.Win.Ransomware.Buran

Tags:FILE