Cloud C²
  • Cloud C² by Hak5
  • Getting Started
    • Cloud C² Basics
    • Licensing and Downloads
    • Installation and Setup
    • Adding Devices
    • Navigating the Interface
    • Managing Devices
  • Guides
    • Quick Deployment on an Amazon Lightsail VPS
    • Let's Encrypt SSL configuration and device enrollment
    • Enabling Cloud C² as a service on boot and Exfiltration
    • Cloud C² Setup with Self-Signed SSL certificates
    • Installing updates to the Cloud C² Server
    • Upgrading Cloud C² Editions
  • Troubleshooting
    • Device cannot connect to server
    • Account Recovery
  • Extras
    • Icon Sets
Powered by GitBook
On this page

Was this helpful?

  1. Troubleshooting

Device cannot connect to server

I have provisioned my device with a device.config file per the device setup instructions, however it is not showing in Cloud C². The device status indicates "Last seen: never"

The most common cause for this problem is a routing or firewall issue between the device and server. Here are some troubleshooting tips:

  1. Verify that the device.config is indeed in /etc/ on the device (or root of udisk/sd card for Key Croc/Screen Crab), and that it is the correct provisioning file for your server.

  2. Start the Cloud C² client on the device, either by rebooting it (WiFi Pineapple, LAN Turtle, Packet Squirrel, Screen Crab, Key Croc) or issuing the C2CONNECT command in your payload (Shark Jack, Signal Owl).

  3. Verify that the ports specified by your Cloud C² server (from the command line parameters) are open and accessible by the device's network. The common defaults are TCP 80, 8080, 443, 2022.

  4. Verify that the device can reach the server's network. For example, if a WiFi Pineapple is deployed on an LAN with the IP address 192.168.1.100, and the Cloud C² server is deployed on the Internet at example.com, verify from a terminal on the WiFi Pineapple that it can reach example.com by issuing "ping -c4 example.com"

Last updated 3 years ago

Was this helpful?