YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stealc_Str_Oct24
Finds Stealc standalone samples (or dumps) based on the strings
- Auteur
- Sekoia.io
- Date
- 2024-10-20
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Finds Stealc standalone samples (or dumps) based on the strings
Famille de malware associée : Stealc.
Cibles : PE Windows.
Elle définit 13 motifs (13 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
infostealer-win-stealc-str-oct24.yarDetection Rule License 1.1
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
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $str01 | texte | "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" | ascii |
| $str02 | texte | "Azure\\.IdentityService" | ascii |
| $str03 | texte | "steam_tokens.txt" | ascii |
| $str04 | texte | "\"encrypted_key\":\"" | ascii |
| $str05 | texte | "prefs.js" | ascii |
| $str06 | texte | "browser: FileZilla" | ascii |
| $str07 | texte | "profile: null" | ascii |
| $str08 | texte | "url:" | ascii |
| $str09 | texte | "login:" | ascii |
| $str10 | texte | "password:" | ascii |
| $str11 | texte | "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" | ascii |
| $str12 | texte | "ChromeFuckNewCookies" | ascii |
| $str13 | texte | "/c timeout /t 10 & del /f /q \"" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 9 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 9 motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 7448fafe-206c-4f9c-b5a3-cbabec12a45b
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- 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_V2Métadonnées seulesMalwareRussianPanda· RussianPanda· 2025-04-10
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16