SharpSploit icon indicating copy to clipboard operation
SharpSploit copied to clipboard

Added configPersist

Open NotoriousRebel opened this issue 4 years ago • 0 comments

Added a modified version of ConfigPersist. What this does:

  1. Create a keyfile
  2. Invoke C# compiler to compile assembly with C# payload of user's choice Compilation also signs the assembly with keyfile
  3. Install assembly onto Global Assembly Cache (GAC)
  4. Modify machine.config's runtime appDomainType and appDomainManagerAssembly elements to point to our assembly installed onto the GAC.

TODO

  • [X] Add testing

NotoriousRebel avatar Apr 17 '20 22:04 NotoriousRebel