Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_CN_Twistedpanda_Droppers

Detects droppers used by TwistedPanda

APT / AkteurSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Check Point Research
Datum
2022-04-14
Geändert
2025-07-01
Score / Qualität
80 / 85

Was diese Regel erkennt

Detects droppers used by TwistedPanda

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-cn-twistedpanda-droppers.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_CN_Twistedpanda_Droppers : FILE
{
	meta:
		description = "Detects droppers used by TwistedPanda"
		author = "Check Point Research"
		id = "f61c8b97-5870-5837-942f-f1650870960a"
		date = "2022-04-14"
		modified = "2025-07-01"
		reference = "https://research.checkpoint.com/2022/twisted-panda-chinese-apt-espionage-operation-against-russians-state-owned-defense-institutes/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cn_twisted_panda.yar#L157-L194"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "59dea38da6e515af45d6df68f8959601e2bbf0302e35b7989e741e9aba2f0291"
		hash = "8b04479fdf22892cdfebd6e6fbed180701e036806ed0ddbe79f0b29f73449248"
		hash = "f29a0cda6e56fc0e26efa3b6628c6bcaa0819a3275a10e9da2a8517778152d66"
		logic_hash = "820b4796511dcf98cdc8017a39cc2c65e44d8d9a20f55803aa1ddd36f649c83a"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$switch_control = { 81 FA [4] 75 ?? E8 [4] 48 89 05 [4] E? }
		$byte_manipulation = { 41 0F [2] 44 [2] 41 [2] 03 41 81 [5] 41 }
		$stack_strings_1 = { 25 00 70 00 }
		$stack_strings_2 = { 75 00 62 00 }
		$stack_strings_3 = { 6C 00 69 00 }
		$stack_strings_4 = { 63 00 25 00 }

	condition:
		uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and #switch_control > 8 and all of ( $stack_strings_* ) and $byte_manipulation
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$switch_controlHex{ 81 FA [4] 75 ?? E8 [4] 48 89 05 [4] E? }
$byte_manipulationHex{ 41 0F [2] 44 [2] 41 [2] 03 41 81 [5] 41 }
$stack_strings_1Hex{ 25 00 70 00 }
$stack_strings_2Hex{ 75 00 62 00 }
$stack_strings_3Hex{ 6C 00 69 00 }
$stack_strings_4Hex{ 63 00 25 00 }

Bedingung

uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and #switch_control > 8 and all of ( $stack_strings_* ) and $byte_manipulation

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 3000KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus ( $stack_strings_* ) müssen treffen.
  • Muster $switch_control muss > 8-mal vorkommen.
  • Muster $byte_manipulation muss vorhanden sein.

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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 59dea38da6e515af45d6df68f8959601e2bbf0302e35b7989e741e9aba2f0291
  • 8b04479fdf22892cdfebd6e6fbed180701e036806ed0ddbe79f0b29f73449248
  • f29a0cda6e56fc0e26efa3b6628c6bcaa0819a3275a10e9da2a8517778152d66

Lizenz & Namensnennung

Autor: Check Point Research

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: f61c8b97-5870-5837-942f-f1650870960a

Tags:FILE