Join our Newsletter — 33% off our NHI Course
Threats, Abuse & Incident Response

HTTP C2

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Threats, Abuse & Incident Response

HTTP C2 is command and control traffic that uses HTTP requests and responses between a controller and a compromised system. Attackers use normal-looking web traffic to send commands, receive data, and blend into allowed network activity, often over standard ports and paths.

What HTTP C2 Means in Practice

HTTP C2 is command and control traffic that deliberately looks like ordinary web activity. That means defenders should think about it as a disguise problem as much as a transport problem: the adversary is using a protocol that is usually allowed, heavily monitored, and common in business environments.

The danger is not HTTP itself, but the way it can carry command messages and exfiltrated data inside standard requests and responses. Because the traffic often resembles legitimate browsing, security teams may miss it if they rely only on port-based filtering or broad trust in web traffic.

Why HTTP C2 Blends In So Easily

HTTP C2 works because many networks permit outbound HTTP and HTTPS broadly, and many tools, users, and services generate similar-looking patterns. Attackers can vary headers, paths, timing, user agents, and payload encoding to make the exchange harder to distinguish from normal application traffic.

This matters most in environments where web traffic is already noisy. If a team treats “allowed web traffic” as inherently benign, command traffic can hide in plain sight, especially when it uses standard ports, common URL paths, or cloud-hosted infrastructure that looks routine from the outside.

The MITRE ATT&CK T1071 Application Layer Protocol guide is useful here because HTTP C2 is a classic example of command-and-control over an application-layer protocol.

How Defenders Spot and Contain It

Detection starts with context, not just packets. Security teams need asset inventory, proxy and DNS visibility, egress filtering, and logging that can correlate unusual destinations, uncommon request cadence, suspicious user agents, or repeated beacon-like communications. HTTP C2 often becomes easier to see when the network baseline is known well enough to expose what does not fit.

Containment usually means restricting where systems can reach, not just inspecting what they send. If outbound web access is over-permissive, an intruder has a wide set of paths for callbacks, staging, tasking, and data transfer. The right response often combines proxy enforcement, destination allowlisting, TLS inspection where appropriate, and tighter segmentation around high-value hosts.

T1572 Protocol Tunnelling Defensive Guide helps extend that view because some HTTP C2 is also wrapped inside tunnelling or proxy-abuse patterns that evade simple allow/deny thinking.

Why HTTP C2 Matters After Compromise

Once an attacker has a stable HTTP C2 channel, the compromise can persist quietly even when initial intrusion symptoms fade. The channel can support follow-on actions such as command execution, credential theft, lateral movement coordination, and staged exfiltration, all while looking like routine web sessions at a glance.

The post-compromise risk is therefore not just visibility loss, but control loss. If defenders do not identify the C2 path, they may clean up one foothold while leaving the operator’s access method intact, which can lead to reinfection, repeated tasking, or delayed discovery of broader intrusion activity.

The MITRE ATT&CK Enterprise Matrix is a useful reference for mapping HTTP C2 to the wider intrusion chain, including adjacent tactics that often appear before and after the command channel is established.

What Good Response Looks Like

Response is strongest when teams treat HTTP C2 as a network-and-host problem together. That means isolating affected systems, preserving proxy, DNS, endpoint, and firewall evidence, and checking for the binaries, scripts, scheduled tasks, browser processes, or service abuse that sustain the channel. If the channel is left intact, the compromise may survive even after the visible payload is removed.

Recovery should also include review of any credentials, tokens, API keys, or service accounts used from the compromised host, because HTTP C2 is often part of a broader access pattern rather than a standalone event. The operational goal is to remove the channel, verify the host is clean, and confirm the attacker has no remaining path back in.

NIST Cybersecurity Framework 2.0 supports the broader discipline here by reinforcing detection, response, and recovery as connected functions rather than isolated tasks.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1071 — Application Layer ProtocolHTTP C2 is command-and-control over a web application-layer protocol.
T1572 — Protocol TunnelingHTTP C2 may be wrapped in tunnelling or proxy-abuse patterns to evade controls.
Recommendation — Map beaconing and tasking over HTTP to T1071 and hunt for suspicious web traffic patterns. Investigate tunnelling indicators and tighten egress controls around suspicious web paths.
NIST CSF 2.0DE.CM-01 — Networks and network services are monitored to detect potential cybersecurity eventsHTTP C2 is exposed through abnormal network communications and beaconing.
RS.MA-01 — The incident response plan is executedHTTP C2 requires containment of active malicious communications during response.
RC.RP-01 — Recovery plan is executedPost-remediation validation is needed to ensure the C2 channel is fully removed.
Recommendation — Monitor network flows for anomalous HTTP patterns that indicate command-and-control activity. Execute containment playbooks that isolate the host and block the C2 path. Verify restored systems no longer contact the adversary infrastructure and are clean.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org