Windows Registry Disk Cleanup Handler Persistence via VolumeCaches Key Creation

Detects creation of non-default Disk Cleanup Handler registry entries under VolumeCaches that may establish persistence.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_add
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2022-07-21
Updated
2026-07-30

What it detects

This rule flags creation of registry keys under the Disk Cleanup Handler locations in VolumeCaches, which can be used to register persistence mechanisms through the Windows Disk Cleanup framework. Attackers may create new handler entries so their code is invoked by legitimate maintenance workflows, blending persistence with normal OS activity. It relies on Windows registry event telemetry capturing key creation operations and the target key path containing the VolumeCaches handler base path, while excluding known default handler keys.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.