Windows: Root Certificate Installation via CertMgr.EXE (/add root)

Flags CertMgr.EXE used to add a root certificate on Windows by matching /add and root in the command line.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
oscd.community, @redcanary, Zach Stanford @svch0st (SigmaHQ), DRL 1.1
Published
2023-03-05
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags Windows process executions where CertMgr.EXE (or CERTMGT.EXE) is run with command-line arguments indicating a root certificate was added. Installing or modifying trusted root certificates can help attackers bypass browser or TLS trust warnings for connections they control. It relies on process creation telemetry including the executable path/name and the full command line containing the add and root indicators.

Related detections9 linkedT1553.004 — drag to rearrange
Windows AD CS Denied Certificate Enrollment Requests (Event ID 53)
Windows: Root Certificate Added Using certutil.exe -addstore
Linux Package Installation via apt/yum/rpm/dpkg with Networking Tools Keywords
Windows Process Creation: Suspicious X509Enrollment.CBinaryConverter Execution
Suspicious X509Enrollment usage in Windows PowerShell scripts
Windows Root Certificate Installation from Suspicious Paths via PowerShell Import-Certificate
PowerShell Root Certificate Added via LocalMachine\Root Path
Linux: Process executing update-ca-certificates or update-ca-trust
Cisco IOS AAA Crypto PKI Export/Import Commands
Windows: Root Certificate Installation via CertMgr.EXE (/add root)
Pivot detection · T1553.004 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.