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

1/5/2017
08:31 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Ghost Hosts Bypass URL Filtering

Malware authors have found a way to evade URL-blocking systems by swapping bad domain names with unknown ones.

For some time now URL filtering techniques have provided a fairly reliable way for organizations to block traffic into their network from domains that are known to be malicious. But as with almost every defense mechanism, threat actors appear to have found a way around that as well.

Security researchers from Cyren are warning about a new tactic for fooling Web security and URL--filtering systems. The technique, which Cyren has dubbed "Ghost Host," is designed to evade host and domain blacklists by swapping bad domain names and inserting random, non-malicious host names in the HTTP host field instead.

The objective is to evade host and domain blacklists by resetting the host name with a benign one, even when the actual connection is to a malicious command and control IP, according to a Cyren blog post today.

“Ghost hosts are unknown or known-benign host names used by malware for evading host and URL blacklists,” says Geffen Tzur, a security researcher at Cyren.

“The malware will use a ghost host in the HTTP header, but actually connect to a different destination, hosted on a different IP,” he says.  This way, network security systems that inspect the HTTP "host" header will not notice the underlying connection to the malicious IP, and will allow the connection, he says.

According to Tzur, Cyren stumbled upon the new detection evasion technique while analyzing the behavior of Necurs, an especially persistent botnet that is being used to distribute spam, ransomware, and other malware.

The malicious destination IP address, to which compromised machines was being directed to, was the same as the one used for establishing the connection in the first place. But by using a ghost host, the threat actors were able to hide that fact, Tzur says.

“Since the ghost hosts have no effect on the established connection, they may be used with other IP addresses,” he says. That means there’s no way to confirm if ghost hosts are paired to the underlying IPs, he says.

According to Tzur, malware authors can manipulate HTTP requests at their will to fool URL filtering systems. They can employ an HTTP client, which connects to one malicious IP and sends HTTP requests with customized headers. The unknown hosts are inserted during request creation.

“Malware authors can manipulate the HTTP request at their will. They can employ an HTTP client which connects to one malicious IP and sends HTTP requests with customized headers,” he says. “The unknown hosts are inserted during request creation and are probably hardcoded.”

Tzur says there have been no previously reported incidents he knows of where malware actors have attempted to fool detection systems by inserting benign names in the HTTP host field.

“It is as easy as using any open source HTTP client which features header manipulation,” Tzur says, and there are multiple HTTP client implementations that allow this sort of manipulation.

Botnet owners can benefit from the technique in multiple ways. The most obvious one is that URL filtering systems will not block ghost hostnames. Cyren checked to see whether popular URL filtering systems detected the ghost host names, and none of them did.

Related stories:

 

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
7 Truths About BEC Scams
Ericka Chickowski, Contributing Writer,  6/13/2019
DNS Firewalls Could Prevent Billions in Losses to Cybercrime
Curtis Franklin Jr., Senior Editor at Dark Reading,  6/13/2019
Cognitive Bias Can Hamper Security Decisions
Kelly Sheridan, Staff Editor, Dark Reading,  6/10/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Building and Managing an IT Security Operations Program
As cyber threats grow, many organizations are building security operations centers (SOCs) to improve their defenses. In this Tech Digest you will learn tips on how to get the most out of a SOC in your organization - and what to do if you can't afford to build one.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-12855
PUBLISHED: 2019-06-16
In words.protocols.jabber.xmlstream in Twisted through 19.2.1, XMPP support did not verify certificates when used with TLS, allowing an attacker to MITM connections.
CVE-2013-7472
PUBLISHED: 2019-06-15
The "Count per Day" plugin before 3.2.6 for WordPress allows XSS via the wp-admin/?page=cpd_metaboxes daytoshow parameter.
CVE-2019-12839
PUBLISHED: 2019-06-15
In OrangeHRM 4.3.1 and before, there is an input validation error within admin/listMailConfiguration (txtSendmailPath parameter) that allows authenticated attackers to achieve arbitrary command execution.
CVE-2019-12840
PUBLISHED: 2019-06-15
In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root privileges via the data parameter to update.cgi.
CVE-2019-12835
PUBLISHED: 2019-06-15
formats/xml.cpp in Leanify 0.4.3 allows for a controlled out-of-bounds write in xml_memory_writer::write via characters that require escaping.