Windows API reference
PFXExportCertStoreEx
Exports certificates and private keys from a store into a PFX blob.
- Library
- Crypt32.dll
- Category
- Crypto, Credential Access
- Suspicion
- high
- MITRE ATT&CK
- T1552.004 Unsecured Credentials: Private Keys
Detection summary
PFXExportCertStoreEx has no reviewed Sysmon/ETW event; certificate/private-key export is inferred from file writes and EDR crypto telemetry.
- Sysmon: No Sysmon event mapped
- ETW: No ETW provider mapped
- Notes: Correlate with Sysmon 11 writes of .pfx/.p12 files and EDR certificate-store/API telemetry. Legitimate browser, VPN and installer workflows also export PFX data, so scope by process and destination.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
- MITRE ATT&CK T1552.004: Unsecured Credentials: Private Keys
- Microsoft Sysmon events
Last reviewed: . Page metadata generated .
Legitimate use
Browsers, VPNs, messengers, installers, password managers and games.