YARA · SEKOIA.IO Community
SEKOIA_Suspicious_Users_Dev
Nirscord stealer
- Author
- Sekoia.io
- Date
- 2022-12-22
- Modified
- 2024-12-19
- Score / Quality
- 65 / 80
What this rule detects
Nirscord stealer
Targets: Windows PE.
It defines 3 patterns (2 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
suspicious-users-dev.yarDetection Rule License 1.1
rule SEKOIA_Suspicious_Users_Dev : FILE
{
meta:
= "Nirscord stealer"
= "Sekoia.io"
= "9e8af456-6f84-4922-a262-20b8f5c8a1eb"
= "2022-12-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/suspicious_users_dev.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6084b319efb7b4137517c63dd2ed1023a4b25513b7ac50e95154bbac0fea0af7"
= 65
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$user1 = "\\Users\\raghus1\\" ascii
$user2 = "\\Users\\drill\\" ascii
$key = {58 69 b3 5f b3 87 74 f6 65 eb 96 e7 6f 4d 16 83 }
condition:
uint16be( 0 ) == 0x4d5a and filesize < 6MB and 1 of ( $user* ) and $key
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $user1 | text | "\\Users\\raghus1\\" | ascii |
| $user2 | text | "\\Users\\drill\\" | ascii |
| $key | hex | {58 69 b3 5f b3 87 74 f6 65 eb 96 e7 6f 4d 16 83 } |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 6MB and 1 of ( $user* ) and $keyIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 6MB (a cheap guard that skips large files).
- At least 1 patterns in ( $user* ) must match.
- Pattern $key must be present.
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: 9e8af456-6f84-4922-a262-20b8f5c8a1eb
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2024-02-07
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2024-03-20
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2023-03-06
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2022-10-11
- 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