Shared Modules T1129

Tactic: Execution

Adversaries may execute malicious payloads via loading shared modules. Shared modules are executable files that are loaded into processes to provide access to reusable code, such as specific custom functions or invoking OS API functions (i.e., Native API).

Events covered

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

Authoring guide

These 23 rules share fields, values, and exclusions.

Fields filtered most (31 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
process_basename10eq 6, starts_with 3, in 2dllhost.exe, *x86_64-linux-gnu-gcc*, .*, EXCEL.EXE, MSACCESS.EXE
ImageLoaded9starts_with 4, ends_with 2, wildcard 2, contains 1, ne 1\\*, *.dll, .node, .vscode\extensions\ms-toolsai.jupyter-, /Users/*
EventType7eq 4, in 1, starts_with 1, wildcard 1load, Image loaded*, rename, start, ProcessRollup2
Image6starts_with 3, contains 1, ends_with 1, eq 1, wildcard 1./*, /Library/Fonts/*, /Library/Graphics/*, /Library/WebServer/*, /boot/*
TargetFilename6wildcard 4, ends_with 1, eq 1*.xll, *\WindowsPowerShell\Modules\*.dll, ?:\*\consent.exe.*\*.dll, ?:\*\dccw.exe.*\*.dll, ?:\Users\*\AppData\Local\Temp\wps\INetCache\*
event.type5eq 5start, change, creation
parent_process_basename4eq 3, in 1OpenWith.exe, cmd.exe, consent.exe, cupsd, dccw.exe
EventID3eq 37, 4104
event.category3eq 3library, process
CommandLine2contains 1, wildcard 1*-Wl,-init,*, *-shared*, *.so*, */dev/shm/*, */dev/tcp*
Signed2eq 1, ne 1false, true
dll.code_signature.exists2eq 2false
dll.code_signature.trusted2eq 2false
process.Ext.token.integrity_level_name2eq 2high, system
process.args2wildcard 2, eq 1, regex_match 1.+\.(wll|xll|ppa|ppam|xla|xlam|vsto), /RunHandlerComServer, /UpdateDeploymentProvider, ?:\ProgramData\*, ?:\Users\*\AppData\Roaming\*

Top indicator values (224 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
31036
EventIDeq
7
239
EventTypeeq
load
223
EventTypeeq
rename
210
EventTypeeq
start
2388
dll.code_signature.existseq
false
222
dll.code_signature.trustedeq
false
221
event.categoryeq
library
211
event.categoryeq
process
238
process_basenameeq
dllhost.exe
219
CommandLinecontains
*-Wl,-init,*
1
CommandLinecontains
*-shared*
1
CommandLinecontains
*.so*
1
CommandLinewildcard
*/dev/shm/*
17
CommandLinewildcard
*/dev/tcp*
18
CommandLinewildcard
*/dev/tcp/*
14
CommandLinewildcard
*/dev/udp/*
19
CommandLinewildcard
*/etc/init.d*
13
CommandLinewildcard
*/etc/ld.so*
13
CommandLinewildcard
*/etc/passwd*
16
CommandLinewildcard
*/etc/profile*
13
CommandLinewildcard
*/etc/rc.local*
13
CommandLinewildcard
*/etc/shadow*
18
CommandLinewildcard
*/etc/ssh*
17
CommandLinewildcard
*/etc/sudoers*
13
CommandLinewildcard
*/etc/update-motd.d*
13
CommandLinewildcard
*/home/*/.ssh/*
18
CommandLinewildcard
*/root/.ssh*
16
CommandLinewildcard
*/var/tmp*
1
CommandLinewildcard
*>>*
1

Exclusions (62 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
Imageeq
?:\Windows\SysWOW64\WerFault.exe
2
Imageeq
?:\Windows\System32\WerFault.exe
2
Imageeq
?:\Windows\SysWOW64\cttune.exe
1
Imageeq
?:\Windows\SysWOW64\wermgr.exe
1
Imageeq
?:\Windows\System32\cttune.exe
1
Imageeq
?:\Windows\System32\wermgr.exe
1
dll.code_signature.trustedeq
true
2
Imagecontains
C:\Program Files (x86)\
1
Imagecontains
C:\Program Files\
1
Imagecontains
\AppData\Local\Programs\
1
Imagecontains
\Microsoft VS Code\Code.exe
1
Imageends_with
\Code.exe
1
Imageends_with
\Evernote\Evernote.exe
1
Imagewildcard
*/.opencode/bin/opencode*
1
Imagewildcard
*/node_modules/@kilocode/cli/bin/.kilo
1

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 2 rules

Elastic 13 rules

Splunk 6 rules

YARA-L 2 rules