← Back to blog
Blog Detail

HTTP/3 C2 Detection: Testing Whether Your Egress Telemetry Sees QUIC RAT Traffic

Unit 42's HTTP/3 RAT campaign makes one question testable: if a QUIC client started beaconing from an internal host, which log would show it? Run a controlled QUIC endpoint against a TCP/443 control and compare the evidence.

Trusteed Team
Trusteed Editorial
Written On
Nov 17, 2026
Category
Research
Read Time
8 min read
  • HTTP/3
  • QUIC
  • C2 Detection
  • Egress Filtering
  • Network Telemetry
  • Threat Hunting
HTTP/3 C2 Detection: Testing Whether Your Egress Telemetry Sees QUIC RAT Traffic

HTTP/3 C2 Detection: Testing Whether Your Egress Telemetry Sees QUIC RAT Traffic

TL;DR

Unit 42's writeup on PerfectPioneer and the modular KUKURAT shows an espionage crew running command-and-control over HTTP/3, which most enterprise egress stacks record as an opaque UDP flow. The testable hypothesis is narrow: if a new QUIC client started beaconing from an internal host this afternoon, which of your logs would name it? You can settle that in an afternoon with a QUIC listener you control, a TCP/443 control connection to the same IP, and a side-by-side read of flow records, IDS output, and proxy logs. If the TCP control produces an L7 record with a hostname and the QUIC flow produces only a byte count, you have a proven visibility gap — not a theoretical one.

What this is

HTTP/3 C2 means command-and-control carried over HTTP/3, which runs on QUIC over UDP/443. QUIC is an encrypted general-purpose transport: the TLS 1.3 handshake happens inside it, streams are multiplexed, and connections survive address changes. The practical consequence for a defender is that past the handshake, a passive sensor sees ciphertext and packet timing — the same view it would have of any encrypted tunnel it cannot terminate.

An egress visibility gap is the finding type here: a protocol path that is permitted by policy, present in flow data, and absent from every log that would let you attribute or alert on it. That is different from "we have no QUIC detection rules." It is the proof that a specific host, on a specific segment, can hold a conversation with the internet that your SOC cannot describe.

Why it matters

Most enterprise egress control was built around TCP. Proxies, TLS interception, URL filtering, and a large share of IDS signatures assume a TCP stream with an inspectable handshake. UDP/443 gets one of two treatments in practice: it is blocked outright, or it is allowed because something in the business needed it and the flow was never instrumented afterward.

The Unit 42 report matters because it moves the attacker onto the second path deliberately. A RAT that speaks HTTP/3 does not need a domain-fronting trick or an unusual port; it needs the same UDP/443 permission that a video call or a browser already has. The affected population is not only government networks in the region — it is any environment where a server VLAN, CI runner, or developer laptop can send UDP/443 to arbitrary destinations.

What fails if you ignore it is the detection window, not the firewall. A beacon that runs for days generates flow records nobody reads, while the first real signal arrives from endpoint telemetry, a third-party tip, or an incident. You cannot scope what you never recorded.

How it works

Per the Unit 42 research, the campaign deploys PerfectPioneer and the modular KUKURAT, with HTTP/3 used as a stealth C2 channel against Southeast Asian government targets. The tradecraft point that transfers to your environment is the transport choice, so treat the family details as the campaign context and the QUIC behavior as the thing you test.

What an observer can still recover:

  • QUIC client Initial packets are padded to at least 1200 bytes and carry the TLS ClientHello, including SNI and the h3 ALPN.
  • Initial keys are derived from the Destination Connection ID and a version salt, so an on-path sensor that reads the DCID can decrypt the Initial and compute a JA3-/JA4-style client fingerprint.
  • After the handshake, 1-RTT packets use keys derived from the TLS secrets. Byte counts, direction, cadence, and packet sizes remain; URLs, headers, and payload do not.

What that means for detection: the interesting artifacts are all at the start of the connection and in the shape of the traffic afterward. A RAT's QUIC stack is a library — quic-go, msquic, aioquic, ngtcp2 — and its ClientHello, transport parameters, and initial packet sizing frequently do not match the browser it is pretending to be.

There is no patch level to check here. This is a policy-and-telemetry condition rather than a CVE, so the validation work is a controlled test rather than a version comparison. Cite the campaign to your firewall and detection teams, then go measure.

Detection and response

When a report like this lands, the wrong first question is "do we have the hashes?" The useful one is "which log would show a new QUIC client on this network tomorrow?" Walk the telemetry stack in order:

  • Flow (NetFlow/IPFIX): does UDP/443 appear at all, with byte counts and duration? Long-lived, low-volume, fixed-interval flows to a single IP are the shape you are hunting.
  • IDS/NSM: is the QUIC parser enabled, and does it emit ALPN, SNI from the decrypted Initial, and a client fingerprint? A parser that is installed but disabled produces the same evidence as no parser.
  • NGFW app-ID: does the policy identify quic/http3 as an application, or fall through to unknown-udp? Is the action log-only, and does anyone read that log?
  • Proxy: absence is the signal. A host pushing megabytes to UDP/443 with zero corresponding proxy entries in the same hour is a candidate.
  • EDR: process-level network events. Which binary opened the UDP socket, and does it normally speak QUIC?
  • DNS: a "web" flow to a literal IP with no preceding lookup is a cheap, high-signal filter.

Build one query and keep it: internal hosts with sustained UDP/443 egress and no proxy record for the same window. (Illustrative example — tune the threshold to your own baseline before you alert on it.)

Comparison card: one internal host reaching the same destination IP over TCP/443 produces a proxy log, URL category and SNI event, while over UDP/443 (QUIC) it produces only a byte-count flow record and an empty SIEM query — the missing log entry is the evidence.

What to do

  1. Get the actual egress rule, not the intent. Ask the firewall team for the UDP/443 policy per segment. "Outbound 443" often means both protocols whether or not anyone decided that.
  2. Stand up a QUIC endpoint you control. A small VPS running an HTTP/3 server on UDP/443 is enough. Note its IP and ASN so you can find it in logs later.
  3. Run the control first. From an internal host, request the endpoint over TCP/443 and confirm what the stack records: proxy entry, SNI, category, IDS event.
  4. Run the QUIC test. Same host, same destination, HTTP/3 only. Then repeat from a server VLAN and a CI or container egress path — those are the segments where UDP/443 is usually less reviewed.
  5. Compare the artifacts side by side.
Signal TCP/443 control UDP/443 test
Flow record yes, port 443/tcp yes, port 443/udp
Proxy log hostname and category typically nothing
IDS L7 SNI, certificate metadata ClientHello only, if the QUIC parser is on
EDR event process and remote IP process and remote IP
  1. Test the alerting, not just the visibility. Write a rule that fires on a QUIC client fingerprint or destination ASN your environment never uses, and confirm it fires on your test endpoint.
  2. Choose a posture and document the residual. Either block UDP/443 except to approved destinations — which forces most applications back to TCP and the inspected path — or allow it and instrument it with flow baselines and fingerprinted alerts. Both are defensible; leaving it uninstrumented is not.
  3. Attach evidence to the finding. The pcap, the flow record with no L7 metadata, the empty SIEM query, and the time window. That is what a second researcher can check.

FAQ

Does blocking UDP/443 break applications? Most client software falls back to TCP when QUIC fails, which routes it through your existing inspection. Test with a pilot group and measure connection latency before you enforce broadly, and keep an exception list for anything that genuinely requires QUIC.

Can TLS inspection see HTTP/3? Standard interception is built around TCP streams. Some vendors document QUIC handling, but verify the specific capability against your controlled endpoint rather than a datasheet line — and confirm whether the session is decrypted or merely allowed.

Is HTTP/3 C2 detectable at all? Yes, at the metadata layer. You get the destination, the cadence, the byte ratio, the client fingerprint from the Initial packet, and endpoint process attribution. You do not get the payload, so detection design has to shift from content to behavior.

What is the difference between QUIC and HTTP/3? QUIC is the transport (RFC 9000, with TLS integrated per RFC 9001); HTTP/3 is the application mapping on top of it (RFC 9114). A RAT can use QUIC without speaking HTTP/3 at all, which is why transport-level visibility matters more than an HTTP/3 signature.

Do I need a QUIC-capable IDS to find this? It helps, but a flow baseline plus a written egress policy catches most of the gap. Start with the query that finds UDP/443 egress without a matching proxy record.

Sources

Join Our Newsletter

Trusteed keeps you informed: emerging risks, platform updates, and practical guides for faster defense.