YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stormkitty
Finds StormKitty samples (or their variants) based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2023-03-29
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds StormKitty samples (or their variants) based on specific strings
Familia de malware asociada: Stormkitty.
Objetivos: PE de Windows.
Define 15 patrones (15 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 SEKOIA_Infostealer_Win_Stormkitty : FILE
{
meta:
= "Finds StormKitty samples (or their variants) based on specific strings"
= "Sekoia.io"
= "5014d2e5-af5c-4800-ab1e-b57de37a2450"
= "2023-03-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stormkitty.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "57a4603faf6af9742db79f9bc8751f3a5c091b6271998434f0a3b9f5c30cb1e8"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$sk01 = "LimerBoy/StormKitty" ascii wide
$sk02 = "StormKitty-Latest.log" wide
$sk03 = "StormKitty.exe" ascii
$sk04 = "Debug\\StormKitty.pdb" ascii
$sk05 = "StormKitty.Implant" ascii
$str01 = "set_sUsername" ascii
$str02 = "set_sIsSecure" ascii
$str03 = "set_sExpMonth" ascii
$str04 = "WritePasswords" ascii
$str05 = "WriteCookies" ascii
$str06 = "sChromiumPswPaths" ascii
$str07 = "sGeckoBrowserPaths" ascii
$str08 = "Username: {1}" wide
$str09 = "Password: {2}" wide
$str10 = "encrypted_key\":\"(.*?)\"" wide
condition:
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $sk01 | texto | "LimerBoy/StormKitty" | ascii wide |
| $sk02 | texto | "StormKitty-Latest.log" | wide |
| $sk03 | texto | "StormKitty.exe" | ascii |
| $sk04 | texto | "Debug\\StormKitty.pdb" | ascii |
| $sk05 | texto | "StormKitty.Implant" | ascii |
| $str01 | texto | "set_sUsername" | ascii |
| $str02 | texto | "set_sIsSecure" | ascii |
| $str03 | texto | "set_sExpMonth" | ascii |
| $str04 | texto | "WritePasswords" | ascii |
| $str05 | texto | "WriteCookies" | ascii |
| $str06 | texto | "sChromiumPswPaths" | ascii |
| $str07 | texto | "sGeckoBrowserPaths" | ascii |
| $str08 | texto | "Username: {1}" | wide |
| $str09 | texto | "Password: {2}" | wide |
| $str10 | texto | "encrypted_key\":\"(.*?)\"" | wide |
Condición
uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 1 patrones de ( $sk* ).
- Deben coincidir al menos 3 patrones de ( $str* ).
- Deben coincidir al menos 7 patrones de ( $str* ).
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: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: 5014d2e5-af5c-4800-ab1e-b57de37a2450
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-04-20
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20