Boot or Logon Autostart Execution: Shortcut Modification T1547.009

Tactics: Persistence, Privilege Escalation

Adversaries may create or modify shortcuts that can execute a program during system boot or user login. Shortcuts 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.

Events covered

7 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 13 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (18 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
TargetFilename6wildcard 3, contains 2, ends_with 1, eq 1, starts_with 1/users/*/library/preferences/com.apple.dock.plist, :\windows\apppatch\custom\, :\windows\apppatch\customsdb\, ?:\programdata\microsoft\windows\start menu\programs\startup\*, ?:\users\*\appdata\roaming\microsoft\windows\start...
CommandLine3contains 3-encodedcommand, /d, /h, /j, behavior
EventID3eq 34688, 4104
Image3ends_with 3, contains 1, starts_with 1\appdata\local\jetbrains\toolbox\bin\7z.exe, \appdata\local\microsoft\onedrive\, \fsutil.exe, \mklink.exe, c:\program files (x86)\
event.type2ne 2deletion
file.extension2eq 2bat, cmd, hta, lnk
process_name2eq 1, wildcard 1bash, cscript.exe, node, osascript, wscript.exe
AccessList1contains 1addsubdirectory, appenddata, delete
EfectiveCommand1regex_match 1regexEmpire
Effective_process.name1wildcard 1bash, node, osascript
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
EventType1eq 1modification
ObjectType1eq 1File
RelativeTargetName1ends_with 1\desktop.ini
Type1eq 1

Top indicator values (69 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
EventIDeq
4688
2313
EventIDeq
4104
1268
event.typene
deletion
228
AccessListcontains
addsubdirectory
1
AccessListcontains
appenddata
1
AccessListcontains
delete
1
AccessListcontains
writedac
1
AccessListcontains
writedata
14
CommandLinecontains
-encodedcommand
13
CommandLinecontains
/d
14
CommandLinecontains
/h
1
CommandLinecontains
/j
1
CommandLinecontains
behavior
13
CommandLinecontains
set
111
EfectiveCommandregex_match
regexEmpire
1
Effective_process.namewildcard
bash
1
Effective_process.namewildcard
node
1
Effective_process.namewildcard
osascript
1
Effective_process.namewildcard
python*
1
Effective_process.namewildcard
sh
1
Effective_process.namewildcard
zsh
1
EventDatacontains
-encodedcommand
1
EventDatacontains
powershell.exe
1
EventDatacontains
powershell_ise.exe
1
EventDatacontains
pwsh.exe
1
EventTypeeq
modification
115
Imagecontains
\appdata\local\microsoft\onedrive\
1
Imageends_with
\appdata\local\jetbrains\toolbox\bin\7z.exe
1
Imageends_with
\fsutil.exe
15
Imageends_with
\mklink.exe
1

Exclusions (23 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagecontains
\appdata\local\microsoft\onedrive\
1
Imageends_with
\appdata\local\jetbrains\toolbox\bin\7z.exe
1
Imagestarts_with
c:\program files (x86)\
1
Imagestarts_with
c:\program files\
1
Imagestarts_with
c:\users\
1
Imagestarts_with
c:\windows\
1
ParentImagecontains
gc_service.exe
1
ParentImagecontains
gc_worker.exe
1
TargetDomainNameends_with
NT
1
TargetDomainNamestarts_with
NT
1
TargetFilenamecontains
\jetbrains\apps\
1
TargetFilenamestarts_with
c:\$windows.~bt\newos\
1
file.nameends_with
OneNote.lnk
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 7 rules

Elastic 3 rules

Splunk 2 rules

Kusto 1 rule