YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stealerium
Detects Stealerium based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2022-12-01
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 78
Qué detecta esta regla
Detects Stealerium based on specific strings
Familia de malware asociada: Stealerium.
Objetivos: PE de Windows.
Define 21 patrones (21 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
infostealer-win-stealerium.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stealerium : FILE
{
meta:
= "Detects Stealerium based on specific strings"
= "Sekoia.io"
= "165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5"
= "2022-12-01"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stealerium.yar#L1-L36"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f420848164ad4b6966f2a776a58d90b7d70c8b151a42d6f56b654f1700b5e564"
= 75
= 78
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$stl = "Stealerium" ascii wide
$str01 = "Processe: " wide
$str02 = "Compname: " wide
$str03 = "Language: " wide
$str04 = "SandBoxie: " wide
$str05 = "== System Info ==" wide
$str06 = "== Hardware ==" wide
$str07 = "== Domains ==" wide
$str08 = "WEBCAMS COUNT: " wide
$str09 = "[Virtualization]" wide
$str10 = "[Open google maps](" wide
$str11 = "Remember password: " wide
$str12 = "Target.Browsers.Firefox" ascii
$str13 = "Modules.Keylogger" ascii
$str14 = "ClipperAddresses" ascii
$str15 = "ChromiumPswPaths" ascii
$str16 = "DetectedBankingServices" ascii
$str17 = "DetectCryptocurrencyServices" ascii
$str18 = "CheckRemoteDebuggerPresent" ascii
$str19 = "GetConnectedCamerasCount" ascii
$str20 = "costura.discord-webhook-client.dll.compressed" ascii wide
condition:
uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )
}
Cadenas (21 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $stl | texto | "Stealerium" | ascii wide |
| $str01 | texto | "Processe: " | wide |
| $str02 | texto | "Compname: " | wide |
| $str03 | texto | "Language: " | wide |
| $str04 | texto | "SandBoxie: " | wide |
| $str05 | texto | "== System Info ==" | wide |
| $str06 | texto | "== Hardware ==" | wide |
| $str07 | texto | "== Domains ==" | wide |
| $str08 | texto | "WEBCAMS COUNT: " | wide |
| $str09 | texto | "[Virtualization]" | wide |
| $str10 | texto | "[Open google maps](" | wide |
| $str11 | texto | "Remember password: " | wide |
| $str12 | texto | "Target.Browsers.Firefox" | ascii |
| $str13 | texto | "Modules.Keylogger" | ascii |
| $str14 | texto | "ClipperAddresses" | ascii |
| $str15 | texto | "ChromiumPswPaths" | ascii |
| $str16 | texto | "DetectedBankingServices" | ascii |
| $str17 | texto | "DetectCryptocurrencyServices" | ascii |
| $str18 | texto | "CheckRemoteDebuggerPresent" | ascii |
| $str19 | texto | "GetConnectedCamerasCount" | ascii |
| $str20 | texto | "costura.discord-webhook-client.dll.compressed" | ascii wide |
Condición
uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar más de 1MB.
- Deben coincidir al menos 2 patrones de ( $str* ).
- Deben coincidir al menos 15 patrones de ( $str* ).
- El patrón $stl debe aparecer > 5 veces.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
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: 165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20