beginner123 Posted May 26, 2023 Share Posted May 26, 2023 I am working with a packet squirrel and am trying to set it up in the C2 cloud. I moved the device.config file into the paket squirrel's /etc directory and it is still not showing up What am I missing? Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 26, 2023 Share Posted May 26, 2023 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? Link to comment Share on other sites More sharing options...
beginner123 Posted May 30, 2023 Author Share Posted May 30, 2023 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 More sharing options...
dark_pyrro Posted May 30, 2023 Share Posted May 30, 2023 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. Link to comment Share on other sites More sharing options...
beginner123 Posted May 30, 2023 Author Share Posted May 30, 2023 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 More sharing options...
dark_pyrro Posted May 30, 2023 Share Posted May 30, 2023 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 More sharing options...
beginner123 Posted May 30, 2023 Author Share Posted May 30, 2023 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 More sharing options...
beginner123 Posted May 30, 2023 Author Share Posted May 30, 2023 According to the Squirrel it is already connected to C2, but the in the C2 server it shows up as online and last seen never Link to comment Share on other sites More sharing options...
dark_pyrro Posted May 30, 2023 Share Posted May 30, 2023 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 More sharing options...
beginner123 Posted May 30, 2023 Author Share Posted May 30, 2023 Ok, thank you I figured out how to connect it the C2, had to connect to the LAN through the other ethernet port on the Squirrel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.