Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Application Security

Volexity Blames ‘DriftingCloud’ APT For Sophos Firewall Zero-Day

Big-game malware hunters at Volexity are shining the spotlight on a sophisticated Chinese APT caught recently exploiting a Sophos firewall zero-day to plant backdoors and launch man-in-the-middle attacks.

Big-game malware hunters at Volexity are shining the spotlight on a sophisticated Chinese APT caught recently exploiting a Sophos firewall zero-day to plant backdoors and launch man-in-the-middle attacks.

The Sophos firewall vulnerability — tracked as CVE-2022-1040 — was patched in March this year but only after Volexity intercepted a sophisticated zero-day that exposed Sophos users to remote code execution attacks.

“This particular attack leveraged a zero-day exploit to compromise the [victim company] firewall. Volexity observed the attacker implement an interesting webshell backdoor, create a secondary form of persistence, and ultimately launch attacks against the [victim’s] staff,” Volexity said in a research report.

“These attacks aimed to further breach cloud-hosted web servers hosting the organization’s public-facing websites. This type of attack is rare and difficult to detect,” the company said in a research note with technical details on the incident.

Volexity said its network security monitoring service flagged the issue after noticing anomalous activity emanating from a customer’s Sophos Firewall. The company’s forensic investigation led to the discovery of a backdoor on the firewall, as well as evidence of exploitation dating back to March 5, 2022. 

[ READ: Sophos Firewall Users Hit by Zero-Day Attacks ]

Once it discovered the attacker was using access to the firewall to conduct man-in-the-middle (MITM) attacks, Volexity’s researchers expanded the probe and found the APT group using data collected from these MITM attacks to compromise additional systems outside of the network where the firewall resided.

The company attributed the attack to an APT group tracked as ‘DriftingCloud’ and released IOCs (indicators of compromise) to help defenders hunt for signs of compromise.

The Volexity research report included a blow-by-blow of the attack path used to backdoor the Sophos Firewall with a webshell that could be accessed through any URL of the attacker’s choosing. 

In addition to this webshell component, Volexity said it found several other actions performed by the attacker on the Sophos Firewall that further compromised the victim and ensured persistence. For example, the group created VPN user accounts and associated certificate pairs on the firewall to facilitate legitimate remote network access. 

[ READ: Critical Remote Code Execution Vulnerability in Sophos Firewall ]

“While gaining access to the target’s Sophos Firewall was likely a primary objective, it appears this was not the attacker’s only objective. Volexity discovered that the attacker used their access to the firewall to modify DNS responses for specially targeted websites in order to perform MITM attacks,” the company said.

The modified DNS responses were for hostnames that belonged to the victim organization and for which they administered and managed the content. This allowed the attacker to intercept user credentials and session cookies from administrative access to the websites’ content management system (CMS).

In multiple cases, Volexity caught the attacker accessing the CMS admin pages of the victim organization’s websites with valid session cookies they had hijacked.

The Sophos firewall product has been a major target for advanced attackers targeting businesses. Over the last year, Sophos has been busy responding to major security defects in its firewall products, addressing critical flaws with remote code execution risks.

Related: Sophos Warns of Attacks Exploiting Recent Firewall Vulnerability

Related: Critical Remote Code Execution Vulnerability in Sophos Firewall

Related: Malware Delivered to Sophos Firewalls via Zero-Day Vulnerability

Written By

Ryan Naraine is Editor-at-Large at SecurityWeek and host of the popular Security Conversations podcast series. He is a security community engagement expert who has built programs at major global brands, including Intel Corp., Bishop Fox and GReAT. Ryan is a founding-director of the Security Tinkerers non-profit, an advisor to early-stage entrepreneurs, and a regular speaker at security conferences around the world.

Click to comment

Expert Insights

Related Content

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.

Data Breaches

GoTo said an unidentified threat actor stole encrypted backups and an encryption key for a portion of that data during a 2022 breach.

Network Security

NSA publishes guidance to help system administrators identify and mitigate cyber risks associated with transitioning to IPv6.

Nation-State

The North Korean APT tracked as TA444 is either moonlighting from its previous primary purpose, expanding its attack repertoire, or is being impersonated by...

Cyberwarfare

Websites of German airports, administration bodies and banks were hit by DDoS attacks attributed to Russian hacker group Killnet

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Malware & Threats

Microsoft plans to improve the protection of Office users by blocking XLL add-ins from the internet.