UAC Bypass Using Disk Cleanup

 Original Source: [Sigma source]
Title: UAC Bypass Using Disk Cleanup
Status: test
Description:Detects the pattern of UAC Bypass using scheduled tasks and variable expansion of cleanmgr.exe (UACMe 34)
References:
  -https://github.com/hfiref0x/UACME
Author: Christian Burkard (Nextron Systems)
Date: 2021-08-30
modified:2024-12-01
Tags:
  • -'attack.privilege-escalation'
  • -'attack.t1548.002'
Logsource:
  • category: process_creation
  • product: windows
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'
      -'S-1-16-12288'

  condition:selection
Falsepositives:
  -Unknown
Level: high