YARA · SEKOIA.IO Community
SEKOIA_Apt_Aptk47_Maliciouslnk
Detects APT-K-47 malicious LNK
- Author
- Sekoia.io
- Date
- 2024-11-22
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects APT-K-47 malicious LNK
It defines 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-aptk47-maliciouslnk.yarDetection Rule License 1.1
rule SEKOIA_Apt_Aptk47_Maliciouslnk : FILE
{
meta:
= "Detects APT-K-47 malicious LNK"
= "Sekoia.io"
= "2ccc8777-26fe-4018-9646-4ea91394fe78"
= "2024-11-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_aptk47_maliciouslnk.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6a405d4e88b4acb9706e19a83aad9cf6"
= "865bb08f57affb3795853aa3c9f49577efb74df9b32e7760263b9fb08246a3ab"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "[/c for /f" wide
$ = "2^>nul') do copy" wide
$ = "%F in ('where /r %Temp%" wide
condition:
uint32be( 0 ) == 0x4c000000 and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "[/c for /f" | wide |
| $ | text | "2^>nul') do copy" | wide |
| $ | text | "%F in ('where /r %Temp%" | 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
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 6a405d4e88b4acb9706e19a83aad9cf6
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: 2ccc8777-26fe-4018-9646-4ea91394fe78
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