YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Soranostealer
Detects SoranoStealer / HogGrabber. Available on Github: /Alexuiop1337/SoranoStealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects SoranoStealer / HogGrabber. Available on Github: /Alexuiop1337/SoranoStealer
Familia de malware asociada: Soranostealer.
Objetivos: PE de Windows.
Define 12 patrones (10 de texto, 2 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_Soranostealer : FILE
{
meta:
= "Detects SoranoStealer / HogGrabber. Available on Github: /Alexuiop1337/SoranoStealer"
= "ditekSHen"
= "2fc40a73-5f28-5b5c-938a-35e8336e1d11"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9419-L9443"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "27c9d6bf3f40f3d41c35975e856671fafcd4a0a8143b3bcbdff61c1fb28a37ab"
= 75
= 75
= "FILE"
strings:
$x1 = "OiCuntJollyGoodDayYeHavin_" ascii
$x2 = { 00 56 4d 50 72 6f 74 65 63 74 00 52 65 61 63 74
6f 72 00 64 65 34 66 75 63 6b 79 6f 75 00 42 61
62 65 6c 4f 62 66 75 73 63 61 74 6f 72 41 74 74
72 69 62 75 74 65 00 43 72 79 74 70 6f 4f 62 66
75 73 63 61 74 6f 72 00 }
$x3 = { 00 4f 62 66 75 73 63 61 74 65 64 42 79 47 6f 6c
69 61 74 68 00 42 65 64 73 2d 50 72 6f 74 6f 72 00 }
$s1 = ".Binaries.whysosad" ascii
$s2 = "Adminstrator permissons are required" wide
$s3 = "12:03:33:4A:04:AF" fullword wide
$s4 = "RemoveEXE" fullword ascii
$s5 = "$340becfa-1688-4c32-aa49-30fdb4005e4b" fullword ascii
$s6 = "$99cffbcc-6ad7-4d32-bd1f-450967cf4a6b" fullword ascii
$s7 = "\"cam\": " ascii
$s8 = " - 801858595527371999762718088" fullword ascii
$s9 = " - 96188142294460126639341306" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or 5 of ( $s* ) )
}
Cadenas (12 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "OiCuntJollyGoodDayYeHavin_" | ascii |
| $x2 | hex | { 00 56 4d 50 72 6f 74 65 63 74 00 52 65 61 63 74 6f 72 00 64 65 34 66 75 63 6b 79 6f 75 00 42 61 62 65 6c 4f 62 66 75 73 63 61 … | |
| $x3 | hex | { 00 4f 62 66 75 73 63 61 74 65 64 42 79 47 6f 6c 69 61 74 68 00 42 65 64 73 2d 50 72 6f 74 6f 72 00 } | |
| $s1 | texto | ".Binaries.whysosad" | ascii |
| $s2 | texto | "Adminstrator permissons are required" | wide |
| $s3 | texto | "12:03:33:4A:04:AF" | fullword wide |
| $s4 | texto | "RemoveEXE" | fullword ascii |
| $s5 | texto | "$340becfa-1688-4c32-aa49-30fdb4005e4b" | fullword ascii |
| $s6 | texto | "$99cffbcc-6ad7-4d32-bd1f-450967cf4a6b" | fullword ascii |
| $s7 | texto | "\"cam\": " | ascii |
| $s8 | texto | " - 801858595527371999762718088" | fullword ascii |
| $s9 | texto | " - 96188142294460126639341306" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 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 2 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: 2fc40a73-5f28-5b5c-938a-35e8336e1d11
Etiquetas:FILE
Reglas relacionadas
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06