Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt28_Susp_Graphite_Downloader

Matches the routine which decrypts the RSA key blob in the Graphite downloader

APT / acteurGraphiteSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2022-01-26
Modifiée
2024-12-19
Score / Qualité
65 / 80

Ce que détecte cette règle

Matches the routine which decrypts the RSA key blob in the Graphite downloader

Famille de malware associée : Graphite.

Cibles : PE Windows.

Elle définit 1 motifs (0 texte, 1 hex, 0 regex). Modules YARA utilisés : pe.

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

Source de la règle

Inclut les imports nécessaires pour la compiler seule.

apt-apt28-susp-graphite-downloader.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Apt_Apt28_Susp_Graphite_Downloader : FILE
{
	meta:
		description = "Matches the routine which decrypts the RSA key blob in the Graphite downloader"
		author = "Sekoia.io"
		id = "9c9da5fe-ffd6-4c45-8ce1-9a6cf4fa2fda"
		date = "2022-01-26"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_apt28_susp_graphite_downloader.yar#L3-L26"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "ca5aa7ea995aca9003fd98da2fba7bbec1e049d979a6b05e07b80876bab5a1c9"
		score = 65
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$gen = { 33 D2
        8B C1
        6A ??
        5E
        F7 F6
        8A 82 ?? ?? ?? ??
        30 81 ?? ?? ?? ??
        41
        81 F9 94 04 00 00
        72 E2 }

	condition:
		uint16be( 0 ) == 0x4d5a and $gen and pe.number_of_exports == 1
}

Chaînes (1 motifs)

IdentifiantTypeValeurModificateurs
$genhex{ 33 D2 8B C1 6A ?? 5E F7 F6 8A 82 ?? ?? ?? ?? 30 81 ?? ?? ?? ?? 41 81 F9 94 04 00 00 72 …

Condition

uint16be( 0 ) == 0x4d5a and $gen and pe.number_of_exports == 1

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le motif $gen doit être présent.
  • Utilise le module pe.
  • Vérifie des fonctions exportées ou le nom de la DLL.

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 : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

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: 9c9da5fe-ffd6-4c45-8ce1-9a6cf4fa2fda

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Graphite