YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_LNK_Embedded_Worddoc
check for LNK files with indications of the Word program or an embedded doc
- Author
- Greg Lesnewich
- Date
- 2023-01-02
- Modified
- 2023-12-05
- Score / Quality
- 65 / 85
What this rule detects
check for LNK files with indications of the Word program or an embedded doc
It defines 2 patterns (1 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_SUSP_LNK_Embedded_Worddoc : FILE
{
meta:
= "check for LNK files with indications of the Word program or an embedded doc"
= "Greg Lesnewich"
= "9677d41a-9d29-510c-98cd-122dc0ca9606"
= "2023-01-02"
= "2023-12-05"
= "https://github.com/Neo23x0/signature-base"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_100days_of_yara_2023.yar#L3-L20"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "120ca851663ef0ebef585d716c9e2ba67bd4870865160fec3b853156be1159c5"
= "a53fbfe0ccb5a4ab2320cde10d17f29770d888cf21cda4fdccc3d7ae8d123293"
= 65
= 85
= "FILE"
= "1.0"
= "2/100"
strings:
$doc_header = {D0 CF 11 E0 A1 B1 1A E1}
$icon_loc = "C:\\Program Files\\Microsoft Office\\Office16\\WINWORD.exe" ascii wide
condition:
uint32be( 0x0 ) == 0x4C000000 and filesize > 10KB and any of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $doc_header | hex | {D0 CF 11 E0 A1 B1 1A E1} | |
| $icon_loc | text | "C:\\Program Files\\Microsoft Office\\Office16\\WINWORD.exe" | ascii wide |
Condition
uint32be( 0x0 ) == 0x4C000000 and filesize > 10KB and any of themIn plain words (Heuristic)
- The file must be larger than 10KB.
- At least one pattern 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 120ca851663ef0ebef585d716c9e2ba67bd4870865160fec3b853156be1159c5
Licence & attribution
Author: Greg Lesnewich
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 9677d41a-9d29-510c-98cd-122dc0ca9606
Metadata
| version | 1.0 |
|---|---|
| DaysofYARA | 2/100 |
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Greg Lesnewich· 2023-01-01
- MalwareSignature Base (Florian Roth / Nextron)· Greg Lesnewich· 2023-01-02
- MalwareSignature Base (Florian Roth / Nextron)· Greg Lesnewich· 2023-01-01