The short version
- Without decryption, network DLP sees a domain and a volume, never the content; ECH can hide the domain as well.
- Exclusions, pinned apps, exempted categories and traffic that never reaches the proxy fail without an error or an alert.
- To find them, push one decoy file down each path and read the proxy log.
The request usually comes from the development team: git keeps failing behind the proxy, so could github.com come off TLS inspection? The exception goes in, and nobody writes a DLP rule for git push. From then on the proxy sees encrypted traffic to github.com on port 443, or SSH on port 22, and nothing more.
A decoy pushed to a personal repository or a public gist now leaves without a single DLP rule running. The proxy is working exactly as configured.
Why TLS inspection does not see everything
Almost all outbound web traffic is encrypted. Without decryption, your network DLP sees a domain name (from SNI or DNS), a volume and a destination, but not the content. In MITRE ATT&CK terms, HTTPS to an attacker-run server is T1048.002 (asymmetric encrypted non-C2 protocol); uploads to a web service such as a code repository or cloud storage are T1567.
Encrypted Client Hello (ECH), a TLS 1.3 extension on by default in Chrome and Firefox since 2023, can hide the SNI too, but only where the site publishes an ECH configuration in DNS, which Cloudflare offers. You turn it off on the endpoint: the Chrome policy EncryptedClientHelloEnabled disabled through GPO, DNS over HTTPS locked off in Firefox (which only uses ECH with DoH), public DoH resolvers blocked at the egress.
Exceptions pile up after incidents. A line-of-business app on Azure breaks behind the proxy, so someone excludes *.blob.core.windows.net, and that one line now covers every Azure storage account in the world, including one an attacker can create in minutes. Each exception made sense on the day; nobody reads the list as a whole. A session waved through raises no error either: the DLP rule never runs and the dashboard stays green, a textbook silent false negative.
Diagram · what the DLP sees
The four families of blind spots
1. Exclusion lists that have grown
Exclusions are set by destination (domain, category, IP range), by user or group, or by application. Wildcards drift first: *.example.com goes in for the one subdomain that caused trouble, and everything hosted beneath it (storage, sharing, APIs) leaves unread. An exception on shared hosting or a CDN, or on the Microsoft 365 ranges Microsoft advises you not to inspect, covers far more than anyone meant it to.
Then there are the emergency exceptions: added to restore service, never removed, no owner, no expiry date. And the per-group exclusions for senior management, developers or contractors, who are often the people closest to the most sensitive data.
2. Applications with certificate pinning
Some applications check that they are talking to the expected certificate (certificate pinning). Your proxy presents its own, the application refuses it, and the network team adds it to the bypass list. Sync clients, video conferencing, update agents and mobile apps are the usual candidates. Git gets lumped in with them, wrongly: it does not pin, it just does not trust your internal CA. Point http.sslCAInfo at the CA bundle, or on Windows set http.sslBackend to schannel so git reads the Windows certificate store, and the bypass becomes unnecessary. Where a bypass is the right call, put endpoint DLP, a CASB restriction to corporate accounts or a block behind it; on its own it is an exit nobody watches.
3. Categories deliberately left uninspected
Nobody wants the proxy reading a GP booking or a bank statement, so health, online banking and government sites usually stay encrypted, signed off by HR and legal and written into your acceptable use policy and privacy notice. That is a sound decision with two weak points. Vendor categorisation is shaky on niche sites, so a file-sharing service filed under the wrong category ends up exempted. And an exempted category still needs something behind it: endpoint DLP, or an alert on cumulative uploads per user per day, with a threshold low enough that a decoy of a few megabytes trips it. Check that threshold with the test file, not on paper.
4. Traffic that never goes through inspection
Laptops off VPN or on split tunnel never reach the proxy. Nor do servers and cloud workloads that go straight out to the internet, on Azure or elsewhere. QUIC and HTTP/3 run over UDP 443 (RFC 9000 and 9114) and slip past an explicit proxy that cannot handle them. Encrypted DNS in the browser also goes round your DNS controls; our article on DNS exfiltration covers that route.
TLS inspection blind spots and compensating controls
| Blind spot | What the DLP sees | Possible compensating control |
|---|---|---|
| Overly broad domain exclusion | Domain and volume, not the content | Narrow it to the exact subdomain, with an owner and an expiry date |
| Pinned app on the bypass list | Nothing at content level | Endpoint DLP, CASB restriction to corporate accounts, or a block |
| Exempted category (privacy) | Category and volume | Cumulative upload alerts per user, endpoint DLP |
| Laptop off VPN or on split tunnel | Nothing | Always-on SSE client, endpoint DLP |
| QUIC (UDP 443) | Nothing, if the proxy cannot handle it | Block UDP 443 to force fallback to TCP 443, which is inspected |
Testing decryption coverage with a decoy file
The proxy configuration records what was intended. What crosses the wire is another matter, and a decoy file shows it. The test only sees the exceptions it passes through: run it from an office desktop and you learn nothing about laptops on split tunnel.
- Inventory the exceptions. Export all your no-decryption rules (domains, categories, IP ranges, users and groups, applications). For each one, note who requested it, why and since when. An exception with no owner goes to the top of the list.
- Build detectable synthetic data. Decoy documents that are certain to trigger your DLP rules (fake National Insurance numbers in a valid format, fake IBANs with valid check digits, classification markers). The method is detailed in testing exfiltration in production with synthetic data.
- Send the same decoy down every path. Same file, same standard Windows test machine: first to an inspected destination as the control, then to one destination per exception family. Within our scope that means HTTPS and HTTP uploads, GitHub Gist, Google Drive and DPaste; for exempted categories, your team runs the same test by hand. Vary the profile too: office desktop, laptop off VPN, standard account, account in an exempted group.
- Ask three questions per scenario. Was the session decrypted? The proxy or firewall traffic log records it per session (PAN-OS keeps a separate decryption log). Did the DLP rule fire? Did your SOC get an alert it could act on? Decrypted but no SOC alert is a common result, and just as much of a problem. The report breaks each scenario down into what was attempted, transmitted and collected; when a decoy never arrives, the proxy and DLP logs say why, and we read them with you. Illustrative example, made-up figures: eight uploads attempted, five transmitted and collected, and the proxy log shows two of those five were never decrypted, both through the same wildcard exclusion.
- Run it again after every change. A proxy update, a new exception or an SSE migration each moves the boundary; only a repeat run shows whether coverage has slipped.
Closing the github.com exception
Blocking GitHub outright fails: developers will route round the block. Separate the company’s GitHub space from everything else instead. Block gist.github.com as a hostname in its own right. With GitHub Enterprise Cloud, enterprise access restrictions have your proxy add a sec-GitHub-allowed-enterprise header to github.com requests, which limits access to your enterprise’s resources; the proxy can only add it if it decrypts github.com, so the blanket exclusion goes. Close outbound port 22 except from a bastion, and remember that ssh.github.com also answers on 443. Add endpoint control on git push. Then send the same decoy to a personal gist again: if it arrives, the fix has not held. MITRE ATT&CK files this path under T1567.001, Exfiltration to Code Repository.
Next step
Put a decoy through your decryption exceptions
The demo is 30 minutes on pre-built results: a campaign across the 8 channels, HTTPS and GitHub Gist among them, with nothing to install and no access to your environment. The POC, quick and usually free, runs one standard scenario with synthetic data from a machine on your network, through your real egress controls: the decoy meets the same proxy and the same exception list as your users. A paid pilot then extends the measurement to a limited part of your production.
Reviewing your decryption exceptions: four checks
- Every decryption exception has an owner, a reason and a review date, every six months for example.
- Every bypassed application has a named compensating control.
- You know how your proxy handles QUIC, and you have tested it.
- ECH and DoH are set by GPO, not left at browser defaults.
The method across all channels is on our reference page on data exfiltration testing.
FAQ
Should you decrypt 100% of HTTPS traffic?
No. It is unrealistic, and sometimes at odds with what you owe your employees. Keep a current list of what is not decrypted, and put another control behind each gap.
Is TLS inspection enough for effective DLP?
Network DLP needs it, but pinned apps, laptops off VPN and SSH on port 22 never reach it. Keep endpoint DLP and the CASB alongside.
How can you tell whether a session was decrypted?
On the test machine, open the certificate the browser received: if your internal CA issued it, the session was intercepted. The proxy or gateway log gives the same answer for every session.
Should you block GitHub?
No. Block gist.github.com and restrict github.com to your enterprise, as in the example above, then check with a decoy sent to a personal repository.

