mandovera Posted December 13, 2023 Posted December 13, 2023 Long story short. I deployed the c2 on the amazon lightsail. Had my issues while setting it up like the issue I have been struggling with most was after I started up the service I could access the website only when I had the ssh window running. I set up the start on boot and running systemctl status and it is running with no errors The issue I have is that now I cannot access the website at all. I sticked as close to the deployment docs changing only the necessary IP adresses. any ideas what I could do? Quote
dark_pyrro Posted December 13, 2023 Posted December 13, 2023 In what way is the C2 server started when using a service? I.e. what c2 command is used in the service file? (Don't post any AWS specific stuff like IP address or hostnames though) Quote
Solution mandovera Posted December 18, 2023 Author Solution Posted December 18, 2023 Ok, I figured it out eventually. While I did the initial setup " https://docs.hak5.org/cloud-c2/guides/enabling-cloud-c-as-a-service-on-boot-and-exfiltration" from this link I was had to change the service file because of a typo, after I was already finished with the whole setup. The service status was running with errors. I fixed it and the service status appeared online and did not show any errors, but I could not connect to the web api. The solution to this was to redo the last sequence of restarting daemons and enabling,starting cloudc2.service with systemctl commands. Now it works smoothly so I hope if anyone has the same issue this could help. :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.