Sigma rule: New Root Certificate Installed Via CertMgr.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e07a4c373f68, updated 2023-03-05T00:00:00.000Z.
Rule
- Title
- New Root Certificate Installed Via CertMgr.EXE
- Status
- test
- Level
- medium
- Author
- oscd.community, @redcanary, Zach Stanford @svch0st
- Date
- 2023-03-05
- File
- rules/windows/process_creation/proc_creation_win_certmgr_certificate_installation.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of "certmgr" with the "add" flag in order to install a new certificate on the system.
Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to adversary controlled web servers.
Log source
- product
- windows
- category
- process_creation
Detection
# Example: CertMgr.exe /add CertificateFileName.cer /s /r localMachine root /all
selection_img:
- Image|endswith: '\CertMgr.exe'
- OriginalFileName: 'CERTMGT.EXE'
selection_cli:
CommandLine|contains|all:
- '/add'
- 'root'
condition: all of selection_*False positives (as the rule lists them)
- Help Desk or IT may need to manually add a corporate Root CA on occasion. Need to test if GPO push doesn't trigger FP
Tags
- attack.defense-impairment
- attack.t1553.004
MITRE ATT&CK ids this rule names
Related rules
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.004/T1553.004.md
- https://securelist.com/to-crypt-or-to-mine-that-is-the-question/86307/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_certmgr_certificate_installation.yml
Sources and licences
SigmaHQ
"New Root Certificate Installed Via CertMgr.EXE" by oscd.community, @redcanary, Zach Stanford @svch0st (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_certmgr_certificate_installation.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: New Root Certificate Installed Via CertMgr.EXE",
entity page, dataset version ref-e07a4c373f68, updated 2023-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ff992eac-6449-4c60-8c1d-91c9722a1d48 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ff992eac-6449-4c60-8c1d-91c9722a1d48, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.