Certificate Exported Via PowerShell - ScriptBlock
Detects calls to cmdlets inside of PowerShell scripts 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
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
- aa7a3fce-bef5-4311-9cc1-5f04bb8c308c
- Tagged by the source as
- attack.credential-access
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1