Sigma rule: UAC Bypass Using Disk Cleanup

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c995bd4ac205, updated 2024-12-01T00:00:00.000Z.

Rule

Title
UAC Bypass Using Disk Cleanup
Status
test
Level
high
Author
Christian Burkard (Nextron Systems)
Date
2021-08-30
Modified
2024-12-01
File
rules/windows/process_creation/proc_creation_win_uac_bypass_cleanmgr.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the pattern of UAC Bypass using scheduled tasks and variable expansion of cleanmgr.exe (UACMe 34)

Log source

product
windows
category
process_creation

Detection

selection:
    CommandLine|endswith: '"\system32\cleanmgr.exe /autoclean /d C:'
    ParentCommandLine: 'C:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule'
    IntegrityLevel:
        - 'High'
        - 'System'
        - 'S-1-16-16384' # System
        - 'S-1-16-12288' # High
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.t1548.002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_uac_bypass_cleanmgr.yml

Sources and licences

  • SigmaHQ

    "UAC Bypass Using Disk Cleanup" by Christian Burkard (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_uac_bypass_cleanmgr.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: UAC Bypass Using Disk Cleanup",
entity page, dataset version ref-c995bd4ac205, updated 2024-12-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b697e69c-746f-4a86-9f59-7bfff8eab881 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b697e69c-746f-4a86-9f59-7bfff8eab881, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.