Jump to content

Setup Cloud C2 on Ubuntu Server?


TheRealTRex

Recommended Posts

Posted

I recently fired up an Ubuntu server on a spare PC at my home lab.  Trying to install Cloud C2 on this server, I am new to Linux and need a little help with this.

Any help would be appreciated on the process, if this was answered before or I am looking in the wrong spot please tell me.

If I can answer any specifics about my home environment that will help please let me know too!  Look forward to the help from everyone on this one!

Posted

The most basic way of getting C2 up and running is to execute this command. Will start a C2 server accessible on your local network. There's no actual installation, more of a setup procedure. The best way is to set it up as a service though.
./c2-3.1.2_amd64_linux -hostname [IP of your machine where C2 is hosted]

  • 2 weeks later...
Posted

I used this guide to set the c2 server up on a Ubuntu VM on my nas and it worked great and wasn't super hard to follow.

 

 

  • 7 months later...
Posted

Doesn`t work. Service won't start.

 

ubuntu@ip-172-26-2-73:~$ sudo systemctl status hak5.service● hak5.service - Hak5 C2     Loaded: loaded (/etc/systemd/system/hak5.service; enabled; vendor preset: enabled)     Active: failed (Result: exit-code) since Mon 2022-10-17 01:03:19 UTC; 14s ago    Process: 1357 ExecStart=/usr/local/bin/c2-3.2.0_amd64_darwin -hostname 34.192.27.164 ->   Main PID: 1357 (code=exited, status=203/EXEC)Oct 17 01:03:19 ip-172-26-2-73 systemd[1]: Started Hak5 C2.Oct 17 01:03:19 ip-172-26-2-73 systemd[1357]: hak5.service: Failed to execute command: Exe>Oct 17 01:03:19 ip-172-26-2-73 systemd[1357]: hak5.service: Failed at step EXEC spawning />Oct 17 01:03:19 ip-172-26-2-73 systemd[1]: hak5.service: Main process exited, code=exited,>Oct 17 01:03:19 ip-172-26-2-73 systemd[1]: hak5.service: Failed with result 'exit-code'.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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