Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Rapid

Detects Rapid ransomware

MalwareRapidditekSHen 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 Rapid ransomware

Zugehörige Malware-Familie: Rapid.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-rapid.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Rapid : FILE
{
	meta:
		description = "Detects Rapid ransomware"
		author = "ditekSHen"
		id = "3a23f344-8345-5ae8-aacb-f2f422d3fc9d"
		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#L8563-L8585"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c3f1bffeb402951da8bcccc899b2cdeb3c218b342d8338c750b9ff275537b4b5"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "encblklen" fullword ascii
		$s2 = ".rapid" fullword ascii
		$s3 = "BgIAAACkAABSU0E" ascii
		$s4 = "IFdlIHNlbmQ" ascii
		$s5 = "Software\\EncryptKeys" fullword ascii
		$s6 = "local_enc_private_key" fullword ascii
		$s7 = "local_public_key" fullword ascii
		$s8 = "How Recovery Files.txt" ascii
		$s9 = "recovery.txt" ascii
		$s10 = "thr %i run %s" fullword ascii
		$s11 = " /TN Encrypter" ascii
		$s12 = /Encrypter_\d+/ fullword ascii
		$s13 = "BleepingComputer_rapid" ascii wide
		$m1 = "tell us your unique ID - ID-" ascii
		$m2 = "really want to restore your files?" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 1 of ( $m* ) and 4 of ( $s* ) ) )
}

Strings (15 Muster)

BezeichnerTypWertModifikatoren
$s1Text"encblklen"fullword ascii
$s2Text".rapid"fullword ascii
$s3Text"BgIAAACkAABSU0E"ascii
$s4Text"IFdlIHNlbmQ"ascii
$s5Text"Software\\EncryptKeys"fullword ascii
$s6Text"local_enc_private_key"fullword ascii
$s7Text"local_public_key"fullword ascii
$s8Text"How Recovery Files.txt"ascii
$s9Text"recovery.txt"ascii
$s10Text"thr %i run %s"fullword ascii
$s11Text" /TN Encrypter"ascii
$s12Regex/Encrypter_\d+/fullword ascii
$s13Text"BleepingComputer_rapid"ascii wide
$m1Text"tell us your unique ID - ID-"ascii
$m2Text"really want to restore your files?"ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( 1 of ( $m* ) and 4 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 6 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $m* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) 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: 3a23f344-8345-5ae8-aacb-f2f422d3fc9d

Tags:FILE