Certificate Exported Via PowerShell
Detects calls to cmdlets that are used to export certificates from the local certificate store. Threat actors were seen abusing this to steal private keys from compromised machines.
Detection logic
Detection requirements
- Platform
- LinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Legitimate certificate exports by administrators. Additional filters might be required.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/powershell/module/pki/export-pfxcertificate?view=windowsserver2022-ps | 4from 2 sources |
| us-cert.cisa.gov/ncas/analysis-reports/ar21-112a | 2 |
| www.splunk.com/en_us/blog/security/breaking-the-chain-defending-against-certificate-services-abuse.html | 4 |
From the source
- At source
- Open at source
- Upstream identifier
- 9e716b33-63b2-46da-86a4-bd3c3b9b5dfb
- Tagged by the source as
- attack.credential-accessattack.execution
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1