Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Prolock

ProLock ransomware payload

MalwareProlockditekSHen 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

ProLock ransomware payload

Zugehörige Malware-Familie: Prolock.

Ziele: Windows-PE.

Sie definiert 8 Muster (7 Text, 1 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-prolock.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Prolock : FILE
{
	meta:
		description = "ProLock ransomware payload"
		author = "ditekSHen"
		id = "88fa19ba-238c-5d4d-bf0c-d421ee2ecf1d"
		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#L1397-L1413"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b7d2cc71acc4f643a86781d957afcf5203a2f4034b9ca7da93e8227ddee79f3b"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.ProLock"

	strings:
		$s1 = ".flat" fullword ascii
		$s2 = ".data" fullword ascii
		$s3 = ".api" fullword ascii
		$s4 = "RtlZeroMemory" fullword ascii
		$s5 = "LoadLibraryA" fullword ascii
		$s6 = "Sleep" fullword ascii
		$s7 = "lstrcatA" fullword ascii
		$s8 = { 55 89 E5 8B 45 08 EB 00 89 45 EC 8D 15 4F 10 40 00 8D 05 08 10 40 00 83 E8 08 29 C2 8B 45 EC 01 C2 31 }

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

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$s1Text".flat"fullword ascii
$s2Text".data"fullword ascii
$s3Text".api"fullword ascii
$s4Text"RtlZeroMemory"fullword ascii
$s5Text"LoadLibraryA"fullword ascii
$s6Text"Sleep"fullword ascii
$s7Text"lstrcatA"fullword ascii
$s8Hex{ 55 89 E5 8B 45 08 EB 00 89 45 EC 8D 15 4F 10 40 00 8D 05 08 10 40 00 83 E8 08 29 C2 8B 45 EC 01 C2 31 }

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • 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: 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: 88fa19ba-238c-5d4d-bf0c-d421ee2ecf1d

Metadaten

clamav_sigMALWARE.Win.Ransomware.ProLock

Tags:FILE

Weitere Prolock-Regeln