YARA · SEKOIA.IO Community
SEKOIA_Apt_Redhotel_Maliciouslnk_Strings
Detects RedHotel's malicious LNKs
- Author
- Sekoia.io
- Date
- 2024-09-06
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects RedHotel's malicious LNKs
It defines 7 patterns (7 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-redhotel-maliciouslnk-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Redhotel_Maliciouslnk_Strings : FILE
{
meta:
= "Detects RedHotel's malicious LNKs"
= "Sekoia.io"
= "df2f0002-7921-4378-a936-ea0de5fbfa5a"
= "2024-09-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_redhotel_maliciouslnk_strings.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "8e2c17040ec78cbcdc07bb2cf9dd7e01"
= "dc613a519e515ca817fdfb88f81fc9d7"
= "6f7d85c196c277a6a619f6d94b8f69b9"
= "b04d484d1e1d793b04af2a5fb88a8a57"
= "c1d64b3eca5961d7eaab82a6934299642a70301ef791493a371ae5a29376225f"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "desktop-" ascii
$ = ".\\1.docx" wide
$ = ".\\1.pdf" wide
$ = ".\\1.doc" wide
$ = ".\\1.ppt" wide
$ = ".\\1.pptx" wide
$ = "MACOS" wide
condition:
uint32be( 0 ) == 0x4c000000 and 3 of them
}
Strings (7 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | text | "desktop-" | ascii |
| $ | text | ".\\1.docx" | wide |
| $ | text | ".\\1.pdf" | wide |
| $ | text | ".\\1.doc" | wide |
| $ | text | ".\\1.ppt" | wide |
| $ | text | ".\\1.pptx" | wide |
| $ | text | "MACOS" | wide |
Condition
uint32be( 0 ) == 0x4c000000 and 3 of themIn plain words (Heuristic)
- The file must start with the Windows shortcut (LNK) header.
- At least 3 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).
- 8e2c17040ec78cbcdc07bb2cf9dd7e01
- dc613a519e515ca817fdfb88f81fc9d7
- 6f7d85c196c277a6a619f6d94b8f69b9
- b04d484d1e1d793b04af2a5fb88a8a57
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: df2f0002-7921-4378-a936-ea0de5fbfa5a
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