Event ID 13: Registry Event (Value Set)
Logs registry value modifications. This event records the value written for Registry values of type DWORD and QWORD.
- Channel
- Microsoft-Windows-Sysmon/Operational
- Logged by default
- No
- Written on
- Any host
- Volume
- High
- Provider
- Microsoft-Windows-Sysmon
- Needs a SACL
- No
To have this event
- Sysmon installed, with a configuration that includes this event type.
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| UtcTime | UTC timestamp of registry value set |
| ProcessGuid | Process GUID performing the operation |
| ProcessId | Process ID |
| Image | Process executable path |
| EventType | Type of registry event (SetValue) |
| TargetObject | Full registry value path (key + value name) |
| Details | Data written to the registry value |
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Microsoft-Windows-Sysmon/Operational' -FilterXPath "*[System[(EventID=13)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Where it shows up
Investigations, attack signals and lateral movement techniques that rely on this event.
- Attack signalRegistry Run key persistenceA value was set under a Run/RunOnce or Winlogon key.
- Attack signalAccessibility features backdoorA Debugger value was set under Image File Execution Options for an accessibility binary.
- InvestigationWhat persistence did the attacker create?Registry autostart keys
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Also relevant, depending on field values
- T1547 Boot or Logon Autostart Execution
- T1547.002 Authentication Package
- T1547.003 Time Providers
- T1547.004 Winlogon Helper DLL
- T1547.005 Security Support Provider
- T1547.010 Port Monitors
- T1547.012 Print Processors
- T1547.014 Active Setup
- T1546 Event Triggered Execution
- T1546.001 Change Default File Association
- T1546.002 Screensaver
- T1546.003 Windows Management Instrumentation Event Subscription
- T1546.007 Netsh Helper DLL
- T1546.008 Accessibility Features
- T1546.009 AppCert DLLs
- T1546.010 AppInit DLLs
- T1546.011 Application Shimming
- T1546.012 Image File Execution Options Injection
- T1546.015 Component Object Model Hijacking
- T1574.011 Services Registry Permissions Weakness
- T1574.012 COR_PROFILER
- T1562 Impair Defenses
- T1562.001 Disable or Modify Tools
- T1562.002 Disable Windows Event Logging
- T1562.004 Disable or Modify System Firewall
- T1562.006 Indicator Blocking
- T1505.005 Terminal Services DLL
Common questions
- What does Windows event ID 13 mean?
- Logs registry value modifications. This event records the value written for Registry values of type DWORD and QWORD. It is written to the Sysmon log (Microsoft-Windows-Sysmon/Operational).
- Is event 13 logged by default?
- No. It must be enabled before it is recorded.
- Where is event 13 recorded?
- In the Microsoft-Windows-Sysmon/Operational channel on the any host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderLogs registry value modifications. This event records the value written for Registry values of type DWORD and QWORD. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.