YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Powerpool_STG1
Detects first stage PowerPool backdoor
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects first stage PowerPool backdoor
Familia de malware asociada: Powerpool.
Objetivos: PE de Windows.
Define 17 patrones (17 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_Powerpool_STG1 : FILE
{
meta:
= "Detects first stage PowerPool backdoor"
= "ditekSHen"
= "8531c22d-8d71-5794-b9c8-0a4cd81bb2b0"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2334-L2361"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "9ab00d6e3007743a8bb30fbcdb435ac49101b52face55549ae454c64345caff9"
= 75
= 75
= "FILE"
= "920088"
= "920086"
= "MALWARE.Win.Trojan.PowerPool-STG-1"
strings:
$s1 = "cmd /c powershell.exe $PSVersionTable.PSVersion > \"%s\"" fullword wide
$s2 = "cmd /c powershell.exe \"%s\" > \"%s\"" fullword wide
$s3 = "rar.exe a -r %s.rar -ta%04d%02d%02d%02d%02d%02d -tb%04d%02d%02d%02d%02d%02d" fullword wide
$s4 = "MyDemonMutex%d" fullword wide
$s5 = "MyScreen.jpg" fullword wide
$s6 = "proxy.log" fullword wide
$s7 = "myjt.exe" fullword wide
$s8 = "/?id=%s&info=%s" fullword wide
$s9 = "auto.cfg" fullword ascii
$s10 = "Mozilla/5.0 (Windows NT 6.1; WOW64)" fullword wide
$s11 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)" fullword wide
$s12 = "CMD COMMAND EXCUTE ERROR!" fullword ascii
$c1 = "run.afishaonline.eu" fullword wide
$c2 = "home.Sports-Collectors.com" fullword wide
$c3 = "about.Sports-Collectors.com" fullword
$c4 = "179.43.158.15" fullword wide
$c5 = "185.227.82.35" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or ( 1 of ( $c* ) and 5 of ( $s* ) ) )
}
Cadenas (17 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "cmd /c powershell.exe $PSVersionTable.PSVersion > \"%s\"" | fullword wide |
| $s2 | texto | "cmd /c powershell.exe \"%s\" > \"%s\"" | fullword wide |
| $s3 | texto | "rar.exe a -r %s.rar -ta%04d%02d%02d%02d%02d%02d -tb%04d%02d%02d%02d%02d%02d" | fullword wide |
| $s4 | texto | "MyDemonMutex%d" | fullword wide |
| $s5 | texto | "MyScreen.jpg" | fullword wide |
| $s6 | texto | "proxy.log" | fullword wide |
| $s7 | texto | "myjt.exe" | fullword wide |
| $s8 | texto | "/?id=%s&info=%s" | fullword wide |
| $s9 | texto | "auto.cfg" | fullword ascii |
| $s10 | texto | "Mozilla/5.0 (Windows NT 6.1; WOW64)" | fullword wide |
| $s11 | texto | "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)" | fullword wide |
| $s12 | texto | "CMD COMMAND EXCUTE ERROR!" | fullword ascii |
| $c1 | texto | "run.afishaonline.eu" | fullword wide |
| $c2 | texto | "home.Sports-Collectors.com" | fullword wide |
| $c3 | texto | "about.Sports-Collectors.com" | fullword |
| $c4 | texto | "179.43.158.15" | fullword wide |
| $c5 | texto | "185.227.82.35" | fullword wide |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or ( 1 of ( $c* ) and 5 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $c* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
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: 8531c22d-8d71-5794-b9c8-0a4cd81bb2b0
Metadatos
| snort2_sid | 920088 |
|---|---|
| snort3_sid | 920086 |
| clamav_sig | MALWARE.Win.Trojan.PowerPool-STG-1 |
Etiquetas:FILE
Reglas relacionadas
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_MAL_Powerpool_Jul_2021_2Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- ARKBIRD_SOLG_MAL_Powerpool_Jul_2021_1Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06