Tor compromised endpoint detection
Date: February 19, 2008 11:07AM
one of the big problem with tor is that you have to trust your exit node if the data cannot be encrypted on the complete path (ie website with no ssl), and even if the communication is authenticated and encrypted, you still can only have a medium level of confidence with your exit node.
i was thinking of a method to detect malicious exit node and i came up with this simple scheme
establish a fully trusted exitnode (ie you install it, in a secure location, with signed software, blah blah. usual level of paranoia) and a server configured to send a single long pseudorandom (seeded from something like your UA, or whatever you can strictly control) string, the SHA512 and Whirlpool of this hash, and the SHA512 / Whirlpool of the final produced HTML (bare bones, with just your plain text strings), both as public, and hidden service
then by forcing circuits, you get this page by, sequentially, your trusted node for comparison, node to check one, your trusted node, node to check two, etc... until you have passed through all the node in the network, checking the whole communication for strict identity, apart from the known variable at the packet level. this should ensure the communication is not tempered with along side the path. that's for active attacks (JS injection, flash, tracker pixel or whatever, or payload mangling). didn't think of a way to detect passive listening on the network, and frankly i don't think it is feasible.
as Tor doesn't use a pure random algorithm for circuits generation, you may have to force them to iterate through all the circuits possible.
does this approach sounds sensible/realistic to you guys ?
----------------------------------------------------------------------------------------------------------------
Those that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
--Benjamin Franklin