YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_CN_Twistedpanda_Loader
Detects loader used by TwistedPanda
- Autor
- Check Point Research
- Fecha
- 2022-04-14
- Modificada
- 2025-07-01
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects loader used by TwistedPanda
Objetivos: PE de Windows.
Define 4 patrones (0 de texto, 4 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $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? } |
Condición
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and all of ( $seq* ) and $decryptionEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 3000KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de ( $seq* ).
- El patrón $decryption debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 5b558c5fcbed8544cb100bd3db3c04a70dca02eec6fedffd5e3dcecb0b04fba0
- efa754450f199caae204ca387976e197d95cdc7e83641444c1a5a91b58ba6198
Licencia y atribución
Autor: Check Point Research
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: a10f6019-f069-579c-b112-18537a7d8fd8
Etiquetas:FILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / actorSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / actorSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14
- APT / actorSignature Base (Florian Roth / Nextron)· Check Point Research· 2022-04-14