YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Pwshloader_Runpe01
Detects PowerShell PE loader / executer. Observed Gorgon TTPs
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects PowerShell PE loader / executer. Observed Gorgon TTPs
Familia de malware asociada: Pwshloader.
Define 6 patrones (6 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 DITEKSHEN_MALWARE_Win_Pwshloader_Runpe01
{
meta:
= "Detects PowerShell PE loader / executer. Observed Gorgon TTPs"
= "ditekSHen"
= "fd44f48c-7a24-512b-8375-c9f978a8b5bd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4907-L4920"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "7dd377f6a1cc48ef8ab9d53989755fb967c89d3798b721781bc09043ba3d86f4"
= 75
= 75
= ""
strings:
$rp1 = "GetType('RunPe.RunPe'" ascii
$rp2 = "GetType(\"RunPe.RunPe\"" ascii
$rm1 = "GetMethod('Run'" ascii
$rm2 = "GetMethod(\"Run\"" ascii
$s1 = ".Invoke(" ascii
$s2 = "[Reflection.Assembly]::Load(" ascii
condition:
all of ( $s* ) and 1 of ( $rp* ) and 1 of ( $rm* )
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $rp1 | texto | "GetType('RunPe.RunPe'" | ascii |
| $rp2 | texto | "GetType(\"RunPe.RunPe\"" | ascii |
| $rm1 | texto | "GetMethod('Run'" | ascii |
| $rm2 | texto | "GetMethod(\"Run\"" | ascii |
| $s1 | texto | ".Invoke(" | ascii |
| $s2 | texto | "[Reflection.Assembly]::Load(" | ascii |
Condición
all of ( $s* ) and 1 of ( $rp* ) and 1 of ( $rm* )En palabras sencillas (Heurística)
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $rp* ).
- Deben coincidir al menos 1 patrones de ( $rm* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: fd44f48c-7a24-512b-8375-c9f978a8b5bd
Reglas relacionadas
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06