Skip to content
SharpGPOAbuse is a .NET application written in C# that can be used to take advantage of a user's edit rights on a Group Policy Object (GPO) in order to compromise the objects that are controlled by that GPO.
Branch: master
Clone or download
Pull request Compare This branch is 3 commits behind mwrlabs:master.
Latest commit 2476607 May 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SharpGPOAbuse fix gPCMachineExtensionNames order Apr 5, 2019
.gitattributes init Apr 1, 2019
.gitignore init Apr 1, 2019
README.md Update README.md May 16, 2019
SharpGPOAbuse.sln init Apr 1, 2019

README.md

SharpGPOAbuse

SharpGPOAbuse is a .NET application written in C# that can be used to take advantage of a user's edit rights on a Group Policy Object (GPO) in order to compromise the objects that are controlled by that GPO.

More details can be found at the following blog post: https://labs.mwrinfosecurity.com/tools/sharpgpoabuse/

Compile Instructions

SharpGPOAbuse has been built against .NET 3.5 and is compatible with Visual Studio 2017. Simply open the solution file and build the project.

CommandLineParser has been used in order to parse the command line arguments. This package will need to be installed by issuing the following command into the NuGet Package Manager Console:

Install-Package CommandLineParser -Version 1.9.3.15

After compiling the project, merge the SharpGPOAbuse.exe and the CommandLine.dll into one executable file using ILMerge:

ILMerge.exe /out:C:\SharpGPOAbuse.exe C:\Release\SharpGPOAbuse.exe C:\Release\CommandLine.dll

You can’t perform that action at this time.