Sigma rule: Suspicious LNK Double Extension File Created

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7bc1e9318d1f, updated 2023-10-18T00:00:00.000Z.

Rule

Title
Suspicious LNK Double Extension File Created
Status
test
Level
medium
Author
Nasreddine Bencherchali (Nextron Systems), frack113
Date
2022-11-07
Modified
2023-10-18
File
rules/windows/file/file_event/file_event_win_susp_lnk_double_extension.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the creation of files with an "LNK" as a second extension. This is sometimes used by malware as a method to abuse the fact that Windows hides the "LNK" extension by default.

Log source

product
windows
category
file_event

Detection

selection:
    TargetFilename|endswith: '.lnk'
    TargetFilename|contains:
        - '.doc.'
        - '.docx.'
        - '.jpg.'
        - '.pdf.'
        - '.ppt.'
        - '.pptx.'
        - '.xls.'
        - '.xlsx.'
filter_main_recent:
    TargetFilename|contains: '\AppData\Roaming\Microsoft\Windows\Recent\'
filter_optional_office_recent:
    Image|endswith:
        # Note: Some additional office application might need to be added
        - '\excel.exe'
        - '\powerpnt.exe'
        - '\winword.exe'
    TargetFilename|contains: '\AppData\Roaming\Microsoft\Office\Recent\'
filter_optional_office_excel:
    Image|endswith: '\excel.exe'
    TargetFilename|contains: '\AppData\Roaming\Microsoft\Excel'
filter_optional_office_powerpoint:
    Image|endswith: '\powerpnt.exe'
    TargetFilename|contains: '\AppData\Roaming\Microsoft\PowerPoint'
filter_optional_office_word:
    Image|endswith: '\winword.exe'
    TargetFilename|contains: '\AppData\Roaming\Microsoft\Word'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Some tuning is required for other general purpose directories of third party apps

Tags

  • attack.stealth
  • attack.t1036.007

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_lnk_double_extension.yml

Sources and licences

  • SigmaHQ

    "Suspicious LNK Double Extension File Created" by Nasreddine Bencherchali (Nextron Systems), frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_lnk_double_extension.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious LNK Double Extension File Created",
entity page, dataset version ref-7bc1e9318d1f, updated 2023-10-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/3215aa19-f060-4332-86d5-5602511f3ca8 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 3215aa19-f060-4332-86d5-5602511f3ca8, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.