YARA · SEKOIA.IO Community
SEKOIA_Apt_Unk_Malicious_Lnk
Detects a malicious LNK used by an APT
- Author
- Sekoia.io
- Date
- 2024-09-06
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects a malicious LNK used by an APT
Targets: ZIP / Office Open XML.
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-unk-malicious-lnk.yarDetection Rule License 1.1
rule SEKOIA_Apt_Unk_Malicious_Lnk : FILE
{
meta:
= "Detects a malicious LNK used by an APT"
= "Sekoia.io"
= "d2248803-7ddf-4cde-ab6a-78b20e760919"
= "2024-09-06"
= "2024-12-19"
= "https://www.seqrite.com/blog/operation-oxidovy-sophisticated-malware-campaign-targets-czech-officials-using-nato-themed-decoys/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_unk_malicious_lnk.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "a8d7e56eb01a8cf576533db9af2e92ec"
= "993411ceba45d1212a4840e6a35b72b52e64e78cbb2599ebc5c70c2fd3b8e552"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = ".pdf.lnkPK"
$ = ".jfifPK"
$ = ".batPK"
$ = ".pdfPK"
condition:
uint32be( 0 ) == 0x504b0304 and all of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | ".pdf.lnkPK" | |
| $ | text | ".jfifPK" | |
| $ | text | ".batPK" | |
| $ | text | ".pdfPK" |
Condition
uint32be( 0 ) == 0x504b0304 and all of themIn plain words (Heuristic)
- The file must start with “PK” — a ZIP archive (also Office Open XML, JAR, APK).
- 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- a8d7e56eb01a8cf576533db9af2e92ec
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: d2248803-7ddf-4cde-ab6a-78b20e760919
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