Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXT_APT_UNC2891_SLAPSTICK

Detects SLAPSTICK malware used by UNC2891

APT / AkteurSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Mandiant
Datum
2022-03-17
Geändert
2026-05-15
Score / Qualität
80 / 85

Was diese Regel erkennt

Detects SLAPSTICK malware used by UNC2891

Ziele: Linux-ELF.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

ext-apt-unc2891-slapstick.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXT_APT_UNC2891_SLAPSTICK : FILE
{
	meta:
		description = "Detects SLAPSTICK malware used by UNC2891"
		author = "Mandiant"
		id = "2e97b8cb-a86e-5be9-92dc-fd1474aa9547"
		date = "2022-03-17"
		modified = "2026-05-15"
		reference = "https://www.mandiant.com/resources/blog/unc2891-overview"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_unc2891_tinyshell_slapstick.yar#L46-L60"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "b046a949dab2f38b8181782cc6ea0782d2e102c0c30bc782de74112a77c23d6e"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$ss1 = { 25 59 20 25 62 20 25 64 20 25 48 3a 25 4d 3a 25 53 20 20 20 20 00 }
		$ss2 = { 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 00 }
		$ss3 = { 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 73 0a 00 }

	condition:
		( uint32( 0 ) == 0x464c457f ) and all of them
}

Strings (3 Muster)

BezeichnerTypWertModifikatoren
$ss1Hex{ 25 59 20 25 62 20 25 64 20 25 48 3a 25 4d 3a 25 53 20 20 20 20 00 }
$ss2Hex{ 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 00 }
$ss3Hex{ 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 2d 32 33 73 20 25 73 0a 00 }

Bedingung

( uint32( 0 ) == 0x464c457f ) and all of them

In Worten (Heuristik)

  • Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
  • 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: Mandiant

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: 2e97b8cb-a86e-5be9-92dc-fd1474aa9547

Tags:FILE