Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Grease2

Detects the Grease2 malware family used by Andariel

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
CISA.gov (modified by Florian Roth, Nextron Systems)
Datum
2024-07-25
Geändert
2024-07-26
Score / Qualität
80 / 85

Was diese Regel erkennt

Detects the Grease2 malware family used by Andariel

Ziele: Windows-PE.

Sie definiert 4 Muster (4 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

mal-apt-nk-andariel-grease2.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Grease2 : FILE
{
	meta:
		description = "Detects the Grease2 malware family used by Andariel"
		author = "CISA.gov (modified by Florian Roth, Nextron Systems)"
		id = "4defbe08-b3c6-5ab9-9a57-cec57ff42d9a"
		date = "2024-07-25"
		modified = "2024-07-26"
		reference = "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L330-L351"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "138fc915206e0c2834090ebc0a808913488121d51c17de3dbfadcb4099fbfa2f"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$str_rdpconf = "emp\\RDPConf.exe"
		$str_rdpwinst = "emp\\RDPWInst.exe"
		$str_net_user = "net user"
		$str_admins_add = "net localgroup administrators"

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

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$str_rdpconfText"emp\\RDPConf.exe"
$str_rdpwinstText"emp\\RDPWInst.exe"
$str_net_userText"net user"
$str_admins_addText"net localgroup administrators"

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: CISA.gov (modified by 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: 4defbe08-b3c6-5ab9-9a57-cec57ff42d9a

Tags:FILE