Zum Inhalt springen

YARA · WithSecure Labs IOCs

WITHSECURELABS_Ducktail_Nativeaot

Detects NativeAOT variants of DUCKTAIL malware

MalwareDucktailWithSecure Labs IOCsBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
WithSecure
Datum
2022-11-17
Geändert
2022-11-22
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects NativeAOT variants of DUCKTAIL malware

Zugehörige Malware-Familie: Ducktail.

Ziele: Windows-PE.

Sie hat keine Muster: Die Bedingung allein entscheidet (Module, Dateieigenschaften oder andere Regeln). Verwendete YARA-Module: pe.

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

Enthält die Imports, die zum eigenständigen Kompilieren nötig sind.

ducktail-nativeaot.yarBSD 2-Clause License
import "pe"

rule WITHSECURELABS_Ducktail_Nativeaot : FILE
{
	meta:
		description = "Detects NativeAOT variants of DUCKTAIL malware"
		author = "WithSecure"
		id = "1961d3e1-987b-588b-bfc2-8239797cd049"
		date = "2022-11-17"
		modified = "2022-11-22"
		reference = "https://labs.withsecure.com/publications/ducktail_returns"
		source_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/DUCKTAIL/ducktail_nativeaot.yara#L2-L22"
		license_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
		hash = "b043e4639f89459cae85161e6fbf73b22470979e"
		hash = "073b092bf949c31628ee20f7458067bbb05fda3a"
		hash = "d1f6b5f9718a2fe9eaac0c1a627228d3f3b86f87"
		logic_hash = "976b28ac45e5a13d4ce900b857e6bd3afc82b65b0235791fd698b762287cd60e"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1.0"

	condition:
		uint16( 0 ) == 0x5A4D and filesize > 15MB and ( pe.section_index ( ".managed" ) >= 0 or pe.exports ( "DotNetRuntimeDebugHeader" ) ) and pe.exports ( "SendFile" ) and pe.exports ( "Start" ) and pe.exports ( "Open" )
}

Bedingung

uint16( 0 ) == 0x5A4D and filesize > 15MB and ( pe.section_index ( ".managed" ) >= 0 or pe.exports ( "DotNetRuntimeDebugHeader" ) ) and pe.exports ( "SendFile" ) and pe.exports ( "Start" ) and pe.exports ( "Open" )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss größer als 15MB sein.
  • Nutzt das Modul pe.
  • Prüft exportierte Funktionen oder den DLL-Namen.
  • Prüft PE-Sektionen (Namen, Anzahl oder Eigenschaften).

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).

  • b043e4639f89459cae85161e6fbf73b22470979e
  • 073b092bf949c31628ee20f7458067bbb05fda3a
  • d1f6b5f9718a2fe9eaac0c1a627228d3f3b86f87

Lizenz & Namensnennung

Autor: WithSecure

Quell-Repository: WithSecure Labs IOCs @ 1a8384468d

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright (c) 2022, WithSecure Oyj

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 1961d3e1-987b-588b-bfc2-8239797cd049

Metadaten

version1.0

Tags:FILE

Weitere Ducktail-Regeln