YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_KE3CHANG_TMPFILE
Detects Strings left in TMP Files created by K3CHANG Backdoor Ketrican
- Autor
- Markus Neis, Swisscom
- Fecha
- 2020-06-18
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Detects Strings left in TMP Files created by K3CHANG Backdoor Ketrican
Familia de malware asociada: Ketrican.
Define 7 patrones (7 de texto, 0 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_KE3CHANG_TMPFILE : APT KE3CHANG TMPFILE FILE
{
meta:
= "Detects Strings left in TMP Files created by K3CHANG Backdoor Ketrican"
= "Markus Neis, Swisscom"
= "84d411af-ea3d-5862-8c2f-7caca60c1b66"
= "2020-06-18"
= "2023-12-05"
= "https://app.any.run/tasks/a96f4f9d-c27d-490b-b5d3-e3be0a1c93e9/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ke3chang.yar#L1-L21"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "4ef11e84d5203c0c425d1a76d4bf579883d40577c2e781cdccc2cc4c8a8d346f"
= "75c97fe2eeb82e09f52e98d76bd529824f171da4c802b5febc1036314d8145f0"
= 75
= 85
= "APT, KE3CHANG, TMPFILE, FILE"
strings:
$pps1 = "PSParentPath : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USE" fullword ascii
$pps2 = "PSPath : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USE" fullword ascii
$psp1 = ": Microsoft.PowerShell.Core\\Registry" ascii
$s4 = "PSChildName : PhishingFilter" fullword ascii
$s1 = "DisableFirstRunCustomize : 2" fullword ascii
$s7 = "PSChildName : 3" fullword ascii
$s8 = "2500 : 3" fullword ascii
condition:
uint16( 0 ) == 0x5350 and filesize < 1KB and $psp1 and 1 of ( $pps* ) and 1 of ( $s* )
}
Cadenas (7 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $pps1 | texto | "PSParentPath : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USE" | fullword ascii |
| $pps2 | texto | "PSPath : Microsoft.PowerShell.Core\\Registry::HKEY_CURRENT_USE" | fullword ascii |
| $psp1 | texto | ": Microsoft.PowerShell.Core\\Registry" | ascii |
| $s4 | texto | "PSChildName : PhishingFilter" | fullword ascii |
| $s1 | texto | "DisableFirstRunCustomize : 2" | fullword ascii |
| $s7 | texto | "PSChildName : 3" | fullword ascii |
| $s8 | texto | "2500 : 3" | fullword ascii |
Condición
uint16( 0 ) == 0x5350 and filesize < 1KB and $psp1 and 1 of ( $pps* ) and 1 of ( $s* )En palabras sencillas (Heurística)
- El archivo debe ocupar menos de 1KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de ( $pps* ).
- Deben coincidir al menos 1 patrones de ( $s* ).
- El patrón $psp1 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).
- 4ef11e84d5203c0c425d1a76d4bf579883d40577c2e781cdccc2cc4c8a8d346f
Licencia y atribución
Autor: Markus Neis, Swisscom
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: 84d411af-ea3d-5862-8c2f-7caca60c1b66
Etiquetas:APTKE3CHANGTMPFILEFILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-18
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / actorSignature Base (Florian Roth / Nextron)· S2WLAB_TALON_JACK2· 2021-07-09
- APT / actorSignature Base (Florian Roth / Nextron)· S2WLAB_TALON_JACK2· 2021-05-20
- APT / actorSignature Base (Florian Roth / Nextron)· Markus Neis,Swisscom· 2021-03-05
- APT / actorSignature Base (Florian Roth / Nextron)· Markus Neis,Swisscom· 2021-03-05