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
More Than Half of Users Reuse Passwords
Curtis Franklin Jr., Senior Editor at Dark Reading,  5/24/2018
Is Threat Intelligence Garbage?
Chris McDaniels, Chief Information Security Officer of Mosaic451,  5/23/2018
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
Flash Poll
[Strategic Security Report] Navigating the Threat Intelligence Maze
[Strategic Security Report] Navigating the Threat Intelligence Maze
Most enterprises are using threat intel services, but many are still figuring out how to use the data they're collecting. In this Dark Reading survey we give you a look at what they're doing today - and where they hope to go.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-11505
PUBLISHED: 2018-05-26
The Werewolf Online application 0.8.8 for Android allows attackers to discover the Firebase token by reading logcat output.
CVE-2018-6409
PUBLISHED: 2018-05-26
An issue was discovered in Appnitro MachForm before 4.2.3. The module in charge of serving stored files gets the path from the database. Modifying the name of the file to serve on the corresponding ap_form table leads to a path traversal vulnerability via the download.php q parameter.
CVE-2018-6410
PUBLISHED: 2018-05-26
An issue was discovered in Appnitro MachForm before 4.2.3. There is a download.php SQL injection via the q parameter.
CVE-2018-6411
PUBLISHED: 2018-05-26
An issue was discovered in Appnitro MachForm before 4.2.3. When the form is set to filter a blacklist, it automatically adds dangerous extensions to the filters. If the filter is set to a whitelist, the dangerous extensions can be bypassed through ap_form_elements SQL Injection.
CVE-2018-11500
PUBLISHED: 2018-05-26
An issue was discovered in PublicCMS V4.0.20180210. There is a CSRF vulnerability in "admin/sysUser/save.do?callbackType=closeCurrent&navTabId=sysUser/list" that can add an admin account.