T1547.009 IBM QRadar · QRadar

Detect Shortcut Modification in IBM QRadar

Adversaries may create or modify shortcuts that can execute a program during system boot or user login. Shortcuts (.lnk files) or symbolic links are used to reference other files or programs that will be opened or executed when the shortcut is clicked or executed by a system startup process. Adversaries may abuse shortcuts in the startup folder to execute their tools and achieve persistence. They may also edit the target path or entirely replace existing shortcuts so their malware executes instead of the intended legitimate program. Threat actors including Lazarus Group, APT39, Leviathan, and Turla have used this technique. LNK browser extensions may also be modified to persistently launch malware.

MITRE ATT&CK

Tactic
Persistence Privilege Escalation
Technique
T1547 Boot or Logon Autostart Execution
Sub-technique
T1547.009 Shortcut Modification
Canonical reference
https://attack.mitre.org/techniques/T1547/009/

QRadar Detection Query

IBM QRadar (QRadar)
sql
SELECT DATEFORMAT(starttime, 'yyyy-MM-dd HH:mm:ss') AS event_time, sourceip, username, "FileName", "FilePath", LOGSOURCENAME(logsourceid) AS log_source FROM events WHERE LOGSOURCETYPEID(logsourceid) IN (SELECT id FROM logsourcetypes WHERE name ILIKE '%sysmon%' OR name ILIKE '%windows%') AND QIDNAME(qid) ILIKE '%file create%' AND "FileName" ILIKE '%.lnk' AND ("FilePath" ILIKE '%Start Menu\Programs\Startup%' OR "FilePath" ILIKE '%Start Menu\Programs\StartUp%') AND starttime > (CURRENT_TIMESTAMP - 86400000) ORDER BY starttime DESC
high severity medium confidence

Detects .lnk shortcut file creation events in Windows Startup folders via QRadar AQL. Queries Sysmon or Windows file audit events for shortcut modifications consistent with persistence via Startup folder abuse (T1547.009).

Data Sources

Windows Sysmon (Event ID 11)Windows Security Auditing (file audit events)

Required Tables

events

False Positives & Tuning

  • Legitimate application installers that place shortcuts in the Startup folder as part of normal installation procedures
  • Enterprise software deployment tools such as SCCM or Intune pushing managed startup items
  • User-initiated shortcut creation via the Windows shell or Task Scheduler for legitimate autostart programs
Download portable Sigma rule (.yml)

Other platforms for T1547.009


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Create Malicious Shortcut in Startup Folder

    Expected signal: Sysmon Event ID 11: FileCreate for df00tech-test.lnk in the Startup folder. Sysmon Event ID 1: PowerShell process creation with WScript.Shell COM object usage.

  2. Test 2Modify Existing Shortcut Target

    Expected signal: Sysmon Event ID 11: FileCreate for the initial shortcut. File modification event when the target path is changed. Both events show PowerShell as the initiating process.

  3. Test 3Create VBScript Shortcut in Startup

    Expected signal: Sysmon Event ID 11 for both the .vbs file creation and the .lnk shortcut in Startup. The shortcut targeting wscript.exe with a .vbs argument is a strong malicious indicator.

Unlock Pro Content

Get the full detection package for T1547.009 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections