Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Blackwood_Nspx30_Plugin

Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string

APT / AkteurNspx30SEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X (mit Warnungen)
Autor
Sekoia.io
Datum
2024-01-29
Geändert
2024-12-19
Score / Qualität
75 / 76

Was diese Regel erkennt

Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string

Zugehörige Malware-Familie: Nspx30.

Ziele: Windows-PE.

Sie definiert 3 Muster (1 Text, 2 Hex, 0 Regex).

YARA-X meldet: warning[text_as_hex]: hex pattern could be written as text literal

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-blackwood-nspx30-plugin.yarDetection Rule License 1.1
rule SEKOIA_Apt_Blackwood_Nspx30_Plugin : FILE
{
	meta:
		description = "Detects plugins of NSPX30 backdoor based on RTTI and rundll32 string"
		author = "Sekoia.io"
		id = "ef8e0d51-c78c-426b-8008-910e27546f23"
		date = "2024-01-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_blackwood_nspx30_plugin.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "cf7c232a5a817ff5c0da04744abf99ed2fcea587e3e6f6e8bf3aef7ca8f2b51b"
		score = 75
		quality = 76
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = {2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40}
		$s2 = {2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40}
		$s3 = "rundll32.exe \"%hs\",#1" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of them
}

Strings (3 Muster)

BezeichnerTypWertModifikatoren
$s1Hex{2E 3F 41 56 43 43 61 62 69 6E 65 74 40 40}
$s2Hex{2E 3F 41 56 43 45 6E 63 6F 64 65 72 40 40}
$s3Text"rundll32.exe \"%hs\",#1"wide

Bedingung

uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 1MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • 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: 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: ef8e0d51-c78c-426b-8008-910e27546f23

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE