YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Irontiger_Chrome_Stealer
Detect the chrome_stealer malware
- Author
- Sekoia.io
- Date
- 2023-03-01
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the chrome_stealer malware
Targets: Windows PE.
It defines 15 patterns (15 text, 0 hex, 0 regex). YARA modules used: pe.
Summary generated from the rule's metadata and condition.
Rule source
Includes the imports needed to compile it on its own.
infostealer-win-irontiger-chrome-stealer.yarDetection Rule License 1.1
import "pe"
rule SEKOIA_Infostealer_Win_Irontiger_Chrome_Stealer : FILE
{
meta:
= "Detect the chrome_stealer malware"
= "Sekoia.io"
= "8c5c3ed0-e1ea-4079-b330-ace8724bff2a"
= "2023-03-01"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_irontiger_chrome_stealer.yar#L3-L32"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "dfddebf9623661508e993541106d4dcbb2270b311b2902567bd309810aff58dd"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "passwords.txt"
$ = "CryptUnprotectData: 0x%08x"
$ = "cookies.txt"
$ = "decrypt to %s"
$ = ".\\chromedb_tmp" wide ascii
$ = "SELECT ORIGIN_URL,USERNAME_VALUE,PASSWORD_VALUE FROM LOGINS;"
$ = "decrypt successful!"
$ = "url: %s"
$ = "user: %s"
$ = "pass: %s"
$ = "aes key:"
$ = "\\Google\\Chrome\\User Data\\Default\\Login Data" wide
$ = "password file %s" wide
$ = "cookies file %s" wide
$ = "keyfile: %s" wide
condition:
( uint16( 0 ) == 0x5A4D and all of them ) or pe.imphash ( ) == "e862f5a6671f9dbd6f53d3d557e568f0"
}
Strings (15 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "passwords.txt" | |
| $ | text | "CryptUnprotectData: 0x%08x" | |
| $ | text | "cookies.txt" | |
| $ | text | "decrypt to %s" | |
| $ | text | ".\\chromedb_tmp" | wide ascii |
| $ | text | "SELECT ORIGIN_URL,USERNAME_VALUE,PASSWORD_VALUE FROM LOGINS;" | |
| $ | text | "decrypt successful!" | |
| $ | text | "url: %s" | |
| $ | text | "user: %s" | |
| $ | text | "pass: %s" | |
| $ | text | "aes key:" | |
| $ | text | "\\Google\\Chrome\\User Data\\Default\\Login Data" | wide |
| $ | text | "password file %s" | wide |
| $ | text | "cookies file %s" | wide |
| $ | text | "keyfile: %s" | wide |
Condition
( uint16( 0 ) == 0x5A4D and all of them ) or pe.imphash ( ) == "e862f5a6671f9dbd6f53d3d557e568f0"In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule must match.
- Uses the pe module.
- Checks the PE import hash (imphash).
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: 8c5c3ed0-e1ea-4079-b330-ace8724bff2a
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20