T1553.004: Install Root Certificate
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.[1] 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.
Installation of a root certificate on a compromised system would give an adversary a way to degrade the security of that system. Adversaries have used this technique to avoid security warnings prompting users when compromised systems connect over HTTPS to adversary controlled web servers that spoof legitimate websites in order to collect login credentials.[2]
Atypical root certificates have also been pre-installed on systems by the manufacturer or in the software supply chain and were used in conjunction with malware/adware to provide Adversary-in-the-Middle capability for intercepting information transmitted over secure TLS/SSL communications.[3]
Root certificates (and their associated chains) can also be cloned and reinstalled. Cloned certificate chains will carry many of the same metadata characteristics of the source and can be used to sign malicious code that may then bypass signature validation tools (ex: Sysinternals, antivirus, etc.) used to block execution and/or uncover artifacts of Persistence.[4]
In macOS, the Ay MaMi malware uses /usr/bin/security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/malicious/cert to install a malicious certificate as a trusted root certificate into the system keychain.[5]
Analyst context for executives and security teams
Installing a new trusted root certificate can quietly change what a workstation or server believes is safe. For leaders, the risk is not just a certificate change; it can weaken TLS warnings, support credential collection through spoofed sites, enable adversary-in-the-middle interception, or help malicious code appear trusted by signature checks.
Executive priority
Treat trusted root certificate control as a resilience and audit issue across Windows, macOS, and Linux endpoints. Ask whether the organization has an approved root certificate inventory, change-control evidence, and monitoring for unexpected trust store changes. This matters most for identity risk, SOC readiness, incident response scoping, and compliance evidence because unauthorized trust changes can undermine browser warnings, secure communications, and code trust decisions.
Technical view
This is a defense-impairment sub-technique under Subvert Trust Controls for Linux, macOS, and Windows. SOC and IR teams should validate monitoring of OS and application certificate trust stores, especially additions to trusted roots and certificate chains. Relationship context highlights DET0056 as a detection strategy, M1028 Operating System Configuration, and M1054 Software Configuration as mitigation areas. On macOS, the supplied ATT&CK description cites use of /usr/bin/security add-trusted-cert against the System.keychain. On Windows, certutil is related software and should be considered in process and command-line review where available.
Likely telemetry
- Certificate trust store and system keychain modification events
- Process execution and command-line telemetry for certificate-management utilities, including macOS security and Windows certutil where present
- Endpoint file, registry, or configuration-change telemetry tied to trusted root certificate locations
- Configuration management or asset inventory records showing approved root certificates and baseline drift
- Browser or application trust store configuration data where applications maintain separate certificate stores
Detection direction
- Validate DET0056-style coverage for additions or modifications to trusted root certificates rather than relying on malware signatures alone.
- Compare endpoint trust stores against an approved enterprise baseline and investigate newly added, atypical, or locally installed roots.
- Tune detections with business context: enterprise TLS inspection, security tooling, software deployment, OEM images, and legitimate certificate rollouts can create expected changes.
- Correlate certificate installation with process lineage, user context, recent software installation, proxy changes, browser warnings, credential-theft alerts, or adversary-in-the-middle indicators.
- Include macOS System.keychain activity and Windows certificate utility usage in triage workflows; build equivalent coverage for Linux trust store changes based on local distribution standards.
Mitigation priorities
- Maintain an approved root certificate inventory and enforce change control for additions to system and application trust stores.
- Use operating system hardening and configuration management, aligned with M1028, to limit who or what can modify trusted roots.
- Review software and browser certificate settings, aligned with M1054, especially for applications that maintain their own trust stores.
- Baseline gold images and supplier-provided systems for atypical pre-installed roots before deployment.
- During incident response, remove unauthorized roots only after preserving evidence and assessing whether credentials, tokens, or signed artifacts may have been exposed or trusted improperly.
Analyst notes and limits
The technique is material because it can degrade trust decisions that users and security tools depend on. Relationship data shows use by multiple software entries, including Windows and macOS examples, and links the behavior to adversary-in-the-middle and code-signing trust abuse described in the official ATT&CK text.
ATT&CK provides no official detection text for this object in the supplied fields. Detection quality depends on local certificate baselines, endpoint logging depth, application-specific trust store visibility, and the organization’s legitimate certificate-management practices.
Install Root Certificate
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.[1] 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.
Installation of a root certificate on a compromised system would give an adversary a way to degrade the security of that system. Adversaries have used this technique to avoid security warnings prompting users when compromised systems connect over HTTPS to adversary controlled web servers that spoof legitimate websites in order to collect login credentials.[2]
Atypical root certificates have also been pre-installed on systems by the manufacturer or in the software supply chain and were used in conjunction with malware/adware to provide Adversary-in-the-Middle capability for intercepting information transmitted over secure TLS/SSL communications.[3]
Root certificates (and their associated chains) can also be cloned and reinstalled. Cloned certificate chains will carry many of the same metadata characteristics of the source and can be used to sign malicious code that may then bypass signature validation tools (ex: Sysinternals, antivirus, etc.) used to block execution and/or uncover artifacts of Persistence.[4]
In macOS, the Ay MaMi malware uses /usr/bin/security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/malicious/cert to install a malicious certificate as a trusted root certificate into the system keychain.[5]
How security teams should use this page
Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.
Related techniques
This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.
| Domain | ID | Name | Relationship / procedure |
|---|---|---|---|
| Enterprise | T1130 | Install Root Certificate | Install Root Certificate revoked by this object. |
| Enterprise | T1553 | Subvert Trust Controls | This object subtechnique of Subvert Trust Controls. |
Groups, software, and campaigns
S0160: certutil
S0281: Dok
Dok is a Trojan application disguised as a .zip file that is able to collect user credentials and install a malicious proxy server to redirect a user's network traffic (i.e. Adversary-in-the-Middle).[1][2][3]
S0009: Hikit
S9003: evilginx2
S0148: RTM
All related ATT&CK context
Mitigation direction
Object version and sync metadata
The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .
Imported snapshots across ATT&CK releases (1)
| Release | Bundle imported | Object version | Modified | Status | Raw hash |
|---|---|---|---|---|---|
| 19.1 | 2.0 | Current bundle | 8b9cc427b5f3… |
Mirrored ATT&CK source object
The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.
External references and citations
MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.
-
[1]
Wikipedia Root Certificate
Wikipedia. (2016, December 6). Root certificate. Retrieved February 20, 2017.
Open source URL -
[2]
Operation Emmental
botconf eu. (2014, December 31). David Sancho - Finding Holes in Banking 2FA: Operation Emmental. Retrieved January 4, 2024.
Open source URL -
[3]
Kaspersky Superfish
Onuma. (2015, February 24). Superfish: Adware Preinstalled on Lenovo Laptops. Retrieved February 20, 2017.
Open source URL -
[4]
SpectorOps Code Signing Dec 2017
Graeber, M. (2017, December 22). Code Signing Certificate Cloning Attacks and Defenses. Retrieved April 3, 2018.
Open source URL -
[5]
objective-see ay mami 2018
Patrick Wardle. (2018, January 11). Ay MaMi. Retrieved March 19, 2018.
Open source URL -
[6]
mitre-attack T1553.004Open source URL
Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.