New Tool TorBan Helps Monitor Bitcoin-Over-Tor Attacks
Days after researchers described an attack that could reveal the identities of individuals who used bitcoin over the Tor anonymity network, a privacy advocate has developed a tool to monitor the occurrence of that attack.
The tool, TorBan, is a website that gives information about the Tor exit nodes currently connected to the bitcoin network.
If all the connections are fresh, users should be wary of a privacy-invading attack like the one described by the Luxembourg researchers, TorBan's creator Kristov Atlas said, adding:
"If you see a bunch of new nodes never seen before, and all of the ones that have been seen for a long time are no longer seen, that's suspicious."
Atlas said he was inspired to write TorBan by the University of Luxembourg paper, which was written by Ivan Pustogarov and Alex Biryukov, of the university's cryptology research group.
The paper outlined an attack that could unmask a bitcoin user who connected to the digital currency's network using Tor.
Banning Tor networks
The privacy incursion relies on exploiting the bitcoin protocol's built-in protection against denial-of-service (DoS) attacks, which bans clients that it thinks are DoS-ing it. By DoS-ing bitcoin servers from the Tor network, an attacker would cause all Tor exit-nodes to be banned from the bitcoin network.
The attacker can then run their own Tor exit nodes or bitcoin servers, waiting for a victim to connect. Victims are susceptible because they wind up using the attacker's Tor exit-node or her bitcoin server because all legitimate exit-nodes would have been banned by the bitcoin network.
TorBan traces the history of exit-nodes connected to the bitcoin network. If all the nodes are new, it could indicate that a malicious actor has triggered a ban of Tor exit-nodes by bitcoin servers, setting the stage for an attack.
Atlas said he wrote TorBan quickly as a "proof of concept" that the Luxembourg attack could be easily detected.
"The attack relies on the use of public information. We can use that public information to detect such attacks."
While TorBan doesn't prevent the attack, Kristov pointed out, it can serve as a useful warning system. He said preventing an attack would fall to the bitcoin core developers.
Pustogarov, a co-author of the Luxembourg paper, previously told CoinDesk that the attack could indeed be easily monitored. He welcomed Atlas' work with TorBan, noting that it contributed to a better understanding of the degree anonymity afforded by bitcoin use.
"I can only encourage it. It is a small project designed to detect a very specific attack. But many small projects like this will finally create the big picture," he said.
User identities important for attacks
Painting a clearer picture of anonymity and privacy issues in bitcoin is just what Atlas hopes to achieve with TorBan, which is just one of the programmes running under the Open Bitcoin Privacy Project banner. That's a loose grouping of six software developers working on bitcoin and privacy matters.
Other Open Bitcoin Privacy Project efforts include CoinJoin Sudoku, which evaluates the privacy levels of Blockchain's mixing service SharedCoin, and Open Bitcoin Privacy Library, a framework for analysing privacy on the blockchain.
Atlas underlined the imminent danger of ignoring privacy issues in the bitcoin economy. He said that even though the Luxembourg attack couldn't steal a victim's funds, instead only potentially de-anonymising a bitcoin user, it could still play an important role in a malicious actor's arsenal.
"Every hacker in the world ... builds a profile of their target first. There's an information gathering phase for anyone doing this kind of security work. I think bitcoin privacy is not well protected at the moment; information about where people's assets are and how much they have is really useful information," he said.
Featured image via g4ll4is / Flickr
Think Tank: Blockchain Could be 'Economic Layer' for the Web
Meet the Tiny Bitcoin Wallet that Lives Under Your Skin