YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Meduzastealer
Finds MeduzaStealer samples based on specific strings
- Author
- Sekoia.io
- Date
- 2023-06-20
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds MeduzaStealer samples based on specific strings
Targets: Windows PE.
It defines 11 patterns (11 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-meduzastealer.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Meduzastealer : FILE
{
meta:
= "Finds MeduzaStealer samples based on specific strings"
= "Sekoia.io"
= "1276f485-aa5d-491b-89d8-77f98dc496e1"
= "2023-06-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_meduzastealer.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e81a5a9611662422eb7a87c0c1a370cee6f138fd6169225d969b669337d91a06"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "emoji" ascii
$str02 = "%d-%m-%Y, %H:%M:%S" ascii
$str03 = "[UTC" ascii
$str04 = "user_name" ascii
$str05 = "computer_name" ascii
$str06 = "timezone" ascii
$str07 = "current_path()" ascii
$str08 = "[json.exception." ascii
$str09 = "GDI32.dll" ascii
$str10 = "GdipGetImageEncoders" ascii
$str11 = "GetGeoInfoA" ascii
condition:
uint16( 0 ) == 0x5a4d and 8 of them and filesize > 500KB
}
Strings (11 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "emoji" | ascii |
| $str02 | text | "%d-%m-%Y, %H:%M:%S" | ascii |
| $str03 | text | "[UTC" | ascii |
| $str04 | text | "user_name" | ascii |
| $str05 | text | "computer_name" | ascii |
| $str06 | text | "timezone" | ascii |
| $str07 | text | "current_path()" | ascii |
| $str08 | text | "[json.exception." | ascii |
| $str09 | text | "GDI32.dll" | ascii |
| $str10 | text | "GdipGetImageEncoders" | ascii |
| $str11 | text | "GetGeoInfoA" | ascii |
Condition
uint16( 0 ) == 0x5a4d and 8 of them and filesize > 500KBIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be larger than 500KB.
- At least 8 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: 1276f485-aa5d-491b-89d8-77f98dc496e1
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