YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_CN_Twistedpanda_Loader
Detects loader 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 loader used by TwistedPanda
Cibles : PE Windows.
Elle définit 4 motifs (0 texte, 4 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_Loader : FILE
{
meta:
= "Detects loader used by TwistedPanda"
= "Check Point Research"
= "a10f6019-f069-579c-b112-18537a7d8fd8"
= "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#L1-L44"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "5b558c5fcbed8544cb100bd3db3c04a70dca02eec6fedffd5e3dcecb0b04fba0"
= "efa754450f199caae204ca387976e197d95cdc7e83641444c1a5a91b58ba6198"
= "b7f4f31a26b5f968b1d5c82d9165b4d45d75336993b113dda54fd37f628639ee"
= 80
= 85
= "FILE"
strings:
$seq1 = { 6A 40 68 00 30 00 00 }
$seq2 = { 6A 00 50 6A 14 8D ?? ?? ?? ?? ?? 50 53 FF }
$seq3 = { 6A 00 6A 00 6A 03 6A 00 6A 03 68 00 00 00 80 }
$decryption = { 8B C? [2-3] F6 D? 1A C? [4-6] 30 0? ?? 4? }
condition:
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and all of ( $seq* ) and $decryption
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $seq1 | hex | { 6A 40 68 00 30 00 00 } | |
| $seq2 | hex | { 6A 00 50 6A 14 8D ?? ?? ?? ?? ?? 50 53 FF } | |
| $seq3 | hex | { 6A 00 6A 00 6A 03 6A 00 6A 03 68 00 00 00 80 } | |
| $decryption | hex | { 8B C? [2-3] F6 D? 1A C? [4-6] 30 0? ?? 4? } |
Condition
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and all of ( $seq* ) 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).
- Tous les motifs de ( $seq* ) doivent être trouvés.
- 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).
- 5b558c5fcbed8544cb100bd3db3c04a70dca02eec6fedffd5e3dcecb0b04fba0
- efa754450f199caae204ca387976e197d95cdc7e83641444c1a5a91b58ba6198
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: a10f6019-f069-579c-b112-18537a7d8fd8
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