YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_CN_Twistedpanda_SPINNER_1
Detects the obfuscated variant of SPINNER payload used by TwistedPanda
- 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 obfuscated variant of SPINNER payload used by TwistedPanda
Cibles : PE Windows.
Elle définit 5 motifs (0 texte, 5 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
rule SIGNATURE_BASE_APT_CN_Twistedpanda_SPINNER_1 : FILE
{
meta:
= "Detects the obfuscated variant of SPINNER payload used by TwistedPanda"
= "Check Point Research"
= "0b44013d-0caa-5ea2-ab08-e2a6a5732c03"
= "2022-04-14"
= "2025-07-01"
= "https://research.checkpoint.com/2022/twisted-panda-chinese-apt-espionage-operation-against-russians-state-owned-defense-institutes/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cn_twisted_panda.yar#L46-L80"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "a9fb7bb40de8508606a318866e0e5ff79b98f314e782f26c7044622939dfde81"
= "e7abe4b3f4225596131882a9175f9ac2e45ba00557950772a8e4d1eaeab97d05"
= 80
= 85
= "FILE"
strings:
$config_init = { C7 ?? ?? ?? 00 00 00 C7 ?? ?? ?? 00 00 00 C6 }
$c2_cmd_1 = { 01 00 03 10}
$c2_cmd_2 = { 02 00 01 10}
$c2_cmd_3 = { 01 00 01 10}
$decryption = { 8D 83 [4] 80 B3 [5] 89 F1 6A 01 50 E8 [4] 80 B3 }
condition:
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and #config_init > 10 and 2 of ( $c2_cmd_* ) and $decryption
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $config_init | hex | { C7 ?? ?? ?? 00 00 00 C7 ?? ?? ?? 00 00 00 C6 } | |
| $c2_cmd_1 | hex | { 01 00 03 10} | |
| $c2_cmd_2 | hex | { 02 00 01 10} | |
| $c2_cmd_3 | hex | { 01 00 01 10} | |
| $decryption | hex | { 8D 83 [4] 80 B3 [5] 89 F1 6A 01 50 E8 [4] 80 B3 } |
Condition
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and #config_init > 10 and 2 of ( $c2_cmd_* ) and $decryptionEn 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).
- Au moins 2 motifs de ( $c2_cmd_* ) doivent être trouvés.
- Le motif $config_init doit apparaître > 10 fois.
- Le motif $decryption 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é.
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).
- a9fb7bb40de8508606a318866e0e5ff79b98f314e782f26c7044622939dfde81
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)
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: 0b44013d-0caa-5ea2-ab08-e2a6a5732c03
Tags:FILE
Règles liées
- APT / acteurSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / acteurSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / acteurSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / acteurSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14