Removing evidence of persistence.
What gives it awayDeletion of keys the same actor created earlier, particularly autostart keys.
ATT&CK T1070Nothing matches that yet. Tell us what you were looking for and it goes on the list.
Sysmon · Event 12
A registry key was created or removed. It pairs with Event 13, which records the values written into those keys, and the deletion half is the more interesting one — removing a key is how evidence and security settings both disappear.
Also written as Sysmon 12Sysmon Event ID 12
Read the EventType field to distinguish creation from deletion — they are the same event ID and mean quite different things. Deletion of service keys, security product configuration, or Sysmon's own configuration is worth alerting on.
Sanitised. Addresses come from the RFC 5737 documentation ranges.
Registry object added or deleted:
RuleName: -
EventType: DeleteKey
UtcTime: 2026-08-28 09:20:44.019
ProcessGuid: {a1b2c3d4-0000-0000-0000-00000000abcd}
ProcessId: 7412
Image: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
TargetObject: HKLM\System\CurrentControlSet\Services\WinHelpSvc
User: CORP\jbrooks Everything else in the log line is context.
DeleteKeySomething was removed. In a security-relevant location this is the interesting case. CreateKeyOrdinary and very high volume. Most of the time it is one of these.
What gives it awayDeletion of keys the same actor created earlier, particularly autostart keys.
ATT&CK T1070What gives it awayDeletion of keys under a security product's configuration path by an unexpected process.
ATT&CK T1562.001What gives it awayDeletion of a service key shortly after that service was installed and started.
ATT&CK T1070Event | where Source == 'Microsoft-Windows-Sysmon' and EventID == 12 | where RenderedDescription has 'DeleteKey' | where TargetObject has_any ('\\Services\\','Windows Defender','\\Run\\') | project TimeGenerated, Computer, Image, TargetObject Read the EventType field, which is either CreateKey or DeleteKey. Both share event ID 12, and rules that ignore EventType will match creations they did not intend to — which is most of the volume.
Last reviewed 28 August 2026