Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_OBFUSC_Unknown_Jan22_1

Detects samples similar to reversed stage3 found in Ukrainian wiper incident named WhisperGate

MalwareWhispergateSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth (Nextron Systems)
Datum
2022-01-16
Geändert
2023-12-05
Score / Qualität
75 / 85

Was diese Regel erkennt

Detects samples similar to reversed stage3 found in Ukrainian wiper incident named WhisperGate

Zugehörige Malware-Familie: Whispergate.

Ziele: Windows-PE.

Sie definiert 7 Muster (2 Text, 5 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

mal-obfusc-unknown-jan22-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_OBFUSC_Unknown_Jan22_1 : FILE
{
	meta:
		description = "Detects samples similar to reversed stage3 found in Ukrainian wiper incident named WhisperGate"
		author = "Florian Roth (Nextron Systems)"
		id = "647c0092-b03d-5627-8568-ddaa982c73a1"
		date = "2022-01-16"
		modified = "2023-12-05"
		reference = "https://twitter.com/juanandres_gs/status/1482827018404257792"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ua_wiper_whispergate.yar#L76-L101"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "9ef7dbd3da51332a78eff19146d21c82957821e464e8133e9594a07d716d892d"
		logic_hash = "26a295d3b78c3a33d776a648aa0f410ac7cb5021ad9d3b294ff9629d6ba7132a"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$xc1 = { 37 00 63 00 38 00 63 00 62 00 35 00 35 00 39 00
               38 00 65 00 37 00 32 00 34 00 64 00 33 00 34 00
               33 00 38 00 34 00 63 00 63 00 65 00 37 00 34 00
               30 00 32 00 62 00 31 00 31 00 66 00 30 00 65 }
		$xc2 = { 4D 61 69 6E 00 43 6C 61 73 73 4C 69 62 72 61 72
               79 31 00 70 63 31 65 }
		$s1 = ".dll" wide
		$s2 = "%&%,%s%" ascii fullword
		$op1 = { a2 87 fa b1 44 a5 f5 12 da a7 49 11 5c 8c 26 d4 75 }
		$op2 = { d7 af 52 38 c7 47 95 c8 0e 88 f3 d5 0b }
		$op3 = { 6c 05 df d6 b8 ac 11 f2 67 16 cb b7 34 4d b6 91 }

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 1000KB and ( 1 of ( $x* ) or 3 of them )
}

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$xc1Hex{ 37 00 63 00 38 00 63 00 62 00 35 00 35 00 39 00 38 00 65 00 37 00 32 00 34 00 64 00 33 00 34 00 33 00 38 00 34 00 63 00 63 00 65 …
$xc2Hex{ 4D 61 69 6E 00 43 6C 61 73 73 4C 69 62 72 61 72 79 31 00 70 63 31 65 }
$s1Text".dll"wide
$s2Text"%&%,%s%"ascii fullword
$op1Hex{ a2 87 fa b1 44 a5 f5 12 da a7 49 11 5c 8c 26 d4 75 }
$op2Hex{ d7 af 52 38 c7 47 95 c8 0e 88 f3 d5 0b }
$op3Hex{ 6c 05 df d6 b8 ac 11 f2 67 16 cb b7 34 4d b6 91 }

Bedingung

uint16( 0 ) == 0x5a4d and filesize < 1000KB and ( 1 of ( $x* ) or 3 of them )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 1000KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 3 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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 9ef7dbd3da51332a78eff19146d21c82957821e464e8133e9594a07d716d892d

Lizenz & Namensnennung

Autor: Florian Roth (Nextron Systems)

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 647c0092-b03d-5627-8568-ddaa982c73a1

Tags:FILE

Weitere Whispergate-Regeln