Windows Root Certificate Installation from Suspicious Paths via PowerShell Import-Certificate

Alerts on PowerShell importing a root certificate into Cert:\LocalMachine\Root from suspicious file paths on Windows.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-09-09
Updated
2026-07-30

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 PowerShell imports a certificate into the local machine trusted root store (Cert:\LocalMachine\Root) using Import-Certificate. It narrows to executions that reference file locations commonly abused for staging or user-writable content, such as Temp, Desktop, Downloads, Perflogs, and Public/AppData paths. Installing a root certificate can help attackers trust malicious TLS endpoints and reduce browser or application warnings. Telemetry relies on Windows process creation events including the full command line, specifically matching Import-Certificate targeting the Root store and the suspicious path strings.

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
Windows: Root Certificate Installation via CertMgr.EXE (/add root)
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
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 from Suspicious Paths via PowerShell Import-Certificate
Pivot detection · T1553.004 · 9 related

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