> ## Content Index
> Fetch the complete content index at: https://itstck.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Automating Great Firewall Evasion with LLMs and CircumVolve
- URL: https://itstck.com/automating-great-firewall-evasion-llms-circumvolve/
- Published: 2026-11-23T02:02:05.000Z
- Updated: 2026-11-23T02:02:05.000Z
- Author: dap
- Tags: #itstck

TL;DR

- **What occurred:** Researchers developed CircumVolve, an automated framework leveraging Large Language Models (LLMs) and closed-loop feedback to discover network censorship evasion techniques automatically.
- **Who authored it:** A collaborative research team from the University of Massachusetts Amherst, University of Colorado Boulder, and the Great Firewall Report, presented at the ACM Conference on Computer and Communications Security (CCS).
- **Core mechanics:** The framework models network blocking as discrete scenarios and generates executable Python scripts to mutate TCP/IP headers, exploit DNS parser ambiguities, and restructure encrypted QUIC Initial packets.
- **Economic impact:** Achieved first successful evasion across live nation-state middleboxes with a median API token cost under $1 using GPT-5.1.
- **Actionable takeaway:** Security engineers must harden network middlebox parsers against differential parsing vulnerabilities, align stateful reassembly logic with host protocol stacks, and deploy low-frequency anomaly telemetry.

In this article

1. [The Shift to Automated Censorship Evasion](#the-shift-to-automated-censorship-evasion)
2. [CircumVolve Architecture and Protocol Fuzzing Engine](#circumvolve-architecture-and-protocol-fuzzing-engine)
3. [Deep Packet Inspection Manipulation Strategies](#deep-packet-inspection-manipulation-strategies)
4. [Empirical Results Across Target Censorship Environments](#empirical-results-across-target-censorship-environments)
5. [Stealth Dynamics and Censorship Telemetry Risks](#stealth-dynamics-and-censorship-telemetry-risks)
6. [Defensive Implications for Network and Security Engineers](#defensive-implications-for-network-and-security-engineers)
7. [Step-by-Step Guidance for Network Protocol Security Testing](#step-by-step-guidance-for-network-protocol-security-testing)
8. [Common Mistakes in Middlebox Architecture](#common-mistakes-in-middlebox-architecture)
9. [Key Takeaways on LLM-Driven Network Research](#key-takeaways-on-llm-driven-network-research)
10. [Frequently asked questions](#frequently-asked-questions)
11. [Sources and further reading](#sources)

At the ACM Conference on Computer and Communications Security (CCS), organized by SIGSAC, researchers unveiled a research paper demonstrating how modern generative AI models can automate network protocol manipulation to defeat state-level Deep Packet Inspection (DPI). The framework, named CircumVolve, combines LLM code generation with an iterative, closed-loop evaluation harness to discover novel [llm censorship evasion](https://www.theregister.com/security/2026/11/23/1-of-gpt-51-tokens-finds-new-ways-around-chinas-great-firewall/5311532?ref=itstck.com) strategies across the full network stack. By framing protocol manipulation as a programmatic feedback problem, the system automates the reverse-engineering cycle that previously required manual PCAP inspection, protocol disassembly, and custom socket engineering.

The research—authored by six researchers across the University of Massachusetts Amherst, the University of Colorado Boulder, and the Great Firewall Report—exposes a profound economic asymmetry in modern network defense and censorship infrastructure. Using OpenAI’s GPT-5.1 model, CircumVolve identified functional circumvention strategies against nation-state middleboxes for a median API token cost of less than $1 per successful strategy. The research proves that state-funded DPI infrastructure costing tens of millions of dollars can be dynamically mapped and bypassed using low-cost inference combined with automated execution harnesses.

For network architects, protocol developers, and SREs responsible for boundary defenses, CircumVolve represents a shift in threat modeling. The techniques generated by the system do not rely on zero-day cryptographic breaks; instead, they exploit the architectural divergence between how intermediate security devices parse network protocols and how end-host protocol stacks process them. Defending against these AI-driven protocol mutations requires strict protocol parser hardening, precise state tracking, and telemetry tuned for low-volume, automated probing activity.

## The Shift to Automated Censorship Evasion

Historically, discovering protocol-level evasion techniques against advanced censorship systems like China’s Great Firewall (GFW) or Iran’s Smart Filtering architecture was a manual, resource-intensive discipline. Security researchers and internet freedom advocates had to manually capture network packets, analyze dropped or reset connections in Wireshark, form hypotheses about middlebox state tracking, and write custom packet craftets using low-level socket libraries. When censorship operators updated their signatures or state machines, this laborious reverse-engineering process had to begin anew.

This manual approach created a permanent operational advantage for censorship operators. State entities deploy dedicated engineering teams and high-throughput hardware middleboxes capable of performing stateful inspection, TCP reassembly, and Server Name Indication (SNI) filtering at wire speed. Anti-censorship developers, operating with limited resources, remained perpetually reactive, spending weeks identifying a single middlebox flaw that operators could patch with a signature update in hours.

The presentation of CircumVolve at ACM CCS marks the transition from manual protocol reverse engineering to automated, closed-loop protocol exploration. Developed by researchers from UMass Amherst, CU Boulder, and the Great Firewall Report, CircumVolve automates the entire discovery lifecycle across transport, session, and application layers. Instead of relying on human intuition to find protocol parsing edge cases, the system uses an LLM as a creative engine constrained by real-world network feedback.

**Research Background**

CircumVolve was presented at the ACM Conference on Computer and Communications Security (CCS), hosted by the Association for Computing Machinery’s Special Interest Group on Security, Audit and Control (SIGSAC). The collaboration brings together academic researchers and field practitioners from the Great Firewall Report who maintain live telemetry on state-level censorship infrastructure.

## CircumVolve Architecture and Protocol Fuzzing Engine

The core innovation of CircumVolve lies in its architectural decoupling of strategy generation, execution, and state evaluation. Rather than attempting to train a model end-to-end or relying on static prompt engineering, CircumVolve abstracts target middlebox behaviors into discrete scenario models. Each scenario captures the environment’s context, baseline protocol constraints (such as valid RFC state transitions), and the target’s specific blocking mechanics (such as TCP RST injection, HTTP Host header filtering, or SNI-based TLS connection drops).

The execution harness operates as an iterative feedback loop, converting abstract model outputs into physical network probes and feeding the results back into the model’s context window:

+-----------------------------------------------------------------------+
|                       CircumVolve Control Loop                        |
+-----------------------------------------------------------------------+
                                    |
                                    v
                       +-------------------------+
                       |   LLM Strategy Engine   |
                       |       (GPT-5.1)         |
                       +-------------------------+
                                    |
                                    | Generates executable
                                    | Python mutator code
                                    v
                       +-------------------------+
                       |    Execution Harness    |
                       |  (Raw Sockets / Scapy)  |
                       +-------------------------+
                                    |
                                    | Transmits mutated packets
                                    | across live network
                                    v
                       +-------------------------+
                       | Target Censorship Zone  |
                       | (Middlebox / DPI Engine)|
                       +-------------------------+
                                    |
            +-----------------------+-----------------------+
            |                                               |
            v                                               v
    [ Connection Blocked ]                         [ Connection Succeeded ]
    (TCP RST / Drop / Poison)                      (HTTP 200 / TLS Handshake)
            |                                               |
            v                                               v
+-------------------------+                         +-------------------------+
| Feedback Telemetry Generator                      | Strategy Verifier &     |
| (Captures PCAP/Errors)  |                         | Script Exporter         |
+-------------------------+                         +-------------------------+
            |                                               |
            +-----------------------+-----------------------+
                                    |
                                    v
                       +-------------------------+
                       | Update Scenario Prompt  |
                       | Context & Retry Iteration|
                       +-------------------------+

Within this loop, CircumVolve instructs the LLM to output fully executable, standalone Python programs rather than passive configuration rules or abstract descriptions. These Python scripts utilize low-level networking primitives—often interfacing with Linux raw sockets (\`AF\_PACKET\` or \`SOCK\_RAW\`) or \`scapy\` abstractions—to construct and inject custom network frames directly onto the wire.

The system constantly balances two competing objectives: **protocol correctness** and **strategic protocol violation**. If a generated Python script violates protocol standards too egregiously (e.g., corrupting an essential TCP header length field beyond kernel comprehension), the destination server’s TCP stack will drop the frame, resulting in connection failure regardless of middlebox behavior. Conversely, if the packet adheres perfectly to standard RFC implementations, the middlebox’s default DPI rules will inspect and block the payload. CircumVolve searches for the structural boundary zone—exploiting differential parsing where the middlebox ignores or misinterprets an anomaly while the target destination server tolerates and correctly processes it.

## Deep Packet Inspection Manipulation Strategies

CircumVolve operates across multiple layers of the OSI stack, generating targeted mutations designed to exploit specific state-tracking and packet-parsing weaknesses in middlebox architecture. The strategies generated by the framework fall primarily into three protocol domains: TCP/IP header manipulation, DNS parser ambiguity exploitation, and QUIC packet structural modification.

### 1\. TCP/IP Header Field Rewriting Dynamics

Stateful DPI middleboxes maintain tracking tables to monitor TCP connection states (e.g., SYN, SYN-ACK, ESTABLISHED). To handle multi-gigabit line rates, middleboxes frequently implement shortcut processing paths or aggressive resource reclamation timeouts. CircumVolve’s generated Python scripts exploit these trade-offs by applying low-level IP and TCP header modifications:

- **TTL Splitting and Hop Limit Expiry:** Generating packets with reduced Time To Live (TTL) values such that the packet reaches and satisfies a stateful inspection middlebox (or deliberately expires right before reaching it), followed immediately by a modified payload intended for the destination host.
- **TCP Window Size Manipulation:** Setting the TCP Advertised Window size to extremely small values (e.g., 1 to 4 bytes) in the initial SYN packet. This forces the destination server to issue tiny TCP window updates, compelling the application layer to segment TLS ClientHello payloads across dozens of micro-packets, blinding middleboxes that lack full TCP stream reassembly buffers.
- **Checksum Corruption and Offloading Exploits:** Injecting invalid TCP checksums into decoy packets containing sensitive keywords (such as blocked hostnames). Certain middleboxes skip checksum verification to preserve processing overhead and register a connection teardown, whereas the destination host’s network interface card (NIC) or kernel drops the corrupted packet silently.
- **TCP Segmentation and Out-of-Order Injection:** Splitting the TLS ClientHello across fragmented TCP segments transmitted out of order, combined with overlapping sequence numbers containing garbage data that intermediate parsers accept but end-host TCP reassembly layers discard.

### 2\. Exploiting DNS Query Parser Ambiguities

Middleboxes targeting DNS traffic monitor UDP port 53 to block resolution of restricted domain names through DNS response spoofing or request dropping. CircumVolve targets vulnerabilities in middlebox DNS message parsing logic:

- **EDNS0 Option Padding and Pseudo-RR Manipulation:** Inserting custom, unexpected Extension Mechanisms for DNS (EDNS0) option codes within the additional records section. Middleboxes with rigid packet parsers fail to deserialize the modified DNS frame and pass it uninspected, while fully RFC 6891-compliant DNS resolvers process the query normally.
- **Case Randomization (0x20 Encoding):** Randomly altering the character casing of domain labels (e.g., \`eXamPLe.CoM\`). Compliant resolvers match queries case-insensitively, whereas naive middlebox regex engines matching static domain strings fail to trigger blocking rules.
- **Pointer and Label Ambiguities:** Modifying compression pointers and label length bytes inside the DNS question section to confuse middlebox offset calculators without violating DNS wire format specifications.

### 3\. Structural Modifications to Encrypted QUIC Initial Packets

As modern web traffic shifts to HTTP/3 and QUIC (RFC 9000), censorship operators have adapted by inspecting the unencrypted TLS 1.3 ClientHello embedded inside the QUIC \`Initial\` packet. Because QUIC runs over UDP and encrypts most frame headers, middleboxes rely heavily on early header parsing to identify connection attempts.

CircumVolve generates Python scripts that manipulate the internal frame organization of QUIC Initial packets without breaking the outer QUIC transport protocol:

| QUIC Structural Feature           | Standard RFC 9000 Behaviour                                        | CircumVolve Mutation Vector                                                                                      | Middlebox Parser Impact                                                                                        |
| --------------------------------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| **Padding Frames (\`PADDING\`)**  | Appended at packet end to reach 1200-byte minimum UDP payload.     | Prepended before \`CRYPTO\` frames or interleaved between transport parameter extensions.                        | Causes simple DPI offsets to miscalculate the location of the TLS ClientHello payload inside the UDP datagram. |
| **\`CRYPTO\` Frame Segmentation** | Sends TLS ClientHello within a single contiguous \`CRYPTO\` frame. | Splits the TLS ClientHello across multiple \`CRYPTO\` frames inside a single or sequential QUIC Initial packets. | Middleboxes lacking full QUIC stream reassemblers fail to extract the complete Server Name Indication (SNI).   |
| **Transport Parameter Padding**   | Contains standard client QUIC parameters (e.g., initial max data). | Injects large, unknown custom transport parameter IDs populated with randomized bytes.                           | Exceeds middlebox buffer parsing limits, causing the parser to fail-open or abort inspection.                  |
| **Token Field Manipulation**      | Zero-length or server-provided address validation token.           | Injects arbitrary structural bytes inside variable-length token fields during initial connection attempts.       | Triggers length verification logic flaws in non-compliant UDP packet inspection engines.                       |

## Empirical Results Across Target Censorship Environments

The researchers evaluated CircumVolve across both controlled laboratory environments (simulated censorship testbeds) and live, production cloud Virtual Private Servers (VPS) located behind four active state censorship regimes: China, Iran, Pakistan, and Kazakhstan. These locations represent diverse operational architectures, ranging from China’s central, highly stateful infrastructure to Kazakhstan’s localized national certificate inspection and IP blocking systems.

The system achieved high success rates across all target environments. Notably, when utilizing OpenAI’s GPT-5.1 as the underlying LLM strategy engine, CircumVolve reached a median token expenditure cost of under $1 USD to discover its first functional, verified evasion strategy against live censorship infrastructure.

```bash
# Example benchmark representation of strategy evaluation metrics
# Target: Production Middlebox - China VPS Endpoint (GFW SNI Filtering)
# Model: GPT-5.1 | Strategy Output: Executable Python Socket Mutator

[+] Iteration 1: Standard TLS ClientHello                     -> RESULT: TCP RST Received (Blocked)
[+] Iteration 2: Split SNI across 2 TCP Segments               -> RESULT: TCP RST Received (DPI Reassembled)
[+] Iteration 3: Low-TTL Decoy SYN + Split ClientHello          -> RESULT: Timeout / Dropped
[+] Iteration 4: TCP Window Size = 2 + Split CRYPTO Frame      -> RESULT: HTTP/2 200 OK (EVASION SUCCESSFUL)

[-] Metrics Summary:
    Total Iterations to First Evasion: 4
    Elapsed Time: 138 seconds
    Total Outbound Data: 76.4 KB
    Total Inbound Data: 142.1 KB
    Cumulative API Token Cost: $0.42 USD

```

The network footprint during evaluation was minimal. Across experimental runs, CircumVolve maintained strict transmission boundaries to preserve operational bandwidth limits, generating approximately 80 KB of outgoing network data and receiving 150 KB of incoming data per evaluation cycle. This minimal data volume demonstrates that broad-spectrum protocol fuzzing and dynamic strategy generation do not require high-bandwidth brute-force flooding; rather, success relies on precise protocol field mutations.

While the study published overall efficacy and monetary cost metrics, specific implementation parameters were omitted from public release. The specific system prompts, contextual system instructions, and token generation parameters used to guide GPT-5.1 were not disclosed in the published paper. Furthermore, the precise internal software architecture of CircumVolve’s execution harness and prompt management engine remains proprietary to the research team.

## Stealth Dynamics and Censorship Telemetry Risks

Operating an automated discovery framework against live nation-state censorship infrastructure introduces significant operational security (OpSec) risks. Censorship middleboxes are rarely passive observers; they are linked to security operations centers (SOCs) and automated dynamic signature update engines capable of detecting anomalous network probing.

To minimize detection and avoid triggering automated IP blacklisting or dynamic threat mitigation rules, CircumVolve incorporates explicit temporal and spatial stealth controls:

- **Temporal Pacing:** The execution harness enforces mandatory inter-test delays ranging between 25 and 45 seconds between sequential probe iterations. This breaks automated timing correlation engines that flag high-frequency port or protocol scanners.
- **Bandwidth Suppression:** By strictly constraining total test payload volumes to approximately 80 KB outbound and 150 KB inbound, probes remain well below the volume thresholds that trigger automated NetFlow/IPFIX anomaly alerts.
- **Targeted Execution:** Probes generate only the minimal protocol handshake necessary to verify whether a middlebox block mechanism was triggered (e.g., verifying receipt of an injected TCP RST versus a completed TLS server handshake) before gracefully terminating the socket connection.

**Operational Risk Warning**

Automated probing against state-level network infrastructure carries inherent active surveillance risks. Censorship operators regularly analyze dropped packet queues and may perform active probing back to the client IP address to classify the probing tool or fingerprint the source host operating system. Deploying automated evasion probes without strict proxy isolation or anonymous endpoint routing exposes test infrastructure to dynamic IP blocking and surveillance profiling.

Despite these controls, an operational trade-off exists between discovery speed and stealth. Increasing inter-test pause durations reduces the probability of triggering dynamic middlebox firewall rules, but increases total evaluation time and API session length. Furthermore, whether target censorship operators have updated their static detection signatures or deployed dynamic behavioral tracking rules in response to published CircumVolve test patterns has not been publicly confirmed or disclosed by censorship operators.

## Defensive Implications for Network and Security Engineers

The results of the CircumVolve research have immediate security implications that extend beyond state censorship bypass. The techniques generated by LLM-based feedback loops exploit fundamental parser ambiguities inherent in network middleboxes—including commercial Intrusion Prevention Systems (IPS), Next-Generation Firewalls (NGFW), Web Application Firewalls (WAF), and enterprise proxy appliances.

When an enterprise middlebox optimizes for throughput by using permissive parsing or fast-path packet handling, it creates a **differential parsing gap**. If an attacker crafts a packet sequence that the enterprise IPS fails to parse (and thus passes uninspected) but the internal destination server (e.g., a Linux NGINX instance or Windows IIS server) reassembles and executes, the enterprise security perimeter is compromised.

+-----------------------------------------------------------------------+
|                     Differential Parsing Exploit                      |
+-----------------------------------------------------------------------+

      Mutated Packet (e.g., Malformed TCP Options / QUIC Padding)
                                  |
                                  v
                  +-------------------------------+
                  |  Enterprise IPS / Security    |
                  |          Middlebox            |
                  +-------------------------------+
                                  |
            +---------------------+---------------------+
            |                                           |
            | Permissive / Fast-Path                    | Strict / Tolerant
            | Parser Failure                            | OS Kernel Reassembly
            v                                           v
  [ Fails to Parse Payload ]                 [ Reassembles Payload ]
  [ Passes Traffic Uninspected ]             [ Executes Attack Vector ]
            |                                           |
            +---------------------+---------------------+
                                  |
                                  v
                  +-------------------------------+
                  |  Internal Destination Server  |
                  |     (Compromised Endpoint)    |
                  +-------------------------------+

To mitigate these parser ambiguity vulnerabilities, network engineers and platform architects should implement the following hardening practices:

### 1\. Strict Protocol Normalization

Middleboxes must enforce strict RFC protocol compliance at the ingress boundary before passing traffic to high-layer inspection engines. Out-of-spec packet options, invalid TCP checksums, reserved flag mutations, and structural anomalies must be normalized or dropped immediately at the network edge via eBPF/XDP or hardware offload engines, rather than passed uninspected through fast-path bypass routes.

### 2\. Aligning Middlebox and Host Reassembly Mechanics

Security appliances must implement TCP stream reassembly and QUIC frame parsing algorithms that exactly mirror the reassembly behavior of downstream host operating system kernels. If a middlebox drops TCP segments with overlapping sequence numbers using a different overlap resolution strategy than the Linux kernel (\`tcp\_input.c\`), an attacker can exploit this discrepancy to mask malicious payloads from IPS detection.

### 3\. Hardening DNS and QUIC Parsers

Parsers handling binary protocols must be explicitly tested against malformed length fields, unknown extension types, and fragmented frames. DNS middleboxes must strictly validate EDNS0 option blocks and reject queries containing structurally invalid pointer fields. QUIC parsers must support full frame reassembly across initial packets to accurately process fragmented \`CRYPTO\` payloads before making access decisions.

## Step-by-Step Guidance for Network Protocol Security Testing

To identify and remediate middlebox parser vulnerabilities within enterprise networks, security teams should implement systematic protocol stress-testing routines. The following diagnostic workflow allows engineers to evaluate whether security infrastructure is susceptible to packet manipulation evasion vectors.

### Step 1: Audit Middlebox TCP Reassembly with Scapy

Execute targeted Python diagnostic scripts inside a isolated staging network to evaluate how edge middleboxes handle non-standard TCP segmentation and overlapping payloads. Always perform these tests in non-production environments.

```python
#!/usr/bin/env python3
# Protocol Diagnostic Tool: Middlebox TCP Segment Overlap Evaluator
# Safe for diagnostic staging environments - DO NOT RUN IN PRODUCTION

import sys
import time
from scapy.all import IP, TCP, send, sr1

def test_tcp_overlap(target_host, target_port):
    print(f"[*] Testing TCP differential parsing against {target_host}:{target_port}")
    
    # Base IP and TCP parameters
    src_port = 49152
    seq_base = 1000
    
    # 1. Send SYN
    ip_pkt = IP(dst=target_host)
    syn_pkt = ip_pkt/TCP(sport=src_port, dport=target_port, flags="S", seq=seq_base)
    syn_ack = sr1(syn_pkt, timeout=3, verbose=False)
    
    if not syn_ack or not syn_ack.haslayer(TCP) or syn_ack.getlayer(TCP).flags != "SA":
        print("[!] Target did not respond with SYN-ACK. Aborting.")
        return

    ack_seq = syn_ack.getlayer(TCP).seq + 1
    my_seq = seq_base + 1
    
    # 2. Send ACK to establish connection
    ack_pkt = ip_pkt/TCP(sport=src_port, dport=target_port, flags="A", seq=my_seq, ack=ack_seq)
    send(ack_pkt, verbose=False)
    
    # 3. Transmit overlapping, conflicting payload segments
    # Segment A: Sends harmless keyword with sequence offset
    seg_a = ip_pkt/TCP(sport=src_port, dport=target_port, flags="PA", seq=my_seq, ack=ack_seq)/b"GET /INDEX HTTP/1.1\r\n"
    # Segment B: Sends distinct payload overlapping the same sequence space
    seg_b = ip_pkt/TCP(sport=src_port, dport=target_port, flags="PA", seq=my_seq, ack=ack_seq)/b"GET /BLOCKED HTTP/1.1"
    
    print("[*] Injecting segmented overlapping frames...")
    send(seg_a, verbose=False)
    send(seg_b, verbose=False)
    print("[+] Transmission complete. Check middlebox logs for proper anomaly detection.")

if __name__ == "__main__":
    if len(sys.argv) < 3:
        print(f"Usage: {sys.argv[0]} <target_ip> <target_port>")
        sys.exit(1)
    test_tcp_overlap(sys.argv[1], int(sys.argv[2]))

```

### Step 2: Detect Low-Frequency Evasion Telemetry with Suricata

Deploy custom Suricata intrusion detection rules designed to flag non-standard QUIC padding structures and abnormal EDNS options, which are characteristic of automated evasion framework probing activity.

```bash
# Add custom rules to /etc/suricata/rules/local.rules
# Rule 1: Detect QUIC Initial packets with anomalous prepended PADDING frames
alert udp $HOME_NET any -> $EXTERNAL_NET 443 (msg:"PROTOCOL-OTHER Malformed QUIC Initial Padding Structure"; content:"|0c|"; depth:1; offset:0; byte_test:1,>,0,1,relative; sid:9000001; rev:1;)

# Rule 2: Detect DNS queries containing non-standard EDNS0 option codes
alert udp $HOME_NET any -> $EXTERNAL_NET 53 (msg:"PROTOCOL-DNS Query with Anomaly EDNS0 Options"; content:"|00 00 29|"; content:"|00 0f|"; distance:0; sid:9000002; rev:1;)

```

After editing the rules file, reload Suricata without dropping connections in staging environments:

```bash
# Reload Suricata rule set gracefully (Test in staging first)
sudo suricatasc -c reload-rules
sudo tail -f /var/log/suricata/fast.log | grep -E "PROTOCOL-OTHER|PROTOCOL-DNS"

```

### Step 3: Monitor Low-Volume Anomalous Probes using eBPF / bpftrace

Utilize \`bpftrace\` to trace unusual TCP window size conditions directly at the Linux kernel network subsystem layer. This identifies clients attempting micro-segmentation tactics designed to bypass middlebox inspection.

```bash
# Trace TCP connections where the client advertises an unnaturally low window size (< 10 bytes)
sudo bpftrace -e '
kprobe:tcp_select_window
{
    $sk = (struct sock *)arg0;
    $tp = (struct tcp_sock *)$sk;
    $win = $tp->rcv_wnd;
    if ($win > 0 && $win < 10) {
        time("%H:%M:%S ");
        printf("Anomalous TCP Window Detected: Size=%d Bytes\n", $win);
    }
}'

```

## Common Mistakes in Middlebox Architecture

When defending enterprise networks against protocol-level evasion techniques, engineering teams frequently make critical design assumptions that create security gaps:

- **Assuming Full TCP Reassembly in Line-Rate Firewalls:** Believing that high-throughput inline firewalls perform full stateful TCP stream reassembly on all port 80/443 traffic by default. To maintain wire speed under load, many middleboxes fall back to fast-path packet inspection, leaving them vulnerable to out-of-order segment insertion.
- **Relying Exclusively on Static SNI Inspection:** Depending strictly on plain-text Server Name Indication (SNI) string parsing in TLS handshakes. CircumVolve demonstrates that manipulating TCP segment bounds or QUIC Initial frame offsets easily breaks static string matchers while remaining fully readable to destination web servers.
- **Failing to Normalize Out-of-Spec Headers at Ingress:** Permitting incoming packets with invalid TCP flags, conflicting sequence numbers, or malformed protocol extension blocks to pass through to internal networks instead of dropping them at the edge router or eBPF filter layer.
- **Overlooking UDP/QUIC Frame Padding Anomalies:** Assuming encrypted protocols like HTTP/3 cannot be inspected or altered. Middleboxes must enforce strict bounds checking on unencrypted QUIC transport parameters and Initial frame structures.

## Key Takeaways on LLM-Driven Network Research

The release and demonstration of CircumVolve at ACM CCS highlight a permanent change in how network security research is conducted. The integration of LLMs with automated execution harnesses represents a structural shift in both offensive and defensive engineering:

- **Democratisation of Evasion Discovery:** CircumVolve removes the technical barrier to entry for discovering protocol evasion vectors. Under-resourced internet freedom organisations can now systematically identify middlebox vulnerabilities that previously required dedicated, highly specialized reverse-engineering teams.
- **Economic Asymmetry:** The ability to discover functional evasion techniques for under $1 in API token costs upends the traditional economic balance between censorship operators and researchers. State-level censors investing millions in dedicated DPI hardware can no longer rely on static signatures or high costs of discovery to protect their blocking infrastructure.
- **Dual-Use Engineering Realities:** The exact strategies CircumVolve uses to bypass state censorship can be repurposed by threat actors to bypass enterprise security middleboxes, IPS sensors, and WAF boundaries. Defensive network engineers must treat parser hardening as a primary security requirement.
- **The Emerging AI Protocol Arms Race:** As offensive discovery moves to real-time, LLM-driven feedback loops, middlebox manufacturers and censorship operators will inevitably deploy AI-driven analysis engines to detect, classify, and dynamically patch protocol parsing anomalies in real time.

## Frequently asked questions

### What is CircumVolve and how does it evade network censorship?

CircumVolve is an automated framework presented at ACM CCS that uses LLMs combined with a closed-loop execution harness to discover network censorship evasion techniques. It models censorship mechanisms as discrete scenarios and generates executable Python scripts that perform low-level packet manipulations across TCP/IP headers, DNS queries, and encrypted QUIC Initial packets to bypass Deep Packet Inspection middleboxes.

### Which nation-state censorship systems were tested during the CircumVolve evaluation?

The research team evaluated CircumVolve against simulated censorship testbeds as well as live cloud Virtual Private Servers (VPS) deployed in China, Iran, Pakistan, and Kazakhstan. The system successfully discovered functional evasion vectors across these diverse inspection environments using real-world network traffic.

### How does CircumVolve manipulate encrypted protocols such as QUIC?

CircumVolve manipulates QUIC by modifying the unencrypted structural components of QUIC Initial packets (RFC 9000). It alters padding frame placement, splits TLS ClientHello payloads across multiple CRYPTO frames, prepends randomized transport parameters, and mutates token fields. This causes middlebox parsers to fail while allowing target endpoints to decrypt and establish the session correctly.

### What was the token cost efficiency when evaluating GPT-5.1 for protocol evasion?

Using OpenAI’s GPT-5.1 model as its strategy generation engine, CircumVolve achieved a median API token expenditure cost of under $1 USD per first successful evasion strategy against live target middleboxes. The system achieved these results while maintaining a light network traffic footprint of approximately 80 KB outbound and 150 KB inbound per testing iteration.

## Sources and further reading

- [$1 of GPT-5.1 tokens finds new ways around China’s Great Firewall](https://www.theregister.com/security/2026/11/23/1-of-gpt-51-tokens-finds-new-ways-around-chinas-great-firewall/5311532?ref=itstck.com) (The Register · Security)

*This article was drafted with AI assistance from the publicly cited sources and passed automated checks for structure and sourcing. Verify critical details against the vendor advisories linked above before acting.*