Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug| Brute Bridge listener throws exception #276

Open
HolyOne opened this issue Dec 20, 2020 · 3 comments
Open

[Bug| Brute Bridge listener throws exception #276

HolyOne opened this issue Dec 20, 2020 · 3 comments
Assignees

Comments

@HolyOne
Copy link

HolyOne commented Dec 20, 2020

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 HolyOne changed the title [Bug|Feature Request] Short Description of Issue [Bug|Feature Request] Bridge listener throws exception Dec 20, 2020
@HolyOne HolyOne changed the title [Bug|Feature Request] Bridge listener throws exception [Bug| Bridge listener throws exception Dec 20, 2020
@HolyOne HolyOne changed the title [Bug| Bridge listener throws exception [Bug| Brute Bridge listener throws exception Dec 20, 2020
@HolyOne
Copy link
Author

HolyOne commented Dec 20, 2020

image

image

@cobbr
Copy link
Owner

cobbr commented Mar 5, 2021

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
Copy link
Owner

cobbr commented Mar 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants