YARA · ditekSHen detection
DITEKSHEN_INDICATOR_TOOL_PRI_Juicypotato
Detect JuicyPotato
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-09-25
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detect JuicyPotato
Familia de malware asociada: Juicy Potato.
Objetivos: PE de Windows.
Define 8 patrones (8 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_INDICATOR_TOOL_PRI_Juicypotato : FILE
{
meta:
= "Detect JuicyPotato"
= "ditekSHen"
= "2fb52598-9771-507b-a06d-7b9bc693ffee"
= "2020-11-06"
= "2024-09-25"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L1255-L1270"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "43a7ac16b9633fd2e6c43ca142cd0d0e2166287bb51e1b6344119959fe054c19"
= 75
= 75
= "FILE"
strings:
$x1 = "\\JuicyPotato.pdb" ascii
$x2 = "JuicyPotato v%s" fullword ascii
$s1 = "hello.stg" fullword wide
$s2 = "ppVirtualProcessorRoots" fullword ascii
$s3 = "Lock already taken" fullword ascii
$s4 = "[+] authresult %d" fullword ascii
$s5 = "RPC -> send failed with error: %d" fullword ascii
$s6 = "Priv Adjust FALSE" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) or ( 5 of ( $s* ) ) )
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "\\JuicyPotato.pdb" | ascii |
| $x2 | texto | "JuicyPotato v%s" | fullword ascii |
| $s1 | texto | "hello.stg" | fullword wide |
| $s2 | texto | "ppVirtualProcessorRoots" | fullword ascii |
| $s3 | texto | "Lock already taken" | fullword ascii |
| $s4 | texto | "[+] authresult %d" | fullword ascii |
| $s5 | texto | "RPC -> send failed with error: %d" | fullword ascii |
| $s6 | texto | "Priv Adjust FALSE" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and 3 of ( $s* ) ) or ( 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 ( $x* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- 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: 2fb52598-9771-507b-a06d-7b9bc693ffee
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2022-09-09
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- Sospechoso / huntingditekSHen detection· ditekSHen· 2023-08-22
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21