Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Apt28_Susp_Graphite_Downloader

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

APT / AkteurGraphiteSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-01-26
Geändert
2024-12-19
Score / Qualität
65 / 80

Was diese Regel erkennt

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

Zugehörige Malware-Familie: Graphite.

Ziele: Windows-PE.

Sie definiert 1 Muster (0 Text, 1 Hex, 0 Regex). 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.

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
}

Strings (1 Muster)

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

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Muster $gen muss vorhanden sein.
  • Nutzt das Modul pe.
  • Prüft exportierte Funktionen oder den DLL-Namen.

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

Quell-Repository: SEKOIA.IO Community @ a438a5901a

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

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Graphite-Regeln