YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Agrat
No description has been set in the source file - SEKOIA
- Author
- Sekoia.io
- Date
- 2022-06-01
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
No description has been set in the source file - SEKOIA
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-agrat.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Agrat : FILE
{
meta:
= "No description has been set in the source file - SEKOIA"
= "Sekoia.io"
= "472effe8-5044-4ca1-88e0-3e19d445b9d1"
= "2022-06-01"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_agrat.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "5b02880dbc75d9e4d95ec55c8e8630a47198ee4cc25e3ff79c93e9fe634fadca"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str00 = "Vault.txt" wide
$str01 = "Credman.txt" wide
$str02 = "[Networks] {0}" wide
$str03 = "[Screenshot] {0}" wide
$str04 = "[Twitch] {0}" wide
$str05 = "Servers.txt" wide
$str06 = "[WindscribeVPN] {0}" wide
$str07 = "[{0}] Thread finished!" wide
$str08 = "[ERROR] Unable to enumerate vaults. Error (0x" wide
$str09 = "snowflake-ssh" wide
$str10 = "//setting[@name='Password']/value" wide
$str11 = "MakeScreenshot" ascii
$sys = "System.Collections.Generic.IEnumerator<Stealer." ascii
condition:
uint16( 0 ) == 0x5A4D and all of them and #sys > 10
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str00 | text | "Vault.txt" | wide |
| $str01 | text | "Credman.txt" | wide |
| $str02 | text | "[Networks] {0}" | wide |
| $str03 | text | "[Screenshot] {0}" | wide |
| $str04 | text | "[Twitch] {0}" | wide |
| $str05 | text | "Servers.txt" | wide |
| $str06 | text | "[WindscribeVPN] {0}" | wide |
| $str07 | text | "[{0}] Thread finished!" | wide |
| $str08 | text | "[ERROR] Unable to enumerate vaults. Error (0x" | wide |
| $str09 | text | "snowflake-ssh" | wide |
| $str10 | text | "//setting[@name='Password']/value" | wide |
| $str11 | text | "MakeScreenshot" | ascii |
| $sys | text | "System.Collections.Generic.IEnumerator<Stealer." | ascii |
Condition
uint16( 0 ) == 0x5A4D and all of them and #sys > 10In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in the rule must match.
- Pattern $sys must occur > 10 times.
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: 472effe8-5044-4ca1-88e0-3e19d445b9d1
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-03-06