Self-hosted red-team device C2

Hak5 Cloud C2

Hak5 Cloud C2 is the self-hosted server that runs a fleet of Hak5 field devices. It is a legitimate red-team product: a WiFi Pineapple, LAN Turtle, Packet Squirrel, Shark Jack, or Bash Bunny gets a provisioning file, phones home to the operator's own Cloud C2 instance, and from then on is managed and tasked through a web console from anywhere. Teams run it so they can deploy physical implants on an engagement and work them remotely.

That same design is why an exposed Cloud C2 instance is worth finding. A server on the internet carrying this fingerprint means someone is operating Hak5 implants that report to it. On an authorized test that is expected. On a network where no test is booked, it points at a physical device somebody placed, and you want to know whose it is. This page shows how to recognize a live Hak5 Cloud C2 server and pull the current set.

Quick facts
  • Aliases: Cloud C2, Cloud C², Hak5 C2
  • Type: Self-hosted command-and-control server for Hak5 field gear (dual-use red-team tooling)
  • Managed devices: WiFi Pineapple, LAN Turtle, Packet Squirrel, Shark Jack, Bash Bunny, Key Croc, Screen Crab
  • Runs on: Linux, macOS, or Windows, usually a cloud VPS
  • Web console: default port 8080 for HTTP, 443 for TLS
  • Device channel: port 2022, where provisioned devices phone home, served by a Go SSH listener
  • Project: Hak5 Cloud C2 (shop.hak5.org)
  • MITRE ATT&CK techniques: T1219 (remote access software), T1571 (non-standard port), T1133 (external remote services)
  • Actively tracked
  • Dual-use tooling
Background

What a Hak5 Cloud C2 server actually is

Cloud C2 is Hak5's answer to managing hardware you cannot reach by hand. You stand up the server once, usually on a cheap VPS, then enroll each field device with a device.config file that points it at the server. Hak5's documentation describes it as a self-hosted, web-based command and control suite for networked Hak5 gear. After enrollment the local admin interface on the device is locked, and all management runs through the console.

Hunt.io C2 listing of live Hak5 Cloud C2 servers running on cloud hostingFigure 01. Live Hak5 Cloud C2 servers in Hunt.io. Most sit on cloud hosting, answer on standard web ports, and have been online since 2023.

The result is ordinary tradecraft for a red team and a useful signal for a defender. The server is a fixed point that a set of physical implants depend on, which makes it something you can look for directly. Finding one does not tell you it is hostile, but it does tell you Hak5 hardware is in play somewhere, and that is a question worth answering through threat hunting rather than after the fact.

Fingerprint

The console title and the Go device channel

A Hak5 Cloud C2 server is one of the more self-identifying things in the C2 feed. The web console answers on 8080 or 443 and returns a page titled Hak5 Cloud C², which is already most of the identification. The confirmation sits on a second port. Devices phone home on port 2022, and that listener presents itself as a Go SSH server, which is the Cloud C2 client channel rather than an ordinary admin SSH.

Hunt.io host detail for a Hak5 Cloud C2 server, web console on 80 and 443 and the device channel on 2022Figure 03. One Hak5 Cloud C2 server in detail. The console on ports 80 and 443 carries the Hak5 Cloud C² title, admin SSH sits on 22, and the device channel on 2022 answers as a Go SSH listener.

Put those together and a single host tells you what it is: a web console under the Hak5 Cloud C² title, a normal admin SSH on 22, and the Go-based device channel on 2022. The 2022 listener is the detail that separates a real Cloud C2 server from a page that merely copied the title, since it is the port the implants actually connect back on.

Why it matters

Red team tool or someone else's implant

The reason to track this is not that the software is malicious. It is sold openly and most instances belong to security teams doing their jobs. The reason is that the server sits at the end of a chain that starts with a physical device on a network. A Bash Bunny in a USB port or a Shark Jack on a switch is only useful if it can reach its Cloud C2 server, so the server is the one piece of that operation exposed to the internet where you can see it.

For a defender the question is attribution, not alarm. If a Cloud C2 server shows up tied to your address space or your providers and no engagement is scheduled, treat it as a lead: someone may have planted hardware. If it is your own red team, confirming the server and its devices is still useful inventory. Either way the server is the anchor, and from it you can pivot on the hosting, the certificate, and the console fingerprint to find related instances.

Live servers

Hak5 Cloud C2 feed: live servers

Hunt.io tracks live Hak5 Cloud C2 servers around the clock. In the 30 days to —, Hunt.io counted — unique active servers. The table below is a sample seen active in that window:

The hosting is the tell that sets this apart from a botnet. These are cloud compute ranges, Amazon, Akamai, Oracle, and Vultr, because a Cloud C2 server is something an operator deliberately stands up, not a consumer device that got infected. Most answer on 8080 or 443, with a few on other web ports. Pull the current set from the C2 infrastructure feed rather than trusting any single address.

HuntSQL

Counting Hak5 Cloud C2 servers by port in HuntSQL

Because Cloud C2 keeps to a small set of web ports, a port breakdown is a fast way to see the whole population with HuntSQL:

group results
SELECT port, uniq(ip) AS servers
FROM malware
WHERE malware.name = 'Hak5 Cloud C2'
  AND is_active = true
GROUP BY port
ORDER BY servers DESC

Output example:

HuntSQL results showing Hak5 Cloud C2 servers concentrated on ports 8080 and 443Figure 02. Hak5 Cloud C2 servers by port. Most sit on 8080 and 443, the console defaults, with a thin tail on other web ports.

This is the opposite of a peer-to-peer botnet, where every node picks a random port and the number is useless as a filter. Cloud C2 clusters on its console defaults, so the port actually narrows the field. The right hunt pairs that with the console title and the 2022 device channel, so you are matching on the fingerprint and not just an open web port that thousands of unrelated servers share.

To list the servers themselves instead of the port rollup, drop the grouping:

list the active servers, newest first
SELECT ip, port, asn.name, asn.country_code, timestamp
FROM malware
WHERE malware.name = 'Hak5 Cloud C2'
  AND is_active = true
ORDER BY timestamp DESC

From any single server, pivot on the hosting ASN, the TLS certificate, and the console title to pull in related instances, including ones that moved the console to a non-default port but kept the 2022 channel.

Hunting guidance

Hunting guidance beyond the query

Start with the fingerprint rather than the port. A web service returning the Hak5 Cloud C² title is the primary signal, and a Go SSH listener on 2022 on the same host confirms it is a working server with a live device channel rather than a parked page. Either alone is a lead; together they are a confident identification.

Then widen the lens to your own exposure. Because the interesting case is a physical implant you did not authorize, the valuable follow-up is matching a discovered server against your address space, your cloud accounts, and your providers, and checking whether any device on your network has started beaconing outbound to one on port 2022. The server is visible from the internet, which is exactly why it is the easiest part of a Hak5 operation to catch first.

FAQ

Frequently asked questions

Is Hak5 Cloud C2 malware?

No. It is a legitimate, openly sold product that security teams use to manage Hak5 field devices during authorized testing. It is tracked as C2 infrastructure because the same server can sit behind an unauthorized physical implant, which makes finding and attributing one useful.

What ports does Hak5 Cloud C2 use?

The web console defaults to 8080 for HTTP and 443 for TLS, and enrolled devices phone home on port 2022. Operators can change these, but the 8080 and 443 console plus the 2022 device channel is the common pattern.

How do you identify a Hak5 Cloud C2 server?

Look for a web service titled Hak5 Cloud C² on 8080 or 443, and a Go SSH listener on port 2022 on the same host. The title alone can be copied, so the 2022 device channel is the stronger confirmation.

Why would I care about a Hak5 Cloud C2 server?

Because it is the control point for physical implants such as a WiFi Pineapple or Bash Bunny. If one is tied to your network or providers and no test is scheduled, it suggests someone planted hardware and is managing it remotely.

What devices does Cloud C2 manage?

Hak5 field gear, including the WiFi Pineapple, LAN Turtle, Packet Squirrel, Shark Jack, Bash Bunny, Key Croc, and Screen Crab. Each is provisioned with a configuration file that points it at the server.

Where do Hak5 Cloud C2 servers run?

Almost always on cloud hosting, since an operator stands the server up on a VPS so field devices can reach it from anywhere. In the current data the servers cluster on Amazon, Akamai, Oracle, and Vultr ranges.