YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Stormkitty
Detects StormKitty infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects StormKitty infostealer
Familia de malware asociada: Stormkitty.
Objetivos: PE de Windows.
Define 9 patrones (9 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_Stormkitty : FILE
{
meta:
= "Detects StormKitty infostealer"
= "ditekSHen"
= "a061a1c0-9ed5-5048-85df-4d7ed6995e92"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2252-L2269"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5d139aad6932f177cd14e0356f822ad68ddc659ea4fabd2fd2fbcbc8bad58888"
= 75
= 75
= "FILE"
= "MALWARE.Win.Trojan.StormKitty"
strings:
$x1 = "\\ARTIKA\\Videos\\Chrome-Password-Recovery" ascii
$x2 = "https://github.com/LimerBoy/StormKitty" fullword ascii
$x3 = "StormKitty" fullword ascii
$s1 = "GetBSSID" fullword ascii
$s2 = "GetAntivirus" fullword ascii
$s3 = "C:\\Users\\Public\\credentials.txt" fullword wide
$s4 = "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" fullword wide
$s5 = "BCrypt.BCryptGetProperty() (get size) failed with status code:{0}" fullword wide
$s6 = "\"encrypted_key\":\"(.*?)\"" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $x* ) ) )
}
Cadenas (9 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "\\ARTIKA\\Videos\\Chrome-Password-Recovery" | ascii |
| $x2 | texto | "https://github.com/LimerBoy/StormKitty" | fullword ascii |
| $x3 | texto | "StormKitty" | fullword ascii |
| $s1 | texto | "GetBSSID" | fullword ascii |
| $s2 | texto | "GetAntivirus" | fullword ascii |
| $s3 | texto | "C:\\Users\\Public\\credentials.txt" | fullword wide |
| $s4 | texto | "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" | fullword wide |
| $s5 | texto | "BCrypt.BCryptGetProperty() (get size) failed with status code:{0}" | fullword wide |
| $s6 | texto | "\"encrypted_key\":\"(.*?)\"" | fullword wide |
Condición
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $x* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 2 patrones de ( $x* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
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: a061a1c0-9ed5-5048-85df-4d7ed6995e92
Metadatos
| clamav_sig | MALWARE.Win.Trojan.StormKitty |
|---|
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-03-29
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-04-20
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- 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