The attack that made strangers’ browsers do the typing

At roughly 02:00 UTC on 26 March 2015, GitHub did not simply meet a botnet. It met a crowd of innocent browsers drafted into a fight they never joined. A user opened an unrelated page. The page fetched an unencrypted third-party resource. Something on the path swapped the response for JavaScript. The browser obeyed, opened real connections, and sent repeated requests toward GitHub-hosted pages.

The browser’s connection was real. Its source address was real. The user’s intention was absent.

That is the accountability crime scene of the Great Cannon. It was not ordinary source-spoofed reflection, where packets lie about where they came from. Here, the packets told the truth about the client and lied about the purpose. The network delivered bytes; the browser executed them; GitHub absorbed the consequences. A URL is a promise. A packet is a fact. When the two diverge, accountability starts with the fact.

What the public record actually establishes

GitHub’s first-party notice is the safest anchor. The company said the attack began at approximately 02:00 UTC on Thursday, 26 March 2015, described it as the largest DDoS in GitHub’s history at that time, and said it combined vectors, including techniques that used browsers of uninvolved people to flood the site. GitHub also said its reading of the reports led it to believe the purpose was to convince it to remove a particular class of content. [1]

That establishes GitHub’s observation of the victim-side event and its interpretation of the apparent objective. It does not establish every packet rate, every affected customer, a precise end time, a monetary loss, or the identity of an individual decision maker. Nor does it turn GitHub’s motive assessment into a judicial finding.

GreatFire supplied the other target’s chronology. It said its services had been under a large denial-of-service attack since 17 March. In a later post, GreatFire said browsers were being directed through malicious JavaScript toward GreatFire content and two GitHub pages. It attributed the attacks to Chinese authorities and discussed resources associated with Baidu Analytics. GreatFire also recorded Baidu’s denial that its products had been compromised. [7][8]

Those are attributed claims, not adjudicated findings. They matter because they connect the earlier GreatFire phase to the later GitHub-hosted targets. They must still be handled as statements by an affected party. Baidu’s denial stays visible because server compromise, knowing participation, third-party misuse and on-path substitution are different factual propositions.

The strongest public technical reconstruction came from Citizen Lab, the International Computer Science Institute, UC Berkeley, Princeton researchers and collaborators. They distinguished the system they named the Great Cannon from the Great Firewall while noting code and network-location similarities. They described selective interception of unencrypted requests and injection of replacement content that caused browsers to send requests toward targeted sites. Their measurements supported a likely Chinese government operator assessment while preserving uncertainty. [2][3][4][5]

That is not a public criminal judgment, a disclosed command order or proof about a named individual. Responsible analysis preserves the confidence level and the method that produced it. The record supports a likely operator assessment, not omniscient certainty.

The mechanism: three identities, one messy collapse

Incident reports often collapse three identities that the Great Cannon kept stubbornly separate.

First is the resource named in the page. A URL and DNS answer show where the browser intended to fetch content. Second is the endpoint that actually supplied the accepted bytes. On plaintext HTTP, the browser lacked cryptographic proof that those bytes came from the intended publisher without alteration. Third is the browser that later contacted GitHub. Its source address identified the client connection, not the user’s intent or the origin of the injected instruction.

Get those identities wrong and the controls go wrong. Treat every request source as a willing attacker and you misclassify enlisted users. Treat the resource publisher as necessarily compromised and you overlook on-path alteration. Treat a DNS record or route as proof of content authenticity and you confuse reachability with integrity. Call the event source-spoofed reflection and you deploy controls designed for a different traffic property.

The browser did not need permanent infection. The user did not need to install malware. The origin server did not necessarily need to be compromised. The injected response could win a race against the legitimate response or otherwise arrive where the browser accepted it. Once accepted, normal browser behavior produced application-layer traffic from the user’s real network address. This was not a botnet of the willing. It was a botnet of the oblivious.

Running code outranks intended records

The running-code principle, articulated at heng.lu, is useful here as an operational test, not a source of historical facts. A registry entry, DNS record, repository URL or hosting contract records intended identity and authority. It can be important evidence. It is not sovereign over what the running network actually delivered.

The 2015 event makes that concrete. A browser could resolve the expected hostname and send a request toward the expected service, yet still execute bytes reportedly inserted on the path. The administrative record remained recognizable while the runtime result diverged. Accountability requires reconciling those layers rather than treating the record as conclusive.

This is why the story is native to network infrastructure. Peering and transit determine which operators and interfaces may have carried traffic. Hosting and network identity determine what content and endpoints clients expected. Operator continuity determines whether GitHub could remain reachable while preserving the targeted material. Remove those elements and the accountability thesis evaporates into a status-page sermon.

Why BCP 38 was necessary but insufficient

Source-address validation is one of the best defenses against denial-of-service attacks that rely on forged addresses. BCP 38 and related guidance describe filtering traffic with source addresses that should not legitimately originate behind an interface. Enhanced feasible-path unicast reverse-path forwarding develops operational methods for networks with multiple paths. NIST’s interdomain resilience guidance places source-address validation alongside routing security and DDoS mitigation. [12][13][14][17]

Those controls reduce an attacker’s ability to send packets pretending to come from a victim. That constrains reflection and amplification attacks in which public services reply to a forged victim address. The Internet benefits when access, hosting and transit operators deploy them correctly.

The Great Cannon mechanism presents a different property. A browser executed injected code and opened genuine connections from its own address. The source address was not necessarily forged. A source-validation filter could correctly conclude that the traffic was topologically plausible and still pass it. The harmful purpose came from the instruction that caused the browser to send requests, not from a falsified network-layer source field.

So BCP 38 remains essential. It just does not directly remove this traffic class. An accountable control map connects each control to the property it changes. Source validation constrains forged source addresses. Authenticated encryption constrains undetected content substitution between authenticated endpoints. Browser policy constrains code execution and mixed content. Edge controls constrain request rates and resource consumption. Traffic engineering and mitigation capacity constrain availability loss. No single control covers the whole chain.

TLS raises the cost. It does not cure the world.

Plaintext HTTP does not give a browser cryptographic assurance that a response remained unmodified between the named server and the client. A system on the path may observe the request and attempt to substitute a response. The public reconstruction of the Great Cannon depended on precisely this exposure.

Authenticated encryption changes the contest. TLS is designed to establish an authenticated encrypted channel that protects messages from eavesdropping, tampering and forgery within its threat model. TLS 1.3’s later standard expresses those goals clearly. RFC 7258 likewise treats pervasive monitoring as an attack to be mitigated in protocol design. [15][16]

If a browser correctly validates an authenticated TLS connection to the intended origin, an on-path system cannot simply alter the protected response and produce a valid result without defeating authentication or compromising an endpoint or trust dependency. That raises the operational cost of substitution and creates clearer failure evidence. A forged or modified response should fail validation rather than silently execute as the intended resource.

The limitation matters as much as the benefit. HTTPS does not make a service immune to volumetric DDoS. It does not protect an endpoint that is itself compromised. It does not prevent blocking, connection resets, route manipulation, traffic analysis or pressure on intermediaries. It does not guarantee that third-party code is benign. It does not eliminate mistakes in certificate validation, browser policy or origin configuration.

The accountable claim is bounded: authenticated encryption materially protects response integrity against straightforward on-path substitution. It is not a universal cure for censorship or denial of service. Operators should document which resources were encrypted, which were not, whether mixed-content behavior created downgrade paths, and how certificate or transport failures appeared across vantage points.

One vantage point is a rumour. Many are evidence.

An on-path injection system may behave selectively. It may target only particular hostnames, resource paths, query strings, source networks, destinations or times. It may inject on some routes and remain absent on others. A single vantage point cannot show whether an anomalous response originated at the server, appeared on a path segment or resulted from a local device.

Multi-vantage measurement addresses that limitation. Investigators can request the same resource from different networks and regions, compare response bytes and hashes, record timing and IP metadata, and preserve packet-level evidence where lawful and proportionate. If one vantage receives altered content while another receives the expected response, the difference narrows the possible control points. If the first response differs and a later response matches the origin, timing may support a race-injection hypothesis. If origin logs do not show the substituted bytes, server compromise becomes less likely, though not automatically impossible.

The evidence package should separate raw observations from inference. Raw evidence includes timestamps, request details, received payloads, cryptographic hashes, certificate validation results, packet traces, route observations and resolver responses. Inference includes the likely location of the injector, its relationship to known filtering infrastructure and the likely operator. Conclusions should state what combination of measurements supports them and what alternatives remain.

Clock quality is especially important. Correlating a browser’s resource fetch with injected code execution and later requests to GitHub requires timestamps that can be compared across systems. Collection delays, local clock error and time-zone conversion should be recorded. A compelling diagram without time integrity can still conceal a false sequence. Retention policy also matters: minimize collection, restrict access, hash artifacts, record transformations and preserve only what is necessary. Privacy is not a reason to abandon evidence; evidence collection is not a licence to retain unrelated user activity.

GitHub’s control boundary

GitHub was the victim-side infrastructure operator. Its immediate obligation was to keep the service available, protect the integrity of hosted content, distinguish hostile load from legitimate use and communicate what users needed to know. It could not directly change a remote plaintext response injected on another network path, but it controlled how its own edge and application responded to the resulting requests.

GitHub’s earlier account of denial-of-service defense provides context. It discussed layered measures including network-stack tuning, load-balancer limits, filtering equipment and work with an external mitigation provider. [9] That account predates the 2015 incident. It shows the kinds of controls GitHub had discussed publicly; it does not prove that each control was active, configured identically or effective during the Great Cannon attack.

For the 2015 event, an accountable victim-side record would include request classification, source and network distribution, target URLs, connection behavior, cache and application load, filtering decisions, mitigation-provider handoffs, edge saturation, error rates and customer-visible performance. It would also record how controls avoided punishing legitimate users whose browsers had been enlisted without their knowledge.

This creates a nasty classification problem. The browser requests were unwanted from GitHub’s perspective, but they could resemble valid HTTP traffic. Blocking every source after a burst could affect users sharing addresses or networks. Serving expensive responses could amplify resource consumption. Removing the targeted content might reduce the attacker’s incentive but would transfer control over hosting policy to the attacker. The question is not whether GitHub made a brave or correct political choice. It is whether its controls maintained service and content integrity under an attack designed to make ordinary client traffic expensive.

Path operators, publishers and the burden of inspectable control

The reported injection opportunity existed because a system had a position on the delivery path. That position created technical power: the ability to observe selected plaintext requests and attempt to replace responses. With power comes an evidence burden.

An operator responsible for interfaces capable of content manipulation should be able to identify the policy that authorizes the function, the systems that implement it, the people or roles that can change it, the logs that record activation, and the controls that prevent unauthorized use. If the operator denies involvement, independently verifiable records are more persuasive than a categorical statement without technical support.

This does not mean every transit provider carrying a packet is responsible for every alteration. Internet paths cross multiple administrative domains. Routing can change during an incident. Some operators may have no visibility into encrypted application content or no ability to identify an upstream injector. Responsibility should attach to actual control and evidence, not physical proximity or political assumption.

Route data can narrow the inquiry but cannot resolve it alone. BGP observations can show which autonomous systems announced and propagated reachability and which paths external collectors observed. They generally cannot prove the location of application-layer content substitution. Traffic may traverse internal links or policy systems not visible in public control-plane data. An accountable reconstruction combines routing context with active measurements and packet behavior. The same caution applies to IP geolocation and ownership records. An address registration identifies an allocation or administrative contact.

It does not prove which device emitted a packet, who controlled that device at the time, or whether the visible source was part of a race. Registry data is an important ledger, not a verdict.

Third-party resource publishers sit in the same control map, but they are not automatic perpetrators. A publisher controls how it serves its resources, whether authenticated transport is available and enforced, how cache and integrity behavior are configured, and how it investigates reports of inconsistent content. A site embedding the resource controls whether it introduces a plaintext dependency into an otherwise protected page. Browser policy can warn, block or isolate some mixed-content patterns.

These responsibilities should not be converted into unsupported blame. The record includes Baidu’s denial that its products were compromised. [8] On-path substitution is important precisely because it can make a legitimate publisher appear to have served code the publisher says it did not serve. The correct inquiry is evidentiary: what did the origin log, what did clients receive from different paths, what transport protection was used, and what hashes or signed artifacts exist?

Subresource integrity and content security controls may help in some designs, but they have scope and deployment limits. A browser must receive a trustworthy integrity value, the page must enforce it, and dynamic resources may complicate use. Dependency inventory is another accountability requirement. Organizations should know which external scripts, analytics resources and content-delivery endpoints their pages cause browsers to contact. A dependency that can execute code deserves stronger scrutiny than a static image.

Browsers, mitigation and the difference between attribution and action

Browsers mediate the boundary between received code and network action. They decide whether to execute scripts, how to apply same-origin policy, how to handle mixed content, how to enforce certificate validation, and how to constrain repeated requests. Those decisions are shared across standards, vendors, site authors and user settings.

A browser cannot infer malicious intent from every repeated request. Modern web applications legitimately make many asynchronous calls. Rate limits that are too strict can break normal sites. Limits that are too permissive can allow a page to consume bandwidth and target resources. Useful controls include clear mixed-content restrictions, authenticated transport by default, limits on abusive background activity, visibility into unexpected cross-origin request patterns and rapid security updates. Browser vendors can also provide diagnostic tooling that helps researchers preserve evidence without exposing unrelated personal data.

DDoS mitigation has to operate across layers. Network controls can absorb or distribute traffic. Transport controls can limit connection pressure. Application controls can identify repeated requests, expensive paths and anomalous behavior. Content delivery can cache safe responses. Human operators can coordinate with upstreams and mitigation providers. Each intervention has costs. Aggressive filtering can block legitimate users. Challenges can impose accessibility or privacy burdens. Rate limits can punish shared networks. Moving traffic can overload a clean destination. Removing content can reward coercion.

A credible response record explains these tradeoffs rather than reporting only that mitigation succeeded.

Operations teams often need to mitigate before attribution is mature. GitHub had to respond to traffic and service effects regardless of who operated the injection system. Researchers could later analyze network location, code similarity and behavior. These timelines should be connected but not conflated. Mitigation decisions should rely on observable traffic properties: request paths, rates, connection behavior, source distribution, headers, response cost and service health. They should not depend solely on a geopolitical attribution that may be contested.

Conversely, an attribution assessment should not be inferred merely from the fact that a mitigation method worked.

Citizen Lab’s work is valuable because it did not stop at a political label. It described a mechanism, differentiated systems and presented measurement. [2][3] Peer-reviewed presentations and related research added technical scrutiny. [4][5][6] GreatFire’s attribution reflects the view of an affected organization. [7][8] GitHub’s statement reflects the victim platform’s interpretation of pressure. [1] Baidu’s denial addresses its own products. These accounts can coexist in an evidence table without being merged into a false consensus.

Later recurrence does not rewrite 2015

Later technical reporting described systems called the Great Cannon being deployed again. [10][18] That history supports investment in durable detection, encrypted transport and cross-operator evidence exchange. It does not prove that every later event used identical infrastructure, targets, operators or command authority.

Incident records should therefore preserve event identity. The March 2015 GreatFire-to-GitHub sequence has its own dates, targets, measurements and public claims. Later observations may inform hypotheses or show that a technique remained relevant. They should not be merged into one continuous incident without evidence. Security narratives often become cleaner over time as repeated labels replace messy observations. The cost is that uncertainty disappears and technical differences are lost. Accountability requires the opposite: stable event records, explicit updates and versioned conclusions.

The accountability standard that survives cross-examination

The 2015 GitHub attack suggests a practical standard for operators and platforms.

Authenticate executable resources. Plaintext delivery of code creates a path-level substitution opportunity. Inventory third-party dependencies and remove mixed or unauthenticated execution paths where feasible.

Measure from more than one network. A service’s origin logs cannot reveal every response a client receives. External vantage points and response hashes help distinguish origin behavior from path behavior.

Map control by layer. Name who controls resource publication, DNS, routing, transit, browser execution, target edge, mitigation and customer communication. Do not assign total responsibility to the most visible brand.

Retain action-linked evidence. Every filter, route change, capacity shift and policy decision should have an owner, timestamp, reason, expected effect, observed effect and rollback condition.

Keep attribution confidence visible. Technical location and code similarity can support a strong assessment without proving an individual command chain. Public language should match the evidence.

Protect uninvolved users in mitigation design. Browser-enlisted sources are not equivalent to willing attackers. Controls should minimize collateral blocking and preserve privacy.

Test continuity without surrendering content decisions to traffic pressure. A platform should know how it will preserve service and lawful hosted material when requests are weaponized against a specific target.

Connect administrative records to runtime proof. DNS, certificates, routing records and contracts matter because they define expectations. Their accountability value appears only when they can be reconciled with observed delivery and service behavior.

Conclusion: the gap is the incident

GitHub’s 2015 DDoS was a network accountability test because the reported control point lay between an intended web resource and the code that browsers actually executed. The attack borrowed ordinary clients, real addresses and shared paths. It exposed the limits of treating endpoint names, source addresses or administrative records as complete descriptions of network behavior.

The public record supports a careful conclusion. GitHub experienced a major content-directed DDoS. GreatFire described a preceding and connected victim-side sequence. Researchers measured a system capable of selective plaintext response injection and assessed a likely operator. Baidu denied that its products had been compromised. Important implementation, volume, cost and command details remain unknown.

Accountability follows control over those facts. Path operators must preserve inspectable evidence for systems capable of alteration. Resource publishers and embedding sites must manage executable dependencies and authenticated delivery. Browsers must reduce silent enlistment. GitHub and mitigation partners must connect edge actions to measured outcomes. Researchers and public authorities must keep observation, inference and attribution separate.

The enduring rule is simple but demanding: the network must be judged by the content, routes and service behavior it actually produced. Records identify intended authority. Running evidence shows whether that authority held. In an incident built on the gap between the two, accountability begins by making the gap visible.

Sources

  1. https://github.blog/news-insights/company-news/large-scale-ddos-attack-on-github-com/
  2. https://citizenlab.ca/research/chinas-great-cannon/
  3. https://citizenlab.ca/wp-content/uploads/2009/10/ChinasGreatCannon.pdf
  4. https://www.usenix.org/conference/foci15/workshop-program/presentation/marczak
  5. https://www.usenix.org/system/files/conference/foci15/foci15-paper-marczak.pdf
  6. https://www.usenix.org/system/files/conference/woot15/woot15-paper-pellegrino.pdf
  7. https://en.greatfire.org/blog/2015/mar/we-are-under-attack
  8. https://en.greatfire.org/blog/2015/mar/chinese-authorities-compromise-millions-cyberattacks
  9. https://github.blog/news-insights/the-library/denial-of-service-attacks/
  10. https://www.ntt-review.jp/archive/ntttechnical.php?contents=ntr201512fa2.html
  11. https://datatracker.ietf.org/doc/rfc4732/
  12. https://datatracker.ietf.org/doc/rfc2827/
  13. https://www.rfc-editor.org/rfc/rfc4948.html
  14. https://www.ietf.org/rfc/rfc8704.html
  15. https://www.rfc-editor.org/info/rfc7258/
  16. https://www.rfc-editor.org/info/rfc8446/
  17. https://www.nist.gov/publications/resilient-interdomain-traffic-exchange-bgp-security-and-ddos-mitigation
  18. https://cybersecurity.att.com/blogs/labs-research/the-great-cannon-has-been-deployed-again