Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_APT_NK_Andariel_Agni

Detects samples of the Agni malware family

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
CISA.gov
Date
2024-07-25
Modifiée
2026-01-29
Score / Qualité
80 / 85

Ce que détecte cette règle

Detects samples of the Agni malware family

Cibles : PE Windows.

Elle définit 2 motifs (0 texte, 2 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

mal-apt-nk-andariel-agni.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Agni : FILE
{
	meta:
		description = "Detects samples of the Agni malware family"
		author = "CISA.gov"
		id = "ffe3f427-c10a-5ad4-ab29-c0d9b576c30f"
		date = "2024-07-25"
		modified = "2026-01-29"
		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#L201-L216"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "302899b65e5a3a6beabbb46e80e3f0ff246c209206cc3a7f871011d68871d0b9"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$xor = { 34 ?? 88 01 48 8D 49 01 0F B6 01 84 C0 75 F1 }
		$stackstrings = { C7 44 24 [5-10] C7 44 24 [5] C7 44 24 [5-10] C7 44 24 [5-10] C7 44 24 }

	condition:
		uint16( 0 ) == 0x5a4d and #xor > 100 and #stackstrings > 5
}

Chaînes (2 motifs)

IdentifiantTypeValeurModificateurs
$xorhex{ 34 ?? 88 01 48 8D 49 01 0F B6 01 84 C0 75 F1 }
$stackstringshex{ C7 44 24 [5-10] C7 44 24 [5] C7 44 24 [5-10] C7 44 24 [5-10] C7 44 24 }

Condition

uint16( 0 ) == 0x5a4d and #xor > 100 and #stackstrings > 5

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le motif $xor doit apparaître > 100 fois.
  • Le motif $stackstrings doit apparaître > 5 fois.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : CISA.gov

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: ffe3f427-c10a-5ad4-ab29-c0d9b576c30f

Tags:FILE