Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Breakwin

Detects BreakWin Wiper

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

Was diese Regel erkennt

Detects BreakWin Wiper

Zugehörige Malware-Familie: Breakwin.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-breakwin.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Breakwin : FILE
{
	meta:
		description = "Detects BreakWin Wiper"
		author = "ditekSHen"
		id = "4ffadbfa-c1cc-59e6-a9ba-7a34eca6c3fe"
		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#L7453-L7471"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "86fc89e28fc107c2d4fe98dc16048d9e076b1fef53a3df0814f80a88bbe09c48"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Started wiping file %s with %s." fullword wide
		$s2 = "C:\\Program Files\\Lock My PC" wide
		$s3 = "Stardust is still alive." fullword wide
		$s4 = "Failed to terminate the locker process." fullword wide
		$s5 = "C:\\Windows\\System32\\cmd.exe" fullword wide
		$s6 = "Process created successfully. Executed command: %s." fullword wide
		$s7 = "locker_background_image_path" fullword ascii
		$s8 = "takeown.exe /F \"C:\\Windows\\Web\\Screen\" /R /A /D Y" fullword ascii
		$s9 = "icacls.exe \"C:\\Windows\\Web\\Screen\" /reset /T" fullword ascii
		$s10 = "takeown.exe /F \"C:\\ProgramData\\Microsoft\\Windows\\SystemData\" /R /A /D Y" fullword ascii
		$s11 = ".?AVProcessSnapshotCreationFailedException@@" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and 4 of them
}

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Started wiping file %s with %s."fullword wide
$s2Text"C:\\Program Files\\Lock My PC"wide
$s3Text"Stardust is still alive."fullword wide
$s4Text"Failed to terminate the locker process."fullword wide
$s5Text"C:\\Windows\\System32\\cmd.exe"fullword wide
$s6Text"Process created successfully. Executed command: %s."fullword wide
$s7Text"locker_background_image_path"fullword ascii
$s8Text"takeown.exe /F \"C:\\Windows\\Web\\Screen\" /R /A /D Y"fullword ascii
$s9Text"icacls.exe \"C:\\Windows\\Web\\Screen\" /reset /T"fullword ascii
$s10Text"takeown.exe /F \"C:\\ProgramData\\Microsoft\\Windows\\SystemData\" /R /A /D Y"fullword ascii
$s11Text".?AVProcessSnapshotCreationFailedException@@"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and 4 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 4 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: 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: 4ffadbfa-c1cc-59e6-a9ba-7a34eca6c3fe

Tags:FILE