<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by user32 on Medium]]></title>
        <description><![CDATA[Stories by user32 on Medium]]></description>
        <link>https://medium.com/@user320?source=rss-a430f5050cf5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1N9qrN3Gj1pHgPhASryBBw.png</url>
            <title>Stories by user32 on Medium</title>
            <link>https://medium.com/@user320?source=rss-a430f5050cf5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:54:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@user320/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Unpacking the Prisma Browser extension with a 32-byte table]]></title>
            <link>https://meetcyber.net/unpacking-the-prisma-browser-extension-with-a-32-byte-table-f3717df15f61?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3717df15f61</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[application-security]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Wed, 22 Jul 2026 23:05:00 GMT</pubDate>
            <atom:updated>2026-07-22T23:05:00.479Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-NW8Ht5zTevZjagsRnCSw.png" /></figure><p>Prisma Browser is Palo Alto Networks’ Chromium-based enterprise browser, sold as part of Prisma SASE and shipped as a desktop browser, a browser extension, and a mobile app. It began as the Talon Enterprise Browser, built by the Israeli startup Talon Cyber Security, which Palo Alto bought in late 2023. It carried the name Prisma Access Browser for a while after that, which is still the term in most of the documentation URLs and older collateral. The product enforces data-loss, access, and web-security policy inside the client, including on devices the company does not manage, so web and SaaS activity can be controlled without a VPN. Most of that enforcement lives in a bundled browser extension, and on disk that extension ships as scrambled binary instead of readable JavaScript.</p><p>I took it apart because I wanted a hard target and I was curious what the extension actually contained. The work split in two: recover the extension source and prove the recovery was complete, then read what the recovered code hooks into.</p><p>This covers one local install, statically. The full descramble table and a working unpacker are left out.</p><h3>What was analyzed</h3><p>Field Value Product Prisma Browser, build 149.26.3.156 Extension Prisma Browser Extension, version 1.6861.0 Recovered tree 649 files, about 44.9 MB (523 JS bundles, 46 HTML, 41 PNG, a few others)</p><p>No usable .map files shipped in the tree. Reading the code meant working from the manifest, the file inventory, the small injected scripts, string tables, schema fragments, and targeted excerpts from minified bundles. background.js alone is 6.4 MB.</p><h3>Recovering the source</h3><h3>Three formats that looked alike</h3><p>The install holds three sets of scrambled files that all look like encrypted browser state at first glance. Separating them was most of the work.</p><ol><li>The installed extension runtime files, encrypted at rest per Chromium hash block.</li><li>The downloaded bundled CRX wrapper, scrambled with a static native transform.</li><li>The browser’s Talon/KDK/DPAPI-style local-state encryption, covering the password store, prefs, DOM and value storage, and sync.</li></ol><p>chrome.dll contains strings and callsites for all three, which makes it easy to spend a day on the wrong one. The source came out of the second path. The downloaded CRX carries the same extension payload as the installed runtime behind a reversible transform, so the profile-bound encryption on the installed files never had to be broken.</p><h3>The file sizes give it away</h3><p>The installed runtime files carry ordinary extension filenames such as 10051.js, but the payloads are high-entropy binary full of null bytes and match no archive or script format. Their sizes follow one formula.</p><pre>container size = 16,384 + block_hash_count * 4,112</pre><p>That maps onto _metadata/computed_hashes.json, which Chromium ships with the extension and which stores expected SHA-256 hashes of each file&#39;s plaintext in 4,096-byte blocks. A one-block file comes to 16,384 + 1*4,112 = 20,496 bytes. A thirteen-block file comes to 69,840. The record count tracks Chromium&#39;s plaintext hash blocks, so the runtime files are structured containers keyed to those blocks, and computed_hashes.json can validate any plaintext tree recovered later. The second half of that made the eventual result checkable.</p><h3>A plaintext copy in the cache</h3><p>Before finding the wrapper transform, I looked for plaintext already sitting in local browser caches and found one body: background.js in the Service Worker ScriptCache, at offset 25, 6,414,165 bytes, SHA-256 4d67…14d7. It validated against Chromium&#39;s block hashes.</p><p>That proved a decrypted body existed locally and gave me an independent copy of background.js to check any later recovery against. It yielded one file plus some already-plaintext assets, and digging through cache artifacts until enough code falls out is not a method I wanted to rely on.</p><h3>Finding the transform</h3><p>Static triage of chrome.dll turns up a tempting mix of strings: TalonDecryptFileFinished, TALON_ENC_PREAMBLE, Cr24, CrOD, and Failed to read scrambled extension. The KDK/DPAPI-looking helper had call contexts in password_store, local_key_provider, encrypted_json_prefs, and sync. That is a real local-state encryption path, but nothing connected it to the extension wrapper, and treating it as the extension decryptor would have been a guess.</p><p>The extension-relevant functions were elsewhere. The reader at 0x18346bb60 checks for Cr24 or CrOD magic, requires version 3, bounds a metadata-size field, streams the body in 4,096-byte chunks, and runs a BoringSSL digest and signature path. So the native side expects a recognizable CRX container at some point. The downloaded .crx does not start with Cr24. It starts with 4f 50 5c 6d.</p><p>The string that resolved it was Failed to read scrambled extension. Its function at 0x183142360 runs a loop over the read buffer, XORing every byte against a 32-byte table indexed by i &amp; 0x1f.</p><pre>for (size_t i = 0; i &lt; buffer_len; i++) {<br>    buffer[i] ^= table[i &amp; 0x1f];<br>}</pre><p>The same table serves every install and sits in the binary that reads it, so the wrapper comes apart without key material, profile state, or a runtime broker. I recorded the table by address, length, and hash, and it appears here masked.</p><pre>table VA:      0x18f6d6394<br>table length:  32 bytes<br>table sha256:  10bd2f04884927b111badcb5a19dee79acd10987cb6c5cee799d705f4a1187ef</pre><pre>table[0:8]:    0c 22 6e 59 64 76 a3 0b<br>table[8:32]:   [redacted]</pre><h3>Checking the header</h3><p>Applying only the first eight bytes of the table to the wrapper produces the magic the reader wants.</p><pre>scrambled   mask     result   ASCII<br>0x4f      ^ 0x0c  =  0x43      C<br>0x50      ^ 0x22  =  0x72      r<br>0x5c      ^ 0x6e  =  0x32      2<br>0x6d      ^ 0x59  =  0x34      4</pre><p>With the full table applied locally, the header parses as CRX3.</p><pre>43 72 32 34  -&gt; &quot;Cr24&quot;<br>03 00 00 00  -&gt; version 3<br>45 02 00 00  -&gt; header size 0x245 = 581<br>50 4b 03 04  -&gt; ZIP local file header at offset 593  (12 + 581)</pre><p>Applying the same prefix to an installed runtime file, 10051.js, produces nothing recognizable. That negative control is what rules out the runtime containers being the same scrambled CRX split across files.</p><h3>Validating the extracted files</h3><p>A correct-looking header proves little, since a wrong transform can still get lucky at offset zero. The success condition was the whole chain: version, header size, ZIP offset, ZIP signature, then per-file validation against Chromium’s metadata.</p><p>Validation ran file by file and block by block against Chromium’s expected plaintext hashes, covering background.js across its full length and 13048.js across 123 blocks. Extraction checked for path traversal. Five ZIP entries fall outside computed_hashes.json and are the ones you would expect: manifest.json, the three icons, and verified_contents.json. The recovered background.js hash matched the ScriptCache body found earlier, which is a second source agreeing on the same 6.4 MB file.</p><pre>downloaded CRX     11c0457fedc30b72389b1653c3c5754050cad1377135e692556016206a0dd070<br>XOR table (32B)    10bd2f04884927b111badcb5a19dee79acd10987cb6c5cee799d705f4a1187ef<br>descrambled CRX    1715ff2d90003a43e090ddcd47c10466aa22ea250a87fef769d93a0ed9b20a9c<br>ZIP payload        732c981767771e2cef9248d7f26b9bc8ea2b603150f3d73bac48fea1cb70ff49<br>background.js      4d6764f61bc03a98fec8448647d9236c9cc8c3734e1deeb4e4ef2f104ea314d7<br>files written      649<br>computed_hashes    644 valid / 0 invalid / 0 missing</pre><h3>What stayed unsolved</h3><p>The installed runtime containers, with their 16,384-byte header and 4,112-byte records, were characterized but not decrypted in place. Their cipher parameters, key material, profile binding, and any runtime-broker step are still open. That does not weaken the recovery, since every hash-tracked file in the installed metadata validated against plaintext taken from the downloaded CRX. How the browser re-encrypts the extension after install is a separate question that this work does not answer.</p><h3>What the extension does</h3><p>Once the tree is readable, the extension turns out to hold a browser-resident policy layer: injected into every page at document_start, holding broad browser privileges, and backed by data-loss classification, prompt collectors for named AI products, credential interception, screen and session recording, an event schema, extension-risk checks, and cloud scanning endpoints. For an enterprise secure browser that is the expected shape. What decryption changes is that the shape can be inspected, because provider names, category names, event contexts, endpoint builders, and policy UI strings all sit in the client.</p><h3>The manifest</h3><p>The manifest fixes the extension’s position before any minified code is interpreted. The main content script loads early on every page.</p><pre>{<br>  &quot;run_at&quot;: &quot;document_start&quot;,<br>  &quot;matches&quot;: [&quot;http://*/*&quot;, &quot;https://*/*&quot;],<br>  &quot;js&quot;: [&quot;content.js&quot;]<br>}</pre><p>document_start puts it in the page lifecycle ahead of the page&#39;s own application code. The permissions requested are wide.</p><pre>[&quot;management&quot;,&quot;downloads&quot;,&quot;tabs&quot;,&quot;talon&quot;,&quot;history&quot;,&quot;proxy&quot;,&quot;webRequest&quot;,<br> &quot;webRequestBlocking&quot;,&quot;offscreen&quot;,&quot;identity&quot;,&quot;identity.email&quot;,&quot;cookies&quot;,<br> &quot;browsingData&quot;,&quot;clipboardRead&quot;,&quot;declarativeNetRequest&quot;,&quot;scripting&quot;,<br> &quot;desktopCapture&quot;,&quot;system.cpu&quot;,&quot;system.memory&quot;,&quot;privacy&quot;,&quot;nativeMessaging&quot;]</pre><p>Host access covers everything.</p><pre>[&quot;&lt;all_urls&gt;&quot;, &quot;chrome://*/*&quot;]</pre><p>proxy, webRequestBlocking, privacy, nativeMessaging, desktopCapture, clipboardRead, cookies, history, and management together with &lt;all_urls&gt; is close to the maximum a Chromium extension can ask for. The manifest also declares a bridge scoped to Strata Cloud Manager, injects webstore.js into the Chrome Web Store, and names 18 externally connectable extension IDs, so the extension is built to exchange messages with a fixed set of other extensions.</p><h3>Sensitive-data categories in the client</h3><p>The inventory turned up 457 distinct sensitive-data category strings, repeated across background.js, content.js, approvedUrl.js, dashboardBridge.js, and diagnostics.js. They cover conventional PII, regional address formats, financial identifiers, healthcare categories, and developer and cloud credentials.</p><pre>e.CREDIT_CARD_NUMBER=&quot;CREDIT_CARD_NUMBER&quot;,<br>e.API_ACCESS_TOKEN=&quot;API_ACCESS_TOKEN&quot;,<br>e.SECRET_KEY___AWS_ACCESS_KEY_ID=&quot;SECRET_KEY___AWS_ACCESS_KEY_ID&quot;,<br>e.SECRET_KEY___AWS_SECRET_ACCESS_KEY=&quot;SECRET_KEY___AWS_SECRET_ACCESS_KEY&quot;,<br>e.SECRET_KEY___GOOGLE_CLOUD_ACCESS_KEY_ID=&quot;SECRET_KEY___GOOGLE_CLOUD_ACCESS_KEY_ID&quot;,<br>e.SECRET_KEY___RSA_PRIVATE_KEY=&quot;SECRET_KEY___RSA_PRIVATE_KEY&quot;</pre><p>On its own a category string could be a UI label. What makes it part of the data model is that these strings sit beside typed event contexts (DLPContext, ClipboardContext, FileContext, GenAIPromptContext) and beside endpoint construction that routes scans to Palo Alto cloud DLP.</p><pre>cloudScanningBaseUrl: `${s(e)}/v1/inline`<br>// s(e) resolves to, e.g.:<br>&quot;https://api.dlp.paloaltonetworks.com&quot;<br>&quot;https://apigov.dlp.pubsec-cloud.paloaltonetworks.com&quot;</pre><p>The routing function branches by region, with separate paths for US, GOV, EU (emea-oauth), AU, JP, and a staging host. That gives a specific place to check whether scanned content follows a tenant&#39;s expected region. Where each detection actually runs, locally or in the cloud, is decided at runtime and is not fixed in the assets.</p><p>DLP events carry a set of context fields. The recovered ones include live-scanning state, a Microsoft Information Protection matched label, scan engine identity, matched categories, source URL, source element selector, byte length, and a trace ID.</p><pre>{json:&quot;liveScanning&quot;,...}, {json:&quot;mipMatchedLabel&quot;,...},<br>{json:&quot;scanEngine&quot;,...},   {json:&quot;sensitiveDataCategories&quot;,...},<br>{json:&quot;sourceElementSelector&quot;,...}, {json:&quot;sourceUrl&quot;,...}, {json:&quot;traceId&quot;,...}</pre><p>File scanning separates its failure states, among them content-based, malicious, scan-blocked, cloud-scan timeout, file-size, file-type, and service-unavailable. An operator can tell a policy match apart from a scanner that timed out.</p><h3>AI prompt handling</h3><p>The extension hooks named AI products rather than blocking their domains or watching every text box on the web. The files involved are genAIPromptControl.js, openaiInjected.js, microsoftInjected.js, slackInjected.js, copilotWebSocketHandler.js, and webSocketPromptCollectorBridge.js.</p><p>genAIPromptControl.js names its targets and the input surfaces it watches.</p><pre>var t_=function(_){return _.ChatGPT=&quot;chatgpt&quot;,_.Gemini=&quot;gemini&quot;,<br>  _.Claude=&quot;claude&quot;,_.Perplexity=&quot;perplexity&quot;,_}({});</pre><pre>const s_=&#39;textarea, [contenteditable=&quot;true&quot;], [role=&quot;textbox&quot;]&#39;,<br>      S_=[&quot;send&quot;,&quot;submit&quot;],<br>      C_=[&quot;retry&quot;,&quot;regenerate&quot;,&quot;try again&quot;,&quot;resend&quot;,&quot;rewrite&quot;];</pre><p>The Copilot path wraps WebSocket itself. It inspects outbound sends, pulls prompt-like fields out of JSON payloads, forwards them, and can suppress the send.</p><pre>const t=[&quot;text&quot;,&quot;content&quot;,&quot;prompt&quot;,&quot;query&quot;,&quot;userInput&quot;,&quot;userMessage&quot;];<br>e.send=function(...e){<br>  const s=e[0], i=&quot;string&quot;==typeof s ? extractPromptLikeText(s) : void 0;<br>  if(&quot;string&quot;==typeof i){<br>    n.postMessage({source:&quot;talon-ws-prompt-collector&quot;,<br>      type:&quot;promptCollectionOverWS&quot;, text:i, wsUrl:r,<br>      pageUrl:n.location.href}, &quot;*&quot;);<br>    if(n.__CopilotWebSocketPromptCollectorBlockSend__) return;<br>  }<br>  return c.apply(this,e)<br>}</pre><p>A bridge in page context type-checks those messages and relays them to the extension runtime. Three small scripts pull tenant and account identity out of the pages themselves: the OpenAI account id from client-bootstrap JSON, the Microsoft user email from O365ShellContext, and the Slack workspace domain from localConfig_v2 in localStorage. Policy can ask which tenant, workspace, or account a prompt belongs to, and read the prompt text, across DOM text boxes, send and retry buttons, and WebSocket frames.</p><h3>Screen capture and session recording</h3><p>The files are screenCapturePreventionDialog.js, screenshotBlock.js, watermark.js, sessionRecorder.js, recordingIframe.js, and eventRecorder.js, with recordingIframe.html declared as a sandboxed page. The manifest grants desktopCapture.</p><p>The screen-capture dialog has four states: blocked, request permission, admin approved, and share anyway. A runtime message sits behind the exception path.</p><pre>chrome.runtime.sendMessage({ type: A.Go.ScreenshotProtectionBypass, tabId: u, tabUrl: w })</pre><p>The recording side is an rrweb-style DOM recorder with node mirrors, mutation observation, canvas and cross-origin-iframe options, and snapshot and checkout controls. It masks input values instead of capturing them raw.</p><pre>function f({element:e,maskInputOptions:_,tagName:t,type:o,value:n,maskInputFn:s}) {<br>  let i=n||&quot;&quot;;<br>  const r=o&amp;&amp;P(o);<br>  return (_[t.toLowerCase()]||r&amp;&amp;_[r]) &amp;&amp; (i=s?s(i,e):&quot;*&quot;.repeat(i.length)), i<br>}</pre><p>When recording starts, which fields get masked by default, and where recordings go are policy decisions and are not fixed in the assets. The assets establish that a full DOM recorder ships inside the extension.</p><h3>Password manager and WebAuthn</h3><p>The password-manager surface carries message names for the whole credential lifecycle: GetSecretsMessage, CreateSecretMessage, DeleteSecretMessage, ImportPasswordsMessage, ExportPasswordsMessage, PromotePasswordToVaultMessage, ShareSecretMessage, and others. background.js reads and clears Chrome&#39;s own password-saving setting through chrome.privacy.services.passwordSavingEnabled, which fits a product steering users off browser password saving and into a managed vault.</p><p>webauthnInterceptor.js hooks the credential API directly.</p><pre>const p_=navigator.credentials;<br>Object.defineProperty(p_,&quot;create&quot;,{...})<br>Object.defineProperty(p_,&quot;get&quot;,{...})</pre><p>It reads publicKey ceremony options, can refuse the ceremony by policy, and posts ceremony data back into page context.</p><pre>if(I.blocked){<br>  const _=I.shouldRegister<br>    ? &quot;Passkey registration is missing MFA credentials&quot;<br>    : &quot;Passkey registration is blocked by policy&quot;;<br>  throw new DOMException(_,&quot;NotAllowedError&quot;)<br>}<br>// elsewhere:<br>window.postMessage({ type:d_, policyResult:E, ceremonyData:{<br>  timestamp:Date.now(), url:window.location.href,<br>  publicKeyOptions:_, credential:A.toJSON() } }, window.location.origin)</pre><p>If another extension has already locked navigator.credentials, the interceptor logs the conflicting descriptor rather than assuming its hook took. Passkey registration and login are visible to extension-side policy, with user-facing events including PasskeyLoginBlocked, IdpLoginBlocked, and AppLoginBlocked. The ceremonyData payload carries a timestamp, the page URL, the full publicKeyOptions, and the serialized credential.</p><h3>The event schema</h3><p>The extension bundles OpenTelemetry collector code for logs, metrics, and traces, posting to an otel-v2 gateway path. The schema defines 18 typed contexts.</p><pre>browserExtension, certificate, classification, clipboard, content, device,<br>dlp, extensionRisk, file, genAIPrompt, incident, network, page,<br>passwordManager, process, rceExploit, tampering, user</pre><p>Event names cover file upload and download, clipboard copy and paste, prompt scanning and blocking, printing, malicious-page blocks, extension risk and policy blocks, external application launch, tab-capture sharing, and endpoint-profiler traces. Typed contexts exist for sensitive content, credential workflows, local process state, and installed extensions, so the events this schema can carry go well past page metadata. Which contexts get populated on a given event depends on tenant policy; the field definitions all ship in the client.</p><h3>Extension control</h3><p>The management permission, webstore.js injected into the Chrome Web Store, the externally connectable IDs, and the extensionRisk context together make extension installation something the product decides on. The event strings cover the path from ExtensionStartScan to ExtensionScanDecision to ExtensionBlockedByRisk and ExtensionBlockedByPolicy, with separate install outcomes for the browser and the standalone extension in ExtensionInstallSuccessPB and ExtensionInstallSuccessPABX. Scoring inputs live server-side. The client carries the scan trigger, the decision event, and the block paths.</p><h3>Device posture and services</h3><p>posture.js models device management state, disk encryption, firewall, screen lock, password policy, system integrity, remote desktop connections, and a CrowdStrike ZTA score. Browser decisions can read those values.</p><p>The endpoint builders name the services the browser depends on. Enforcement and telemetry traffic goes to talon-sec.com rather than paloaltonetworks.com, which matters when scoping egress allowlists or TLS inspection.</p><pre>webriskBaseUrl:  &quot;https://riskapi.talon-sec.com&quot;<br>releasesBaseUrl: &quot;https://releases.talon-sec.com&quot;<br>sentryBaseUrl:   &quot;https://gateway.gs.talon-sec.com/sentry&quot;<br>pushMessagesUrl: `${gateway}/push`<br>tlsTrustConfigBaseUrl: o(&quot;pki&quot;,e)<br>endpointProfilerBaseUrl: `${t}/endpoint-profiler`<br>smbManagerUrl:   `${t}/smb-manager`<br>csZtaJWKUrl:     &quot;https://assets-public.falcon.crowdstrike.com/zta/jwk.json&quot;<br>// URL reputation:<br>new URL(&quot;https://classifier-auf.talon-sec.com/url/lookup/talon&quot;)</pre><p>The extension’s update_url points at extensions.talon-sec.com, and the manifest carries a custom talon permission.</p><h3>Why the code was readable</h3><p>The two protections on these assets do different work. The wrapper scramble uses one static table, identical for every install, stored in the binary that reads it, so it cannot keep the contents secret from anyone willing to open a decompiler. Tampering gets caught elsewhere: the native reader runs a BoringSSL digest and signature check, verified_contents.json and computed_hashes.json ship with the extension, and a 211-byte JWT sits beside the CRX on disk. What the scramble buys is that a downloaded .crx is not a valid CRX to anything that finds it, and cannot be unpacked, edited, and repacked without working out the transform first. The installed runtime containers are a separate protection again, and they did not come apart the same way.</p><p>The extension was readable at all because of how the product has to work. Classifying sensitive data on the client means shipping the category list to the client. Reading prompts before they are sent means knowing which providers to hook and which DOM and WebSocket shapes to read. Routing scans by region means holding the regional endpoints. Whatever the browser decides at the endpoint, the endpoint has to be told first, which puts the decision logic on a machine the user controls. Scrambling the assets sets the price of reading that logic, and in this build the price was one decompiled function and a 32-byte table.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3717df15f61" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/unpacking-the-prisma-browser-extension-with-a-32-byte-table-f3717df15f61">Unpacking the Prisma Browser extension with a 32-byte table</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Byte Disabled Security Checks Across Okta Verify’s Named Pipes]]></title>
            <link>https://meetcyber.net/one-byte-disabled-security-checks-across-okta-verifys-named-pipes-959b09d6f04f?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/959b09d6f04f</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[okta]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 22:02:28 GMT</pubDate>
            <atom:updated>2026-07-21T22:02:58.598Z</atom:updated>
            <content:encoded><![CDATA[<p>While looking through Okta Verify 6.11.1 for Windows, I came across a tamper-protection implementation that did not appear to be doing much. The application contains handlers for modified DLLs and executables, but neither was triggered when I changed the binaries and ran them.</p><p>One change was a single-byte edit that caused the LocalSystem service to skip client validation on its named pipes. The other altered the tray application’s loopback binding so it listened beyond localhost. Both components continued to run normally.</p><p>The code was also straightforward to inspect. Most names and strings were left intact, and ILSpy produced readable C# around the validation checks and development-mode bypass.</p><h3>The tamper-protection method is a stub</h3><p>The three main components contain a class named DigitalAITamperProtection. It is loaded during startup and exposes three relevant methods.</p><p>PerformIntegrityChecks() only writes a debug message. It does not hash a file, validate Authenticode, inspect a loaded module, or perform another integrity check.</p><p>DependencyTamperAction() and CheckSumTamperAction() log alerts, emit analytics events, and throw exceptions. Nothing in the managed code calls them.</p><p>A post-build protector can inject native guards that call managed handlers. I checked the normal native startup locations and found no such guard in OktaVerify.exe, OktaAuthenticatorService.exe, OktaFeatureFlagService.exe, or Okta.Devices.SDK.Win32.dll.</p><p>The runtime test produced the same result. After the DLL was changed, the service loaded it, started normally, and never called either tamper handler.</p><h3>One byte disables client validation</h3><p>Every named-pipe connection reaches ValidateClient in OktaServiceNamedPipeServer.cs. The method starts with this branch:</p><pre>if (allowClientsInDevelopmentMode)<br>{<br>  base.Logger.WriteInfoEx(&quot;Service is running in development mode - skipping client binary validation.&quot;, &quot;C:\\Program Files\\CircleCI\\Workdir\\src\\Library\\Win32\\Communication\\IPC\\OktaServiceNamedPipeServer.cs&quot;, &quot;ValidateClient&quot;);<br>  return true;<br>}</pre><p>The constructor sets the field to false with the IL instruction ldc.i4.0. Changing that byte to ldc.i4.1 sets it to true.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWjE5V53jzSkmzCfMUz-iA.png" /></figure><p>After that change, ValidateClient returns before checking the client path or Authenticode signature. The same method protects every pipe hosted by the service, so one byte disables validation across all of them.</p><p>The modified DLL reported HashMismatch through Get-AuthenticodeSignature, but the service still loaded it. No tamper alert or matching integrity event appeared. The only visible result was Okta Verify&#39;s own log message saying that client validation was being skipped.</p><p>An unsigned client running as a standard user then completed the osquerypipe handshake and received results from a query executed through the LocalSystem service.</p><p>The signature check was not forged.. it never ran.</p><h3>What sits behind the check</h3><p>OktaAuthenticatorService.exe runs as LocalSystem and hosts osquerypipe, OktaDeviceInstancePipe, userlesssignalspipe, and nfcpipe.</p><p>In this build, authenticated users could read from and write to the pipes. CreatePipeSecurity in OktaServiceNamedPipeServer.cs accepts a pipe-security type but ignores it, so every pipe receives the same access policy.</p><p>The client validator requires Okta’s pinned signing certificate. userlesssignalspipe and nfcpipe also check for the installed OktaVerify.exe path. osquerypipe and OktaDeviceInstancePipe do not.</p><p>The handlers expose the following operations:</p><ul><li>osquerypipe runs osquery through the SYSTEM service. The patched service accepted an unsigned standard-user client in the runtime test. Custom checks were controlled by EnableOSQueryCustomChecks and were off by default in the tested configuration.</li><li>OktaDeviceInstancePipe exposes device-bound token and signing operations. No additional caller check was present in the reviewed path. This was confirmed in the decompiled code, not tested against a live Okta API.</li><li>userlesssignalspipe accepts URLs used to retrieve signal configuration and submit signed posture data, then performs device-authenticated requests with those values. This creates a request-redirection risk if the URLs are not restricted elsewhere. This finding is based on static analysis.</li><li>nfcpipe uses the same bypassed validation method. Its pipe-specific operations were not assessed.</li></ul><p>The osquery impact is privileged system inspection and network requests, not arbitrary file-content read. Its <a href="https://github.com/osquery/osquery/blob/master/specs/utility/file.table">file table</a> returns metadata, <a href="https://github.com/osquery/osquery/blob/master/specs/hash.table">hash</a> returns file hashes, and <a href="https://github.com/osquery/osquery/blob/master/specs/curl.table">curl</a> can make HTTP requests and return response bodies.</p><h3>There was no meaningful obfuscation</h3><p>ILSpy recovered readable C# from the components I reviewed. Names such as ValidateClient, allowClientsInDevelopmentMode, and ExactMatchCertificateValidatorMatcher were intact. Pipe names, security messages, and other useful strings were stored in plain text.</p><p>There was no broad identifier renaming, string encryption, or control-flow obfuscation. The validation branch and the field that disables it were obvious.</p><p>Obfuscation would not fix the validation design, but its absence made the bypass much easier to locate.</p><h3>The signature check only identifies the file on disk</h3><p>ValidateClient checks the executable file associated with the connecting process. It does not verify that only code from that file is running inside the process.</p><p>Injected code inside an allowed Okta process would retain the signed on-disk identity that the service expects. The pipe server would still see an Okta-signed executable. This weakness follows directly from the validation design, although that route was not tested end to end.</p><h3>The loopback listener was also unprotected</h3><p>The tray application’s device-check listener uses 127.0.0.1. Changing that string to an HTTP.sys wildcard made the listener bind beyond loopback.</p><p>The modified application ran and the tamper handlers did not fire. This did not bypass the Okta-issued challenge required to complete FastPass authentication, but it provided a second example of a security-relevant binary change going undetected.</p><h3>Conclusion</h3><p>Okta Verify 6.11.1 contains tamper-protection classes, alert handlers, and integrity analytics event names. In the build tested here, they did not react when protected code was changed.</p><p>A one-byte patch disabled client validation in front of several LocalSystem named pipes. The modified DLL loaded, the service stayed up, and an unsigned client passed the tested pipe handshake. The code was also unobfuscated enough that the bypass was easy to find.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=959b09d6f04f" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/one-byte-disabled-security-checks-across-okta-verifys-named-pipes-959b09d6f04f">One Byte Disabled Security Checks Across Okta Verify’s Named Pipes</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reverse Engineering Slither.io’s Network Protocol]]></title>
            <link>https://meetcyber.net/reverse-engineering-slither-ios-network-protocol-bbc408485c45?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbc408485c45</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Thu, 14 May 2026 06:08:04 GMT</pubDate>
            <atom:updated>2026-05-14T21:17:41.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GpqklknEGX1ckbN6WS7jtg.png" /><figcaption>A production slither.io server with several hundred concurrent native-WebSocket bot clients connected.</figcaption></figure><p>Slither.io is a browser-based multiplayer snake game. Each player controls a snake in a shared arena, eats glowing pellets to grow longer, and tries to survive by cutting off other players without running into a body. It became one of the better-known .io games because the loop was immediate, competitive, and easy to understand without any install or account system.</p><p>This write-up follows the actual workflow: start at the bundle, trace startup, capture the handshake, decode the client challenge, map the packet families, and then test the obvious cheating assumptions against live behavior. The result was a protocol map that was less “hidden god mode” and more “narrow outbound intent, broad inbound authority, plus some very odd leftover client-side switches.”</p><p>For this write-up I am talking about the public web client snapshot centered on game1107241958.js, with live sessions landing on protocol version 19.</p><h3>What I Actually Did</h3><p>I did not start by guessing opcodes from random captures. The workflow was:</p><ol><li>Saved the live bundle and the server list file.</li><li>Pretty-printed the JavaScript and searched for WebSocket, ws.send, gotPacket, startLogin, and isValidVersion.</li><li>Hooked outbound WebSocket.send(...) and inbound packet handling in the browser.</li><li>Captured fresh joins and compared them with the static code.</li><li>Replayed and decoded packet paths offline until the map stopped changing.</li></ol><p>That matters because Slither.io does not make sense if you start at the gameplay packets alone. The protocol really begins in the loader.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBOHcVlaN7LC_Ui7cqymAg.png" /><figcaption>A slither.io bot framework showing almost 2000 concurrent native-WebSocket sessions spread across a few servers, each snake tracked independently with per-bot state, decision rate, and telemetry.</figcaption></figure><h3>Deobfuscate Just Enough To Stop Guessing</h3><p>I did not need perfect deobfuscation. I needed the parts that touched networking, startup state, and packet parsing.</p><p>The first big landmarks were:</p><ul><li>the raw &quot;/testing&quot; gate, which still flips verbose debug behavior from the URL alone</li><li>the top-level forceOnce(ip, po, aa) helper, which can override normal backend selection</li><li>window.startLogin</li><li>window.gotPacket</li><li>window.gotServerVersion</li><li>the odd window[dfe](dfs) startup pattern, where dfe is built into eval</li></ul><p>Once I followed that path, the startup logic stopped looking like a simple version check and started looking like a loader chain. The shipped bundle installs a replacement isValidVersion(...), decodes a server-supplied string, and executes the result before it releases the rest of the login flow. That explains why naive raw clients fail.</p><p>I also decoded the server list file i80124.txt, because that file tells you how the client chooses where to connect before it ever opens the gameplay socket. It is basically a shifted nibble encoding. Once decoded, each row gives you active status, IPv4, optional IPv6, port, activity/load-like data, cluster id, and server id.</p><p>That in turn explains why the browser opens a swarm of probe sockets before the real session starts.</p><h3>The Protocol Starts Before /slither</h3><p>Once the server list was decoded, the backend selection flow became much easier to read.</p><p>The client does not immediately connect to the gameplay socket. It first opens a bunch of cluster-probe sockets to /ptc and sends a single byte: 70</p><p>That byte is not a gameplay action. It is just the probe. The browser uses those probe responses to decide which backend to treat as the current target.</p><p>Only after that does it open the actual gameplay WebSocket: ws://&lt;backend&gt;:444/slither</p><p>The live capture matched the static path cleanly: repeated 0x70 probe sends to /ptc, followed by a separate /slither session.</p><p>This is worth calling out because a lot of informal Slither.io protocol notes skip the /ptc phase entirely. If you want to understand the whole connection lifecycle by hand, you need to start there.</p><h3>Catching The Handshake In The Browser</h3><p>The first clean /slither handshake I captured looked like this:</p><pre>01<br>6300<br>2a3c4e4c79434c545655484a6b41454f4e6759587a47427244403c<br>731e012336cecca961b24a887c750ed26aec08d088d58c6f050f636f6465782d68616e647368616b6500ff</pre><p>That sequence is the protocol opening up in plain view:</p><ol><li>01 is the ordinary startup mode byte.</li><li>6300 is the normal second prelogin stage.</li><li>The 27-byte blob is the client challenge response usually called idba.</li><li>The long 73... packet is the deferred login packet with version, fixed client bytes, color, nickname length, nickname, and 00ff.</li></ol><p>There is also a second mode byte, 02, used by the sequenced startup path, plus a hidden branch that can replace 6300 with 637401 or 637402. Those hidden bytes belong to forceOnce(...). In the public browser-visible captures I worked through, that hidden target failed before a successful open, so the branch clearly exists in code but did not complete on the live path I observed.</p><p>The login packet turned out to be structurally stable: 73 | 1e | 0123 | &lt;20-byte cpw&gt; | &lt;color&gt; | &lt;nick_len&gt; | &lt;nick&gt; | 00 ff</p><p>A concrete example: 731e012336cecca961b24a887c750ed26aec08d088d58c6f050f636f6465782d68616e647368616b6500ff</p><p>Broken out:</p><ul><li>73: login opcode</li><li>1e: fixed constant</li><li>0123: client version 291</li><li>next 20 bytes: the fixed cpw array</li><li>05: selected color</li><li>0f: nickname length</li><li>636f6465782d68616e647368616b65: &quot;codex-handshake&quot;</li><li>00ff: normal terminator</li></ul><p>At that point the startup path was concrete enough to replay and classify without guessing.</p><h3>The Client Challenge Is Not A Version Check</h3><p>The most interesting part of the handshake is the inbound packet with opcode 6.</p><p>At first glance it looks like a server version string. In practice it is a carrier. The bundle replaces isValidVersion(...) at runtime, decodes the carrier into JavaScript, and executes it. In the capture I was using, the decoded script looked like this:</p><pre>var a = &quot;&#39;Qk]l&quot;;<br>a += &quot;CHG[&gt;2&#39;zO)I$rQ$a,:o1!;&quot;;<br>for (var i = 0; i &lt; 27; i++) {<br>  idba[i] = a.charCodeAt(i);<br>}</pre><p>That is the real structure of the client challenge. The browser first creates a nominally random 27-byte token, but the server-supplied script overwrites the seed bytes before the final response is sent. Then another startup helper, exposed through qff9x(...), mutates those 27 bytes again with a rolling transform before the client transmits them.</p><p>So the challenge path is:</p><ol><li>client opens /slither</li><li>client sends 01 and 6300</li><li>server sends opcode 6</li><li>client decodes the carrier into JavaScript</li><li>client executes that script</li><li>script seeds idba</li><li>client mutates idba</li><li>client sends the final 27-byte response</li><li>client finally releases the deferred login packet</li></ol><p>It is simple, but it is enough to break anyone who assumes they can skip the startup logic and just blast a nickname packet into the socket.</p><p>It also means the startup trust boundary is deeper than the gameplay packet surface. If you only stare at gotPacket(...), you miss the part of the protocol where the server gets to shape the browser&#39;s next move with code.</p><h3>One WebSocket Frame Is Not Always One Game Packet</h3><p>The incoming ws.onmessage path first peels off optional two-byte sequence or timing prefixes. After that it looks at the next byte. If the byte is under 32, the client treats the frame as a container holding one or more logical packets with embedded length prefixes. Otherwise it treats the remaining bytes as one logical packet and hands it to gotPacket(...).</p><p>That framing rule is why raw captures can look misleading. One WebSocket message can contain several logical packets.</p><p>Once I normalized captures at the logical packet level, the early join sequence became very readable. In one clean session, the first 25 logical inbound commands were:</p><pre>6 a s F F F F F F F F F F F F F F F F F F F F F y</pre><p>That maps almost perfectly to:</p><ul><li>6: startup carrier</li><li>a: world initialization</li><li>s: spawn</li><li>repeated F: food-sector population</li><li>y: prey state</li></ul><p>At that point the join sequence was consistent enough to classify reliably.</p><h3>How The Client Decides Which Snake Is Mine</h3><p>This detail matters because a lot of later packet behavior depends on it.</p><p>The decisive packet is the long-form inbound s spawn packet that arrives after world initialization.</p><p>The a packet sets up the world. It publishes values like:</p><ul><li>world size</li><li>sector size</li><li>protocol version</li><li>real_sid</li><li>flux state</li><li>game mode</li></ul><p>Then the long-form s packet creates a slither object with:</p><ul><li>entity id</li><li>angle and intended angle</li><li>direction</li><li>speed</li><li>fractional mass</li><li>color or cosmetic info</li><li>spawn coordinates</li><li>nickname</li><li>body points</li></ul><p>The important ownership rule is simple: when the current slither object is still null, the first spawn object created in that post-login path becomes the local player. The client sets slither = o, overwrites the visible name with my_nick, initializes local flags like md and wmd, and from that point forward treats that entity id as self.</p><p>Once self ownership is established, several compact movement and body packet forms in protocol 19 do not need to repeat the self id. They are implicitly self-targeted because the client already knows which entity is local.</p><p>If you are reconstructing the session offline, the easiest practical heuristic is the same one the collectors in this workspace converged on: the first spawn after login, or the spawn whose nickname matches your requested nick, becomes self_id.</p><h3>Building The Packet Map</h3><p>Once the handshake and ownership rules were clear, the rest of the work was packet classification.</p><h4>Outbound Packet Families</h4><p>The outbound surface is much narrower than people expect.</p><ul><li>70: /ptc cluster probe</li><li>01, 02: prelogin mode byte</li><li>6300: ordinary second prelogin bytes</li><li>637401, 637402: hidden forceOnce(...) prelogin replacement</li><li>idba: 27-byte startup challenge response</li><li>73...: normal deferred login packet</li><li>6f...: hidden deferred code-entry packet</li><li>00 through fa: one-byte steering angle</li><li>fb: ping / keepalive</li><li>fc &lt;value&gt;: keyboard turn packet</li><li>fd: boost on</li><li>fe: boost off</li><li>ff 76 &lt;ascii&gt;: victory-message save in newer protocol</li></ul><p>That is basically it. There was no ordinary post-connect packet for absolute coordinates, score claims, food claims, or direct body-length claims.</p><h4>Inbound Session And Control Packets</h4><p>The high-level session packets were the easiest to anchor:</p><ul><li>6: the startup server_version carrier</li><li>a: world init and connection state</li><li>s: long-form spawn or short-form despawn/kill</li><li>p: ping reply or lag-clear</li><li>v: death, close-control, and related end-of-life paths</li></ul><p>One especially important split inside v is the subtype:</p><ul><li>v 00 showed up naturally as ordinary public death traffic</li><li>v 02 drives a forced local close path</li></ul><h4>Inbound Movement, Body, And Growth</h4><p>Movement lives in a family, not a single opcode:</p><ul><li>e, E, 3, 4, 5, d, 7</li></ul><p>Those packets update combinations of:</p><ul><li>dir</li><li>ang</li><li>wang</li><li>speed</li></ul><p>Body maintenance and growth are another family:</p><ul><li>g, n, G, N, +, =</li></ul><p>Those packets handle point-chain updates, body rollover, adding new points, and explicit head-point rewrites. The key thing I took from them is that growth is represented inbound. The browser is not telling the server “I grew.” The server is telling the browser how the body changed.</p><p>Related helpers:</p><ul><li>h: fractional mass (fam)</li><li>r: segment death / shrink</li><li>R: narrow self scalar write</li><li>k: kill-count metadata</li><li>z: flux-grid smoothing</li></ul><h4>Inbound Food, Prey, And World Maintenance</h4><p>Food is spread across several opcodes:</p><ul><li>F: bulk food-sector batch</li><li>b, f: food create or respawn-style updates</li><li>c, C, &lt;: food remove or eaten variants</li></ul><p>Prey uses:</p><ul><li>y: spawn, remove, or eaten</li><li>j: prey movement/update</li></ul><p>World chunking and minimap maintenance live elsewhere:</p><ul><li>W, w: sector add/remove</li><li>U, L, M, V, u: minimap or bitmap handlers</li></ul><p>None of those felt like secret privilege channels. They looked like ordinary world maintenance, and the live traffic supported that read.</p><h4>The Interesting Special Packets</h4><p>The truly interesting opcodes were the ones that touched presentation, moderation residue, and dormant UI:</p><ul><li>l: leaderboard update</li><li>i: admin metadata</li><li>m: victory-screen payload</li><li>o: team-score history and dormant team UI</li><li>v: death and close-control</li><li>B: testing-only movement diagnostics</li></ul><p>These are the packets that matter from a security research perspective, because they are not about who gets food credit in normal play. They are about what the client will trust and render if it is handed server-shaped data.</p><h3>Pressure-Testing The Obvious Cheat Ideas</h3><p>This was the part where the server-authoritative design showed itself most clearly.</p><p>The obvious next question was whether there was a hidden coordinate packet or some way to compress control traffic into extra movement. I tested that from several directions.</p><p>First, I looked at the ordinary transmit path after login. It stayed bounded to:</p><ul><li>angle</li><li>turn</li><li>boost on/off</li><li>ping</li></ul><p>Second, I tampered with local position in the browser by editing slither.xx and slither.yy. The snake visibly teleported on my client, then snapped back under the next inbound updates. No coordinate-bearing packet was emitted, because there is no normal coordinate-bearing packet to emit.</p><p>Third, I watched food-chase and growth windows closely. The growth signals lined up with inbound food and body packets like F, b, f, C, &lt;, h, and N. The client sent steering intent. The server drove the consequences.</p><p>Fourth, I looked at malformed or compounded control frames. The results were interesting from a parser-boundary standpoint, but not from an “easy exploit” standpoint:</p><ul><li>malformed angle and turn-leading frames could trigger rejection or a fast close</li><li>some fb, fd, and fe-led compounds were tolerated</li><li>tolerated compounds mostly collapsed to one valid prefix action instead of becoming multiple actions</li></ul><p>Even where the parser was permissive, it usually collapsed to one valid prefix action instead of producing a useful multi-action result.</p><p>The gameplay conclusion was straightforward: Slither.io leaves very little room for useful client-side cheating through the normal outbound packet surface. The browser is mostly authoritative for intent, not outcome.</p><p>That does not make the client uninteresting. It just changes where the interesting trust bugs live.</p><h3>Client-Side Trust Surfaces</h3><p>Even though ordinary gameplay is tightly constrained, the client still trusts a few inbound packet families in ways that matter.</p><p>Forged or replayed local packet tests showed that:</p><ul><li>l can rewrite the visible leaderboard</li><li>i flips adm=true, weakens the name filter, and populates admin-overlay metadata</li><li>o can populate dormant team-score state</li><li>m can drive victory content rendering</li><li>v 02 can force the client to close its own session</li></ul><p>The important security point is not “there is a packet that makes me number one on the server.” The gameplay core is fairly well defended by server authority, while the client still exposes victim-side presentation and control surfaces that trust inbound data more than they should.</p><p>Because the game still uses plaintext ws:// gameplay transport in the observed path, that trust is more exposed than it should be. You do not need to own the server to make client-trusted inbound packets worth thinking about. An on-path attacker is enough for several of the UI-facing effects.</p><h3>The Useful Side Paths</h3><p>Some of the more useful findings were not core protocol mechanics at all. They were half-hidden switches still sitting in the production client.</p><p>The cleanest example is the nickname magic string: bonkers</p><p>Typing bonkers into the nickname field immediately reveals the hidden code-entry button. That is the little pin-pad path people occasionally mention, and it is still client-side.</p><p>Once I followed that path, the code-entry flow turned out to be its own small state machine. A full code like 1234-5678-9012 is stored locally, but the final 6f... code packet is not sent immediately. It waits until after the normal startup flow, the inbound opcode 6 carrier, and the idba response. Only then does the client transmit the 7-byte code packet.</p><p>Even better, the rejection reply I observed for that code path was effectively 6f00</p><p>and the current client ends up parsing that through the ordinary inbound o handler, which is the team-score path. That is exactly the kind of weird collision you only find when you trace both the UI state machine and the opcode map at the same time.</p><p>There were a few more of these leftovers:</p><ul><li>gameweek2016 blanks the outgoing nickname and writes localStorage.gw2k16</li><li>cocds in local storage controls cosmetic unlock state on the client</li><li>forceOnce(...) is still present as a hidden backend override helper</li><li>&quot;/testing&quot; still enables a wide chunk of debug behavior from the URL alone</li></ul><p>None of that gives the browser broad gameplay power. What it does give you is a clearer picture of how much old event logic, testing residue, and client-side entitlement plumbing is still shipped.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vDR_I1VrgvVAewwQvdGA3Q.png" /><figcaption>Nickname field set to bonkers, with the hidden code-entry button or keypad exposed in the live client UI.</figcaption></figure><p>A still-live client-side magic string, bonkers, exposes the hidden code-entry path without touching the network layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qA4Q1GS7bOxwQFDPLbgGhQ.png" /></figure><h3>Final Read</h3><p>After walking the bundle, capturing the startup traffic, decoding the challenge path, and mapping the packet surface, the protocol story was a lot cleaner than I expected.</p><p>Slither.io is not broadly client-authoritative in the way people usually hope. Ordinary post-connect traffic is narrow. The browser mostly gets to express heading, turn, boost, and liveness. The server owns the things that actually matter for gameplay: spawn state, movement reconciliation, food lifecycle, growth, and practical score progression.</p><p>The real protocol structure is:</p><ol><li>decode the backend list</li><li>probe candidates with /ptc and 0x70</li><li>open /slither</li><li>send 01 or 02</li><li>send 6300 unless the hidden forcing path replaces it</li><li>receive opcode 6</li><li>decode and execute the startup carrier</li><li>generate and mutate the 27-byte idba response</li><li>send the deferred 73... login or 6f... code packet</li><li>let inbound packets drive most of the world</li></ol><p>The same protocol knowledge is enough to build a raw WebSocket Slither.io client, collector, or bot without relying on the browser at all. Once the startup path, challenge flow, spawn ownership rules, and packet families are understood, the browser stops being mandatory and becomes just one implementation of the protocol. Scale follows from that: nothing in the protocol prevents a single host from sustaining thousands of concurrent sessions distributed across the full server pool, since each connection costs only a socket and a small amount of in-memory state. The only practical ceiling is per-IP rate limiting on the server side, and that ceiling lifts the moment connections are distributed across an upstream proxy pool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*He9ijo272XWzbwUhCIStww.png" /><figcaption>Native-WebSocket slither.io client sustaining 300 concurrent sessions against a single game server.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IAPx7hVAjUnPn1mjFRLt-w.png" /><figcaption>Live event stream from the same 300-session deployment showing per-bot spawn, death, and reconnect events, each tagged with cause, length-at-death, lifespan, and reconnect attempt count. All 300 sessions tracked independently in one terminal.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*10HCKtHW6ujOT0L8oVlRuw.png" /><figcaption>In-game view of the same deployment from an observer’s browser.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbc408485c45" width="1" height="1" alt=""><hr><p><a href="https://meetcyber.net/reverse-engineering-slither-ios-network-protocol-bbc408485c45">Reverse Engineering Slither.io’s Network Protocol</a> was originally published in <a href="https://meetcyber.net/">MeetCyber</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Behind the Scenes of a Romance Scam Operation]]></title>
            <link>https://medium.com/@user320/behind-the-scenes-of-a-romance-scam-operation-ddcec88d10ef?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddcec88d10ef</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[crime]]></category>
            <category><![CDATA[romance]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Sun, 19 Apr 2026 21:05:23 GMT</pubDate>
            <atom:updated>2026-04-20T14:39:59.273Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>A rare inside look at a pig butchering operation, using data taken straight from a compromised server the scammers are still operating on.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNFU8vS8ahN8tpbrCglS7w.png" /></figure><p>Most people who own a phone in North America have at some point received a text from a stranger who seems to have the wrong number. The sender usually introduces herself by a first name, apologizes for the mixup, and then asks a mildly personal question that presumes some prior acquaintance. The area code looks like it might be somewhere familiar. If the recipient writes back to say she has the wrong person, she keeps the conversation going anyway.</p><p>What feels like a misdirected text is, in practice, the first step of a very long funnel. On the other end of it sits a workflow tool, a database of target numbers, a bank of disposable VoIP accounts, and a human operator who is probably managing several conversations at the same time. The first text is not actually intended to catch the recipient that day. Its job is to identify the one person in several thousand who will reply and then stay in the conversation long enough to eventually be walked onto a fake trading platform and lose a significant amount of money over the following weeks.</p><p>In the security literature the pattern has a name: pig butchering, a rough translation of the Chinese term <em>shā zhū pán</em>. The metaphor refers to the slow process of fattening the victim up with affection and small talk before the slaughter. Different agencies produce different estimates, but the consensus figure for global losses now sits somewhere in the tens of billions of dollars a year. The United Nations has also gone on record describing the labor side of the industry as a humanitarian crisis in its own right, referring to the walled compounds in Southeast Asia where trafficked workers are forced to sit and type these conversations under duress.</p><p>Public coverage of pig butchering generally focuses on either the individual victims or on those compounds. The layer in the middle, meaning the actual infrastructure that sits between the person who sends the first text and the person who eventually sends the last wire, rarely gets written about in any depth. I was able to compromise the server of the people running one of these operations and pull their database. What follows is what that infrastructure looks like from inside.</p><p>All identifying information, including IP addresses, domains, internal data store names, vendor names, and code-level specifics, has been removed from this writeup. The point here is to describe the shape of the operation, not to hand out a map back to it. If you are a journalist, researcher, or investigator who has a legitimate reason to look at the underlying data, I am happy to share what I have, and you are welcome to reach out through the contact information on this site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v9rKBVWsGMNp3PpEeY4ZgA.png" /><figcaption>The scale of one operation.</figcaption></figure><h3><strong>What the data actually is</strong></h3><p>Two snapshots of the operator-side server were captured, one in January and one in April. Between them they contain about 137,000 sender accounts. Each one of those accounts is a disposable U.S. or Canadian phone number registered to one of the well-known “free texting” apps that a lot of people have installed on their phones, including TextFree, TextPlus, and TextNow. The April snapshot alone holds roughly 1.56 million messages, sent to 888,116 distinct target phones. Of those 888,116 targeted phones, 38,909 of them wrote back to the scammer at least once.</p><p>Those four figures already outline most of what the rest of the data confirms later on. The operation is producing roughly one reply for every twenty-three phones it contacts, and every other piece of infrastructure described in this article, including the proxies, the fake iPhones, the account-creation pipelines, the templates, and the people behind the templates, exists to keep those figures moving at that ratio.</p><h3><strong>The operation runs in bursts</strong></h3><p>The first thing that stands out when the message timestamps are laid out across a calendar is that the operation is not really “on” most of the time. Months of message traffic compresses into three sharp bursts of activity separated by long quiet stretches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCh1L5GP3-1vlsVmcythNw.png" /><figcaption><em>Daily outbound messages across the months.</em></figcaption></figure><p>The first burst ran from late December through the second week of January and pushed out roughly 1.2 million outbound messages in sixteen days. The second one, in late February and early March, was much smaller, with about 47,000 messages over nineteen days, which looks more like a warm-up or a test than a real campaign. The third burst took up the final ten days of March into early April and produced a little over 600,000 messages.</p><p>Two things are worth noting about this pattern. The first is that a campaign-driven shape like this tells you something about how the operation is being staffed. You do not spin up seventy thousand new sender accounts in two weeks and then let the infrastructure go mostly idle for a month unless the team behind it is coming and going, or unless the operators are releasing the product in waves on purpose. The second is that the shape of the activity implies somebody is making a deliberate decision about when to run the machine. A fully automated spam operation would tend to produce flat, continuous background noise in the traffic data, whereas this one produces something closer to a scheduled release pattern, with specific windows of activity followed by long stretches of nothing.</p><h3><strong>One day, the targeting moved to Canada</strong></h3><p>The single most interesting moment in the whole dataset is January 2. Up until that day, somewhere around 98 percent of the outbound traffic was going to U.S. area codes, and the Canadian numbers were getting only a few hundred messages a day. On January 2, Canadian outbound volume jumps from about 1,349 messages the day before to over 35,000 in the same twenty-four-hour window, while U.S. volume barely moves. By the following day, Canada is getting almost four times the volume of the U.S., and it stays that way for the rest of the burst.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N1_ueq8nr3hNqA_6bvKpgg.png" /><figcaption>The January 2 pivot.</figcaption></figure><p>A twenty-six-fold overnight jump is not organic drift. It is the signature of an operator loading a fresh list of target numbers and pointing the system at them. The operator-side campaign scheduler backs this up. There are effectively no scheduled campaigns in the system before January 9, and several hundred of them appear on January 9 itself, which suggests that the early January traffic was pushed through a simpler, more manual send path, and that the scheduler came online midway through the burst once the volume kept climbing.</p><p>The more interesting question is why the operators chose Canada for the second half of the burst in the first place. The answer sits in the language breakdown.</p><h3><strong>The Chinese-language messages were aimed at specific regions of Canada</strong></h3><p>The outbound messages to the U.S. are overwhelmingly English, at around 96 percent. The outbound messages to Canada are only 60 percent English. The remaining 34 percent are written in Chinese.</p><p>That Chinese share is not evenly distributed across Canadian area codes. It is heavily concentrated in two provinces in particular. In British Columbia area codes, 87 percent of the outbound message text contains Chinese characters. In Ontario, the figure is 72 percent. In Quebec it drops to 29 percent, and in Alberta to 27 percent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IC55Re0V-6EWhTTFc5ch5g.png" /><figcaption>Chinese-language targeting by province.</figcaption></figure><p>Numbers that lopsided are not the product of random dialing. The operators, or whoever sold them the target lists, clearly knew which Canadian area codes were densely populated by the communities they were trying to reach. The English-language “need a job” blasts went out broadly across the country, while the Chinese-language conversational openers were directed at the specific provinces where a Chinese-speaking recipient was most likely to pick up the phone.</p><p>That pre-sorting is a large part of what “industrial scale” actually means here. The volume is a factor, but the more important feature is that the messages themselves have already been categorized by language and region before the operator on the other end ever opens the workflow tool.</p><h3><strong>The opener matters more than almost anything else</strong></h3><p>The operation maintains a small library of message templates. Each campaign picks one, sprays it against a batch of target numbers, and then watches which targets reply. Joining the template library to the resulting conversations produces a reply rate by template, and the gap between templates turns out to be enormous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MQMYK8iqhfegXcwLEdAJew.png" /><figcaption>Reply rate by template.</figcaption></figure><p>The “i miss you” opener has a reply rate of 17.8 percent. This is not the share of repliers who eventually converted; it is the share of recipients who wrote something back at all. The next several templates cluster between six and eight percent, including “can i ask you a question,” “do you have time to eat tonight,” “i heard you went on a trip,” and “are you busy, why haven’t you been contacting me.” The explicit job pitch at the bottom of the table sits at five.</p><p>There is a specific psychological reflex being exploited at the top of this chart. If a recipient believes that somebody has texted them by mistake, and if that somebody seems to think the recipient is a person they care about, the recipient tends to feel a small social obligation to correct the sender. “I miss you” is the maximally effective opener because it makes the recipient feel a little guilty about not replying. The templates near the top of the chart all share that same structure. They sound like a real, slightly anxious message from a real person, sent to the wrong person.</p><p>The explicit job pitches like “do u need a job?” and its cousins are doing different work. They are not trying to produce social obligation. They are blunt cold offers aimed at people who are already in a vulnerable enough spot to click through on a text about easy money. Those people exist, and the operators hit them too, but the yield from that approach is about a third of the yield from the “wrong number” flow.</p><h3><strong>Almost no one who replies actually gets pig-butchered</strong></h3><p>The engagement funnel is where the real scale of the operation becomes visible, and where it becomes clear how thin the per-message economics really are.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4Fwj-8pvstWEVVFfQ03lw.png" /><figcaption>The engagement funnel.</figcaption></figure><p>Of the roughly 1.08 million conversations the operation initiated in the April snapshot, only 38,909 produced even one reply. That is 3.6 percent. Only 21,700 made it past five messages exchanged, about 2 percent of the top of the funnel. Conversations that reached ten messages totaled 6,580. Twenty messages, 1,703. Fifty or more messages, which is roughly the point where a pig-butchering conversation starts to look like a relationship, came out to 219.</p><p>Only 219 conversations out of more than a million reached that final stage, which is what the entire apparatus actually exists to produce. The economics only work because the average loss per successful engagement runs into the tens or hundreds of thousands of dollars. You can collapse the funnel from a million down to two hundred and still be running a very profitable business.</p><p>Inside that last bucket, the conversations look very different from the rest of the dataset. They tend to be long, often running across multiple days, and they move naturally through small talk, holidays, family, work, and, over and over, the target volunteering financial or health details without being directly asked. The scammer maintains a consistent persona throughout each of these longer threads, usually presenting as a woman of some specific background running a specific kind of business in a specific city. The persona stays stable across the length of the conversation, which means that either a single human operator is managing the entire thread themselves, or the operators are using some kind of shared CRM-style notes system to keep the story straight across shift changes. The data does not let you distinguish between those two possibilities, but either answer is interesting in its own right.</p><h3><strong>How they manufacture phone numbers by the thousand</strong></h3><p>The operation ran against the free texting apps because those apps let anyone create a working U.S. or Canadian phone number without a SIM card, and do it from an app install alone. The free texting apps are, understandably, aware of being abused this way, and they aggressively block accounts that look wrong, which includes data center IPs, emulators, unusual device fingerprints, and accounts created too fast from the same place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rVffO6EB6AE3zgj3JsuO6Q.png" /><figcaption>How one disposable phone number gets created.</figcaption></figure><p>The first piece is a residential proxy provider. Residential proxies are IP addresses that appear to be coming from home broadband connections, which means they look, from the carrier’s perspective, indistinguishable from a real customer sitting on their couch. The operator-side inventory contains 2,252 configured proxy sessions. Of those, 2,002, or almost 89 percent, route through one single residential-proxy account. Roughly 1,984 of those share the same username base, which means they are sub-sessions of one account at one vendor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0EU0DOZ-0MdfFq6TC3AyIA.png" /><figcaption>Proxy infrastructure concentration.</figcaption></figure><p>That concentration is one of the most interesting and relevant findings in the whole dataset. If the goal is to disrupt the operation’s ability to appear to be thousands of different American and Canadian home internet connections, the required cooperation comes from one single company, rather than from a long list of proxy providers.</p><p>The second piece is fake iOS device metadata. When the account creation script calls the free-texting API, it pretends to be an iPhone by reporting an iOS version, a device model, and an advertising ID. Looking at the distribution of reported iOS versions across the account fleet reveals something strange. The top twenty-five reported iOS versions each carry between roughly 6,800 and 7,900 accounts, which works out to a band of less than 16 percent across two dozen different version strings. Real iPhone populations do not distribute that way, because they tend to cluster on a small number of recent versions as most users update their devices. A near-flat distribution across two dozen iOS strings is the pattern you would expect to see when a script is picking a version at random out of a lookup table in order to make the account fleet look organically diverse, which strongly suggests the metadata is synthetic.</p><p>The third piece is account-creation automation. This is where most of the disposable phone numbers actually come from. A proxy session is selected, a synthetic device fingerprint is generated, a new account is registered against the free-texting app, the assigned phone number is captured and written to the operator’s database, and the account is pushed into the rotation of available sender numbers. The operator never handles any of this by hand.</p><p>The combination of all three pieces is what makes the pipeline work. None of the individual components are particularly unusual on their own. Residential proxies are a commodity product, mobile device spoofing has been documented in essentially every mobile-fraud writeup of the last five years, and account-creation automation has existed for as long as consumer APIs have. What separates a serious operation from a hobbyist project is how well those three components have been integrated with each other, and how reliably the integration holds up once it is running at scale.</p><h3><strong>The account fleet is designed to die</strong></h3><p>Most of the sender accounts in the data barely last a single day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RvLUbCzdMcnnfwNjCuD_NA.png" /><figcaption>Account lifespan distribution</figcaption></figure><p>Roughly 72.6 percent of U.S.-targeting accounts and 79.2 percent of Canada-targeting accounts have a total lifespan, measured from first outbound message to last outbound message, of less than twenty-four hours. Only a tiny fraction of accounts survive past a week. The Canadian side burned out even faster than the U.S. side, presumably because Canadian carriers and the free-texting platform’s anti-spam systems caught on more quickly to the pattern.</p><p>The operators absorb that loss rate by creating new accounts faster than the carrier can suspend them. Across the December to January burst, the operation created roughly 47,000 new sender accounts while only holding 1,000 to 3,600 of them active on any given day. The carrier was suspending accounts at something close to the rate the operation was creating them, but the operation effectively did not care, because if an account manages to send its payload and then dies within the same day, the operators have already gotten the only value they wanted from it. The accounts are designed to be disposable from the beginning.</p><p>This is the part of the system that is hardest to disrupt from the defender’s side. Account-level suspension, the standard response, is a race the carrier cannot win at this volume. To actually slow the operation down, the defender would have to close the pipeline instead of individual accounts, which would mean choking off the proxy infrastructure, poisoning the device-fingerprint lookup, or pushing the free-texting platform to require a real SIM-verified phone before letting an account send at volume. None of those are easy. The residential proxy angle is the only one that targets a concentrated chokepoint visible in the data.</p><h3><strong>The operator accounts are not the operators</strong></h3><p>The server lists 25,450 “operator accounts,” meaning logins that a human is theoretically using to push the thing around. It is tempting to read that as “25,000 scammers,” but that reading is almost certainly wrong, and it is worth being honest about what the data can and cannot tell you here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fng3Q55bQNO-bwW1IZ8Oaw.png" /><figcaption>Operator account structure.</figcaption></figure><p>The operator accounts cluster into 1,194 distinct team identifiers. Within 1,079 of those teams, about 90 percent, every sub-account shares exactly the same password. That is not the pattern you get from 25,000 different humans each picking a password for themselves. It looks much more like a small number of humans registering batches of accounts under a single shared credential, in the same way a team might create role logins for a software seat they share. Only 115 teams show any password diversity across their sub-accounts at all. That is the pattern you might expect to see if multiple humans were using those sub-accounts independently, although even that is not proof, because a single person can use multiple passwords and a team can rotate credentials over time.</p><p>What the data actually supports is a weaker but more defensible claim, which is that the ratio of accounts to humans is nothing like one-to-one. The 25,450 figure is a fleet size rather than a headcount, and the actual number of people behind the operation is not directly observable from the server itself. It would be irresponsible to try to put a specific number on the human side of the operation from this data alone. The more useful takeaway is that the operation is deliberately engineered to make one person appear to be thousands of different senders at once, which is the part that actually matters for understanding how it scales.</p><h3><strong>Linguistic breadcrumbs</strong></h3><p>One of the quieter things in the data is that the operators did not especially try to hide the environment they built the system in. File and variable names inside their environment are in two languages. Operator-facing Chinese shows up throughout the customer-facing templates, which is expected. On the system-configuration side, meaning the parts built for internal use and the dashboards and JSON exports the operators pass around between themselves, some filenames are in romanized Vietnamese. Labels translating roughly to “still alive,” “already dead,” “create new,” and “account recovery storage” all appear as names on internal data buckets, rendered phonetically in Latin characters.</p><p>This does not mean that the people sending the texts are Vietnamese, since the workers typing the conversations could be almost anywhere. What it does suggest is that the environment the operators use to manage the system was built, or at least configured, by somebody working in Vietnamese, which is a separate question from what language the customer-facing messages are written in. In effect, the software layer and the content layer appear to have been developed in two different linguistic contexts. That split is not proof of anything on its own, since operations get sold, forked, and moved around over time, but it is the kind of artifact that could matter if investigators ever tried to chase the infrastructure upstream.</p><h3><strong>What this all says about enforcement</strong></h3><p>The thing that kept striking me as I worked through the data is how tractable the choke points actually are, and how little any of them get touched in practice.</p><p>One residential proxy provider moves 89 percent of this operation’s internet traffic. A single subpoena, or even a serious abuse notification that resulted in that account being closed and the billing details frozen for review, would disrupt the operation immediately. The traffic is not being spread across dozens of alternative providers for redundancy. Almost all of it passes through a single vendor account.</p><p>The operation runs on a small handful of free-texting platforms that all share the same general pattern. They allow bulk automated account creation from a non-mobile device as long as the device appears to be a real iPhone on real home broadband. Requiring a live SIM-verified phone before an account is allowed to send at volume would not meaningfully affect any real user, and it would end this specific pipeline.</p><p>The operation sustains itself because the cost of creating a new sender account is close to zero and the cost of having one suspended is also close to zero. The economics only hold as long as that balance does. Raising the creation cost even modestly breaks them.</p><p>A striking point the dataset makes is that the operation is not continuous in the first place. The months of data compress down to three discrete bursts of activity. Defenders would not have to match the operation’s uptime across the whole year in order to cripple it, they would only have to identify the rhythm the operators run on and be present during those specific windows.</p><h3><strong>The shape, not the map</strong></h3><p>The standard story told about pig butchering operations tends to focus on individual villains, meaning a specific cartel, a specific set of compounds, or a specific person who can eventually be arrested. The data argues for a different framing. What this operation looks like in practice is much closer to a platform than to a criminal organization in the traditional sense. It is a pipeline built out of bought or stolen phone lists, a set of standard templates, a residential proxy account, a device-spoofing script, a free-texting API, and a shared workflow tool for the humans who sit at the other end of those systems. Any of those individual pieces could be swapped out for an equivalent piece from a different vendor within a week, and the operation as a whole would barely register the change. The dollars being extracted from victims are enormous, but the infrastructure producing them is ordinary commodity tooling, and the number of humans required to run it is whatever the operators need it to be at any given time.</p><p>That is also why the wrong-number texts have not stopped, and why they are not going to stop on their own. The reason they keep arriving has less to do with the people running this particular operation being unusually skilled, and more to do with the fact that the plumbing they rely on is cheap, anonymous, and entirely standard, and that not enough pressure is being applied to the companies selling that plumbing to make them care about who the buyers actually are.</p><p>The 888,116 targeted phones in the April snapshot are one part of the evidence for all of this. The 219 long-form conversations buried inside the funnel are the other. Every one of those 219 conversations represents a real person who believed, for at least some period of time, that somebody had genuinely been trying to reach them.</p><p><em>This article is based on a review of two server snapshots drawn from a live operation’s own infrastructure. All operator-identifying information, including network addresses, vendor account names, internal data store names, hostnames, and project identifiers, has been redacted. Aggregate statistics are drawn directly from the data. I’m happy to share the supporting dataset with interested readers. Please reach out using the contact information on this site.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddcec88d10ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How UE5 Reflection Works and How People Dump SDKs With It]]></title>
            <link>https://medium.com/@user320/how-ue5-reflection-works-and-how-people-dump-sdks-with-it-32091c39ab3e?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/32091c39ab3e</guid>
            <category><![CDATA[unreal-engine]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[gaming]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 07:10:17 GMT</pubDate>
            <atom:updated>2026-03-02T07:10:17.698Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-E6t6FIEMC5xs8oC.jpg" /></figure><p>Unreal Engine has a runtime reflection system that describes the layout of classes, structs, properties, functions, and enums while the game is running. The engine needs this for Blueprint scripting, network replication, serialization, and editor tooling. But because all of this metadata lives in process memory in a structured, traversable form, it is also what makes SDK dumping possible. Tools like Dumper-7 and the various UnrealSDKGenerator forks all work by reading this reflection data out of a running game and emitting C++ headers from it.</p><p>This article covers how that whole system is structured, from the two global entry points (the object array and the name table) down to individual property layouts, and then how you go from “I can read process memory” to “I have compilable headers with correct offsets.”</p><h3>The Two Global Entry Points</h3><p>Everything in UE5 reflection hangs off two globals:</p><ul><li><strong>GUObjectArray</strong> (the global object array): a registry of every live UObject. Type descriptors like UClass, UScriptStruct, UEnum, and UFunction are themselves UObjects, so they are in here.</li><li><strong>GNames</strong> (the global name pool): a table of deduplicated strings. Object names are stored as small integer IDs that index into this pool, not as string pointers.</li></ul><p>If you can find these two globals in memory and know how to read their internal structures, you can enumerate every type in the game, walk property lists, read offsets, and reconstruct layouts. That is the entire SDK-dumping pipeline at a high level.</p><h3>The Global Object Array</h3><p>FUObjectArray is the global allocator and registry for UObjects. Internally it uses a chunked structure (FChunkedFixedUObjectArray) that grows in blocks of 65,536 slots, so the engine never needs to reallocate a single huge contiguous buffer. Indexing is straightforward:</p><pre>ChunkIndex   = Index / 65536<br>WithinChunk  = Index % 65536<br>Slot         = Chunks[ChunkIndex][WithinChunk]</pre><p>Each slot is an FUObjectItem. On a typical x64 build without pointer packing:</p><pre>FUObjectItem (typicatl x64, unpacked):<br><br>+0x00  UObject*    Object              8 bytes<br>+0x08  int32       Flags               4 bytes<br>+0x0C  int32       ClusterRootIndex    4 bytes<br>+0x10  int32       SerialNumber        4 bytes</pre><p>Some builds define UE_PACK_FUOBJECT_ITEM, which stuffs flag bits into the lower bits of the object pointer (UObject allocations are aligned, so those bits are free). This changes the struct layout entirely. Keep this in mind: layouts are not stable across games or even across patches of the same game.</p><p>The chunked array stores a NumElements count that gives you the iteration upper bound. Some slots will be null (destroyed objects, empty slots). The serial number on each slot is a generation counter used by weak pointers to detect stale references. You do not need serial numbers for SDK dumping, but they explain why you might see the same index pointing at different objects across time.</p><h3>Finding GUObjectArray</h3><p>From outside the process, you find this global by pattern scanning. Common targets:</p><ul><li>Byte sequences that reference the global in FUObjectArray::AllocateUObjectIndex or StaticAllocateObject</li><li>Cross-references to string literals like &quot;Maximum number of UObjects&quot; or &quot;Unable to add more objects&quot;</li><li>Exported symbols, if available</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1JW0OXqUYiZuIrHsgjs9nw.png" /><figcaption>Finding GUObjectArray in IDA. The CMP instruction references the global directly, and you can see the nearby string reference to “Unable to add more objects to disregard…”.</figcaption></figure><p>To validate: iterate the first few hundred slots and resolve their names. You should immediately see objects like /Script/CoreUObject, and class objects named Class, ScriptStruct, Function, Enum. If not, your address is wrong.</p><p>Some games encrypt or obfuscate the pointers to GUObjectArray and GNames (and sometimes the pointers within them, like the object pointers inside FUObjectItem slots). This is usually a lightweight XOR or bit-rotation scheme, not anything heavy. In most cases you can find the decryption routine by looking at the code paths that access the global, tracing the transforms applied to the pointer before use, and reversing them. It adds a step to the process but is rarely a serious obstacle.</p><p>A typical pattern scan + decrypt flow looks something like this:</p><pre>// resolve GNames: pattern scan for the instruction that loads the global,<br>// then XOR the stored pointer with the key found in the decryption routine<br>auto GNamesAddr = FindPattern&lt;void*&gt;(<br>    GetModuleHandleW(nullptr),<br>    &quot;48 8B 05 ? ? ? ? 48 B9 AF BA 59 06 E9 35 38 0A&quot;,<br>    0, 3, 7<br>);<br>FName::GNames = (FNamePool*)((uintptr_t)(*(void**)GNamesAddr) ^ 0xC74F28A11D3E609Bui64);<br><br>// resolve GObjects: sometimes not encrypted, just a direct LEA<br>UObject::GObjects = FindPattern&lt;decltype(UObject::GObjects)&gt;(<br>    GetModuleHandleW(nullptr),<br>    &quot;48 8D 0D ? ? ? ? E8 ? ? ? ? 48 8D 8D A0 02 00 00&quot;,<br>    0, 3, 7<br>);<br>// some games also encrypt the object pointers inside FUObjectItem slots.<br>// you will see something like this in the disassembly and need to replicate it:<br>UObject* DecryptObject(void* encrypted)<br>{<br>    uintptr_t val = (uintptr_t)encrypted;<br>    val ^= 0xE81B4F37A209C653ui64;<br>    val = _rotr64(val, 0x1A);<br>    return (UObject*)val;<br>}</pre><p>The patterns and keys are game-specific. You find them by reversing the access sites in the game’s binary. The XOR keys change every update in games that bother with this, so you either re-scan each patch or automate the key extraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bJ9VXsmLgaDIG1opAr1EQ.png" /><figcaption>This is what a chunk of the global object array looks like in a memory viewer. Each row is an FUObjectItem slot: you can see the repeating pattern of object pointers followed by flags, cluster root index, and serial number. Null entries are destroyed or unallocated slots.</figcaption></figure><h3>The GC Split</h3><p>The object array is split into two regions. Objects below ObjFirstGCIndex are permanent (engine singletons, CDOs, type metadata) and are not garbage collected. Everything above that index is GC-managed. For SDK dumping you mostly care about the permanent region, since that is where all the type descriptors live.</p><h3>The Name System</h3><p>NamePrivate on a UObject is not a string pointer. It is an FName, which is a compact handle into the global name pool. Trying to read it as char* gives you garbage.</p><p>On most builds, FName is 8 bytes:</p><pre>FName (standard):<br><br>+0x00  FNameEntryId  ComparisonIndex    4 bytes<br>+0x04  int32         Number             4 bytes</pre><p>ComparisonIndex is an opaque handle that resolves to an entry in the name pool. Number is a numeric suffix, stored as value+1 (0 means no suffix, 1 means _0, 2 means _1, etc.).</p><p>The pool (FNamePool) is sharded and block-allocated. Each FNameEntryId encodes a block index and byte offset. Entries are a 2-byte header (length + wide flag) followed by the character data directly, no null terminator, packed tightly in the allocator blocks.</p><p><strong>Case preservation matters.</strong> If the build has WITH_CASE_PRESERVING_NAME enabled, FName grows to 12 bytes because of an additional DisplayIndex field. Since FName is embedded in UObjectBase, FField, and many other places, this one flag shifts every downstream offset. You need to detect it early.</p><p>To validate GNames: entry 0 should resolve to &quot;None&quot;. The next few entries should be things like &quot;ByteProperty&quot;, &quot;IntProperty&quot;, &quot;BoolProperty&quot;, which are registered at startup in a stable order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*poz4-1ueKdriAF3T4rHdkA.png" /><figcaption>The name pool in memory. You can see FNameEntry data packed tightly in the block allocator, with the early engine-registered names visible in the ASCII column: None, ByteProperty, IntProperty, FloatProperty, BoolProperty, ObjectProperty, and so on. These are the first entries registered at startup and are what you look for when validating that you have found GNames correctly.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4TCuseqTkpurmY_CL_HgA.png" /><figcaption>Finding GNames in IDA. The LEA instruction loads the address of the NamePoolData structure. This is the kind of cross-reference you look for when pattern scanning: a direct reference to the global that you can turn into a signature.</figcaption></figure><h3>The Identity Triple</h3><p>Every UObject has three fields that define its identity:</p><ul><li><strong>ClassPrivate</strong> (UClass*): the runtime type.</li><li><strong>NamePrivate</strong> (FName): the name, resolved through GNames.</li><li><strong>OuterPrivate</strong> (UObject*): the owning object. Walk the chain to build a full path like /Script/Engine.Actor.</li></ul><p>For SDK dumping, this is how you filter the global object array. You iterate all objects, check whether ClassPrivate points to the UClass for &quot;Class&quot; (to find UClass instances), &quot;ScriptStruct&quot;, &quot;Function&quot;, or &quot;Enum&quot;, and collect them. One pass gives you the entire type system.</p><h3>The Reflection Hierarchy</h3><p>Type descriptors are regular UObjects with well-defined relationships between them.</p><p><strong>UStruct</strong> is the base for types that contain fields. It provides:</p><ul><li>SuperStruct: pointer to the parent type (inheritance chain)</li><li>ChildProperties: head of the FField linked list (declared fields)</li><li>PropertiesSize: total instance size in bytes</li><li>MinAlignment: alignment requirement</li></ul><p>Three types inherit from UStruct:</p><p><strong>UClass</strong> adds everything needed for UObject-derived classes: ClassFlags, ClassCastFlags for O(1) type checks, ClassDefaultObject (the CDO, a fully initialized default instance you can read property values from), FuncMap (name-to-UFunction lookup), Interfaces, and ClassConfigName.</p><p><strong>UScriptStruct</strong> adds StructFlags for value types. The STRUCT_IsPlainOldData flag is useful because it tells you the struct can be memcpy&#39;d without side effects.</p><p><strong>UFunction</strong> describes callables. Parameters are represented as properties (same system as struct fields). It stores FunctionFlags, NumParms, ParmsSize, ReturnValueOffset, and a native function pointer Func for C++-bound functions.</p><p><strong>UEnum</strong> stores a Names array mapping integer values to FName enumerator names, a CppType string, and an ECppForm indicating whether it is a regular enum, namespaced, or enum class.</p><h3>FField and FProperty (the UE5 change)</h3><p>In UE4, properties were UObjects (UProperty subclasses). A class with 100 properties meant 100 extra GC-tracked objects. UE5 moved properties to FField, a lighter-weight node that is not a UObject. Properties are owned directly by their parent UStruct and linked via FField::Next.</p><p>Each FField has a type object (FFieldClass*), owner, Next pointer, and name. FProperty extends it with the layout-critical fields:</p><ul><li>Offset_Internal: byte offset from the start of the containing object/struct</li><li>ElementSize: size of one element</li><li>ArrayDim: static array dimension (usually 1)</li><li>PropertyFlags: behavioral flags</li></ul><p>The FFieldClass on each property carries CastFlags for fast subclass identification without string comparisons.</p><h3>Property Types and How to Interpret Them</h3><p>Knowing you have a property at some offset is not enough. You need to know the FProperty subclass to interpret the bytes. You check CastFlags on the property&#39;s FFieldClass:</p><pre>if castFlags &amp; CASTCLASS_FBoolProperty     -&gt; bool (bitfield or native)<br>if castFlags &amp; CASTCLASS_FStructProperty   -&gt; inline struct, recurse<br>if castFlags &amp; CASTCLASS_FObjectProperty   -&gt; UObject* pointer<br>if castFlags &amp; CASTCLASS_FArrayProperty    -&gt; TArray&lt;&gt; header<br>if castFlags &amp; CASTCLASS_FMapProperty      -&gt; TMap&lt;&gt; header<br>if castFlags &amp; CASTCLASS_FEnumProperty     -&gt; enum (read underlying numeric)<br>//...</pre><p>Common types and what actually sits in memory at the property’s offset:</p><ul><li>FBoolProperty: byte with a bitmask, or a native bool. 1 byte.</li><li>FIntProperty: int32. 4 bytes.</li><li>FFloatProperty: float. 4 bytes.</li><li>FDoubleProperty: double. 8 bytes.</li><li>FNameProperty: inline FName struct. 8 bytes, or 12 with case preservation.</li><li>FStrProperty: TArray&lt;TCHAR&gt; header, actual characters on the heap. 16 bytes.</li><li>FStructProperty: inline bytes of the referenced UScriptStruct. Size is the struct&#39;s PropertiesSize.</li><li>FObjectProperty: UObject*. 8 bytes.</li><li>FWeakObjectProperty: int32 index + int32 serial number. 8 bytes.</li><li>FArrayProperty: TArray header (Data pointer + Num + Max). 16 bytes.</li><li>FMapProperty: TMap header with complex internals. ~50-80 bytes depending on build.</li><li>FEnumProperty: underlying numeric value. 1-8 bytes depending on the backing type.</li><li>FClassProperty: UClass* constrained to a MetaClass. 8 bytes.</li><li>FSoftObjectProperty: FSoftObjectPath (two FStrings). ~40+ bytes.</li></ul><h3>Booleans</h3><p>FBoolProperty stores ByteOffset, ByteMask, and FieldMask. If FieldMask == 0xFF, it is a native bool occupying the full byte. Otherwise it is a bitfield: multiple bools packed into one byte, each using a different mask. You read the byte at Base + Offset_Internal + ByteOffset and AND with FieldMask. Get this wrong and you silently corrupt adjacent bools.</p><h3>Struct Properties</h3><p>FStructProperty has a Struct pointer to a UScriptStruct. Inner field offsets are relative to the struct start. If the struct property sits at offset O in the outer object and an inner field is at offset I within the struct, the absolute offset is O + I. This is how you recursively flatten nested types like FTransform.</p><h3>FString</h3><p>FStrProperty looks like a simple type but it is a container. The inline portion is a TArray&lt;TCHAR&gt; header (8-byte data pointer + 4-byte count + 4-byte capacity = 16 bytes). The actual characters live on the heap. TCHAR is wchar_t (2 bytes) on Windows in most UE5 builds.</p><h3>Functions and Parameters</h3><p>UFunction inherits from UStruct, so its parameters are just properties in a flat buffer. At call time, the engine allocates ParmsSize bytes and each parameter sits at its Offset_Internal within that buffer, same as struct fields.</p><p>To generate a signature: iterate child properties, classify by PropertyFlags (return value, out param, reference param), map each to a C++ type string. If there is a return-value property, that is the return type; otherwise it is void.</p><p>Func on UFunction is the native function pointer for C++-bound functions. Blueprint-only functions use bytecode instead.</p><h3>Reconstructing Layouts</h3><p>This is the core of every SDK dumper. Given a UClass or UScriptStruct, produce a C++ struct with correct size, alignment, and offsets:</p><ol><li>Collect all properties (declared + inherited)</li><li>For each property, compute its range: [Offset_Internal, Offset_Internal + ElementSize * ArrayDim)</li><li>Sort by offset</li><li>Walk the sorted list. If there is a gap between one property’s end and the next property’s start, emit padding bytes (uint8 UnknownData_N[size]). Then emit the property.</li><li>Check against PropertiesSize for trailing padding.</li></ol><p>Gaps come from alignment padding, unreflected native C++ members, stripped editor-only data, or build-specific injected state. You cannot tell which from reflection alone, so generators label them as unknown and move on.</p><h3>Emitting the SDK</h3><p>A usable SDK needs types declared before use, correct sizes and offsets, and proper function signatures. The pipeline:</p><ol><li>Enumerate all UObjects from GUObjectArray</li><li>Filter for UClass, UScriptStruct, UEnum, UFunction</li><li>For each type, dump fields, compute layouts, extract function signatures, collect enum values</li><li>Build a dependency graph (base classes before derived, structs before classes that embed them, forward-declare pointer targets)</li><li>Topological sort and emit ordered headers</li></ol><p>A typical generated class:</p><pre>// Class Engine.Actor<br>// Size: 0x290 (Inherited: 0x28)<br>class AActor : public UObject<br>{<br>public:<br>    uint8  UnknownData_0[0x18];                // 0x28 (gap)<br>    FTransform ActorTransform;                 // 0x40<br>    TArray&lt;UActorComponent*&gt; OwnedComponents;  // 0x70<br>    USceneComponent* RootComponent;            // 0x80<br>    // ...<br><br>void K2_DestroyActor();<br>    bool HasAuthority();<br>};</pre><p>These offsets are real memory offsets. You cast a pointer to this type and read fields directly. That is the point.</p><p>Reflection only covers UPROPERTY and UFUNCTION marked members. Unreflected native C++ members, vtables, and internal engine state all show up as gaps. A dumped SDK gives you the reflected surface, which is most of what matters for gameplay code, but not the complete picture.</p><h3>What Breaks Between Builds</h3><p>The most common layout differences between games:</p><ul><li>WITH_CASE_PRESERVING_NAME changes FName from 8 to 12 bytes, shifting everything downstream.</li><li>UE_PACK_FUOBJECT_ITEM changes FUObjectItem pointer storage.</li><li>Editor-only data adds or removes members.</li><li>New FProperty subclasses appear over time (UE 5.4 added FOptionalProperty).</li><li>Shipping builds can strip names and metadata.</li></ul><p>The dumpers that work reliably across many games are the ones that probe at runtime and derive offsets from the actual data, rather than hardcoding layouts from a specific build. Use semantic relationships (Owner, Next, Offset_Internal, ElementSize, flags), validate against known objects, and never assume a fixed struct layout.</p><p>That covers the full chain from finding the globals in memory to emitting usable headers. The reflection system was built so the engine could understand its own types at runtime. The fact that external tools can do the same thing is just a consequence of that design. Once you understand how the pieces connect and you know where to look, dumping any given game is straightforward. Building a dumper from scratch takes more work, but the reflection system does most of the heavy lifting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32091c39ab3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Censorship Gear as Unintended DDoS Infrastructure]]></title>
            <link>https://medium.com/h7w/using-censorship-gear-as-unintended-ddos-infrastructure-81efadcc08e3?source=rss-a430f5050cf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/81efadcc08e3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[internet-censorship]]></category>
            <category><![CDATA[ddos]]></category>
            <category><![CDATA[internet]]></category>
            <dc:creator><![CDATA[user32]]></dc:creator>
            <pubDate>Sat, 07 Feb 2026 20:46:09 GMT</pubDate>
            <atom:updated>2026-02-13T01:17:59.484Z</atom:updated>
            <content:encoded><![CDATA[<p>The same infrastructure governments use to restrict what people can reach online can also be repurposed to disrupt availability. It is the filtering equipment that sits in the middle of internet traffic: network middleboxes like deep packet inspection appliances, content filters, and censorship firewalls operated by governments and ISPs worldwide. The way many of these systems handle traffic becomes more dangerous as the deployments get larger.</p><p>On February 7, 2026, I ran an internet-wide scan using a custom ZMap module to see how these devices behave when they receive traffic that a normal TCP implementation would ignore. Millions of middleboxes did the opposite. They replied to invalid TCP packets with full HTTP responses, even though no TCP handshake had been completed. That behavior effectively turns censorship and filtering deployments into a large reflector set for TCP reflected amplification DDoS, a class of attack that many teams still do not explicitly model.</p><p>This isn’t a vulnerability in TCP itself. The problem is that middleboxes violate TCP’s fundamental rules in order to do their job, and that violation creates a global-scale attack surface.</p><h3>Amplification Attacks Aren’t Just a UDP Problem</h3><p>Most people associate amplification with UDP based services like DNS, NTP, or Memcached. UDP is connectionless, so an attacker can spoof the source address of a small request and cause a larger response to be sent to the victim.</p><p>TCP is usually treated as the exception because it is stateful. In a normal TCP exchange, the three-way handshake (SYN, SYN-ACK, ACK) establishes that both endpoints are real and reachable before application data is exchanged. If the victim has to participate in that handshake, classic reflection does not work.</p><p>But middleboxes completely undermine that expectation.</p><p>To do deep packet inspection and content filtering, especially in asymmetric routing setups where they may only see one direction of traffic, many middleboxes will inject a block page in response to what looks like an HTTP request for a blocked domain, even if there is no completed TCP handshake. In practice, that means a single spoofed packet can provoke a response sent to the spoofed address. Not every device will react, but enough do to form a large reflector set, where a 77-byte request can trigger responses of 300, 500, 1,000, and sometimes 4,000+ bytes.</p><h3>What the 2021 Research Showed and What the 2026 Scans Add</h3><p>Kevin Bock, Abdulrahman Alaraj, and their team at the University of Maryland and the University of Colorado Boulder brought this issue to light in their 2021 USENIX Security paper, <em>Weaponizing Middleboxes for TCP Reflected Amplification</em>. They showed that TCP reflection via middleboxes was measurable at scale, with hundreds of thousands of IPs offering amplification factors above 100x, and edge cases where routing behavior can produce effectively unbounded amplification.</p><p>In March 2022, Akamai reported the first confirmed in-the-wild attacks using this technique. Campaigns peaked at 11 Gbps and 1.5 million packets per second, hitting banking, travel, gaming, and media companies. Shadowserver then scanned the full IPv4 space and counted over 18.8 million IPs vulnerable to middlebox TCP reflection.</p><p>That was four years ago. My scans show the problem hasn’t gone away. The max amplification numbers I recorded match the routing-loop scenarios the UMD team warned about: <strong>over 2 million times amplification</strong> from a single reflector. More countries have expanded their censorship infrastructure since 2022, and that means more reflectors.</p><h3>How I Did the Scans</h3><p>I built a custom ZMap probe module to measure how censorship and filtering middleboxes react when they see an HTTP request for a blocked domain embedded in traffic that does not correspond to a real TCP connection.</p><p>Each probe used <strong>PSH+ACK flags</strong> (no SYN and no handshake), carried a small HTTP request in the payload, and targeted <strong>port 8000</strong> to show that inspection is not limited to ports 80 or 443. The key field is the Host header. Changing the domain changes which middleboxes inject a response, because blocklists differ by country and network.</p><p>I ran three internet-wide scans, each identical except for the Host value:</p><ol><li>youporn.com</li><li>wikileaks.org</li><li>telegram.org</li></ol><p>A separate listener captured responses and logged source IPs, response sizes, TCP metadata, and payload content. I then processed the resulting PCAPs in parallel with tshark.</p><p>Example payload:</p><pre>GET / HTTP/1.1<br>Host: telegram.org<br><br></pre><h3>Analyzing the Scan Results</h3><p>Changing only the Host: domain in the payload produced noticeably different results. It affected not just how many middleboxes responded, but also how much they sent back and how often they retransmitted.</p><p><strong>Host: youporn.com</strong></p><ul><li>Total reflectors: 7,800,378</li><li>Total packets: 13,982,071</li><li>Total bytes received: 1.84 GB</li><li>Avg amplification: 3.30x</li><li>Max amplification: <strong>1,131,487x</strong></li><li>Packets per reflector: 1.79</li><li>Avg bytes per packet: 141</li><li>Request size: 77 bytes</li></ul><p><strong>Host: wikileaks.org</strong></p><ul><li>Total reflectors: 6,761,041</li><li>Total packets: 13,570,929</li><li>Total bytes received: 1.73 GB</li><li>Avg amplification: 3.47x</li><li>Max amplification: <strong>2,160,868x</strong></li><li>Packets per reflector: 2.01</li><li>Avg bytes per packet: 136</li><li>Request size: 79 bytes</li></ul><p><strong>Host: telegram.org</strong></p><ul><li>Total reflectors: 6,713,687</li><li>Total packets: 7,457,830</li><li>Total bytes received: 1.20 GB</li><li>Avg amplification: 2.46x</li><li>Max amplification: <strong>103,255x</strong></li><li>Packets per reflector: 1.11</li><li>Avg bytes per packet: 172</li><li>Request size: 78 bytes</li></ul><h3>Porn Is the Most Widely Blocked Content</h3><p>The youporn.com payload pulled in the most reflectors by a wide margin: 7.8 million unique IPs, versus 6.76 million for wikileaks.org and 6.71 million for telegram.org. Pornography is blocked in at least 43 countries including the Middle East, much of Africa and South Asia, China, Russia, and elsewhere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*ywC2Jj4ul3mww4LS.png" /></figure><h3>WikiLeaks Triggers the Most Aggressive Retransmission</h3><p>The packets-per-reflector figure is one of the clearest signals in this dataset because it captures retransmission behavior, not just response size.</p><ul><li><strong>wikileaks.org:</strong> 2.01 packets per reflector</li><li><strong>youporn.com:</strong> 1.79 packets per reflector</li><li><strong>telegram.org:</strong> 1.11 packets per reflector</li></ul><p>A value of 2.01 means that, on average, a single 79-byte probe triggered about two response packets from each middlebox. The simplest explanation is retransmission: the device injects a block page, never sees a valid ACK because there is no real connection, and tries again. In this dataset, the middleboxes triggered by wikileaks.org appear more likely to retry than the ones triggered by youporn.com or telegram.org.</p><p>That behavior helps explain why wikileaks.org has the highest average amplification (3.47x) despite having fewer reflectors and slightly smaller average packets than youporn.com. It also lines up with the extreme end of the distribution: <strong>a maximum amplification of 2,160,868x</strong>. You cannot get numbers like that from a single injected block page. The best explanation is the routing-loop failure mode described in the UMD paper, where injected responses end up cycling through a loop and are emitted repeatedly until the loop is interrupted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/0*W9mybY76MghArH_J.png" /></figure><h3>High-End Max Amplification and Likely Cause</h3><p>The maximum amplification values are hard to explain with normal block-page injection alone.</p><ul><li><strong>wikileaks.org:</strong> 2,160,868x</li><li><strong>youporn.com:</strong> 1,131,487x</li><li><strong>telegram.org:</strong> 103,255x</li></ul><p>All three payloads produced reflectors above <strong>100,000x</strong>, and two of them crossed one million times amplification. One 79-byte probe that hit the right wikileaks.org reflector produced around <strong>170 MB</strong> of reflected traffic from a single IP.</p><p>Numbers like that point to the routing-loop failure mode described in prior work: an injected block response re-enters a path that causes additional injection or repeated emission, and the traffic keeps cycling until something interrupts the loop. In deployments where middleboxes do not behave like normal IP forwarders, the usual TTL based safety valve may not terminate the loop quickly.</p><p>The fact that all three payloads surfaced extreme cases independently suggests this is not a handful of odd devices. It is a deployment pattern that can fail in the same way across different networks.</p><h3>Telegram Produces Fewer Reflectors but Larger Responses</h3><p>Telegram.org produced the smallest reflector set (6.71 million) and the lowest packet count (7.46 million), but it had the largest <strong>average bytes per packet</strong> at <strong>172</strong>, compared with <strong>141</strong> for youporn.com and <strong>136</strong> for wikileaks.org. In other words, when Telegram triggers a response, the response tends to be heavier.</p><p>A plausible explanation is that Telegram blocking is concentrated in a smaller set of countries and networks, and the filtering systems in those environments often inject more elaborate pages with branding and additional text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*Xdtt4k6V_8Q2Daz6.png" /></figure><h3>TCP Flags Hint at Implementation Differences</h3><p>The TCP flags on the responses are a useful proxy for what each middlebox thinks it is doing. Across the three payloads, the distributions are different enough to suggest you are hitting different implementations, or at least different code paths, depending on the blocked domain.</p><p><strong>youporn.com responses</strong></p><ul><li>56.3% PSH+ACK+FIN, 129 bytes avg</li><li>37.7% PSH+ACK, 146 bytes avg</li><li>4.0% PSH+ACK with reserved bits set, 322 bytes avg</li><li>1.8% ACK+RST</li></ul><p><strong>wikileaks.org responses</strong></p><ul><li>60.5% PSH+ACK+FIN, 152 bytes avg</li><li>36.9% PSH+ACK, 117 bytes avg</li><li>2.3% ACK+RST</li><li>0.04% PSH+ACK with reserved bits set, 431 bytes avg</li><li>Additional rare outliers with unusual flag combinations (hundreds of packets total), many also involving reserved bits</li></ul><p><strong>telegram.org responses</strong></p><ul><li>72.3% PSH+ACK, 116 bytes avg</li><li>22.2% PSH+ACK+FIN, 389 bytes avg</li><li>4.8% ACK+RST</li><li>0.6% RST</li><li>0.1% PSH+ACK with reserved bits set, 415 bytes avg</li></ul><p>There are two points worth calling out based on the data that was observed:</p><p>First, telegram.org behaves differently from the other two. For youporn.com and wikileaks.org, most responses include FIN, which implies the middlebox is sending a response and then tearing down what it treats as a connection. For telegram.org, most responses do <strong>not </strong>include FIN (72.3% are PSH+ACK only). That suggests many devices are emitting a response while leaving state around for a session that never existed. The minority that do include FIN send much larger packets on average (389 bytes vs 116), which is consistent with two responder populations: one that has a small, lightweight response, and another that injects a fuller block page and then closes.</p><p>Second, the reserved-bit patterns look like vendor or firmware fingerprints. In the youporn.com scan, 4.0% of responses (over 555,000 packets) had PSH+ACK with reserved bits set and were substantially larger on average (322 bytes). The same pattern appears in the wikileaks.org scan at a much lower rate (0.04%, about 5,549 packets) but with larger average size (431 bytes). A reasonable interpretation is that the same implementation family is present in both datasets, but it takes a different response path depending on the content category it matches.</p><h3>Weird Flag Anomalies</h3><p>The wikileaks.org scan also produced the largest variety of odd TCP flag combinations. In addition to the R·R····AP··· pattern, I saw several low-frequency variations:</p><ul><li>·R····A···· (286 packets, 445 bytes avg): a reserved bit set alongside ACK, without PSH or other typical “data” indicators.</li><li>···N··A···· (16 packets, 448 bytes avg): the NS bit set with ACK, even though these devices are not negotiating ECN in any meaningful sense.</li><li>RR····A···· (5 packets, 445 bytes avg): two reserved bits set with ACK.</li><li>RR·N··A···· (1 packet, 514 bytes): reserved bits plus NS.</li></ul><p>There were also a handful of one-off combinations like ·RR····A····, R·R····A····, and RRR····A·R··.</p><p>The consistent packet sizes are the interesting part. Several of these odd flag combinations group tightly around 445 to 448 bytes, which might suggest a single implementation family leaking internal bitfields into outbound packets, with small differences likely explained by firmware versions or configuration. The fact that these patterns appear more often for wikileaks.org than for the other payloads might suggest that the code path for political or whistleblower filtering differs from the one used for adult-content filtering, and that it is more prone to these flags.</p><h3>What Happens When You Point This at a Real Target?</h3><p>I also ran a controlled reflection test to see what this looks like outside a spreadsheet. I sent probes at 7 million packets per second toward a target with a 400 GB/s DSTAT monitoring endpoint. Small botnets can push far more, so this is not an extreme send rate by any means.</p><p>As the reflected traffic built, the inbound bandwidth climbed to roughly 100 Gbps, and the DSTAT setup itself started failing under the load. Once the stream crossed that level, the monitoring output became unreliable and laggy, because the packet rate was also exploding. Received PPS peaked near 100 Mpps, driven by the fact that one outbound probe can trigger multiple responses from middleboxes across many networks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ujqsIKVDOBpM3fA0.png" /></figure><p>So at around 7,000,000 packets per second, the reflected traffic ramped so quickly that the DSTAT monitor started to fall behind and drop output. In other words, my visibility failed before the test even finished. I only got a clean look at the peak that was recorded when I stopped sending and the system caught up, and that is when the chart showed the spike, right around 100 Gbps of inbound reflected traffic.</p><h3>Why This Reflection Pattern is Different</h3><p>TCP middlebox reflection has a few properties that make it harder to deal with than the UDP amplification patterns most defenders are used to.</p><p><strong>Huge source diversity.</strong> The reflected traffic can appear to come from a broad spread of routable IP space, sometimes millions of distinct addresses, which makes source-based blocking impractical.</p><p><strong>Traffic that looks like normal HTTP.</strong> Many responses are real HTML block pages with plausible headers and TCP framing. At a glance, they do not resemble the usual unsolicited UDP replies defenders typically filter.</p><p><strong>Content-dependent behavior.</strong> Changing only the blocked domain can shift which infrastructure participates and how it behaves, including response size and retransmission patterns, so the attack characteristics are tunable.</p><p><strong>Not tied to the usual ports.</strong> These devices often inspect for application patterns across many ports, not just 80 and 443, which expands where the reflection can be triggered.</p><h3>Final Thoughts</h3><p>TCP middlebox reflection turns a policy enforcement mechanism into a network security problem. The same devices deployed to block content can also be repurposed as amplifiers for denial-of-service attacks. In my February 7, 2026 scans, the youporn.com payload alone produced <strong>7.8 million</strong> distinct IPs that reflected TCP traffic without a handshake, effectively a massive pool of amplifiers operated as part of normal filtering infrastructure.</p><p>The upper end of the data is more alarming. I observed a maximum amplification of <strong>2,160,868x</strong> from a single reflector, which is not something you get from a “large block page” and a few retries. It matches the loop-driven failure mode described in the 2021 research, where injected responses can get trapped and re-emitted until the loop is interrupted.</p><p>None of this is a new discovery. The mechanism was documented in 2021, Akamai reported real campaigns in 2022, and Shadowserver reported tens of millions of exposed IPs. The point of the 2026 measurements is that the conditions are still widespread, and they persist because the cost of fixing them falls on the operators of censorship infrastructure while much of the resulting damage lands elsewhere.</p><h3>A Gallery of Government Block Pages</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uwf-ymvfYxnBJQU3PcsXAw.png" /><figcaption>Kuwait (block.stc.com.kw)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cl02s_WkjjLcAT0BqecTSw.png" /><figcaption>Uzbekistan (ogohlantirish.uz)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CMZzfZasHoMDk5ZWsNwRuw.png" /><figcaption>Tunisia (Tunisie Telecom)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s22FPMSxYl-2-_faUDy3XA.png" /><figcaption>Qatar (censor.qa)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GS29sqvSMW93YBllC_UbyQ.png" /><figcaption>Russia</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tOa5N7DqK5Mh1Irp-LDq7g.png" /><figcaption>UAE (lighthouse.du.ae)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iyIjuuBS8aifYT12A3Hakw.png" /><figcaption>Saudi Arabia (filter.sa)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdE0riqWdkmX7skDKK5n-Q.png" /><figcaption>China</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5W3CotgnUoxfnyFx7DK_HQ.png" /><figcaption>Russia</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9vPQ42sQqCYiHMTupCVXqA.png" /><figcaption>Bulgaria</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qEaXJNRpYFaoEkTaWZYoHA.png" /><figcaption>Russia</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SfyDLV7mSCtE0IZ6fAajFA.png" /><figcaption>Russia</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LGJHzc5dz1iew3lWXS01qw.png" /><figcaption>Russia</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81efadcc08e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/h7w/using-censorship-gear-as-unintended-ddos-infrastructure-81efadcc08e3">Using Censorship Gear as Unintended DDoS Infrastructure</a> was originally published in <a href="https://medium.com/h7w">T3CH</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>