Reduce the risk by enforcing secure transport, validating allowed protocols and destinations, and inspecting web traffic for abnormal user agents, tunnelling, or beaconing. Block unauthorised HTTP methods and legacy protocols where they are not needed, and proxy outbound web access so sessions can be logged and filtered. Review systems that use web protocols for command-and-control.
How web protocol risk gets reduced in practice
The first control is narrowing what “web protocols” are allowed to do. That means permitting only the transports, destinations, and methods the business actually needs, then forcing all other outbound web traffic through a proxy or filtering layer so it can be inspected, logged, and blocked when it behaves like abuse rather than ordinary browsing.
A useful distinction is between legitimate application traffic and traffic that only looks like web traffic. Security teams need to treat tunnelling, command-and-control beacons, and unusual user agents as protocol abuse patterns, not just as “strange requests”, because those patterns often exist precisely to blend in with normal HTTP or HTTPS.
Protocol reduction also includes shutting down legacy or rarely used web behaviours. If a system does not need certain HTTP methods, legacy protocols, or direct internet access, remove them rather than relying on detection alone. That keeps the attack surface smaller and makes malicious use of web protocols easier to spot when it does appear.
When web protocols are used as part of command-and-control, the control objective is not only to block the obvious malicious destination. It is to identify systems whose outbound sessions, user agents, or request cadence do not match expected application behaviour, then review whether those systems are using web traffic as an escape path around normal security controls.
What to validate before you trust the control
Filtering only works if destination policy is explicit and maintained. Teams should know which domains, paths, ports, and methods are permitted for each class of system, and they should verify that any proxy or gateway can actually see the traffic that matters, including encrypted web sessions where inspection is expected.
It also matters whether the control is applied consistently across user endpoints, servers, automation hosts, and cloud workloads. A partial rollout often leaves the most valuable systems with direct internet access, which is exactly where protocol abuse and covert exfiltration tend to survive.
Command and Control (C2) Guide is the best internal reference when the question is really about spotting beaconing, tunnelling, and web-based C2 patterns that hide inside normal outbound traffic.
For destination governance, protocol registries and port assignments should be treated as reference data, not assumptions. When a control depends on “standard web behaviour”, the allowed set must be defined clearly enough that unusual protocol use can be distinguished from approved application traffic.
Where web protocol abuse usually slips through
The most common failure is allowing broad outbound web access and expecting signature-based detection to catch misuse later. That approach misses low-and-slow beaconing, custom user agents, domain fronting, and web tunnelling that intentionally resembles legitimate browsing.
Another common gap is over-trusting HTTPS. Encrypting traffic reduces visibility unless the environment has a deliberate inspection point, but decryption alone is not enough. You still need behavioural checks for destination reputation, session patterns, request timing, and protocol anomalies that indicate abuse.
Failure mechanism: Attackers and malware exploit the fact that web traffic is widely permitted, then hide command-and-control or data transfer inside ordinary-looking HTTP or HTTPS sessions, often using uncommon methods, benign-looking user agents, or proxy evasion.
Impact: The environment can lose outbound visibility, allow covert control channels to persist, and let compromised systems communicate or exfiltrate data without standing out in normal monitoring.
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 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1071.001 — Web Protocols | Web protocol abuse and C2 traffic are central to the question. |
| Recommendation — Monitor and restrict web-protocol C2 patterns, including beaconing, tunnelling, and unusual user-agent activity. | ||
| NIST CSF 2.0 | PR.DS-2 — Data-in-Transit is Protected | Secure transport and inspected outbound web sessions are core mitigations here. |
| DE.CM-01 — Networks and Network Services Are Monitored to Find Potentially Adverse Events | Detecting abnormal user agents, beaconing, and tunnelling depends on network monitoring. | |
| Recommendation — Enforce protected transport and approved outbound channels for web traffic. Monitor web sessions for protocol anomalies, unusual destinations, and beaconing. | ||
| NIST SP 800-53 Rev 5 | SC-7 — Boundary Protection | Proxying and filtering outbound web access is boundary protection for web protocols. |
| SI-4 — System Monitoring | Inspecting web traffic for anomalous methods, user agents, and tunnelling is monitoring work. | |
| Recommendation — Route outbound web traffic through managed boundary controls and block unauthorized paths. Inspect and alert on abnormal web protocol use that may indicate compromise or covert communication. | ||
Practitioner Guidance
What to prioritise: Start with outbound web control points on systems that should not browse freely, especially servers, build systems, and automation hosts. Those are the places where a web protocol exception is most likely to become a covert access path rather than a user convenience.
What to verify: Confirm that proxy logs, DNS visibility, and web filtering are correlated well enough to show which host made the request, where it went, and whether the traffic pattern is consistent with the host’s role. If you cannot tie a session back to a known business use, treat it as a review item rather than a benign outlier.
Common mistake: Blocking one suspicious domain while leaving the underlying protocol pathway open. That reduces noise temporarily, but it does not remove the method an attacker can reuse with a different destination.
Practitioner takeaway: The strongest mitigation is not “stop all web traffic”, it is “make web traffic predictable enough that anything unusual becomes actionable”. If your controls cannot explain the session, the destination, and the expected business purpose, the protocol path is still too permissive.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org