YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stealc_Str_Oct24
Finds Stealc standalone samples (or dumps) based on the strings
- Autor
- Sekoia.io
- Fecha
- 2024-10-20
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds Stealc standalone samples (or dumps) based on the strings
Familia de malware asociada: Stealc.
Objetivos: PE de Windows.
Define 13 patrones (13 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_Stealc_Str_Oct24 : FILE
{
meta:
= "Finds Stealc standalone samples (or dumps) based on the strings"
= "Sekoia.io"
= "7448fafe-206c-4f9c-b5a3-cbabec12a45b"
= "2024-10-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_stealc_str_oct24.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "4f7fece81c3fe1e56b57aed4030b48331b53443a200799046fe84c895b591a71"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" ascii
$str02 = "Azure\\.IdentityService" ascii
$str03 = "steam_tokens.txt" ascii
$str04 = "\"encrypted_key\":\"" ascii
$str05 = "prefs.js" ascii
$str06 = "browser: FileZilla" ascii
$str07 = "profile: null" ascii
$str08 = "url:" ascii
$str09 = "login:" ascii
$str10 = "password:" ascii
$str11 = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" ascii
$str12 = "ChromeFuckNewCookies" ascii
$str13 = "/c timeout /t 10 & del /f /q \"" ascii
condition:
uint16( 0 ) == 0x5A4D and 9 of them
}
Cadenas (13 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" | ascii |
| $str02 | texto | "Azure\\.IdentityService" | ascii |
| $str03 | texto | "steam_tokens.txt" | ascii |
| $str04 | texto | "\"encrypted_key\":\"" | ascii |
| $str05 | texto | "prefs.js" | ascii |
| $str06 | texto | "browser: FileZilla" | ascii |
| $str07 | texto | "profile: null" | ascii |
| $str08 | texto | "url:" | ascii |
| $str09 | texto | "login:" | ascii |
| $str10 | texto | "password:" | ascii |
| $str11 | texto | "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" | ascii |
| $str12 | texto | "ChromeFuckNewCookies" | ascii |
| $str13 | texto | "/c timeout /t 10 & del /f /q \"" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 9 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 9 patrones de la regla.
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: 7448fafe-206c-4f9c-b5a3-cbabec12a45b
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- RUSSIANPANDA_Win_Mal_Stealc_V2Solo metadatosMalwareRussianPanda· RussianPanda· 2025-04-10
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16