Setting up Cloud C2 as a service on boot & exfiltrating loot with a LAN Turtle - Hak5 2703

Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005: ____________________________________________ Enabling Cloud C2 as a service on a Linux-64 host with SystemD Builds on Hak5 episodes 2701 and 2702 with credit to Void-Byte https://forums.hak5.org/topic/50283-u... Expects Cloud C2 Community edition has run once before, generating c2.db # Move Cloud C2 binary. sudo mv c2_community-linux-64 /usr/local/bin Create directory for database file sudo mkdir /var/cloudc2 Move database file sudo mv c2.db /var/cloudc2/ Create systemd service file. sudo vi /etc/systemd/system/cloudc2.service Replace parameters as necessary for your instance [Unit] Description=Hak5 Cloud C2 After=cloudc2.service [Service] Type=idle ExecStart=/usr/local/bin/c2_community-linux-64 -hostname example.com -https -db /var/cloudc2/c2.db [Install] WantedBy=multi-user.target Reload, enable on boot, start and inspect the newly created Cloud C2 service sudo systemctl daemon-reload sudo systemctl enable cloudc2.service sudo systemctl start cloudc2.service sudo systemctl status cloudc2.service -----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆ Our Site → https://www.hak5.org Shop → https://www.hakshop.com Subscribe → https://www.youtube.com/user/Hak5Darr... Support →   / threatwire   Contact Us →   / hak5   Threat Wire RSS → https://shannonmorse.podbean.com/feed/ Threat Wire iTunes → https://itunes.apple.com/us/podcast/t... Host: Shannon Morse →   / snubs   Host: Darren Kitchen →   / hak5darren   Host: Mubix →   / mubix   -----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆-----☆ ____________________________________________ Founded in 2005, Hak5's mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community – where all hackers belong.