January 10, 2017 By Larry Loeb 2 min read

Security firm Cyren issued a new report, “Botnets: The Clone Army of Cybercrime,” that described a new method of circumventing security blocking efforts. The researchers referred to this evasive technique as a “ghost host.”

Ghost Host in the Machine

SecurityWeek noted that, to carry out the procedure, malware authors place unknown host names in the HTTP host fields of a botnet’s communications. These host names can be registered and unregistered. Because of the indeterminate state of the included host names, which may or may not resolve in the Domain Name System (DNS), this can easily fool usual web security and URL-filtering systems.

The total IP range associated with a bad URL is not usually blocked because legitimate domains may also exist at the IP. Blocking the entire IP would block those legitimate domains.

The impetus for this discovery originated when Cyren detected communications between bot and server even after it blocked the malware server’s URL in the filters protecting a system. It noticed that a botnet member informed the command-and-control (C&C) server that a new infection had occurred. The researchers said they were unsure just how this communication took place at all.

Playing the Name Game

While the destination IP address of the communication packet was still known to be a bad server, the HTTP host fields that were used for requests were assigned to completely different domains. These domains are stuffed into the host fields that Cyren referred to as ghost hosts.

In one case, the researchers noted, the fake domains were “events.nzlvin.net” and “json.nzlvin.net.” The resolved domains were blocked, but not the ghost hosts. Changing the ghost host name sent in a communication might prompt different response actions from the C&C server. One host might document a new addition to the botnet, but another ghost name could serve new exploit code.

This is a novel technique that establishes a side-channel communication with a malware’s C&C server, survives a primary blacklist and delivers a resiliency that could impact the overall malware landscape. The increase in resiliency that it brings to malware will have to be evaluated in the near future.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today