Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_CN_Twistedpanda_64Bit_Loader

Detects the 64bit Loader DLL used by TwistedPanda

APT / acteurSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Check Point Research
Date
2022-04-14
Modifiée
2025-07-01
Score / Qualité
80 / 85

Ce que détecte cette règle

Detects the 64bit Loader DLL used by TwistedPanda

Cibles : PE Windows.

Elle définit 3 motifs (0 texte, 3 hex, 0 regex).

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

Source de la règle

apt-cn-twistedpanda-64bit-loader.yarDetection Rule License 1.1
rule SIGNATURE_BASE_APT_CN_Twistedpanda_64Bit_Loader : FILE
{
	meta:
		description = "Detects the 64bit Loader DLL used by TwistedPanda"
		author = "Check Point Research"
		id = "2172dd33-204b-5a05-ad26-534a0c1d7a17"
		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#L120-L155"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "e0d4ef7190ff50e6ad2a2403c87cc37254498e8cc5a3b2b8798983b1b3cdc94f"
		logic_hash = "644547f9fa6ca3f34ea32e06896f341e0c92f5c57dee3c478aed0cdf87b2f3de"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$path_check = { 48 8D [6] 48 8B ?? 48 81 [5] 72 }
		$shellcode_read = { 48 8B D0 41 B8 F0 16 00 00 48 8B CF 48 8B D8 FF}
		$shellcode_allocate = { BA F0 16 00 00 44 8D 4E 40 33 C9 41 B8 00 30 00 00 FF }

	condition:
		uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and $path_check and $shellcode_allocate and $shellcode_read
}

Chaînes (3 motifs)

IdentifiantTypeValeurModificateurs
$path_checkhex{ 48 8D [6] 48 8B ?? 48 81 [5] 72 }
$shellcode_readhex{ 48 8B D0 41 B8 F0 16 00 00 48 8B CF 48 8B D8 FF}
$shellcode_allocatehex{ BA F0 16 00 00 44 8D 4E 40 33 C9 41 B8 00 30 00 00 FF }

Condition

uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and $path_check and $shellcode_allocate and $shellcode_read

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 3000KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Le motif $path_check doit être présent.
  • Le motif $shellcode_allocate doit être présent.
  • Le motif $shellcode_read doit être présent.

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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • e0d4ef7190ff50e6ad2a2403c87cc37254498e8cc5a3b2b8798983b1b3cdc94f

Licence et attribution

Auteur : Check Point Research

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 2172dd33-204b-5a05-ad26-534a0c1d7a17

Tags:FILE