Elastic medium stable eql
UAC Bypass via DiskCleanup Scheduled Task Hijack
Identifies User Account Control (UAC) bypass via hijacking DiskCleanup Scheduled Task. Attackers bypass UAC to stealthily execute code with elevated permissions.
Detection Logic
process where host.os.type == "windows" and event.type == "start" and
process.args : "/autoclean" and process.args : "/d" and process.executable != null and
not process.executable : (
"C:\\Windows\\System32\\cleanmgr.exe",
"C:\\Windows\\SysWOW64\\cleanmgr.exe",
"C:\\Windows\\System32\\taskhostw.exe",
/* Crowdstrike specific exclusion as it uses NT Object paths */
"\\Device\\HarddiskVolume*\\Windows\\System32\\cleanmgr.exe",
"\\Device\\HarddiskVolume*\\Windows\\SysWOW64\\cleanmgr.exe",
"\\Device\\HarddiskVolume*\\Windows\\System32\\taskhostw.exe"
) Field Validations
Loading…
Comments (0)
Loading comments...