cobbr / Covenant

Covenant is a collaborative .NET C2 framework for red teamers.

Home Page:https://cobbr.io/Covenant.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] InstallUtil DLL launcher issue in dev branch

JonS1156 opened this issue · comments

Feature Request or Bug
Bug

Describe the feature request or bug
In the dev branch, when I use the OutputKind setting DynamicallyLinkedLibrary I get the error:
System.NullReferenceException: Object reference not set to an instance of an object.
Other OutputKind options seem to work fine.

To Reproduce
Steps to reproduce the behavior:

  1. Generate standard listener (in my test non-SSL)
  2. Create Launcher with GruntHTTP implant, DotNetVersion 3.5 or 4, and choose OutputKind version of DynamicallyLinkedLibrary
  3. Disable Defender real-time protection on grunt host
  4. Download and run launcher with
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe /logfile= /U filename.dll
  5. See error

Expected behavior
Grunt connected to covenant server

Screenshots
image

Covenant Server Information:

  • Docker

Target Information (System that implant is running on):

  • OS: Windows 10
  • Version: 19042.1165

Additional context
Looking at wireshark it doesn't seem to be attempting the connection, it's erroring out prior.