Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Malware & Threats

Worm Uses ShellShock to Infect QNAP Network Storage Systems

Researchers have uncovered a worm that’s designed to plant backdoors on QNAP network-attached storage (NAS) devices. The malware is distributed through the exploitation of the GNU Bash vulnerability known as ShellShock.

Researchers have uncovered a worm that’s designed to plant backdoors on QNAP network-attached storage (NAS) devices. The malware is distributed through the exploitation of the GNU Bash vulnerability known as ShellShock.

Cybercriminals started exploiting ShellShock to gain full access to the contents of NAS devices developed by Taiwan-based QNAP shortly after the existence of the vulnerability came to light. The vendor released updates to address the flaw in its product at the beginning of October, but because the patches are not easy to apply many systems remain vulnerable.

The SANS Institute reports that a worm is currently spreading among QNAP devices, which run an embedded Linux operating system, by exploiting the Bash vulnerability.

“The attack targets a QNAP CGI script, ‘/cgi-bin/authLogin.cgi’, a well known vector for Shellshock on QNAP devices,” Johannes Ullrich of the SANS Internet Storm Center wrote in a blog post. “This script is called during login, and reachable without authentication. The exploit is then used to launch a simple shell script that will download and execute a number of additional pieces of malware.”

One of the worm’s malicious components is designed for click fraud and it targets the online advertisement network JuiceADV.

The threat also sets up backdoors on infected devices by creating an SSH server on port 26, by adding a user (named “request“) with administrator privileges, and by copying some CGI scripts with backdoor functionality to the “cgi-bin” directory. The malware modifies the “autorun.sh” file in order to run the backdoors on reboot.

Advertisement. Scroll to continue reading.

Researchers have also noticed that the worm sets the DNS server on the infected machine to 8.8.8.8, which is actually Google’s DNS server. It’s possible that the attackers do this in order to get a more reliable DNS server, since as Ullrich explains, QNAP devices sometime use internal DNS servers which aren’t fully recursive. By using this method, the attackers might also be trying to evade potential logging mechanisms.

The worm is dangerous because it abuses infected systems to look for other vulnerable devices on the network, Ullrich noted.

Interestingly, the malware also patches the ShellShock vulnerability on infected devices by downloading the applying the security updates from QNAP. Experts believe the threat does this to prevent additional exploitation.

NAS devices are also a tempting target for ransomware attacks. This summer, a piece of ransomware dubbed SynoLocker was used to infect Synology NAS servers by exploiting a vulnerability that was patched in December 2013.

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

NOW LIVE: CISO Forum 2026 Summit

Join as we bring together CISOs, senior cybersecurity executives, practitioners, industry experts, and other security leaders to share practical experience and examine the issues shaping enterprise cybersecurity strategy.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Zifino has appointed Toney E. Jennings as CRO.

Zeke Maldonado has been named Principal Deputy CIO at the US Department of Commerce.

FusionAuth has appointed Phil Allen as CRO.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.