YARA · SEKOIA.IO Community
SEKOIA_Apt_Sugardump_Credentials_Stealer_Http
No description has been set in the source file - SEKOIA
- Author
- Sekoia.io
- Date
- 2022-08-23
- 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 13 patterns (13 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-sugardump-credentials-stealer-http.yarDetection Rule License 1.1
rule SEKOIA_Apt_Sugardump_Credentials_Stealer_Http : FILE
{
meta:
= "No description has been set in the source file - SEKOIA"
= "Sekoia.io"
= "47d01ba8-9fdd-42d5-9f10-115f982dc133"
= "2022-08-23"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_sugardump_credentials_stealer_http.yar#L1-L28"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "8d1725da41704fd534d3438021a98d0fb9b9b5bfdc63cc3144c4957954be1870"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "\\Google\\Chrome\\User Data" wide
$ = "\\DebugLogWindowsDefender.txt" wide
$ = "Opera Software\\Opera Stable" wide
$ = "Microsoft\\Edge\\User Data" wide
$ = "\"encrypted_key\":\"(.*?)\\" wide
$ = "Url:" wide
$ = "Username:" wide
$ = "Password:" wide
$ = "Application:" wide
$ = "BCrypt.BCryptDecrypt" wide
$ = "C:\\Users\\User\\" wide
$ = "_CorExeMain"
$ = "http://" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 10 of them
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "\\Google\\Chrome\\User Data" | wide |
| $ | text | "\\DebugLogWindowsDefender.txt" | wide |
| $ | text | "Opera Software\\Opera Stable" | wide |
| $ | text | "Microsoft\\Edge\\User Data" | wide |
| $ | text | "\"encrypted_key\":\"(.*?)\\" | wide |
| $ | text | "Url:" | wide |
| $ | text | "Username:" | wide |
| $ | text | "Password:" | wide |
| $ | text | "Application:" | wide |
| $ | text | "BCrypt.BCryptDecrypt" | wide |
| $ | text | "C:\\Users\\User\\" | wide |
| $ | text | "_CorExeMain" | |
| $ | text | "http://" | wide |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 10 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 1MB (a cheap guard that skips large files).
- At least 10 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: 47d01ba8-9fdd-42d5-9f10-115f982dc133
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