July 27, 2016 By Larry Loeb 2 min read

Researchers at Northeastern University were curious about how the Tor anonymity network handled hidden services nodes. They figured out a way to come up with a honeypot that targets those servers that have the hidden service flag, HSDir, set.

The node running a hidden service in Tor depends totally on the relay of nodes that serve it. They are supposed to be incorruptible. But as this recent research showed, that’s not always the case.

Honey Onions

According to the report, the researchers developed a framework called honey onions (HOnions) “to detect and identify misbehaving and snooping HSDirs.” The system identified at least 110 snooping relays during a 72-day period. More than half were hosted on cloud infrastructure, which made them hard to trace.

What if this is just some botnet activity? According to the report, most of the recorded visits were automated to query the root path of the server. The sheer number of hidden services, however, seems to rule out the botnet theory.

All Snoops Are Not Equal

So what are the snoopers doing? The researchers concluded that “not all snooping HSDirs operate with the same level of sophistication.” That’s an interesting observation.

Some malicious Tor nodes avoided the detection of daily HOnions but were later picked up by weekly and monthly HOnions, the report stated. Researchers further detailed the difficulty in detecting nodes hosted on cloud infrastructure. In fact, the authors seem to think that the cloud is a great platform for a Tor attack.

Securing the Tor Anonymity Network

After further analysis, researchers found Apache and search engine-related queries. They also documented attempts to find or exploit SQL injection, cross-site scripting (XSS), Drupal user enumeration, path traversal, Ruby on Rails and PHP vulnerabilities.

According to SecurityWeek, the majority of malicious relays are located in the U.S., Germany, France, U.K. and the Netherlands. There are more than 3,000 relays with the HSDir flag, according to the Tor Project.

In the future, the researchers hope to “propose algorithms to both estimate the number of snooping HSDirs and identify them.” Until more information is revealed, however, Tor users will have to think twice about their true level of privacy.

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