An open API service indexing awesome lists of open source software.

https://github.com/notoriousrebel/configpersist

Modifies machine.config for persistence after installing signed .net assembly onto GAC
https://github.com/notoriousrebel/configpersist

csharp dotnet hooking persistence redteam

Last synced: 9 months ago
JSON representation

Modifies machine.config for persistence after installing signed .net assembly onto GAC

Awesome Lists containing this project

README

          

# ConfigPersist

Utilizes modifying machine.config for persistence through CLR hooking, after installing signed .NET assembly
onto Global Assembly Cache.

### Note

For this technique to work you will need to generate a
keyfile, you can use a tool called [sn](https://docs.microsoft.com/en-us/dotnet/framework/tools/sn-exe-strong-name-tool) which stands for strong name.
Place that keyfile and make sure it is called **key.snk** inside the Keyfile
directory or you can place key.snk and the executable in the same directory.

To learn more about this technique feel free to read this [post](https://secbytes.net/Configuring-our-Machine-for-Persistence).

For a more updated version of this technique visit this [PR for SharpSploit](https://github.com/cobbr/SharpSploit/pull/46).