Cloud C²

From Elvis Wiki

Summary

Cloud C² is a software developed by Hak5 that gives us a remote connection with Hak5 products like Shark Jack. After this short installation guide, you will be able to connect your devices to your own Cloud C² instance.

Requirements

  • Operating system: a Server, like Ubuntu 24.04.1 LTS
  • Packages: wget unzip
  • If you want to access the software via the internet, you must have access to your firewall / modem / router to redirect a port!


Installation Guide

First of all, you have to apply for a license-key under https://shop.hak5.org/products/c2#c2-versions - for study reasons you can apply for a free one.


Get Cloud C²

To install the Cloud C² it is only necessary to get the latest zip-folder by wget on your server and unzip it.

wget -q https://c2.hak5.org/download/latest -O cloudc2.zip
unzip cloudc2.zip

After that you will find all possible binary files for different operation systems.

https://wiki.elvis.science/images/9/92/GetCloudC2.png

Start Cloud C²

Now you can simple start the suitable binary for your operating system with additional parameters. Only the "hostname" is necessary. By default the port 8080 is used. Mention that this is the port, that has to be redirected when you want to access the Cloud C² via the internet. You can change that port by parsing the "listenport" parameter. Please also note that your hostname should be resolvable by DNS when you using a name instead of an IP-Address.

For example:

./c2-3.4.0_amd64_linux -hostname myHostname -listenport 8000

More details about the possible parameters are visible at https://docs.hak5.org/cloud-c2/getting-started/installation-and-setup.

The output should look similar like this:

https://wiki.elvis.science/images/f/fa/StartUpCloudC2.png


Initialize Cloud C²

If you followed the above manual, you should be able to access the web interface from your Cloud C² instance on the web link - which can be found in the output of the starting binary.

The web interfaces should look like this:

https://wiki.elvis.science/images/thumb/7/76/InitSetupCloudC2.png/372px-InitSetupCloudC2.png

Insert your license key, fill out the form and you are ready to go.

Conclusion

From now on, you are able to add all your Hak5 devices to your own Cloud C². For doing this, follow the guide under https://docs.hak5.org/cloud-c2/getting-started/adding-devices, because they are maybe specific for your device. Note that according to these instructions, the cloud is not running as a service in the background. If you terminate the existing terminal connection, the cloud will also be terminated.


References