YARA · SEKOIA.IO Community
SEKOIA_Guloader_Unpacker
GuLoader Unpacker
- Author
- Sekoia.io
- Date
- 2024-02-07
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
GuLoader Unpacker
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
guloader-unpacker.yarDetection Rule License 1.1
rule SEKOIA_Guloader_Unpacker : FILE
{
meta:
= "GuLoader Unpacker"
= "Sekoia.io"
= "dee4cad4-e3b4-4a12-860b-ff750b119fa8"
= "2024-02-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/guloader_unpacker.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6be9d7fa829480466aef2a7e78a7dadfac92f7774ab3374254305040c105496f"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$p1 = "([Parameter(Position = 0)] [Type[]] $" base64
$p2 = "+=2){" base64
$p3 = "}else {" base64
condition:
$p1 in ( filesize -30000 .. filesize ) and $p2 in ( filesize -30000 .. filesize ) and $p3 in ( filesize -30000 .. filesize ) and filesize > 300KB
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $p1 | text | "([Parameter(Position = 0)] [Type[]] $" | base64 |
| $p2 | text | "+=2){" | base64 |
| $p3 | text | "}else {" | base64 |
Condition
$p1 in ( filesize -30000 .. filesize ) and $p2 in ( filesize -30000 .. filesize ) and $p3 in ( filesize -30000 .. filesize ) and filesize > 300KBIn plain words (Heuristic)
- The file must be larger than 300KB.
- Pattern $p1 must be found within the range filesize -30000 .. filesize.
- Pattern $p2 must be found within the range filesize -30000 .. filesize.
- Pattern $p3 must be found within the range filesize -30000 .. filesize.
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: dee4cad4-e3b4-4a12-860b-ff750b119fa8
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-03-20
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2023-03-06
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2022-10-11
- Suspicious / huntingSEKOIA.IO Community· Sekoia.io· 2022-12-22
- 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