Modification of the msPKIAccountCredentials
Identify the modification of the msPKIAccountCredentials attribute in an Active Directory User Object. Attackers can abuse the credentials roaming feature to overwrite an arbitrary file for privilege escalation.…
Description
Identify the modification of the msPKIAccountCredentials attribute in an Active Directory User Object. Attackers can abuse the credentials roaming feature to overwrite an arbitrary file for privilege escalation. ms-PKI-AccountCredentials contains binary large objects (BLOBs) of encrypted credential objects from the credential manager store, private keys, certificates, and certificate requests.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
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 |
|---|---|
| cloud.google.com/blog/topics/threat-intelligence/apt29-windows-credential-roaming | 2 |
| learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-5136 | 6from 2 sources |
| social.technet.microsoft.com/wiki/contents/articles/11483.windows-credential-roaming.aspx | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 670b3b5a-35e5-42db-bd36-6c5b9b4b7313
- Tagged by the source as
- Data Source: Active DirectoryData Source: Windows Security Event LogsDomain: EndpointNoise: LowOS: WindowsPerformance: NormalPlatform: WindowsResources: Investigation GuideRule Type: Custom Query (KQL)Tactic: Privilege EscalationUse Case: Active Directory MonitoringUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 8, 2026
- Version
- 4