cobbr / cobbr/Covenant

[Bug] InstallUtil DLL launcher issue in dev branch

Open
#334 0 comments 0 reactions 1 assignee Claimed by @cobbr View on GitHub
Dominant language
C#
Stars
4.7k
Forks
822
PR merge metrics
No merged PRs in 30d

Description

**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](https://user-images.githubusercontent.com/67824898/133867943-01b97d8b-4f17-4ca1-9738-6fa7cd4b9689.png)

**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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.