Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Ransomware_Win_Blackcat

Detect the BlackCat ransomware (Windows version)

MalwareBlackcatSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-01-19
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detect the BlackCat ransomware (Windows version)

Zugehörige Malware-Familie: Blackcat.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

ransomware-win-blackcat.yarDetection Rule License 1.1
rule SEKOIA_Ransomware_Win_Blackcat : FILE
{
	meta:
		description = "Detect the BlackCat ransomware (Windows version)"
		author = "Sekoia.io"
		id = "873355f7-3942-4171-9df7-f524bb6b6903"
		date = "2022-01-19"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/ransomware_win_blackcat.yar#L1-L31"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8a60fd14835f9e8683c3e60a19f23bc00020ccd22e74bffbc8ed19fcb8d0e39a"
		score = 75
		quality = 80
		tags = "FILE"
		classification = "TLP:CLEAR"
		version = "1.1"

	strings:
		$s1 = "desktop_image::set_desktop_wallpaper=" ascii
		$s2 = "C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users=" ascii
		$s3 = "propagate::none" ascii
		$s4 = "propagate::failed=" ascii
		$s5 = "propagate::ok=" ascii
		$s6 = "query_status_process::ok=" ascii
		$s7 = "enum_dependent_services::ok=" ascii
		$s8 = "enum_dependent_services::error=" ascii
		$s9 = "try_stop=" ascii
		$s10 = "try_stop::ok=" ascii
		$s11 = "try_stop::failed=" ascii
		$s12 = "stop=" ascii
		$s13 = "dependent_service_name=" ascii
		$s14 = "kill_all=" ascii
		$s15 = "detach=" ascii

	condition:
		uint16( 0 ) == 0x5A4D and filesize > 2MB and filesize < 4MB and all of them
}

Strings (15 Muster)

BezeichnerTypWertModifikatoren
$s1Text"desktop_image::set_desktop_wallpaper="ascii
$s2Text"C:\\Users\\Public\\All Usersdeploy_note_and_image_for_all_users="ascii
$s3Text"propagate::none"ascii
$s4Text"propagate::failed="ascii
$s5Text"propagate::ok="ascii
$s6Text"query_status_process::ok="ascii
$s7Text"enum_dependent_services::ok="ascii
$s8Text"enum_dependent_services::error="ascii
$s9Text"try_stop="ascii
$s10Text"try_stop::ok="ascii
$s11Text"try_stop::failed="ascii
$s12Text"stop="ascii
$s13Text"dependent_service_name="ascii
$s14Text"kill_all="ascii
$s15Text"detach="ascii

Bedingung

uint16( 0 ) == 0x5A4D and filesize > 2MB and filesize < 4MB and all of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 4MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Die Datei muss größer als 2MB sein.
  • Alle Muster aus der Regel müssen treffen.

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: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

Regel-ID: 873355f7-3942-4171-9df7-f524bb6b6903

Metadaten

classificationTLP:CLEAR
version1.1

Tags:FILE

Weitere Blackcat-Regeln