1. Home
  2. Darknet Diaries

May 5

Sophos secretly implanted spyware on Chinese hackers

Craig Jones

Read only

Overview

Andrew Brandt and Craig Jones tell host Jack Rhysider how Sophos defended its firewalls against a multi-year Chinese cyberattack campaign by pushing unannounced live updates and covertly implanting spyware onto hacker labs.

3 things to know

Jones: Sophos paid about $10,000 for bug before mass attack

Craig Jones says Sophos paid about $10,000 for an external bug bounty report from a user in Chengdu, China, right before attackers used that same flaw to infect over 80,000 public-facing firewalls.

More

Two years later, in 2020, a customer emailed tech support about an unrecognized URL in the user interface of their Linux-based Sophos XG Firewall, which was caused by vulnerable code migrated over from the stolen Cyberoam codebase. On April 21st, 2020, Sophos received an external bug bounty report for this SQL injection (SQLi) vulnerability from a user claiming to be from Australia, but who had a Chinese name. Correlating product telemetry revealed the device serial number came from an unregistered web trial virtual machine (VM) at an IP address in Chengdu, China.

An FBI report mentioned 80,000 affected devices, though Jones hedges "it'd hazard a guess it was probably more." The injected URL triggered a `wget` request to `sophosfirewallupdate.com` (and attackers also used `sophosproductupdate.com`) to steal system configurations and passwords. Because an attacker-registered kill switch domain referenced "Ragnarök" from "Asgard," Sophos combined the words to name the attack "Asnarök."

▶ Watch at 9:32

Brandt says Sophos remotely updated 80,000 firewalls without rebooting

Andrew Brandt says Sophos used a pre-built hotfix capability for the first time during its 4-day incident response to live-update 80,000 affected customer firewalls remotely without a reboot or customer consent, and Craig Jones notes the user agreement allows this.

More

During the 4-day Round 1 incident response, Sophos used a pre-built hotfix capability for the first time ever to live-update all affected firewalls remotely without requiring a reboot or customer consent.

▶ Watch at 14:56

Jones: Sophos planted spyware on hackers' virtual lab firewalls

Craig Jones reveals that Sophos built an in-house Linux kernel implant and covertly deployed it to unlicensed trial virtual firewalls in China confirmed to belong to the threat actors, uncovering a lab rack with multiple other firewall vendors' devices.

More

Because basic telemetry was insufficient, Sophos formed a specialized team called "X-Ops," named the overarching multi-year effort the "Pacific Rim" campaign, and developed an in-house "kernel implant" (a small Linux ELF binary). The implant captured files written to writable directories and MAC addresses of devices on the same local subnet, revealing the hackers had a lab rack containing multiple other major firewall vendors' devices. Brandt speculates on whether other firewall vendors also deploy kernel implants or get hit the same way, stating "no one else has disclosed that, um, but I don't think it's outside the realm of possibility to think that maybe some of them were."

▶ Watch at 28:03

Also in this episode

Jones says hackers set firewalls to email crash logs

Craig Jones shares that during the June 2020 Baja attack, which hit about 175 to 200 devices, the attackers protected web shells with the password Gucci and configured test firewalls to email crash dumps to their personal email addresses.

More

Six to 8 weeks after the initial hotfixes rolled out, threat actors engineered a workaround to bypass the hotfix, began turning off firewall features that allowed hotfixes to run, and dropped web shells onto the firewalls. In June 2020, in an attack code-named "Baja," attackers chained an Apache module issue with a local privilege escalation affecting any device with a WAN-facing web portal, hitting what Jones approximates as "about 175, 200 devices." Telemetry revealed the Baja bug was another vulnerability submitted via the bug bounty program, paid out by Sophos, and exploited days later.

Unlike the first "spray and pray" attack, Baja targeted specific devices in the Asia-Pacific (APAC) region, including Taiwan, Pakistan, and the Philippines. Sophos tried unsuccessfully to crack the web shell password hash before discovering the password was `Gucci` (a common password used by Chinese threat actors).

▶ Watch at 51:02

Competing Chinese Contractors and the Patching Dilemma

All in all, Sophos tracked about 7 different threat actors doing duplicate work in different locations, concluding they worked for competing Chinese defense contractors rather than a single government department.

More

Threat hunting found an identical binary of customer-recovered Baja malware on `TStark`’s test firewall, where it had sat for 2 months alongside macOS and iOS (iPad/iPhone) malware executables. Around August/September, forensic firm Volexity reached out to Sophos after finding macOS and iOS malware on a customer's Sophos firewall during a Baja investigation belonging to a charity supporting the Uyghur diaspora. Monitoring `Gbigmao`'s firewall revealed a 4th zero-day vulnerability.

They were easily spotted in telemetry because they upgraded and rolled back firmware versions 5 or 6 times a day. To avoid tipping off the hackers that their lab devices were implanted, Sophos could not pre-patch vulnerabilities; they had to watch an attack be built, wait for the first indication of deployment, and patch customer devices while excluding the hackers' lab firewalls from the hotfix.

▶ Watch at 1:04:01

Brandt: Low-level malware forces you to trash your firewall

Andrew Brandt explains that a UEFI bootkit infects a firewall's low-level firmware before the operating system even boots, surviving full system reinstalls and forcing victims to throw the hardware in the trash.

More

From 2021 onwards, attacks pivoted to targeted, hands-on-keyboard intrusions in the APAC region against government agencies, critical infrastructure, R&D organizations, healthcare, retail, military, and finance. Cyberoam was hacked again via a pre-authentication SQLi vulnerability that created an external admin account; with no easy fix and Cyberoam near end-of-life (EOL), Sophos rushed Cyberoam to EOL early and forced upgrades to XG (French authorities later attributed the Cyberoam intrusion to Chinese state-sponsored group APT31). Meanwhile, `TStark` developed a custom userland rootkit called `libxselinux.so` (captured via the implant) and a week later developed a WebAssembly bug injecting an `iframe` into the proxy; 2 weeks after Sophos spotted it in the lab (a 10-day development-to-deployment window), it was deployed against an organization in Tibet supporting Tibetan exiles, bringing the count to 5 or 6 zero-days.

A 4th custom rootkit, `libsophos.so`, deleted logs, hid its presence, maintained low outbound communication volume, and established persistence from late 2020 to late 2022. The test bricked the lab firewall, allowing Sophos to update low-level firmware to block it. Brandt wonders whether the UEFI bootkit succeeded against other vendors who told customers to throw bricked/infected boxes in the trash, noting "we never get the details from other reports about what happened." Two further engagements were published in May 2023 and March 2024.

Ultimately, `Gbigmao` was identified as Guan Tianfeng (in his early 30s), a researcher at Sichuan Silence Technology Company Limited, who is now on the FBI’s Cyber Most Wanted list (charged with hacking 80,000 Sophos firewalls) with a $10 million Rewards for Justice bounty on his head. The published story finishes in 2024 not because the attacks stopped, but because they never end, with the cadence picking up to target every security company in the industry.

▶ Watch at 1:23:25

Attribution via Telemetry and OSINT

Rolling back Splunk telemetry data 3 months revealed a single test device hit by the Asnarök attack beforehand, "sometime in February, if my memory serves me right," as Jones hedges, registered to a Chinese `163` email address in Chengdu under the moniker `Gbigmao`.

More

Open-source intelligence (OSINT) on `Gbigmao`'s email and username showed he was a firewall and router vulnerability researcher active on Linux boards (where he originally tried to help firewall companies fix bugs for free) and Chinese hacking groups/Capture the Flag (CTF) events up until 2018, when he went silent to work for Sichuan Silence Information Security Technology in Chengdu, China. Another threat actor who registered virtual firewalls used the Marvel superhero handle `TStark` around the time Thor: Ragnarok and the Loki TV series came out.

▶ Watch at 23:48

Infrastructure Seizures and Cross-Vendor Collateral

Sinkholing `sophosfirewallupdate.com` revealed commercial devices from Netgear and Linksys checking into the Sophos-named domain because the attackers reused infrastructure; Rhysider found zero articles from Linksys mentioning this, while Netgear put out an advisory about a Chinese threat actor claiming no awareness of exploited devices in the wild despite collecting extensive analytics (IPs, geolocation, Wi-Fi channels, connected devices).

More

Sophos used lawyers and remote court proceedings in Delaware during COVID to execute an ICANN domain name seizure and sinkhole `sophosfirewallupdate.com` and `sophosproductupdate.com`. Meanwhile, because a couple of Dutch customers were affected and the Command and Control (C2) Linux server was at a bulletproof hosting provider in the Netherlands, Sophos registered a crime and the Dutch NCSC and Dutch National High Tech Crime Unit seized the physical C2 server within 3 to 4 days. Dutch authorities let Sophos analyze the server live via screen share, revealing manual setups with no DevOps automation, scanning scripts, firewall outputs, and notes in Chinese characters.

▶ Watch at 28:03

Brandt: Hackers broke in through a tiny TV computer

Andrew Brandt explains that the 2018 Cyberoam network breach started when threat actors infected an Intel NUC tiny Linux computer mounted behind a sales office TV monitor and pivoted to the source code repository.

More

In 2014, UK-based Sophos bought Cyberoam to be the development house as it collapsed two of its three firewall products (Cyberoam, a German-based firewall provider, and the new Sophos firewall product) into one Sophos Firewall. Threat actors infected the NUC, exploited bugs in the way AWS handles identity to move laterally, pivoted to the source code repository, and executed a Cloud Snooper attack on the cloud service hosting the source code to build a backdoor.

Logs showed 2 or 3 threat actors working together in different consoles simultaneously; one copied an SSH key and relayed the password to another actor, who repeatedly mistyped it in the logs. Rhysider notes Sophos did not have enough monitoring at first to know for sure if the hackers took the source code, only assuming so because they accessed the repository; when asked if hackers also tried to break into Sophos's main corporate network to steal source code, Brandt replies, "that's an interesting thing to hypothesize about, but I have no idea about that."

▶ Watch at 1:14

Jones claims Sophos is probably the one secure firewall company

Former Sophos Senior Director of Information Security Craig Jones praises his former employer's transparency and engineering, claiming Sophos is probably the one firewall company that is actually secure now.

More

Host Jack Rhysider, a former firewall administrator for 10 years, interviews Andrew Brandt (former Principal Researcher at Sophos during these events, currently Principal Threat Researcher at Netcraft) and Craig Jones (former Senior Director of Information Security at Sophos during these events, currently Chief Security Officer at Ontinue).

▶ Watch at 1:25:20

Quotes

“They pushed out a, a hotfix to these firewalls. A hotfix is like a little software patch that can run in real, you know, in real time. They can live update all the firewalls remotely with these hotfixes. It doesn't require the firewall to reboot to be enabled.”

▶ Watch at 14:56

“I think the UEFI bootkit malware on a firewall is the holy grail. It's where you, you've got malware on a firewall, it can't be removed, the firewall has to be thrown in the trash.”

▶ Watch at 1:23:25

“His name is Guan Tianfeng, and he was the researcher at this company called Sichuan, uh, Sichuan Secret, [Craig Jones: Silence Technology Company], yeah, Sichuan Silence Technology Company Limited, right? So, this guy made it his career to break into firewalls and find vulnerabilities and then pass them off to people who would take advantage of them. And for all of his efforts, he's in his early 30s, he has a $10 million Rewards for Justice bounty on his head.”

▶ Watch at 1:26:31

12 more quotes

“Intel NUC, which is like a tiny little computer that's small enough it can mount on the back of a TV monitor that's hanging on the wall, that they were able to pivot from the NUC in and find access to the repository where the source code was and then get into that.”

▶ Watch at 1:41

“We actually had an external bug bounty report as a SQLi injection. Now, what was kind of weird about it was, you know, they, I remember the user, um, actually claiming to be from Australia, um, but they had a Chinese name, you know?”

▶ Watch at 8:05

“It was about $10,000, I think.”

▶ Watch at 9:35

“And they found that essentially every firewall that was facing the public internet was affected by this, uh, this bug.”

▶ Watch at 10:36

“I think in the end, uh, FBI report that came out about this, I think they mentioned 80,000. Um, I'd hazard a guess it was probably more, you know?”

▶ Watch at 11:04

“We, we developed a kernel implant in-house.”

▶ Watch at 28:03

“I've got to caveat this with: we only ever deployed this to devices where we would be absolutely certain that they were a threat actor device, you know?”

▶ Watch at 31:14

“This isn't just like Sophos firewalls. We've seen other vendors' devices on the same subnet alongside the Sophos firewall, you know? They were looking at all sorts of devices.”

▶ Watch at 34:30

“It's just fascinating to think that like, I don't know, a Netgear, a Linksys, a, you know, some other commercial product was checking in to sophosfirewallupdate.com.”

▶ Watch at 41:54

“Actually, I think we unsuccessfully tried to crack the hash of the password, but I think eventually we found out that the, the actual password was Gucci.”

▶ Watch at 51:03

“If you ever had a kernel crash or a crash of any sort, it would email you the crash logs to your email address. Well, these guys would use their personal email addresses.”

▶ Watch at 53:05

“When I was a firewall admin, I was very adamant about zero exposure to the internet. No SSH port, no web portal, nothing is allowed. That the, the internet should be able to access this firewall. If you want to get to this firewall, you have to come at it from the inside.”

▶ Watch at 1:00:35

Full summary

Episode Overview

  • Host Jack Rhysider talks with Andrew Brandt and Craig Jones about how Sophos defended its firewall products against a multi-year, state-sponsored Chinese cyberattack campaign named Pacific Rim, and the operational realities of deploying remote hotfixes and kernel implants onto devices.
  • The narrative traces the conflict from a 2018 source code breach at an acquired company to a massive April 2020 zero-day attack called Asnarök that hit over 80,000 firewalls, and into years of cat-and-mouse espionage involving custom rootkits and UEFI bootkits.
  • The episode explores the controversial defensive measures Sophos took, including pushing unannounced live updates to customer boxes and covertly implanting spyware onto unlicensed virtual firewalls running inside Chinese research labs.
  • Cybersecurity professionals, network administrators, and threat intelligence researchers will learn how Chinese defense contractors weaponize bug bounty submissions, why operational security failures expose elite hackers, and how to properly secure network perimeters.

Key Concepts

  • Speaker Backgrounds and Perspectives: Host Jack Rhysider, a former firewall administrator for 10 years, interviews Andrew Brandt (former Principal Researcher at Sophos during these events, currently Principal Threat Researcher at Netcraft) and Craig Jones (former Senior Director of Information Security at Sophos during these events, currently Chief Security Officer at Ontinue). While both guests note they no longer work for Sophos, they were senior security employees there during the campaign and praise the vendor's transparency, engineering capabilities, and security posture, with Jones claiming Sophos is "probably the one firewall company that actually is secure now."
  • The 2018 Cyberoam Precursor Intrusion: In 2014, UK-based Sophos bought Cyberoam to be the development house as it collapsed two of its three firewall products (Cyberoam, a German-based firewall provider, and the new Sophos firewall product) into one Sophos Firewall. In 2018, an attack on the newly acquired Cyberoam network started with a TV set in a sales office bullpen running a leaderboard off an Intel NUC tiny Linux computer mounted on the back of the TV monitor. Threat actors infected the NUC, exploited bugs in the way AWS handles identity to move laterally, pivoted to the source code repository, and executed a Cloud Snooper attack on the cloud service hosting the source code to build a backdoor. Logs showed 2 or 3 threat actors working together in different consoles simultaneously; one copied an SSH key and relayed the password to another actor, who repeatedly mistyped it in the logs. Rhysider notes Sophos did not have enough monitoring at first to know for sure if the hackers took the source code, only assuming so because they accessed the repository; when asked if hackers also tried to break into Sophos's main corporate network to steal source code, Brandt replies, "that's an interesting thing to hypothesize about, but I have no idea about that."
  • The April 2020 "Asnarök" Mass Exploitation: Two years later, in 2020, a customer emailed tech support about an unrecognized URL in the user interface of their Linux-based Sophos XG Firewall, which was caused by vulnerable code migrated over from the stolen Cyberoam codebase. On April 21st, 2020, Sophos received an external bug bounty report for this SQL injection (SQLi) vulnerability from a user claiming to be from Australia, but who had a Chinese name. Correlating product telemetry revealed the device serial number came from an unregistered web trial virtual machine (VM) at an IP address in Chengdu, China. Sophos paid the bug bounty, which Jones states was "about $10,000, I think," only for the vulnerability to be exploited in the wild against essentially every Sophos firewall facing the public internet. An FBI report mentioned 80,000 affected devices, though Jones hedges "it'd hazard a guess it was probably more." The injected URL triggered a wget request to sophosfirewallupdate.com (and attackers also used sophosproductupdate.com) to steal system configurations and passwords. Because an attacker-registered kill switch domain referenced "Ragnarök" from "Asgard," Sophos combined the words to name the attack "Asnarök."
  • Unannounced Remote Hotfixing: During the 4-day Round 1 incident response, Sophos used a pre-built hotfix capability for the first time ever to live-update all affected firewalls remotely without requiring a reboot or customer consent. While Jones notes the authority to deploy remote hotfixes is written into the Sophos End User License Agreement (EULA), Brandt states that when it comes to whether Sophos consulted lawyers before pushing that first unannounced hotfix to 80,000 customer firewalls, he "was not privy to those discussions" and is "not sure if there were lawyers consulted on this or not."
  • Attribution via Telemetry and OSINT: Rolling back Splunk telemetry data 3 months revealed a single test device hit by the Asnarök attack beforehand—"sometime in February, if my memory serves me right," as Jones hedges—registered to a Chinese 163 email address in Chengdu under the moniker Gbigmao. Open-source intelligence (OSINT) on Gbigmao's email and username showed he was a firewall and router vulnerability researcher active on Linux boards (where he originally tried to help firewall companies fix bugs for free) and Chinese hacking groups/Capture the Flag (CTF) events up until 2018, when he went silent to work for Sichuan Silence Information Security Technology in Chengdu, China. Another threat actor who registered virtual firewalls used the Marvel superhero handle TStark around the time Thor: Ragnarok and the Loki TV series came out.
  • Infrastructure Seizures and Cross-Vendor Collateral: Sophos used lawyers and remote court proceedings in Delaware during COVID to execute an ICANN domain name seizure and sinkhole sophosfirewallupdate.com and sophosproductupdate.com. Sinkholing sophosfirewallupdate.com revealed commercial devices from Netgear and Linksys checking into the Sophos-named domain because the attackers reused infrastructure; Rhysider found zero articles from Linksys mentioning this, while Netgear put out an advisory about a Chinese threat actor claiming no awareness of exploited devices in the wild despite collecting extensive analytics (IPs, geolocation, Wi-Fi channels, connected devices). Meanwhile, because a couple of Dutch customers were affected and the Command and Control (C2) Linux server was at a bulletproof hosting provider in the Netherlands, Sophos registered a crime and the Dutch NCSC and Dutch National High Tech Crime Unit seized the physical C2 server within 3 to 4 days. Dutch authorities let Sophos analyze the server live via screen share, revealing manual setups with no DevOps automation, scanning scripts, firewall outputs, and notes in Chinese characters.
  • Counter-Espionage via the Kernel Implant: Because basic telemetry was insufficient, Sophos formed a specialized team called "X-Ops," named the overarching multi-year effort the "Pacific Rim" campaign, and developed an in-house "kernel implant" (a small Linux ELF binary). Because of export controls, Sophos does not sell firewalls in China, allowing them to deploy the implant covertly via a specific update path only to unlicensed trial virtual firewalls in China confirmed to be operated by the threat actors. The implant captured files written to writable directories and MAC addresses of devices on the same local subnet, revealing the hackers had a lab rack containing multiple other major firewall vendors' devices. Brandt speculates on whether other firewall vendors also deploy kernel implants or get hit the same way, stating "no one else has disclosed that, um, but I don't think it's outside the realm of possibility to think that maybe some of them were."
  • The June 2020 "Baja" Attack and Attacker OPSEC Failures: Six to 8 weeks after the initial hotfixes rolled out, threat actors engineered a workaround to bypass the hotfix, began turning off firewall features that allowed hotfixes to run, and dropped web shells onto the firewalls. In June 2020, in an attack code-named "Baja," attackers chained an Apache module issue with a local privilege escalation affecting any device with a WAN-facing web portal, hitting what Jones approximates as "about 175, 200 devices." Telemetry revealed the Baja bug was another vulnerability submitted via the bug bounty program, paid out by Sophos, and exploited days later. Unlike the first "spray and pray" attack, Baja targeted specific devices in the Asia-Pacific (APAC) region, including Taiwan, Pakistan, and the Philippines. Sophos tried unsuccessfully to crack the web shell password hash before discovering the password was Gucci (a common password used by Chinese threat actors). The actors worked 9-to-5 Chinese hours, and despite good external OPSEC, their internal OPSEC on test boxes was "atrocious"—they configured the firewalls to email kernel crash dumps to their personal Gmail and linked email addresses.
  • Competing Chinese Contractors and the Patching Dilemma: Threat hunting found an identical binary of customer-recovered Baja malware on TStark’s test firewall, where it had sat for 2 months alongside macOS and iOS (iPad/iPhone) malware executables. Around August/September, forensic firm Volexity reached out to Sophos after finding macOS and iOS malware on a customer's Sophos firewall during a Baja investigation belonging to a charity supporting the Uyghur diaspora. Monitoring Gbigmao's firewall revealed a 4th zero-day vulnerability. All in all, Sophos tracked about 7 different threat actors doing duplicate work in different locations, concluding they worked for competing Chinese defense contractors rather than a single government department. They were easily spotted in telemetry because they upgraded and rolled back firmware versions 5 or 6 times a day. To avoid tipping off the hackers that their lab devices were implanted, Sophos could not pre-patch vulnerabilities; they had to watch an attack be built, wait for the first indication of deployment, and patch customer devices while excluding the hackers' lab firewalls from the hotfix.
  • Escalation to Rootkits, Bootkits, and Indictment: From 2021 onwards, attacks pivoted to targeted, hands-on-keyboard intrusions in the APAC region against government agencies, critical infrastructure, R&D organizations, healthcare, retail, military, and finance. Cyberoam was hacked again via a pre-authentication SQLi vulnerability that created an external admin account; with no easy fix and Cyberoam near end-of-life (EOL), Sophos rushed Cyberoam to EOL early and forced upgrades to XG (French authorities later attributed the Cyberoam intrusion to Chinese state-sponsored group APT31). Meanwhile, TStark developed a custom userland rootkit called libxselinux.so (captured via the implant) and a week later developed a WebAssembly bug injecting an iframe into the proxy; 2 weeks after Sophos spotted it in the lab (a 10-day development-to-deployment window), it was deployed against an organization in Tibet supporting Tibetan exiles, bringing the count to 5 or 6 zero-days. A 4th custom rootkit, libsophos.so, deleted logs, hid its presence, maintained low outbound communication volume, and established persistence from late 2020 to late 2022. Attackers also experimented with a UEFI bootkit on a lab firewall (which infects the BIOS before the OS boots, surviving full OS reinstalls and requiring hardware to be thrown in the trash). The test bricked the lab firewall, allowing Sophos to update low-level firmware to block it. Brandt wonders whether the UEFI bootkit succeeded against other vendors who told customers to throw bricked/infected boxes in the trash, noting "we never get the details from other reports about what happened." Two further engagements were published in May 2023 and March 2024. Ultimately, Gbigmao was identified as Guan Tianfeng (in his early 30s), a researcher at Sichuan Silence Technology Company Limited, who is now on the FBI’s Cyber Most Wanted list (charged with hacking 80,000 Sophos firewalls) with a $10 million Rewards for Justice bounty on his head. The published story finishes in 2024 not because the attacks stopped, but because they never end, with the cadence picking up to target every security company in the industry.

Quotes

  • At 0:01:41 - "Intel NUC, which is like a tiny little computer that's small enough it can mount on the back of a TV monitor that's hanging on the wall, that they were able to pivot from the NUC in and find access to the repository where the source code was and then get into that." - Andrew Brandt explaining how the 2018 Cyberoam source code breach originated from an overlooked IoT-style device in a sales bullpen.
  • At 0:08:05 - "We actually had an external bug bounty report as a SQLi injection. Now, what was kind of weird about it was, you know, they—I remember the user, um, actually claiming to be from Australia, um, but they had a Chinese name, you know?" - Craig Jones describing the suspicious bug bounty submission that preceded the massive April 2020 Asnarök attack.
  • At 0:09:35 - "It was about $10,000, I think." - Craig Jones hedging on the exact bug bounty payout Sophos gave the researcher who subsequently weaponized the zero-day in the wild.
  • At 0:10:36 - "And they found that essentially every firewall that was facing the public internet was affected by this, uh, this bug." - Andrew Brandt highlighting the massive scope of the April 2020 SQL injection vulnerability across WAN-exposed devices.
  • At 0:11:04 - "I think in the end, uh, FBI report that came out about this, I think they mentioned 80,000. Um, I'd hazard a guess it was probably more, you know?" - Craig Jones providing the official FBI figure for infected Asnarök firewalls while hedging that the true count was likely higher.
  • At 0:14:56 - "They pushed out a, a hotfix to these firewalls. A hotfix is like a little software patch that can run in real, you know, in real time. They can live update all the firewalls remotely with these hotfixes. It doesn't require the firewall to reboot to be enabled." - Andrew Brandt explaining how Sophos silently patched tens of thousands of customer firewalls without downtime or prior consent.
  • At 0:28:03 - "We, we developed a kernel implant in-house." - Craig Jones revealing that Sophos built its own covert spyware binary to monitor the Chinese threat actors' virtual lab firewalls.
  • At 0:31:14 - "I've got to caveat this with: we only ever deployed this to devices where we would be absolutely certain that they were a threat actor device, you know?" - Craig Jones emphasizing the ethical and legal boundaries Sophos maintained when pushing kernel implants via poisoned updates.
  • At 0:34:30 - "This isn't just like Sophos firewalls. We've seen other vendors' devices on the same subnet alongside the Sophos firewall, you know? They were looking at all sorts of devices." - Craig Jones detailing how the kernel implant mapped MAC addresses in the Chinese lab, proving the contractors were targeting multiple firewall manufacturers.
  • At 0:41:54 - "It's just fascinating to think that like, I don't know, a Netgear, a Linksys, a, you know, some other commercial product was checking in to sophosfirewallupdate.com." - Andrew Brandt describing the unexpected discovery after Sophos seized and sinkholed the attackers' malicious update domain.
  • At 0:51:03 - "Actually, I think we unsuccessfully tried to crack the hash of the password, but I think eventually we found out that the, the actual password was Gucci." - Craig Jones sharing how Sophos uncovered the simple password protecting the attackers' web shells during the June 2020 Baja campaign.
  • At 0:53:05 - "If you ever had a kernel crash or a crash of any sort, it would email you the crash logs to your email address. Well, these guys would use their personal email addresses." - Craig Jones explaining the atrocious internal operational security on the hackers' test boxes that allowed Sophos to identify them.
  • At 1:00:35 - "When I was a firewall admin, I was very adamant about zero exposure to the internet. No SSH port, no web portal, nothing is allowed. That the, the internet should be able to access this firewall. If you want to get to this firewall, you have to come at it from the inside." - Jack Rhysider delivering the core defensive lesson for network administrators to prevent zero-day mass exploitation.
  • At 1:23:25 - "I think the UEFI bootkit malware on a firewall is the holy grail. It's where you, you've got malware on a firewall, it can't be removed, the firewall has to be thrown in the trash." - Andrew Brandt explaining the severity of low-level BIOS malware that survives operating system reinstalls.
  • At 1:26:31 - "His name is Guan Tianfeng, and he was the researcher at this company called Sichuan, uh, Sichuan Secret— [Craig Jones: Silence Technology Company] —yeah, Sichuan Silence Technology Company Limited, right? So, this guy made it his career to break into firewalls and find vulnerabilities and then pass them off to people who would take advantage of them. And for all of his efforts, he's in his early 30s, he has a $10 million Rewards for Justice bounty on his head." - Andrew Brandt and Craig Jones summarizing the ultimate fate and FBI indictment of the hacker known as Gbigmao.

Takeaways

  • Disable all public internet (WAN) access to firewall management interfaces, web portals, and SSH ports immediately, requiring administrators to connect strictly from inside the internal network.
  • Isolate and segment non-standard computing devices, such as smart TVs and mini-PCs running office leaderboards, so they cannot access corporate source code repositories or cloud identity infrastructure.
  • Cross-reference external bug bounty submissions against product telemetry—such as device registration history, trial VM serial numbers, and geographic IP addresses—to detect threat actors double-dipping for payouts before weaponizing zero-days.
  • Build and maintain an automated, rebootless remote hotfix mechanism within network appliances, backed by clear End User License Agreement (EULA) language, to rapidly inoculate customer fleets during mass zero-day events.
  • Retain and query historical telemetry logs (such as Splunk data) going back at least three months after an exploit is discovered to identify patient zero test devices used by attackers during their development phase.
  • Hunt for behavioral anomalies in product telemetry, such as unlicensed virtual appliances upgrading and rolling back firmware versions five or six times a day, to spot vulnerability researchers testing exploits.
  • Partner with international law enforcement and legal teams to rapidly execute ICANN domain seizures and physical server takedowns when threat actors host Command and Control infrastructure in cooperative jurisdictions.
  • Obfuscate technical details in public knowledge base articles and patch notes during active, ongoing campaigns so threat actors cannot easily read documentation to engineer patch bypasses.
  • Decommission and force upgrades for end-of-life (EOL) hardware and legacy codebases rather than attempting piecemeal patches when pre-authentication vulnerabilities are actively exploited by state-sponsored groups.

Watch the full episode 1 hr 30 min

Read along with the audio summary

In this conversation, host Jack Rhysider speaks with former Sophos security leaders Andrew Brandt and Craig Jones about the Pacific Rim campaign, detailing how Sophos defended its firewalls against a multi-year, state-sponsored Chinese cyberattack using remote hotfixes and covert kernel implants.

There are four key takeaways from this episode. First, Chinese defense contractors weaponized bug bounty programs by submitting zero-day vulnerabilities for payouts just days before exploiting them globally. Second, emergency response to mass exploitation requires automated, rebootless remote patching capabilities backed by legal agreements. Third, Sophos neutralized the threat by deploying a covert kernel implant directly onto the hackers' unlicensed lab firewalls in China to monitor their exploit development in real time. Finally, basic operational security failures by elite hackers and poor network perimeter hygiene by administrators remain the critical weak points in modern cyber warfare.

The conflict began in 2018 when hackers breached Cyberoam, a company Sophos had acquired, by infecting a mini-PC mounted to a sales office television and pivoting to steal source code. Two years later, in April 2020, a researcher submitted a bug bounty report for a SQL injection flaw originating from that legacy codebase. Sophos paid roughly ten thousand dollars for the tip, only to see the exact vulnerability weaponized days later against more than eighty thousand internet-facing Sophos firewalls. This phenomenon occurred again in June 2020 during the Baja attack, proving that contractors were double-dipping by collecting bounties before launching state-sponsored attacks.

To counter the initial April 2020 attack, named Asnarök, Sophos used a pre-built hotfix capability for the first time. Supported by their End User License Agreement, they pushed live, unannounced updates to tens of thousands of customer firewalls without requiring reboots or prior consent. Simultaneously, Sophos worked with legal teams and Dutch authorities to seize physical command-and-control servers and sinkhole malicious domains. These domain seizures unexpectedly revealed that devices from other vendors, including Netgear and Linksys, were also checking into the same attacker infrastructure.

Because standard telemetry was insufficient to stop the ongoing campaign, Sophos formed the X-Ops team and developed an in-house Linux kernel implant. Since Sophos does not sell products in China, they safely deployed this spyware via targeted updates exclusively to unlicensed virtual firewalls running in Chinese research labs. The implant mapped local MAC addresses, revealing lab racks full of competing firewall brands, and captured custom rootkits and a destructive UEFI bootkit before they could be widely deployed. To avoid tipping off the attackers, Sophos had to watch exploits being built in the lab, wait for initial deployment against targets like Tibetan and Uyghur groups, and then patch customer devices while excluding the hackers' virtual machines.

Despite their advanced capabilities, the seven tracked threat actors exhibited terrible internal operational security. Sophos identified them because they upgraded and rolled back firmware five times a day, reused simple web shell passwords like Gucci, and configured test boxes to email crash logs directly to their personal email addresses. By rolling back Splunk telemetry three months, Sophos unmasked lead researcher Guan Tianfeng, who now faces an FBI indictment and a ten million dollar bounty. For defenders, the ultimate lesson is to never expose firewall management portals or SSH ports to the public internet, requiring all administrative access to originate strictly from inside the network.

Ultimately, the Pacific Rim campaign demonstrates that defending the network perimeter against relentless state-sponsored contractors requires both strict administrative isolation and aggressive, proactive vendor counter-espionage.

More from Darknet Diaries