Covenant icon indicating copy to clipboard operation
Covenant copied to clipboard

[Bug| Brute Bridge listener throws exception

Open HolyOne opened this issue 5 years ago • 3 comments

Http listener is fine but when I connect a bridge listener, the server throws an exception here, because message is null.

try { targetGrunt = await _client.GetGruntByGUIDAsync(message.GUID); } catch (HttpOperationException) {

bridge client also exits. I tried simple commands like WhoamI and ListDirectory

HolyOne avatar Dec 20 '20 11:12 HolyOne

image

image

HolyOne avatar Dec 20 '20 11:12 HolyOne

Hey @HolyOne , it looks to me like your BindPort and ConnectPort are the same, which is going to make it impossible for BridgeListeners to work correctly. You should be using a C2Bridge as a connector. For the TcpBridgeProfile specifically, you should be using the TCPC2Bridge: https://github.com/cobbr/C2Bridge

cobbr avatar Mar 05 '21 15:03 cobbr

You might find this blog post helpful: https://cobbr.io/Covenant-Developing-Custom-C2-Protocols.html

cobbr avatar Mar 05 '21 15:03 cobbr