ForceAdmin: Create infinite UAC prompts forcing a user to run as admin
ForceAdmin
ForceAdmin is a c# payload builder, creating infinite UAC pop-ups until the user allows the program to be run. The inputted commands are run via powershell calling cmd.exe and should be using the batch syntax. Why use? Well, some users have UAC set to always show, so UAC bypass techniques are not possible. However – this attack will force them to run as admin. Bypassing these settings.
Installation
Required
For building on your own, the following NuGet packages are needed
Fody
: “Extensible tool for weaving .net assemblies.”Costura.Fody
“Fody add-in for embedding references as resources.”Microsoft.AspNet.WebApi.Client
“This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.”
Install
Download the project:
$ git clone https://github.com/catzsec/ForceAdmin.git
Enter the project folder
$ cd ForceAdmin
Run ForceAdmin:
$ dotnet run
Compile ForceAdmin:
$ dotnet publish -r win-x64 -c Release -o ./publish/
Copyright (c) 2022 catzsec
Source: https://github.com/catzsec/