Shortcut file written into a Startup folder
Matches Sysmon EventID 11 for a `.lnk` file landing in either Startup location — the per-user and all-users paths share the `\Microsoft\Windows\Start Menu\Programs\Startup\` suffix, so one contains term covers both. This stands in for AN0510's separate file-modification leg (Sysmon EventID 2) too, since that event only fires on a timestamp change and would miss a content edit that leaves it alone, while EventID 11 fires on the create-or-recreate pattern most shortcut editors use. What it cannot do is MITRE's own qualifier — anomalous lineage or an unsigned target — because Sysmon 11 names the shortcut file, never what it points to, so a malicious placement is indistinguishable here from a benign one. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0180, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceFileEvents| where (FolderPath endswith ".lnk" and FolderPath contains "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\")
Splunk · SPL
Run this as a search.
index=* (TargetFilename="*.lnk" AND TargetFilename="*\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\*")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(file.path) LIKE "*.lnk" AND TO_LOWER(file.path) LIKE "*\\\\microsoft\\\\windows\\\\start menu\\\\programs\\\\startup\\\\*")
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,file_event,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="5"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="TargetFilename" type="pcre2">(?i)\.lnk$</field> <field name="TargetFilename" type="pcre2">(?i)\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\</field> <description>Shortcut file written into a Startup folder</description> <mitre> <id>T1547.009</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.