Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_MAL_IR_Druidfly_Wiper_Jun25

Detects Wiper used by the Iranian DruidFly group

APT / AkteurSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth
Datum
2025-06-21
Geändert
2026-05-15
Score / Qualität
80 / 85

Was diese Regel erkennt

Detects Wiper used by the Iranian DruidFly group

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-mal-ir-druidfly-wiper-jun25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_MAL_IR_Druidfly_Wiper_Jun25 : FILE
{
	meta:
		description = "Detects Wiper used by the Iranian DruidFly group"
		author = "Florian Roth"
		id = "4d731d9a-6f35-51a3-84de-5aa33114b75c"
		date = "2025-06-21"
		modified = "2026-05-15"
		reference = "https://x.com/threatintel/status/1936049254432231444"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_wipers_jun25.yar#L64-L91"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "81eb22828306f3197b35fef2035cef2c548f587f8511902852964850023389d7"
		logic_hash = "9d3872506b03ea03a2c3cd7304c6b2d9dfafa04a29e19dc9be4924eaaa5db2d6"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$xc1 = { 2E 62 61 63 6B 75 70 00 2E 63 6F 6E 66 69 67 00   // .backup .config
               2E 64 62 00 00 00 00 00 2E 73 71 6C 69 74 65 00 }
		$xc2 = { 00 5C 5C 2E 5C 25 63 3A 00 25 63 3A 5C 00 00 00
               00 4E 54 46 53 00 00 00 00 5C }
		$x1 = "%s:%d:%s(): [+] Overwriting \"%s\" \"..." ascii
		$s1 = "C:\\Windows\\System32\\drivers\\beep.sys" ascii fullword
		$s2 = "\\DosDevices\\sectorio" wide fullword

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

Strings (5 Muster)

BezeichnerTypWertModifikatoren
$xc1Hex{ 2E 62 61 63 6B 75 70 00 2E 63 6F 6E 66 69 67 00 // .backup .config 2E 64 62 00 00 00 00 00 2E 73 71 6C 69 74 65 00 }
$xc2Hex{ 00 5C 5C 2E 5C 25 63 3A 00 25 63 3A 5C 00 00 00 00 4E 54 46 53 00 00 00 00 5C }
$x1Text"%s:%d:%s(): [+] Overwriting \"%s\" \"..."ascii
$s1Text"C:\\Windows\\System32\\drivers\\beep.sys"ascii fullword
$s2Text"\\DosDevices\\sectorio"wide fullword

Bedingung

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

In Worten (Heuristik)

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

  • 81eb22828306f3197b35fef2035cef2c548f587f8511902852964850023389d7

Lizenz & Namensnennung

Autor: Florian Roth

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: 4d731d9a-6f35-51a3-84de-5aa33114b75c

Tags:FILE