YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Cinoshistealer
Finds Cinoshi Stealer samples based on specific strings, or PE resources
- Author
- Sekoia.io
- Date
- 2023-06-23
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Cinoshi Stealer samples based on specific strings, or PE resources
Targets: Windows PE.
It defines 14 patterns (14 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-cinoshistealer.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Cinoshistealer : FILE
{
meta:
= "Finds Cinoshi Stealer samples based on specific strings, or PE resources"
= "Sekoia.io"
= "2e9c066b-d5e3-4a25-8954-c10af285bcd3"
= "2023-06-23"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_cinoshistealer.yar#L1-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c4d8418a7bd1bf205295100d993562c89b17b80889cad5aac7a74f89e66543ce"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "Anaida.exe" ascii wide
$str02 = "Anaida.pdb" ascii
$str03 = "embedder_download_data" ascii
$str04 = "date_password_modified" ascii
$str05 = "card_number_encrypted" ascii
$str06 = "set_UseZip64WhenSaving" ascii
$str07 = "set_CommandText" ascii
$str08 = "Nss3CouldNotBeLoaded" ascii
$str09 = "formhistory.sqlite" wide
$str10 = "logins.json" wide
$str11 = "\\nss3.dll" wide
$str12 = "\\cookies.sqlite" wide
$str13 = "\\places.sqlite" wide
$str14 = "\\autofill-profiles.json" wide
condition:
uint16( 0 ) == 0x5a4d and 9 of them and filesize > 400KB
}
Strings (14 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "Anaida.exe" | ascii wide |
| $str02 | text | "Anaida.pdb" | ascii |
| $str03 | text | "embedder_download_data" | ascii |
| $str04 | text | "date_password_modified" | ascii |
| $str05 | text | "card_number_encrypted" | ascii |
| $str06 | text | "set_UseZip64WhenSaving" | ascii |
| $str07 | text | "set_CommandText" | ascii |
| $str08 | text | "Nss3CouldNotBeLoaded" | ascii |
| $str09 | text | "formhistory.sqlite" | wide |
| $str10 | text | "logins.json" | wide |
| $str11 | text | "\\nss3.dll" | wide |
| $str12 | text | "\\cookies.sqlite" | wide |
| $str13 | text | "\\places.sqlite" | wide |
| $str14 | text | "\\autofill-profiles.json" | wide |
Condition
uint16( 0 ) == 0x5a4d and 9 of them and filesize > 400KBIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be larger than 400KB.
- 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: 2e9c066b-d5e3-4a25-8954-c10af285bcd3
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