Threat Intelligence

5/2/2017
08:00 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

New Free Shodan Tool Roots Out RATs

Shodan teams up with Recorded Future to crawl the Net for computers serving as command-and-control (C2) for remote access Trojans (RATs).

Famed Internet search engine Shodan now offers a free scanning tool that hunts down systems on the Internet that are controlling malware-infected computers.

The new Malware Hunter crawler, unveiled today, is the result of a project that began in 2015 by Recorded Future and Shodan that roots out remote access Trojan (RAT) operations by detecting computers on the Internet that are serving as RAT command-and-controllers (C2s) in botnets. It's an alternative to the traditional, more passive collection approach of honeypots, VirusTotal, and some malware analysis, to extrapolate cybercrime and cyber espionage malware attacks.

RATs are the backdoor malware used by attackers to remotely control infected machines. They log keystrokes and can record audio and video of the machine.

Shodan Malware Hunter scans ports on the Internet for servers, routers, webcams, and other connected devices in search of RAT controller IP addresses with the goal of catching them before they infect their victims. The tool employs RAT controller probes that then are matched against known RAT signatures. To date, Malware hunter has identified one large global network of thousands of GhostRAT controllers as well as the C2s of other infamous RATs such as Dark Comet, njRAT, and Poison Ivy.

"It's sending specific requests to hosts on the Internet and looking for a specific response back" that detects a RAT controller, explains Levi Gundert, vice president of intelligence and strategy at threat intelligence firm Recorded Future.

Shodan itself basically crawls the Internet for publicly accessible computers and devices, and is a popular tool among security researchers. John Matherly, founder of Shodan, launched the search engine in 2009 as an open-source project for searching devices on the Internet. 

Matherly explains that Malware Hunter poses as a newly infected client machine while searching the Internet for command-and-control servers, and makes rooting out C2s much faster than passive methods.

"We've already seen that this technique can help identify malicious operations before they're widely deployed," Matherly said via an email interview. "However, there's still a lot of work that has to be done after a C2 has been identified, which is what I assume a lot of law enforcement time is spent on."

Renowned researcher HD Moore says Shodan's new Malware Hunter could streamline the detection of Internet-connected command-and-control systems. "It has the potential to find all of the Internet-connected C2s in one shot as opposed to waiting for the installations to download new lists," Moore says.

But more sophisticated attackers are adopting obfuscation techniques to evade detection by these types of scans, he says. "I would expect this [Malware Hunter] to work pretty well in the short-term and less so as the malware operators get more sophisticated."

Moore worked on a similar scanning project with an antivirus company while he was with Rapid7, and the scans were lucrative for spotting C2s. But attackers started to hide their tracks once they got caught up in Rapid7's scans, he says. "This kind of scanning is decent for the status quo, but we are seeing C2s move towards more complicated and obfuscated backends to avoid scans," says Moore, who pioneered much of the Internet-scanning research looking for exposed devices and systems. His research led to Project Sonar, a community project founded in 2013 for sharing Internet-scanning data, tools, and analysis. 

Recorded Future's Gundert notes that some of the RAT families listed in Shodan employ obfuscation, so the tool can spot even the stealthy C2s. "The project started with the low hanging fruit - Black Shades, Dark Comet, njRAT - and more recently. families like Gh0st RAT were added, which involved longer analysis," Gundert says. 'Ultimately, every family is possible to emulate to elicit a controller response; it's just a matter of time and persistence."

Shodan finds between 400- and 600 RAT controllers per day, according to data compiled by Recorded Future.

"Not all RAT operators are super-sophisticated," however, Gundert notes. "Some run command-and-control from their home computers; we see ... IP addresses sitting on residential networks worldwide."

Meanwhile, the new tool is yet another example of how Shodan is evolving its search engine to provide more intelligence and insight into Internet-connected devices. "We've done similar things in other areas - Tor, ICS, BitTorrent - and this is another part of the ongoing mission at Shodan to provide greater insights about the Internet," Matherly says.

Related Content:

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Equifax CIO, CSO Step Down
Dark Reading Staff 9/15/2017
Cloud Security's Shared Responsibility Is Foggy
Ben Johnson, Co-founder and CTO, Obsidian Security,  9/14/2017
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
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.