YARA · SEKOIA.IO Community
SEKOIA_Stealer_Win_Demotryspy
No description has been set in the source file - SEKOIA
- Author
- Sekoia.io
- Date
- 2024-02-09
- 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 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
stealer-win-demotryspy.yarDetection Rule License 1.1
rule SEKOIA_Stealer_Win_Demotryspy : FILE
{
meta:
= "No description has been set in the source file - SEKOIA"
= "Sekoia.io"
= "70af0e40-b177-49a3-bff4-723f3f4aa375"
= "2024-02-09"
= "2024-12-19"
= "https://paper.seebug.org/3115/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/stealer_win_demotryspy.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "b7a910e4d394d2122e6b4fe76daa6691a642396e27f7a47d09232f4b7eb424ee"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$demotry1 = "DemoTry.exe"
$demotry2 = "DemoTry\\Release\\DemoTry.pdb"
$wide1 = "\\loc.tmp" wide
$wide2 = "\\log.tmp" wide
$wide3 = "\\Google\\Chrome\\User Data" wide
$wide4 = "\\Default\\Login data" wide
$wide5 = "\\Local State" wide
condition:
uint16be( 0 ) == 0x4d5a and ( 1 of ( $demotry* ) or all of ( $wide* ) )
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $demotry1 | text | "DemoTry.exe" | |
| $demotry2 | text | "DemoTry\\Release\\DemoTry.pdb" | |
| $wide1 | text | "\\loc.tmp" | wide |
| $wide2 | text | "\\log.tmp" | wide |
| $wide3 | text | "\\Google\\Chrome\\User Data" | wide |
| $wide4 | text | "\\Default\\Login data" | wide |
| $wide5 | text | "\\Local State" | wide |
Condition
uint16be( 0 ) == 0x4d5a and ( 1 of ( $demotry* ) or all of ( $wide* ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All patterns in ( $wide* ) must match.
- At least 1 patterns in ( $demotry* ) 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: 70af0e40-b177-49a3-bff4-723f3f4aa375
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