Every browser on a Windows endpoint was dead. Not slow, not rate-limited: dead, in the ERR_TIMED_OUT then ERR_CONNECTION_RESET way that makes you accuse the router, the DNS server, and briefly the neighbour's microwave.
WSL was fine. curl was fine. ping was fine. SMTP was fine. 914 of 916 probes passed, and the browsers still would not load a page.
It was Sophos. A containment feature, doing what it was built to do, on a machine where I had removed part of the agent. It decided the endpoint was unsafe and put it in a stranglehold, then locked me out, because the component that could have released the grip was the component I had removed.
That is the short version. The long one is worth reading because one incident produced two independent paradoxes, one portable finding about how Windows classifies traffic, and a fix that came down to which files were present.
Symptoms: the machine that failed only the test you cared about
The symptom list read like a riddle, so the first job was to make it less contradictory.
| Observation | Evidence |
|---|---|
| Browsers fail | ERR_TIMED_OUT, then ERR_CONNECTION_RESET |
| Not the profile, cache, extensions or proxy | incognito fails identically |
| Not the network | curl to an internal host returns 200 OK, byte-identical to the WSL response |
| Not TCP itself | telnet to the same host returns HTTP/1.1 400 Bad Request (TCP and http.sys respond) |
| ICMP fine | ping succeeds to four hosts on three networks |
| Connect probes fine | 200 × 2 TCP connects to two public hosts, 0 failures |
| Two real drops | about 0.2% of 916 requests, both silent, 0 bytes |
The last three rows rule out the two hypotheses everyone reaches for first. It wasn't DNS-only: failures occurred on IP-literal and cached-IP paths. It wasn't a per-destination filter: the failures hit unrelated destinations, and each was a silent timeout with zero bytes.
One caveat I owe you now rather than later. This table mixes things that worked (curl, telnet, connect probes) with things that failed (browsers). The WFP capture below shows broad termination, not total termination, and I treat that difference seriously in the evidence section.
So something was selectively terminating connections. The interesting question was who. The second most interesting was why the same machine behaved differently inside WSL.
The premise "there is no Sophos on this machine" turned out to be false. Five services, one kernel driver, one process tree. Every investigation has one premise it has to throw away, and this was mine.
The tell: a handshake that never finished
A 12-minute live socket monitor caught it. SophosNtpService.exe held a TCP connection attempt to the vendor's Azure-hosted management endpoint on port 8347, in SynSent, for the entire window. It never became ESTABLISHED.
A SYN that never becomes an ACK is a socket shouting into an empty room, and this one was the agent's own management channel, the path to Sophos Central. The endpoint could not fetch policy, and it could not be released.
The stranglehold: one switch, one process, one driver
| Layer | Component | Value |
|---|---|---|
| The switch | registry DWORD | HKLM\SOFTWARE\Sophos\Sophos Network Threat Protection\Application → Isolated = 1 |
| The decision maker | user mode | SophosNetFilter.exe, child of SophosNtpService.exe (service SntpService) |
| The enforcement | kernel driver | C:\Windows\System32\drivers\sntp.sys (Start=1, SYSTEM_START, WHQL-signed) |
| The mechanism | WFP filters | ids 77270–77283, provider {5680ca01-…} |
There is no per-filter registry key. The filters are created dynamically and carry at most FWPM_FILTER_FLAG_INDEXED, never FWPM_FILTER_FLAG_PERSISTENT, so they are never serialised into the Base Filtering Engine's persistent store. The entire state of "this endpoint is in containment" lives in one REG_DWORD named Isolated, read by one driver, at one moment, by a process nobody has heard of.
The guest list
Fourteen filters: ten permits and four terminators. The permits describe what containment is supposed to be.
Permitted (the entire allow-list):
- UDP 53, but only for one specific application identity and one specific service SID
- DHCP (67/68) and DHCPv6 (547/546), both directions
- a single IPv4 mask and a single IPv6 mask (the management endpoint)
- loopback
Terminated: everything else, TCP and UDP, at ALE_AUTH_CONNECT_V4/V6 and ALE_AUTH_RECV_ACCEPT_V4/V6. That is four FWP_ACTION_CALLOUT_TERMINATING filters, ids 77280–77283.
The design intent falls out of the list. The isolated machine keeps DHCP so it can hold an address, one DNS path so it can resolve the management domain, and one whitelisted host so it can reach its policy server. It loses everything else. That is a correct design, and it is why the failure is so total: a wall with five holes is still a wall, and I wasn't on the list.
953 connections, thirty seconds
A WFP event export contains 953 PUBLIC_CLASSIFY_DROP records spanning 29.6 seconds.
| Filter | Drops |
|---|---|
| 77280 (outbound TCP & UDP, v4) | 796 |
| 77282 (inbound TCP & UDP, v4) | 60 |
| 77283 (inbound TCP & UDP, v6) | 55 |
| 77281 (outbound TCP & UDP, v6) | 42 |
| Process | Drops |
|---|---|
svchost.exe | 333 |
opera.exe | 182 |
dashost.exe | 129 |
onedrive.exe | 104 |
msedgewebview2.exe | 68 |
vivaldi.exe | 58 |
By remote port: 443 × 655, 3702 × 84 (WS-Discovery), 53 × 76 (DNS), 5353 × 56 (mDNS), 80 × 14, 1900 × 9 (SSDP).
Two conclusions follow, and the first needs care.
- The static filters are not browser-targeted, but the outcome was not uniform either. No filter condition names any browser,
curl,powershellorcmd.exe, so any selectivity had to happen at runtime inside the callout. And there was selectivity:curl,telnetand 400 connect probes got through, while a browser heldEstablishedsockets to the same internal host for 90+ seconds and still failed. "Broad" is the honest word, not "blanket." Browsers were simply the most visible casualty, because they fail loudly whilesvchost.exequietly gives up. Windows Update, OneDrive sync, device discovery and DNS resolution were all being black-holed. - DNS itself was being dropped: 76 drops on port 53. That independently explains why public resolvers timed out from Windows but worked from WSL.
Why the drawbridge stayed up
This is my reconstruction, inferred from local evidence. I could not reach Sophos's documentation (every search returned HTTP 403), so treat the chain as a hypothesis that fits all the facts I have, not as vendor-confirmed behaviour.
I removed the agent's update-and-management component, and three of its
driver images were renamed during the removal
-> the agent cannot reach its cloud console
-> endpoint health turns RED
-> health RED, and no management plane to consult
-> the still-intact containment half concludes the endpoint is unprotected
-> latches Isolated = 1
-> installs filters 77280-77283
-> all TCP+UDP terminated except the allow-list
-> and there is no management channel left to receive a release command
The headline insight, in whiteboard form:
A security product's sensors and its actuator fail in opposite directions.
Removing the sensors (health, defence, management) left the actuator (containment) powered, and it correctly concluded the endpoint was unprotected and locked it down. What made it unrecoverable is that the removal also deleted the only channel that could have told it to stop.
This is a fail-closed design working as intended, and the property isn't Sophos-specific. It appears in any system where "decide to contain" and "decide to release" live on different components. Break the decision-maker's input and you get a conservative answer. Break the output channel too, and the conservative answer is permanent.
The moat nobody was watching
Why was WSL completely fine while Windows was dead? The answer is architectural and has nothing to do with Sophos's intent.
Windows Filtering Platform evaluates at layers, and all fourteen filters sit at the ALE layers, ALE_AUTH_CONNECT and ALE_AUTH_RECV_ACCEPT. Those layers see locally originated and locally terminated connections only: a connection attributed to a local process and a local endpoint.
WSL2, in the default NAT mode I tested, is a Hyper-V virtual machine with its own kernel. Its packets cross vEthernet (WSL) and are NAT'd by the host. From the host's point of view they are forwarded, not originated, so they are evaluated at FWPM_LAYER_IPFORWARD_*. Sophos installed no IPFORWARD filters.
| Path | WFP layer it crosses | Filter there? | Result |
|---|---|---|---|
Windows app (browser, curl, telnet) | ALE_AUTH_CONNECT_V4/V6 | yes | classified; outcome decided by the callout at runtime (some terminated, some permitted) |
WSL2 VM (Firefox, curl, apt) | IPFORWARD_V4/V6 (NAT) | no | never classified, passes |
| Loopback (WSL ↔ Windows) | loopback | permitted | passes |
The DNS split comes out the same way. dig -x 8.8.8.8 over UDP from Windows is a locally originated UDP/53 that doesn't match the one permitted application identity, so it is dropped. The identical query from WSL is forwarded and passes. Over TCP from Windows it also succeeded, which, like the curl results, fits runtime selectivity rather than a blanket rule.
A containment filter implemented only at the ALE layers cannot see Hyper-V/WSL2 NAT'd flows. Isolation that blocks the browser but not the shell in the VM beside it is not a misconfiguration. It is a gap in where the filters were placed, and the VM becomes a network path the product never sees.
That generalises past this incident and this product. If your containment assumes "the machine is talking, therefore a local process is talking," a NAT'd VM falsifies the assumption without appearing in your filter table. WSL's mirrored networking mode and Hyper-V firewall rules change the picture, so check which mode you run before drawing conclusions.
The remedy, and the second wall
From the live USB I removed the enforcement driver and rebooted, and the block was gone. With no driver there are no callouts, and with no callouts nothing can install those filters. Browsing worked.
Then every normal boot landed on the recovery screen.
Not a crash, not a bugcheck: a deliberate refusal to start, escapable only through Startup Settings → Disable early-launch anti-malware protection. That is a per-boot flag that never persists, so it had to be re-selected every time. Worse, it skips the early-launch phase for every ELAM driver, including the operating system's own. You trade one vendor's protection for a system-wide weakening of early driver verification, on every boot, to get into your own machine.
The cause was one service registration, HKLM\SYSTEM\CurrentControlSet\Services\Sophos ELAM:
| Value | Data |
|---|---|
Group | Early-Launch |
Start | 0 (SERVICE_BOOT_START) |
ErrorControl | 3 (SERVICE_ERROR_CRITICAL) |
ImagePath | system32\DRIVERS\SophosEL.sys ← the file that had been renamed |
ErrorControl = 3 on a boot-start driver in the Early-Launch group is a hard coupling: if that driver does not load, the boot fails. Windows treats it as a system-startup failure, not a recoverable service failure.
So the first fix had built a second wall. The first wall kept the network out. The second kept me out of the machine.
Missing and invalid are the same failure
This took longest to accept, and it is the most portable idea here. I wanted to drop a placeholder file at ImagePath and move on. It would not have worked, because the requirement is not "a file exists." It is "this registered early-launch driver initialises."
File at ImagePath | Loader outcome | Result |
|---|---|---|
| absent | no image to map | load failure → recovery screen |
| dummy / zero-byte / text | not a valid PE | load failure → recovery screen |
| unsigned kernel image | signature check fails | load failure → recovery screen |
signed image whose DriverEntry fails | initialisation fails | load failure → recovery screen |
| the real, signed driver | loads | boot proceeds |
Every row but the last ends in the same place. An ELAM driver must carry a Microsoft-trusted Early Launch Anti-Malware certificate (EKU OID 1.3.6.1.4.1.311.61.4.1), and that check is the point of the component, so it cannot be stubbed. The signature requirement isn't incidental to the security model; it is the security model.
To a loader, "missing" and "invalid" are indistinguishable. They differ only in your head, because you know which one you meant, and the boot path is the only audience that mattered.
The ladder I never walked
sc is only a front-end for the registry: sc config and sc delete are writes to HKLM\SYSTEM\CurrentControlSet\Services\*. Four values decide whether a missing image is fatal, which gives a clean ladder:
| Rung | Change | Effect |
|---|---|---|
| 1 | Start = 4 | disabled, so no load attempt at all |
| 2 | delete Group | it stops being an ELAM driver, and winload no longer requires it |
| 3 | ErrorControl = 0 | a failed load is ignored and boot continues |
| 4 | delete the key | nothing left to require, which is what a real uninstall leaves |
The order is deliberate: only rung 2 changes what class of driver this is, and the rest change what happens when it fails. One change, one reboot, stop at the first normal boot.
I never needed a single rung. A pristine copy of the real driver was sitting untouched in C:\Windows\ELAMBKUP\, a backup directory the OS maintains, holding an identical 29,632-byte copy of SophosEL.sys (MD5 173371d51e54c0569836aca1cd45c4ff, byte-for-byte the same as the .BAK). It needed no network, no vendor, and no cache that had already been deleted. Restoring that file satisfied the requirement directly, and the machine booted normally on the next attempt.
That also made moot a question I had expected to cost a reboot: whether the loader keys on Start or on Group. Supplying a valid image satisfies it either way. The experiment stays on the list for a machine whose ELAM image is genuinely unrecoverable.
What I did not close
The difference between a diagnosis and a guess is what you are willing to leave unproven.
- The per-process selectivity was never sourced. The static filter table names no browser, so any selectivity lived in the callout's runtime classification. I never captured it, and now cannot: the driver is gone, and re-observing it would mean re-arming the product. Recorded, not claimed.
- The causal chain is a reconstruction. Sophos's own documentation was never consulted (HTTP 403 throughout), so the feature's name and documented behaviour rest on local evidence only.
- The updater's runner was never identified. No AutoUpdate service was registered and no scheduled task existed, yet the package cache was refreshed.
- Residual event-7000 noise per boot is expected. Deleting files does not remove service registrations. It is cosmetic, and only a sanctioned re-push from the vendor console clears it.
Takeaways
- To a loader, "missing" and "invalid" are the same failure. A registered driver must initialise, and presence is not the test. Where the component is signature-enforced (ELAM, boot-start AV, WDAC), no unsigned placeholder can satisfy it.
- Fail-closed containment needs a release path that doesn't depend on what you removed. Removing the sensors made the actuator latch. Removing the actuator's file made the boot loader refuse to start. Same deletion, two mechanisms, because two parts of the OS read the same registry entry.
- An ALE-only firewall cannot see NAT'd VM traffic. If containment is implemented at the layers that see locally originated connections, a Hyper-V guest's forwarded traffic is invisible to it by construction.
- The decisive attributes were data, not code.
Isolated = 1latched the lockdown, andErrorControl = 3made a missing file fatal to boot. Repairing the machine took an offline registry-and-file edit and a backup directory Windows maintains for you. - Don't half-remove a security agent. Partial removal is how a protective feature becomes a hostile one. If you manage the endpoint, uninstall through the vendor's own tooling or console, and if it's someone else's, ask them.
The whole arc was three renamed driver images, a latched containment flag, 953 drops in thirty seconds, a removed enforcement driver, a refused boot, and a restored file. No admin console was involved, and the grip was released by putting one file back where it belonged.
Disclosure
I have not reported the self-latching isolation and the missing IPFORWARD coverage to Sophos. If unpatched to date, the above write-up holds and remains effective against this containment stranglehold.
Incident record, 2026-10-14 → 10-15. The mechanism, filter identifiers, registry paths and hashes are the product's own and are left intact.