YARA · SEKOIA.IO Community
SEKOIA_Guloader_Lnk_File
LNK file delivering Guloader
- Author
- Sekoia.io
- Date
- 2024-02-07
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
LNK file delivering Guloader
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
guloader-lnk-file.yarDetection Rule License 1.1
rule SEKOIA_Guloader_Lnk_File : FILE
{
meta:
= "LNK file delivering Guloader"
= "Sekoia.io"
= "ecc07753-0910-445b-bf84-911b17195894"
= "2024-02-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/guloader_lnk_file.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d69038a8b26c7fc7ba7b0968c7c91b589b25512dcf7e3ad5ee56453a4654a1ab"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "$PSHOME" wide
$s2 = "&(${" wide
$s3 = "}::ToString(" wide
$s4 = "$([TYPE]${" wide
condition:
uint32be( 0 ) == 0x4c000000 and all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "$PSHOME" | wide |
| $s2 | text | "&(${" | wide |
| $s3 | text | "}::ToString(" | wide |
| $s4 | text | "$([TYPE]${" | wide |
Condition
uint32be( 0 ) == 0x4c000000 and all of themIn plain words (Heuristic)
- The file must start with the Windows shortcut (LNK) header.
- All 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: ecc07753-0910-445b-bf84-911b17195894
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