YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Nemesis_In_Memory
Finds Nemesis Stealer samples based on specific strings, from samples without strings obsucation, or from memory
- Author
- Sekoia.io
- Date
- 2023-03-29
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Nemesis Stealer samples based on specific strings, from samples without strings obsucation, or from memory
Targets: Windows PE.
It defines 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SEKOIA_Infostealer_Win_Nemesis_In_Memory : FILE
{
meta:
= "Finds Nemesis Stealer samples based on specific strings, from samples without strings obsucation, or from memory"
= "Sekoia.io"
= "01d85bd5-ea93-44ff-b36a-9cd9eb54d634"
= "2023-03-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_nemesis_in_memory.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "65d2dd9a10238e6d65d8992aa9cc145f73bcba9be49ed552f8b0c44723ec4c87"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "NemesisProject.Modules." ascii
$str02 = "~[NEMESIS INIZIALIZE]~" wide
$str03 = "Clip_BoardText.txt" wide
$str04 = "stealer_out.zip" wide
$str05 = "<span style=\"color:#FFFFFF\">Number of running processes:</span>" wide
$str06 = "<span style=\"color:#FFFFFF\">Installed FireWall: </span>" wide
$str07 = "~[Panel_Receiving_Data]~ Incorrect data when receiving data on the panel" wide
$str08 = "ProcessInfo_Log.txt" wide
$str09 = "Installed_Software_Log.txt" wide
$str10 = "Detect Data ClipBoard] - [ {DateTime.Now:MM.dd.yyyy - HH:mm:ss}]" wide
$str11 = "VPN/ProtonVPN_Log.txt" wide
$str12 = "VPN/Nord_Log.txt" wide
$str13 = "Steam/SteamID_Log.txt" wide
condition:
uint16( 0 ) == 0x5A4D and 6 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "NemesisProject.Modules." | ascii |
| $str02 | text | "~[NEMESIS INIZIALIZE]~" | wide |
| $str03 | text | "Clip_BoardText.txt" | wide |
| $str04 | text | "stealer_out.zip" | wide |
| $str05 | text | "<span style=\"color:#FFFFFF\">Number of running processes:</span>" | wide |
| $str06 | text | "<span style=\"color:#FFFFFF\">Installed FireWall: </span>" | wide |
| $str07 | text | "~[Panel_Receiving_Data]~ Incorrect data when receiving data on the panel" | wide |
| $str08 | text | "ProcessInfo_Log.txt" | wide |
| $str09 | text | "Installed_Software_Log.txt" | wide |
| $str10 | text | "Detect Data ClipBoard] - [ {DateTime.Now:MM.dd.yyyy - HH:mm:ss}]" | wide |
| $str11 | text | "VPN/ProtonVPN_Log.txt" | wide |
| $str12 | text | "VPN/Nord_Log.txt" | wide |
| $str13 | text | "Steam/SteamID_Log.txt" | wide |
Condition
uint16( 0 ) == 0x5A4D and 6 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 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
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: 01d85bd5-ea93-44ff-b36a-9cd9eb54d634
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