YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_CN_Twistedpanda_Droppers
Detects droppers 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 droppers used by TwistedPanda
Objetivos: PE de Windows.
Define 6 patrones (0 de texto, 6 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_Droppers : FILE
{
meta:
= "Detects droppers used by TwistedPanda"
= "Check Point Research"
= "f61c8b97-5870-5837-942f-f1650870960a"
= "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#L157-L194"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "59dea38da6e515af45d6df68f8959601e2bbf0302e35b7989e741e9aba2f0291"
= "8b04479fdf22892cdfebd6e6fbed180701e036806ed0ddbe79f0b29f73449248"
= "f29a0cda6e56fc0e26efa3b6628c6bcaa0819a3275a10e9da2a8517778152d66"
= "820b4796511dcf98cdc8017a39cc2c65e44d8d9a20f55803aa1ddd36f649c83a"
= 80
= 85
= "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
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $switch_control | hex | { 81 FA [4] 75 ?? E8 [4] 48 89 05 [4] E? } | |
| $byte_manipulation | hex | { 41 0F [2] 44 [2] 41 [2] 03 41 81 [5] 41 } | |
| $stack_strings_1 | hex | { 25 00 70 00 } | |
| $stack_strings_2 | hex | { 75 00 62 00 } | |
| $stack_strings_3 | hex | { 6C 00 69 00 } | |
| $stack_strings_4 | hex | { 63 00 25 00 } |
Condición
uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 and filesize < 3000KB and #switch_control > 8 and all of ( $stack_strings_* ) and $byte_manipulationEn 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 ( $stack_strings_* ).
- El patrón $switch_control debe aparecer > 8 veces.
- El patrón $byte_manipulation 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).
- 59dea38da6e515af45d6df68f8959601e2bbf0302e35b7989e741e9aba2f0291
- 8b04479fdf22892cdfebd6e6fbed180701e036806ed0ddbe79f0b29f73449248
- f29a0cda6e56fc0e26efa3b6628c6bcaa0819a3275a10e9da2a8517778152d66
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: f61c8b97-5870-5837-942f-f1650870960a
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