Hello,
first of all I want to say thanks to provide the source code at one place, it really helped me a lot during my research.
I tried to comprehend all methods and from the logical perspective everything is fine. I also managed to make all steps manually to bypass UAC with the different methods but failed with one.
Can somebody help me why this one method is not working for me when doing it manually?
It's about the AppCompact/Gootkit method.
I'm using the Application Compatible Toolkit (GUI) with the /x parameter and then create manually a redirectEXE rule to redirect cliconfg.exe to cmd.exe.
If I start cmd.exe as administrator and then install the shim using "sdbinst.exe test.sdb" it says that it was successfully installed.
However, if I start cmd.exe normally (without admin) it just does not print any message when I do "Sdbinst.exe test.sdb" and it's not working (cliconfg.exe starts instead of cmd.exe).
Therefore I can't bypass UAC because I already need an admin cmd to install the shim. Can you tell me why your application does not need an admin shell? In your code you just do the same by calling sdbinst.... The only difference is that you create the shim within the code and not in the GUI. Is there a special flag in the .sdb file? Also in the talk http://www.securitytube.net/video/8534 the guy says that you can only install shims with admin privileges. Why can you install then a shim to bypass UAC?
ps: I had quit much fun reading this thread
first of all I want to say thanks to provide the source code at one place, it really helped me a lot during my research.
I tried to comprehend all methods and from the logical perspective everything is fine. I also managed to make all steps manually to bypass UAC with the different methods but failed with one.
Can somebody help me why this one method is not working for me when doing it manually?
It's about the AppCompact/Gootkit method.
I'm using the Application Compatible Toolkit (GUI) with the /x parameter and then create manually a redirectEXE rule to redirect cliconfg.exe to cmd.exe.
If I start cmd.exe as administrator and then install the shim using "sdbinst.exe test.sdb" it says that it was successfully installed.
However, if I start cmd.exe normally (without admin) it just does not print any message when I do "Sdbinst.exe test.sdb" and it's not working (cliconfg.exe starts instead of cmd.exe).
Therefore I can't bypass UAC because I already need an admin cmd to install the shim. Can you tell me why your application does not need an admin shell? In your code you just do the same by calling sdbinst.... The only difference is that you create the shim within the code and not in the GUI. Is there a special flag in the .sdb file? Also in the talk http://www.securitytube.net/video/8534 the guy says that you can only install shims with admin privileges. Why can you install then a shim to bypass UAC?
ps: I had quit much fun reading this thread