Subvert Trust Controls: Install Root Certificate T1553.004

Tactic: Defense Impairment

Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers. Root certificates are used in public key cryptography to identify a root certificate authority (CA). When a root certificate is installed, the system or application will trust certificates in the root's chain of trust that have been signed by the root certificate. Certificates are commonly used for establishing secure TLS/SSL communications within a web browser. When a user attempts to browse a website that presents a certificate that is not trusted an error message will be displayed to warn the user of the security risk. Depending on the security settings, the browser may not allow the user to establish a connection to the website.

Events covered

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

Authoring guide

Patterns shared across the 17 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 (21 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
CommandLine6contains 6root, -filepath , nc, --install, -addstore
Image5ends_with 5\certutil.exe, /apt, /apt-get, /dpkg, /update-ca-certificates
event.type3eq 2, in 1start, change, process_started
process_name3eq 2, in 1certutil.exe, cmd.exe, cscript.exe, security, update-ca-certificates
OriginalFileName2eq 2certmgt.exe, certutil.exe
ScriptBlockText2contains 2884e2002-217d-11da-b2a4-000e7bbb2b09, cert:\localmachine\root, import-certificate, move-item, x509enrollment.cbinaryconverter
host.os.type2eq 2
registry_value_name2eq 2Blob
EventID1eq 14688
EventType1in 1exec, exec_event, start
Provider_Name1eq 1Microsoft-Windows-CertificationAuthority
TargetObject1wildcard 1\registry\machine\software\microsoft\systemcertificates\a..., \registry\machine\software\microsoft\systemcertificates\r..., \registry\machine\software\policies\microsoft\systemcerti...
event.CommandLine1contains 1add-trusted-cert
event.ImageFileName1eq 1/usr/bin/security
event_platform1eq 1Mac

Top indicator values (96 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
CommandLinecontains
root
23
CommandLinecontains
-filepath
1
CommandLinecontains
nc
1
CommandLinecontains
--install
13
CommandLinecontains
-addstore
12
CommandLinecontains
-dspublish
1
CommandLinecontains
-i
17
CommandLinecontains
.crt
1
CommandLinecontains
/add
19
CommandLinecontains
884e2002-217d-11da-b2a4-000e7bbb2b09
1
CommandLinecontains
:\users\public\
118
CommandLinecontains
:\windows\temp\
116
CommandLinecontains
\appdata\local\temp\
126
CommandLinecontains
\desktop\
113
CommandLinecontains
\downloads\
114
CommandLinecontains
\perflogs\
13
CommandLinecontains
cert:\localmachine\root
1
CommandLinecontains
import-certificate
1
CommandLinecontains
install
15
CommandLinecontains
localinstall
1
CommandLinecontains
netcat
12
CommandLinecontains
nmap
1
CommandLinecontains
ntauthca
1
CommandLinecontains
openconnect
1
CommandLinecontains
proxychains
1
CommandLinecontains
socat
12
CommandLinecontains
tshark
1
CommandLinecontains
wireshark
1
Imageends_with
\certutil.exe
243
registry_value_nameeq
Blob
22

Exclusions (59 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
CurrentDirectoryeq
/var/lib/rancher
1
Imagewildcard
?:\program files (x86)\*.exe
1
Imagewildcard
?:\program files\*.exe
1
Imagewildcard
?:\programdata\bomgar-*\*\bomgar-scc.exe
1
Imagewildcard
?:\programdata\bomgar-*\*\sra-pin.exe
1
Imagewildcard
?:\programdata\ctes\components\sng\abtsngsvc.exe
1
Imagewildcard
?:\programdata\ctes\components\svc\cteshostsvc.exe
1
Imagewildcard
?:\programdata\ctes\ctes.exe
1
Imagewildcard
?:\programdata\lenovo\vantage\addins\lenovohardwarescanaddin\*\ldeapi.server.exe
1
Imagewildcard
?:\programdata\logishrd\logioptionsplus\plugins\64\certmgr.exe
1
Imagewildcard
?:\programdata\microsoft\windows defender\platform\*\*.exe
1
Imagewildcard
?:\programdata\quest\kace\modules\clientidentifier\clientidentifier.exe
1
Imagewildcard
?:\programdata\sophos\autoupdate\cache\sophos_autoupdate1.dir\*.exe
1
Imagewildcard
?:\programdata\tychoncloud\bin\oval\tvs.exe
1
Imagewildcard
?:\windows\ccm\ccmeval.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 11 rules

Elastic 3 rules

Splunk 2 rules

Panther 1 rule