YARA · SEKOIA.IO Community
SEKOIA_Malicious_Lnk_Exploiting_Webdav_Share_Generic
Detects some malicious LNK
- Author
- Sekoia.io
- Date
- 2024-11-22
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects some malicious LNK
It defines 4 patterns (4 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malicious-lnk-exploiting-webdav-share-generic.yarDetection Rule License 1.1
rule SEKOIA_Malicious_Lnk_Exploiting_Webdav_Share_Generic : FILE
{
meta:
= "Detects some malicious LNK"
= "Sekoia.io"
= "b228643c-ab23-46e1-b170-3da6bcb2dd23"
= "2024-11-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malicious_lnk_exploiting_webdav_share_generic.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "cffb40e13e3aa6761330090b42314c36"
= "8179ef8ac43cb67a1b70baf7824452834f498d988df84e138c857ac0ef164b4b"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "powershell.exe" wide
$ = "-Name explorer; \\\\" wide
$ = "@80\\"
$ = "desktop-tcrdu4c"
condition:
uint32be( 0 ) == 0x4c000000 and 2 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "powershell.exe" | wide |
| $ | text | "-Name explorer; \\\\" | wide |
| $ | text | "@80\\" | |
| $ | text | "desktop-tcrdu4c" |
Condition
uint32be( 0 ) == 0x4c000000 and 2 of themIn plain words (Heuristic)
- The file must start with the Windows shortcut (LNK) header.
- At least 2 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).
- cffb40e13e3aa6761330090b42314c36
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: b228643c-ab23-46e1-b170-3da6bcb2dd23
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