Insecure GUI APPs
Last updated
Last updated
On some (older) versions of Windows, users could be granted the permission to run certain GUI apps with administrator privileges. There are often numerous ways to spawn command prompts from within GUI apps, including using native Windows functionality. Since the parent process is running with administrator privileges, the spawned command prompt will also run with these privileges. I call this the βCitrix Methodβ because it uses many of the same techniques used to break out of Citrix environments.
Open a command prompt and run:
Note that mspaint.exe is running with admin privileges.
In Paint, click File, then Open.In the navigation input, replace the contents with:
ress Enter. A command prompt should open running with admin privileges.
as you can see we have a cmd shell with admin privileges by opening the cmd.exe file from a vulnerable GUI app.