1. Resources
  2. Detection sources
  3. Event ID 5376

Event ID 5376: Credential Manager credentials were backed up

Written when a user backs up their own saved Credential Manager credentials to a file, on any Windows computer. Rare in ordinary use; Microsoft recommends recording every one.

Log source
Windows Security log
Detection value
Context
Volume
Low
Last updated
Audit subcategory
Audit User Account Management (Account Management, Success)
Logged on
All Windows computers
Event versions
0, 1
Detects
Not read by our detection rules yet

When it is written

Windows writes 5376 each time a user successfully backs up the Credential Manager database, typically with Back up Credentials in Credential Manager in Control Panel. Credential Manager keeps the user names and passwords a user chose to save for other systems and websites in the Windows Vault, under the user's profile. The computer where the backup was made writes the event: domain controllers, member servers and workstations alike.

Subject is the user whose credentials were backed up. The event's own text says that a user, even an administrator, can back up only the credentials of their own account, so the subject is always the owner of the credentials. Microsoft lists it as a success event only. The matching restore is event 5377.

No rule reads 5376 yet. It matters next to the events our rules read because a backup turns the credentials a user saved for other systems into a file that can be carried elsewhere: read it with the logon of the session that made it (4624) and the process that asked for it (4688).

How to turn it on

Advanced audit policy subcategory Audit User Account Management, Success. Set it in a Group Policy object linked to the computers that write the event:

Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Account Management > Audit User Account Management
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccess and FailureMicrosoft's general and stronger baselines both recommend Success and Failure auditing. Microsoft calls the subcategory useful for watching critical domain accounts (domain admins, service accounts, database admins) and recommends Failure auditing mainly for invalid password change and reset attempts on domain accounts, failed changes of the DSRM password and failed SID History additions.
Member serversSuccess and FailureBoth baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts.
WorkstationsSuccess and FailureBoth baselines recommend Success and Failure auditing. Microsoft recommends watching every change to local user accounts, especially the built-in local Administrator and other critical accounts, and Failure auditing mainly for invalid password change and reset attempts on local accounts.
Check the current setting
auditpol /get /subcategory:"User Account Management"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"User Account Management" /success:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE9235-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidSubjectSID of the account that made the backup, which is also the account whose credentials were backed up. Event Viewer resolves it to a name when it can.v0
Account NameSubjectUserNameSubjectName of that account.v0
Account DomainSubjectDomainNameSubjectDomain of that account, or the computer name for a local account. NT AUTHORITY for well-known principals such as LOCAL SERVICE.v0
Logon IDSubjectLogonIdSubjectLogon ID of the session that made the backup, in hexadecimal. The logon event of that session (4624) on the same computer carries the same value.v0
BackupFileNameSubjectFull path of the file the credentials were written to (shown as BackupFileName). Version 1; Microsoft does not document the field.v1
ProcessCreationTimeBy its name, the creation time of the process that requested the backup. Together with ClientProcessId it identifies the process even if Windows later reuses the ID. Version 1; not shown in the message and not documented by Microsoft.v1
ClientProcessIdBy its name, the ID of the process that requested the backup, in decimal. Match it with the New Process ID of a 4688 on the same computer, which is hexadecimal there. Version 1; not shown in the message and not documented by Microsoft.v1

Event versions

The Windows event template has two versions. Version 0 has the four subject fields. Version 1 adds the name of the backup file (BackupFileName) and the creation time and ID of the process that requested the backup (ProcessCreationTime, ClientProcessId). Microsoft's event page documents version 0 only and does not say which Windows release introduced version 1. The event message shows the backup file name; the two process fields appear only in the event's XML.

  • Version 0: 4 fields
  • Version 1: 7 fields, adds BackupFileName, ProcessCreationTime, ClientProcessId

Values to know

Security ID SubjectUserSid

ValueMeaningSignal
A user moving to a new computer, on their own computerA planned backupConfirm with the user; the matching restore (5377) should follow on the new computer.Expected
An administrative or service accountThe saved credentials of a privileged account were exportedThe file can hold passwords for other servers and shares. Find out who made the backup and where the file went.Worth knowing

BackupFileName

ValueMeaningSignal
A path in the user's own profileThe backup stayed on the computerCheck whether the file was later copied elsewhere.Worth knowing
A network path or a removable driveThe backup was written off the computerThe credentials now exist outside the computer that protected them. Find the file and who can read it.Worth knowing

Volume and noise

Microsoft rates the volume of the subcategory as low, and 5376 should be rare: Microsoft says users very rarely back up Credential Manager. Legitimate backups come from users moving to a new computer and from administrators who keep credentials of an application in the Credential Manager of its server, as Microsoft's own backup procedure for System Center Virtual Machine Manager does.

Keeping it manageable

  • Keep every 5376, from every computer: Microsoft recommends recording each one for local and domain accounts, because the action is rare and can point to malware or other malicious activity.
  • Match SubjectLogonId with the logon event (4624) of the same computer to see whether the backup was made at the console or in a remote session, and from which address.
  • Match ClientProcessId with the process creation event (4688) of the same computer, where Audit Process Creation is enabled, to see which program requested the backup. Version 1 only.
  • Look at the folder in BackupFileName: a network share or a removable drive means the file left the computer at once.

Sample event

Version 1, with made-up values.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
    <EventID>5376</EventID>
    <Version>1</Version>
    <Level>0</Level>
    <Task>13824</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
    <EventRecordID>1048576</EventRecordID>
    <Correlation />
    <Execution ProcessID="712" ThreadID="2408" />
    <Channel>Security</Channel>
    <Computer>WKS042.corp.example.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1104</Data>
    <Data Name="SubjectUserName">alice</Data>
    <Data Name="SubjectDomainName">CORP</Data>
    <Data Name="SubjectLogonId">0x2c4e81</Data>
    <Data Name="BackupFileName">C:\Users\alice\Documents\saved-credentials.crd</Data>
    <Data Name="ProcessCreationTime">2026-11-18T09:29:41.5520412Z</Data>
    <Data Name="ClientProcessId">6248</Data>
  </EventData>
</Event>

Attacks this event reveals

No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).

Frequently asked questions

What does a Credential Manager backup contain?

The credentials the user saved in Credential Manager, which Microsoft describes as user names and passwords for other systems and websites kept in the Windows Vault under the user's profile. Saved credentials for file servers, remote desktop hosts and web applications can all be in it, so the file is as sensitive as the passwords themselves.

Can an administrator back up another user's credentials this way?

No. The event's own text says that a user, even an administrator, can back up only the credentials of their own account. The Subject of a 5376 is therefore both the person who made the backup and the owner of the credentials.

Why does Microsoft recommend recording every 5376?

Because users very rarely back up Credential Manager, Microsoft says the event can point to a virus or other malicious activity. The volume is tiny, so there is no reason to filter it.

How do I reduce what such a backup can expose?

Microsoft documents the security policy Network access, Do not allow storage of passwords and credentials for network authentication: when enabled, Credential Manager does not store passwords or credentials for domain authentication on the computer. Microsoft notes that it cannot control what Windows Store apps save through the Credential Manager APIs.

References