Malware & Threats

Custom Chinese Malware Found on SonicWall Appliance

Malware deployed by Chinese hackers on a SonicWall SMA appliance includes credential theft, shell access, and persistence functionality.

Malware deployed by Chinese hackers on a SonicWall SMA appliance includes credential theft, shell access, and persistence functionality.

Google-owned cybersecurity firm Mandiant reported on Wednesday that it has identified sophisticated malware believed to be of Chinese origin on a SonicWall appliance. 

The malware, apparently deployed as part of a Chinese campaign, was analyzed by Mandiant and SonicWall’s Product Security and Incident Response Team (PSIRT). The researchers found that the attacker had created a series of bash scripts and a TinyShell variant in the form of an ELF binary.

The custom-built malware allows the attackers to steal credentials — this appears to be its main purpose — and provides shell access. The hackers apparently targeted hashed credentials for all logged-in users. 

According to Mandiant, the malware “is well tailored to the system to provide stability and persistence”, being able to persist even across firmware upgrades.

The malware was spotted on an unpatched SonicWall Secure Mobile Access (SMA) appliance, but it’s unclear how the attackers gained initial access. Mandiant suggested that the hackers may have exploited a known vulnerability that the targeted SonicWall customer neglected to patch. 

It’s not uncommon for threat actors to target known and even zero-day vulnerabilities in SonicWall appliances in their attacks. 

Advertisement. Scroll to continue reading.

Mandiant believes the malware was likely deployed on the device in 2021, but the attacker managed to maintain access by modifying firmware updates in a way that ensured the malware’s persistence. 

The security firm is aware of another Chinese threat actor using similar techniques, but it has decided to track the threats separately. The new group is currently tracked by Mandiant as UNC4540.

SonicWall announced this week that it has released an update for SMA 100 series devices (10.2.1.7), which “includes several key security features that protect the operating system from potential attack”.

Related: SonicWall Zero-Day Exploited by Ransomware Group Before It Was Patched

Related: Three Zero-Day Flaws in SonicWall Email Security Product Exploited in Attacks

Related: SonicWall Patches SMA Zero-Day Vulnerability Exploited in Attacks

Related Content

Nation-State

Google’s Threat Intelligence Group has been tracking the cyberespionage group as UNC6508 since early 2025.

Government

The 13 websites purported to be affiliated with consulting companies that advertised job openings for current and former holders of security clearances

Nation-State

Posing as recruiters on online platforms, Chinese intelligence officers target personnel with access to classified or privileged information.

Cybercrime

Relying on social engineering, the hacking group engages in credential phishing, malware distribution, and fraud activities.

Malware & Threats

Salt Typhoon has hit an energy entity in Azerbaijan. Twill Typhoon has targeted Asian entities with an updated RAT.

Nation-State

The cybersecurity firm has not explicitly accused China of being behind the attack, but the evidence suggests it was. 

Vulnerabilities

The security defects allow unauthenticated, remote attackers to execute arbitrary code through crafted requests.

Vulnerabilities

The bugs could be exploited to bypass security controls, access restricted services, and crash firewalls.

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version