Office Application Startup: Add-ins T1137.006

Tactic: Persistence

Adversaries may abuse Microsoft Office add-ins to obtain persistence on a compromised system. Office add-ins can be used to add functionality to Office programs. There are different types of add-ins that can be used by the various Office products; including Word/Excel add-in Libraries (WLL/XLL), VBA add-ins, Office Component Object Model (COM) add-ins, automation add-ins, VBA Editor (VBE), Visual Studio Tools for Office (VSTO) add-ins, and Outlook add-ins.

Events covered

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

Authoring guide

Patterns shared across the 6 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 (10 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
TargetFilename2contains 1, ends_with 1, wildcard 1.ppam, .wll, .xla, \device\harddiskvolume*\users\*\appdata\roaming\microsoft..., \device\harddiskvolume*\users\*\appdata\roaming\microsoft...
TargetObject2contains 2, ends_with 1\excel\options, \microsoft\office\outlook\addins\antivirus.asoutext\, \microsoft\office\outlook\addins\avast.asoutext\, \software\microsoft\office\excel\addins\, software\microsoft\office\
event.type2eq 1, ne 1deletion, start
Details1ends_with 1, starts_with 1.xll, /R
Image1ends_with 1, eq 1, starts_with 1\excel.exe, \integrator.exe, \officeclicktorun.exe
ScriptBlockText1contains 1-comobject , .application, .registerxll
file.extension1eq 1ppa, ppam, wll
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 (88 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
Detailsends_with
.xll
1
Detailsstarts_with
/R
1
Imageends_with
\excel.exe
118
Imageends_with
\integrator.exe
1
Imageends_with
\officeclicktorun.exe
1
Imageends_with
\onenote.exe
16
Imageends_with
\outlook.exe
114
Imageends_with
\powerpnt.exe
115
Imageends_with
\teams.exe
12
Imageends_with
\visio.exe
13
Imageends_with
\vstoinstaller.exe
1
Imageends_with
\winword.exe
120
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
1
Imageeq
c:\program files\avast software\avast\regsvr.exe
1
Imageeq
c:\program files\avg\antivirus\regsvr.exe
1
Imageeq
c:\program files\microsoft office\root\integration\integrator.exe
1
Imageeq
c:\windows\system32\msiexec.exe
1
Imageeq
c:\windows\system32\regsvr32.exe
1
Imageeq
c:\windows\syswow64\msiexec.exe
1
Imageeq
c:\windows\syswow64\regsvr32.exe
1
Imagestarts_with
c:\program files (x86)\microsoft office\office
1
Imagestarts_with
c:\program files (x86)\microsoft office\root\office
1
Imagestarts_with
c:\program files (x86)\microsoft shared\vsto\
1
Imagestarts_with
c:\program files\common files (x86)\microsoft shared\clicktorun\
1
Imagestarts_with
c:\program files\common files\microsoft shared\clicktorun\
1
Imagestarts_with
c:\program files\common files\microsoft shared\vsto\
1
Imagestarts_with
c:\program files\microsoft office\office
1
Imagestarts_with
c:\program files\microsoft office\root\office
1

Exclusions (47 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
\excel.exe
1
Imageends_with
\integrator.exe
1
Imageends_with
\officeclicktorun.exe
1
Imageends_with
\onenote.exe
1
Imageends_with
\outlook.exe
1
Imageends_with
\powerpnt.exe
1
Imageends_with
\teams.exe
1
Imageends_with
\visio.exe
1
Imageends_with
\vstoinstaller.exe
1
Imageends_with
\winword.exe
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
1
Imageeq
c:\program files\avast software\avast\regsvr.exe
1
Imageeq
c:\program files\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.

Platform (all)
Domain (all)

Sigma 4 rules

Elastic 2 rules