YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Enigma_Loader_Module
Find loader module of Enigma Stealer based on specific strings
- Author
- Sekoia.io
- Date
- 2023-01-30
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Find loader module of Enigma Stealer based on specific strings
Associated malware family: Enigma Loader.
Targets: Windows PE.
It defines 10 patterns (10 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Infostealer_Win_Enigma_Loader_Module : FILE
{
meta:
= "Find loader module of Enigma Stealer based on specific strings"
= "Sekoia.io"
= "664fe8de-b406-4d63-9a4b-1c350b444f01"
= "2023-01-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_enigma_loader_module.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f1623c2f7c00affa3985cf7b9cdf25e39320700fa9d69f9f9426f03054b4b712"
= "f5485b14291acc299d66b72aefd2d5e558d82f6a90450d293eb147f05423f2d8"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "Enigma.Loader.Driver_x64.dll" ascii
$str02 = "C:\\projects\\driver\\Driver\\x64\\Release\\driver.pdb" ascii
$str03 = "/getFile?file_id=" ascii
$str04 = "/file/bot" ascii
$str05 = "Fatal error: failed to acquire SE_LOAD_DRIVER_PRIVILEGE. Make sure you are running as administrator." wide
$str06 = "[GetTgFileById][GetTgRequest] reply is NULL" wide
$str07 = "Telegram request failed" wide
$str08 = "Vul driver data destroyed before unlink" wide
$str09 = "GetExportAddress hash not found: %x" wide
$str10 = "\\REGISTRY\\MACHINE\\HARDWARE\\RESOURCEMAP\\PnP Manager\\PnpManager" wide
condition:
uint16( 0 ) == 0x5A4D and 4 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "Enigma.Loader.Driver_x64.dll" | ascii |
| $str02 | text | "C:\\projects\\driver\\Driver\\x64\\Release\\driver.pdb" | ascii |
| $str03 | text | "/getFile?file_id=" | ascii |
| $str04 | text | "/file/bot" | ascii |
| $str05 | text | "Fatal error: failed to acquire SE_LOAD_DRIVER_PRIVILEGE. Make sure you are running as administrator." | wide |
| $str06 | text | "[GetTgFileById][GetTgRequest] reply is NULL" | wide |
| $str07 | text | "Telegram request failed" | wide |
| $str08 | text | "Vul driver data destroyed before unlink" | wide |
| $str09 | text | "GetExportAddress hash not found: %x" | wide |
| $str10 | text | "\\REGISTRY\\MACHINE\\HARDWARE\\RESOURCEMAP\\PnP Manager\\PnpManager" | wide |
Condition
uint16( 0 ) == 0x5A4D and 4 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 4 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- f1623c2f7c00affa3985cf7b9cdf25e39320700fa9d69f9f9426f03054b4b712
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: 664fe8de-b406-4d63-9a4b-1c350b444f01
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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