Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
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.

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.

Advertisement. Scroll to continue reading.

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 a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

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.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

Apple’s cat-and-mouse struggles with zero-day exploits on its flagship iOS platform is showing no signs of slowing down.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.

Malware & Threats

Cisco is warning of a zero-day vulnerability in Cisco ASA and FTD that can be exploited remotely, without authentication, in brute force attacks.