Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

10/1/2015
04:15 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

And Now A Malware Tool That Has Your Back

In an unusual development, white hat malware is being used to secure thousands of infected systems, not to attack them, Symantec says.

Security researchers at Symantec have been tracking a malware tool that, for a change, most victims wouldn’t actually mind have infecting their systems--or almost, anyway.

The threat dubbed Linux.Wifatch compromises home routers and other Internet-connected consumer devices. But unlike other malware, this one does not steal data, snoop silently on victims, or engage in other similar malicious activity.

Instead, the author or authors of the malware appear to be using it to actually secure infected devices. Symanetc believes the malware has infected tens of thousands of routers and other IoT systems around the world. Yet, in the two months that the security vendor has been tracking Linux.Wifatch it has not seen the malware tool being used maliciously even once.

“In fact all the hardcoded routines seem to have been implemented in order to harden compromised devices,” Symantec security researcher Mario Ballano wrote in a blog post published Thursday.

Wifatch has one module that attempts to detect and remediate any other malware infections that might be present on a device that it has infected. “Some of the threats it tries to remove are well known families of malware targeting embedded devices,” Ballano wrote.

Another module appears designed specifically to protect Dahua DVR and CCTV systems. The module allows Wifatch to set the configuration of the device so as to cause it to reboot every week, presumably as a way to get rid of any malware that might be present or running on the system.

Most Wifatch infections that Symantec has observed have been over Telnet connections to IoT devices with weak credentials, according to the vendor.

In keeping with its vigilante role, once Wifatch infects a device it tries to prevent other malicious attackers from doing the same by shutting down the Telnet service. It also connects to a peer-to-peer network to receive periodic updates.

Wifatch even leaves a message for device owners asking them to upgrade their device firmware and to change their passwords, Ballano said. “Telnet has been closed to avoid further infection of this device,” the Wifatch message, posted on the Symantec blog, notes. “Please disable telnet, change telnet passwords, and/or update the firmware.”

Wifatch is mostly written in Perl and targets IoT devices based on ARM, MIPS and SH4 architectures. The hitherto white hat malware tool ships with a separate static Perl interpreter for each targeted architecture. The code itself is not obfuscated like many malware tools are these days. In fact it contains several debug messages that actually enable easier code analysis.

“It looks like the author wasn’t particularly worried about others being able to inspect the code,” Ballano wrote.

For all its unusually good behavior, Wifatch should still be treated as malware, according to the researcher. Like other malware, Wifatch still is a piece of code that infects devices without any user consent. It also contains several general-purpose backdoors that can be exploited for malicious use at a future date.

However, the use of the backdoors is cryptographically protected to ensure that only the malware’s real authors can use them, Ballano added.

“Whether the author’s intentions are to use their creation for the good of other IoT users—vigilante style—or whether their intentions are more malicious remains to be seen,” the researcher said.

Router infections can be hard for end users to detect. However, it is possible to get rid of Wifatch on an infected device simply by rebooting it. Users should also consider updating their device software and changing default passwords on home routers and IoT devices, Ballano said.

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
w1p30ut
50%
50%
w1p30ut,
User Rank: Apprentice
10/2/2015 | 6:14:42 AM
Malware
'Malware' is an umbrella term used to refer to a variety of forms of hostile or intrusive software, including computer viruses, worms, trojan horses, ransomware, spyware, adware, scareware, and other malicious programs. It can take the form of executable code, scripts, active content, and other software.

It's not malware if does nice things.
littlefyr
50%
50%
littlefyr,
User Rank: Apprentice
10/2/2015 | 11:48:44 AM
Re: Malware
My father-in-law, when asked, "what is a weed", likes to answer with "Any plant that is not where you want it to be is a weed." So even though a Sunflower is a beautiful plant on its own merits, if its growing in the middle of my Petunias, it is a weed. It may not be a noxious weed, but it is a weed and its coming out. 

Malware is any piece of software, no matter how apparently useful it appears to be, that grows in a place you didn't put it. In this case, its not noxious malware, but it is a weed nonetheless. Maybe malware is less than ideal term because it arose from a time when all malware is noxious, but it is sufficiently descriptive that it'll likely stay. 

However, I'm happy that this doesn't appear to be either a noxious or invasive weed. If I come across it, perhaps I'll decide I like it there, and then its no longer malware, its software. 
Mariodelavega
50%
50%
Mariodelavega,
User Rank: Apprentice
10/5/2015 | 6:48:02 AM
Re: Malware
That terme tends to be the "all to go term" to design any kind of virus actually.
Jon M. Kelley
50%
50%
Jon M. Kelley,
User Rank: Moderator
11/10/2015 | 6:10:12 PM
Linux.Wifatch reveals themselves
Linux.Wifatch now has a GitHub page, https://gitlab[.]com/rav7teif/linux.wifatch (note that the link is broken with [.] to prevent accidental activation), with a Q&A about why they did what they did, and the start of a Linux.Watch source code repository. 

Jai Vijayan:  Looks like there is enough info in the Q&A for another article.
Navigating Security in the Cloud
Diya Jolly, Chief Product Officer, Okta,  12/4/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: "The security team seem to be taking SiegeWare seriously" 
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2012-1114
PUBLISHED: 2019-12-05
A Cross-Site Scripting (XSS) vulnerability exists in LDAP Account Manager (LAM) Pro 3.6 in the filter parameter to cmd.php in an export and exporter_id action. and the filteruid parameter to list.php.
CVE-2012-1115
PUBLISHED: 2019-12-05
A Cross-Site Scripting (XSS) vulnerability exists in LDAP Account Manager (LAM) Pro 3.6 in the export, add_value_form, and dn parameters to cmd.php.
CVE-2012-1592
PUBLISHED: 2019-12-05
A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files.
CVE-2019-16770
PUBLISHED: 2019-12-05
A poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. If more keepalive connections to Puma are opened than there are threads available, additional connections will wait permanently if the attacker sends requests frequently enough.
CVE-2019-19609
PUBLISHED: 2019-12-05
The Strapi framework before 3.0.0-beta.17.8 is vulnerable to Remote Code Execution in the Install and Uninstall Plugin components of the Admin panel, because it does not sanitize the plugin name, and attackers can inject arbitrary shell commands to be executed by the execa function.