Jump to content

Setting up Packet Squirrel in C2


beginner123

Recommended Posts

On 5/26/2023 at 3:46 PM, dark_pyrro said:

If you ssh into the Squirrel, can you ping your C2 server? Where is the server located? Somewhere on the internet or on your local network?

The C2 is located on my local server (local host 127.0.0.1) and when I ping it from the Squirrel it receives all the packets

Link to comment
Share on other sites

51 minutes ago, dark_pyrro said:

In what way are you starting the C2 server (command)? If using localhost or 127.0.0.1 as hostname, it will fail big time.

Thats the way I was starting it...

How do I do it if I want to run it on my local server and connect my Packet Squirrel to it?

Link to comment
Share on other sites

Use the IP address of the machine where the C2 server is running, i.e. something like

./c2-3.2.0_amd64_linux -hostname 192.168.0.50

(if it's a Linux box that has that specific IP address on the local network)

Then generate a new device.config file and transfer it to the Squirrel

Link to comment
Share on other sites

When I do this it still doesn't work. I got a new device.config and transferred it into the /etc directory on the squirrel, and still nothing. Also if I try to ping the IP address of the machine that the server is running on from the Squirrel it doesn't work

Link to comment
Share on other sites

If you can't even ping the machine where the C2 server from the Squirrel, then you have some networking issues (or that the Squirrel simply hasn't got an active connection to the local network). Can you ping some other devices on the same network from the Squirrel? Do you run some local firewall on the computer where you run the C2 server? Id so, are ports open to the C2 server?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...