Office Application Startup T1137

Adversaries may leverage Microsoft Office-based applications for persistence between startups. Microsoft Office is a fairly common application suite on Windows-based operating systems within an enterprise network. There are multiple mechanisms that can be used with Office for persistence when an Office-based application is started; this can include the use of Office Template Macros and add-ins.

Events covered

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

Authoring guide

Patterns shared across the 21 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 (12 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
TargetObject11contains 7, ends_with 4, wildcard 1\software\microsoft\office\, *\software\microsoft\office\*\outlook\today\*, *\software\microsoft\office\*\outlook\webview\*, \excel\options, \microsoft\office\outlook\addins\antivirus.asoutext\
Details8eq 4, contains 2, ends_with 1, starts_with 1, wildcard 10x00000001, DWORD (0x00000001), (Empty), *://*, *:\*
Image6ends_with 6, starts_with 2, eq 1\outlook.exe, \excel.exe, \integrator.exe, \officeclicktorun.exe, \winword.exe
TargetFilename6ends_with 5, contains 3\microsoft\outlook\vbaproject.otm, .doc, .docm, .docx, .ppam
registry_value_name3eq 3Level, LoadMacroProviderOnBoot, URL
EventType2ne 2deletion
registry_path2contains 2\\outlook\\, \\outlook\\security
ScriptBlockText1contains 1-comobject , .application, .registerxll
event.type1eq 1start
parent_process_name1eq 1OpenWith.exe, cmd.exe, explorer.exe
process.args1contains 1, wildcard 1.+\.(wll|xll|ppa|ppam|xla|xlam|vsto), ?:\ProgramData\*, ?:\Users\*\AppData\Roaming\*
process_name1eq 1excel.exe, msaccess.exe, powerpnt.exe

Top indicator values (127 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
Imageends_with
\outlook.exe
521
Imageends_with
\excel.exe
224
Imageends_with
\winword.exe
227
Imageends_with
\integrator.exe
1
Imageends_with
\officeclicktorun.exe
111
Imageends_with
\onenote.exe
110
Imageends_with
\powerpnt.exe
119
Imageends_with
\teams.exe
16
Imageends_with
\visio.exe
14
Imageends_with
\vstoinstaller.exe
12
Detailscontains
0x00000001
24
Detailseq
0x00000001
263
Detailseq
DWORD (0x00000001)
242
Detailseq
(Empty)
124
Detailseq
DWORD (0x00000000)
140
Detailseq
DWORD (0x00000002)
111
EventTypene
deletion
25
TargetFilenameends_with
\microsoft\outlook\vbaproject.otm
22
TargetObjectcontains
\software\microsoft\office\
24
Detailsends_with
.xll
1
Detailsstarts_with
/R
1
Detailswildcard
*://*
1
Detailswildcard
*:\*
1
Detailswildcard
\\*\*
1
Imageeq
c:\program files (x86)\avast software\avast\regsvr.exe
1
Imageeq
c:\program files (x86)\avg\antivirus\regsvr.exe
1
Imageeq
c:\program files (x86)\microsoft office\root\integration\integrator.exe
17
Imageeq
c:\program files\avast software\avast\regsvr.exe
13
Imageeq
c:\program files\avg\antivirus\regsvr.exe
13
Imageeq
c:\program files\microsoft office\root\integration\integrator.exe
17

Exclusions (48 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
Imageends_with
\outlook.exe
3
Imageends_with
\excel.exe
2
Imageends_with
\winword.exe
2
Imageends_with
\integrator.exe
1
Imageends_with
\officeclicktorun.exe
1
Imageends_with
\onenote.exe
1
Imageends_with
\powerpnt.exe
1
Imageends_with
\teams.exe
1
Imageends_with
\visio.exe
1
Imageends_with
\vstoinstaller.exe
1
Detailseq
(Empty)
1
Detailseq
DWORD (0x00000000)
1
Detailseq
DWORD (0x00000001)
1
Imageeq
c:\program files (x86)\avast software\avast\regsvr.exe
1
Imageeq
c:\program files (x86)\avg\antivirus\regsvr.exe
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.

Sigma 15 rules

Elastic 3 rules

Splunk 3 rules