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
Newest First  |  Oldest First  |  Threaded View
Jon M. Kelley
50%
50%
Jon M. Kelley,
User Rank: Apprentice
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.
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.
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. 
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.
1.9 Billion Data Records Exposed in First Half of 2017
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/20/2017
Get Serious about IoT Security
Derek Manky, Global Security Strategist, Fortinet,  9/20/2017
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
Security Vulnerabilities: The Next Wave
Just when you thought it was safe, researchers have unveiled a new round of IT security flaws. Is your enterprise ready?
Flash Poll
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
Enterprises are spending more of their IT budgets on cybersecurity technology. How do your organization's security plans and strategies compare to what others are doing? Here's an in-depth look.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-0290
Published: 2017-05-09
NScript in mpengine in Microsoft Malware Protection Engine with Engine Version before 1.1.13704.0, as used in Windows Defender and other products, allows remote attackers to execute arbitrary code or cause a denial of service (type confusion and application crash) via crafted JavaScript code within ...

CVE-2016-10369
Published: 2017-05-08
unixsocket.c in lxterminal through 0.3.0 insecurely uses /tmp for a socket file, allowing a local user to cause a denial of service (preventing terminal launch), or possibly have other impact (bypassing terminal access control).

CVE-2016-8202
Published: 2017-05-08
A privilege escalation vulnerability in Brocade Fibre Channel SAN products running Brocade Fabric OS (FOS) releases earlier than v7.4.1d and v8.0.1b could allow an authenticated attacker to elevate the privileges of user accounts accessing the system via command line interface. With affected version...

CVE-2016-8209
Published: 2017-05-08
Improper checks for unusual or exceptional conditions in Brocade NetIron 05.8.00 and later releases up to and including 06.1.00, when the Management Module is continuously scanned on port 22, may allow attackers to cause a denial of service (crash and reload) of the management module.

CVE-2017-0890
Published: 2017-05-08
Nextcloud Server before 11.0.3 is vulnerable to an inadequate escaping leading to a XSS vulnerability in the search module. To be exploitable a user has to write or paste malicious content into the search dialogue.