YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Stealc_Str_Oct24
Finds Stealc standalone samples (or dumps) based on the strings
- Author
- Sekoia.io
- Date
- 2024-10-20
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Stealc standalone samples (or dumps) based on the strings
Associated malware family: Stealc.
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
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
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" | ascii |
| $str02 | text | "Azure\\.IdentityService" | ascii |
| $str03 | text | "steam_tokens.txt" | ascii |
| $str04 | text | "\"encrypted_key\":\"" | ascii |
| $str05 | text | "prefs.js" | ascii |
| $str06 | text | "browser: FileZilla" | ascii |
| $str07 | text | "profile: null" | ascii |
| $str08 | text | "url:" | ascii |
| $str09 | text | "login:" | ascii |
| $str10 | text | "password:" | ascii |
| $str11 | text | "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" | ascii |
| $str12 | text | "ChromeFuckNewCookies" | ascii |
| $str13 | text | "/c timeout /t 10 & del /f /q \"" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 9 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 9 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7448fafe-206c-4f9c-b5a3-cbabec12a45b
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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_V2Metadata onlyMalwareRussianPanda· RussianPanda· 2025-04-10
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16