Covenant icon indicating copy to clipboard operation
Covenant copied to clipboard

[Bug] Unable to create a listener

Open mrbaselier opened this issue 3 years ago • 3 comments

Bug I am unable to create listeners (and no error appears)

Describe the feature request or bug I installed Covenant on my Kali machine. I first installed DotNet 3.1 (sudo apt-get install -y dotnet-sdk-3.1) and then installed Covenant (git clone --recurse-submodules https://github.com/cobbr/Covenant).

When starting Covenant I see:

warn: Microsoft.EntityFrameworkCore.Model.Validation[10400]
      Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data, this mode should only be enabled during development.
Covenant has started! Navigate to https://127.0.0.1:7443 in a browser

Then I can create a username and password through the GUI and login. After that I want to create a listener. I can enter the listener details and click on "create". Then I am returned to the listener overview page without error. The overview page is blank and no listener is created. Also the console shows no additional errors.

I tried different ports (reserved and non-reserved). I also tried starting as Sudo. But nothing changes the behaviour. Then I tried different DotNet versions. But still no change in behaviour. Also tried different browsers / rebooting / deleting cookies etc.

No matter what I do... all seems to work but unable to create a listener.

To Reproduce Steps to reproduce the behavior: Just create a listener....

Expected behavior The listener to appear after creating it

Screenshots 2-empty-overview-page 0-3-console-status-before-and-after 1-create-listener

Covenant Server Information:

  • OS: Linux kali20202 5.7.0-kali1-amd64
  • Docker or Native: Native

Browser Information:

  • Browser: All
  • Version: All

Target Information (System that implant is running on):

  • n.v.t.

Additional context

mrbaselier avatar Jul 11 '21 10:07 mrbaselier

same problem with 2021.4

AyberkHalac avatar Nov 28 '21 14:11 AyberkHalac

I just encountered this issue as well. I was finally able to pinpoint the cause, which was that something was being sent through my corporate web proxy when creating the listener (which was then subsequently timing out). I had http_proxy and https_proxy envvars set in my shell that I was launching Covenant from. Once I unset those vars and launched Covenant it worked as normal.

agreenbhm avatar Jan 06 '22 21:01 agreenbhm

same

sourabhsahu334 avatar Aug 17 '23 12:08 sourabhsahu334