Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_APT_CN_Twistedpanda_Droppers

Detects droppers 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 droppers used by TwistedPanda

Cibles : PE Windows.

Elle définit 6 motifs (0 texte, 6 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-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
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$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 }

Condition

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

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).
  • Tous les motifs de ( $stack_strings_* ) doivent être trouvés.
  • Le motif $switch_control doit apparaître > 8 fois.
  • Le motif $byte_manipulation 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).

  • 59dea38da6e515af45d6df68f8959601e2bbf0302e35b7989e741e9aba2f0291
  • 8b04479fdf22892cdfebd6e6fbed180701e036806ed0ddbe79f0b29f73449248
  • f29a0cda6e56fc0e26efa3b6628c6bcaa0819a3275a10e9da2a8517778152d66

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

Tags:FILE