Deanonymizing Monero Transactions in Tor Network — Transcript
Full transcript
- 0:00So a research paper came out that claimed
- 0:03that Tor can de-anonymize Monero.
- 0:07Now, the headline itself makes it sound
- 0:09like XMR got
- 0:11cryptographically broken, which just
- 0:13isn't true.
- 0:14Your money is still private and nobody's
- 0:18actually breaking the cryptography of it.
- 0:21So there really is a genuine attack in
- 0:26the paper that they
- 0:27document, and they do a great
- 0:28job of it, by the way.
- 0:29The main thing that it depends on was
- 0:32fixed before the paper was even written.
- 0:36So if your node's current,
- 0:38you're good, for the most part.
- 0:40And we'll get into the, you
- 0:42know, not most part later on.
- 0:45I want to say this because there's a ton
- 0:47of people out there
- 0:48that are morons that hype
- 0:49up stuff like this to absolutely no end,
- 0:53which is why I'm kind of
- 0:54forced to do this video.
- 0:55These people act like it's essentially
- 0:57the end of the world.
- 0:59Also, it's worth mentioning that I'm not
- 1:01like an expert in crypto in general.
- 1:04I dislike all cryptos, in fact,
- 1:09especially right now, except for Monero.
- 1:12With Monero, I don't
- 1:13care about its price.
- 1:15I don't really care about anything.
- 1:17I care about its utility, most of all.
- 1:20And the fact that in a ever more
- 1:24surveilled world where everyone is
- 1:27treated like a criminal
- 1:28and technically is, because even our
- 1:32government can't tell you
- 1:35how many laws there are.
- 1:36So if they can't count how many laws
- 1:39there are, I can assure
- 1:41you that you don't know
- 1:43them all and that you're
- 1:43not following them all.
- 1:45So we're all, therefore, subject to stuff
- 1:49like arrest and
- 1:50prosecution for obscure laws
- 1:53that Agent Smith weaponized against us.
- 1:57And that's the point.
- 2:00While I'm not an expert in Monero, there
- 2:03are a ton of really
- 2:04good people out there who
- 2:05are brilliant who actually are.
- 2:07And I think that the development team
- 2:10itself are some of the
- 2:12largest badasses in the world
- 2:15when it comes to being developers.
- 2:18And that the entire Monero community as a
- 2:21whole, in general,
- 2:22are some of my favorite
- 2:24people.
- 2:25Most are privacy
- 2:26maximalists, obviously, but not all.
- 2:30And they come from essentially every walk
- 2:32of life that you could
- 2:34possibly imagine, from
- 2:35like CEOs to just regular nones.
- 2:41And it's an extremely eclectic group.
- 2:45And on a regular basis, we tend to behead
- 2:50and eat our own,
- 2:51especially in places like
- 2:53Monero Twitter, which is a really small
- 2:57group of people, but it's
- 3:00like a really niche group
- 3:02anyways, which I love.
- 3:04I like it.
- 3:04It's kind of like going to Defcon before
- 3:07it became $10,000 and
- 3:10was just totally taken
- 3:11over by feds.
- 3:13And people were like, "Oh, what do you
- 3:14mean, it's taken over by feds?"
- 3:16Dark Tangent's a fed, look it up.
- 3:18People in other crypto spaces tend to
- 3:21really dislike Monero
- 3:23people, but really, not the
- 3:25end of the day, who cares?
- 3:27Most of them use fed coins anyways and
- 3:29think that it's empowering.
- 3:30I have no doubt the same people would try
- 3:34to sell me, for
- 3:35example, one day on the fact
- 3:37that bootlicking is nutritional.
- 3:39It has some kind of
- 3:40nutritional value to it.
- 3:42I digress, I'm going on a rant.
- 3:45I feel like a little understanding about
- 3:48the actual community is
- 3:49important in this aspect
- 3:51because it's really the community who
- 3:53ends up doing the
- 3:54amazing things and the amazing
- 3:56work.
- 3:57People like me are just the ones on the
- 4:00sidelines who talk about
- 4:03the amazing work that other
- 4:04people actually do.
- 4:06And that's why, in general, I'm of the
- 4:10mindset that the vast
- 4:12majority of YouTubers actually
- 4:14suck.
- 4:14Now, I like looking at attacks on Monero
- 4:16because most of them are
- 4:17actually really interesting.
- 4:19Monero, on a regular basis, gets the
- 4:22living hell beat out of it.
- 4:25And typically, that happens by extremely
- 4:28well-funded adversaries and
- 4:31various organizations that
- 4:32are out there.
- 4:34And as a result, it's become, over the
- 4:38years, one of the
- 4:40best-hardened cryptos around,
- 4:44just kind of by osmosis.
- 4:45By getting its teeth kicked in on a
- 4:47regular basis, it's
- 4:48learned to take a beating really
- 4:50well.
- 4:51So for those of you who are in the crypto
- 4:55space, who don't
- 4:56necessarily regularly use
- 4:58things like anonymity networks, Tor
- 5:02essentially lets you hide
- 5:04your machine and run it as a
- 5:06hidden service.
- 5:07Which means, instead of an IP address,
- 5:09you get one of those
- 5:10long dot onion names and
- 5:13people reach it without actually ever
- 5:16learning where it lives.
- 5:18Hence, the whole hidden
- 5:19part of hidden service.
- 5:21So if you want to see a good example of
- 5:24these kind of addresses,
- 5:26you can and should absolutely
- 5:28check out my site, darknetlist.is, which
- 5:32is a replacement for
- 5:33darkwebdaily.live after the
- 5:36original provider for the domain name
- 5:39killed the URL because
- 5:41they dislike that I made a
- 5:44directory that they disagree with.
- 5:46I hope this isn't, which is great.
- 5:48Shout out to Andy Turbo and Quantumly
- 5:51Immortal, whose super chats
- 5:53I put forward to building the
- 5:54infrastructure and hosting it for like
- 5:57now, when you run your
- 5:59own Monero node over Tor,
- 6:02it sets itself up as
- 6:04exactly that hidden service.
- 6:06Right.
- 6:07So with that hidden service comes that
- 6:10dot onion address that we talked about.
- 6:12And the entire point of that is to hide
- 6:18where your machine is.
- 6:20The entire gist of the entire paper is
- 6:24that the nodes talk
- 6:26too much, essentially.
- 6:28So every so often, Monero
- 6:30nodes do this timed sync.
- 6:32It's a quick check in with the peers that
- 6:35they connect to where
- 6:37they all kind of trade small
- 6:39lists of other peers that they know.
- 6:43So on the old version, every time the
- 6:47node checked in, it
- 6:48stuck its own onion address
- 6:51into that list.
- 6:53So anyone that had talked to you could
- 6:55see that it was a hidden
- 6:56service node and see what its
- 6:58address was.
- 6:59Now, that's the identity
- 7:01leak that researchers found.
- 7:03It tells them which node is yours, not
- 7:06necessarily who you are
- 7:09or where your node is.
- 7:11So given that, like any kind of sane
- 7:15nerd, I elected to build
- 7:17a virtual lab to be able
- 7:19to watch this happen and record it so you
- 7:22guys can see it too.
- 7:23Now, we start off by pulling both
- 7:26versions of Monero
- 7:27straight from getmonero.org.
- 7:29And the old one that the researchers
- 7:33actually tested, and then I
- 7:35also pulled the new one that,
- 7:37you know, is the most
- 7:38recent one, essentially.
- 7:40Then I hash both files and I check the
- 7:44current one against
- 7:45Monero's own published list.
- 7:47And that's because it's what tells you
- 7:50that these binaries
- 7:51actually came from a legitimate
- 7:52source and, you know, not from me.
- 7:55They're not mine.
- 7:56I didn't modify them or
- 7:58tweak them in any way.
- 7:59Now, the hash on my screen matches the
- 8:02hash on the website.
- 8:03So nothing in here has been
- 8:07swapped out or manipulated.
- 8:09So next I write the setup and there's a
- 8:12Tor container that's
- 8:14running two hidden services
- 8:17and two real Monero
- 8:19nodes sitting behind it.
- 8:21Now, one is the target and it's the one
- 8:25that thinks it's staying private,
- 8:28while the other is the observer.
- 8:30And essentially all it does is accept the
- 8:33connection and write down everything that
- 8:36the target tells it to write down.
- 8:38Now, that's the entire experiment.
- 8:42So you have one node that's talking and
- 8:46one node that's listening.
- 8:48If you're watching this video, then
- 8:52that's pretty much what you're doing too.
- 8:53Like it's like if we had someone right
- 8:55here that was watching
- 8:56this and they're watching
- 8:57our interaction, that's what we're doing.
- 9:00Right.
- 9:00So it's really simple.
- 9:01So now that we've built it, let's
- 9:03actually bring it up.
- 9:05We can see here that Tor is going to
- 9:07start handing out onion addresses.
- 9:10The one to watch is the targets.
- 9:12Okay.
- 9:13The address is the thing that's supposed
- 9:16to stay hidden and
- 9:17everything from here comes
- 9:20down to whether the target gives it away
- 9:22on its own or if it doesn't.
- 9:24So we wait.
- 9:26Now, because the two nodes talk on
- 9:29Monero's schedule and not ours,
- 9:31take a break real quick.
- 9:33Okay.
- 9:34So while we wait, I want to tell you
- 9:37about today's sponsor.
- 9:38It's a VPN that keeps you anonymous.
- 9:41It encrypts your traffic with military
- 9:45grade encryption and it
- 9:46stops hackers from stealing
- 9:50your wifi passwords.
- 9:52And obviously I'm completely kidding.
- 9:55I'm not some soulless, whore YouTuber.
- 10:01Um, every word of that is absolutely a
- 10:04script that somebody got paid to read.
- 10:07So for example, PureVPN put no logs in
- 10:11writing and then handed the
- 10:13FBI enough logs to convict
- 10:16people.
- 10:16IPVanish advertised zero logs and
- 10:20gave Homeland Security
- 10:22users connection records,
- 10:24which are logs, by the way, uh, most of
- 10:27them lie about it until the
- 10:29subpoena actually shows up
- 10:31and the guy that is reading you this
- 10:33nonsensical ad on YouTube
- 10:36has never looked at a privacy
- 10:37policy or a transparency report or read
- 10:41anything on pace or whatsoever.
- 10:43Your browser already encrypts traffic.
- 10:47Like that's what the padlock is.
- 10:49So what a VPN actually changes is who
- 10:54gets to watch you and
- 10:56it moves from your ISP or
- 11:00internet service provider to a company
- 11:02whose guarantee is just a
- 11:05sentence on their marketing
- 11:06page or a tweet or what, or some shill on
- 11:10YouTube spouting it off.
- 11:11Now I don't have sponsors because I'm
- 11:13sponsored by subscribers.
- 11:16You guys sponsor me, not just here on
- 11:18YouTube by hopefully, you know, ad
- 11:21blocking everything.
- 11:23But, um, but more so, uh, on my blog
- 11:26where people pay money, uh, to help
- 11:31support the mission.
- 11:32And, um, if you're watching this now,
- 11:34nearly calling me to go do that.
- 11:35You can't, um, because I disabled it.
- 11:38And, uh, there's a reason for that.
- 11:39And that's something I'll announce later
- 11:41on and it'll be more of a
- 11:43message directed at those
- 11:44people who have supported the mission.
- 11:46Because all the money that I get, I put
- 11:47towards infrastructure and
- 11:49building things out so that
- 11:50you can do things like the dark web list
- 11:52that, that you guys
- 11:53saw, uh, do things for
- 11:55the community that better the world to
- 11:57some degree, in my
- 11:58opinion, better the world and
- 11:59it cited you.
- 12:00Let's see if our Monero
- 12:03stuff is actually finished.
- 12:04We get back in the
- 12:04kitchen and check that out.
- 12:06So if we pull the actual observer logs
- 12:09and search them for the
- 12:10target's onion address,
- 12:12this will tell us.
- 12:14And every hit is one time the target
- 12:16volunteered its own address
- 12:19to the machine that it had
- 12:21just met.
- 12:21Now, if we count them, it's
- 12:23like five out of five, right?
- 12:26Every single check-in it handed over its
- 12:29own name or hidden service address.
- 12:32And we can see that it is in fact,
- 12:34snitching on itself here.
- 12:35And that's the leak on a real node
- 12:40exactly the way that the
- 12:41paper actually describes
- 12:43it.
- 12:44So for the fix, we change one thing.
- 12:48We change the version.
- 12:50We point the lab at zero dot 18 dot five
- 12:54dot one, which is the
- 12:55current Monero that exists
- 12:57as I'm recording this anyway.
- 12:59And we bring the whole
- 13:01thing down and then back up.
- 13:03So no state actually
- 13:05survives from that first run.
- 13:08The observer and the
- 13:09test though are unchanged.
- 13:12And the software is the
- 13:14only thing that actually moved.
- 13:16So we wait out the check-ins again.
- 13:19Don't worry.
- 13:19I'm not going to do another fake ad.
- 13:22If you guys like that, though, by the
- 13:23way, let me know in the comments.
- 13:25I guarantee you there's a bunch of people
- 13:27who clicked off like, are you kidding?
- 13:28He said he never won one of these.
- 13:31But we'll go and we'll
- 13:33run the search again.
- 13:34And this time you'd see it comes back
- 13:37with one hit out of five.
- 13:39Obviously, much better, right?
- 13:43Now, with the updated version, we can see
- 13:48what's actually disclosed and the address
- 13:51is not part of that.
- 13:53The one hit that's in there is the node
- 13:55listing itself the way
- 13:58that it lists any other peer,
- 14:00which is at a random spot
- 14:02with the timestamp zeroed.
- 14:04And those two details essentially are
- 14:07what the old
- 14:08fingerprint actually depended on.
- 14:11So the developers closed this in December
- 14:13of 2024 and it
- 14:15shipped in version 0.18.4.0.
- 14:20And the authors tested the old version
- 14:23and the mitigation they
- 14:26recommended on page 12
- 14:27is the one that
- 14:28Monero had already shipped.
- 14:31So they just never say it already shipped
- 14:37from what I saw in the paper.
- 14:40Of course, I'm also an idiot so I could
- 14:42have just gotten it confused.
- 14:43But there's a second piece to all this.
- 14:46And this one is still
- 14:48live in the code today.
- 14:50When your node sends its own transaction,
- 14:54the one that you
- 14:55actually care about hiding,
- 14:57Monero funnels it through two of your
- 15:01actual outgoing connections
- 15:03instead of doing something like spreading
- 15:05it across all of them.
- 15:07Now, Monero does that on purpose.
- 15:09It's a privacy feature.
- 15:11Those two channels run
- 15:13constant fake traffic
- 15:16so that nobody watching can actually tell
- 15:18your real transactions from the noise.
- 15:23Now, the problem is that the doorways
- 15:25only open two peers wide, right?
- 15:30So anyone who controls both of those
- 15:34slots sees everything that you send.
- 15:37And it's all there in
- 15:39Monero's own source.
- 15:41And the number of these
- 15:42channels is set to two.
- 15:44So the peer selection makes that worse.
- 15:48And the Monero devs pinned it
- 15:50down in the exact same file.
- 15:52So when your node decides
- 15:54which peers are allowed to be,
- 15:57those two channels specifically, it
- 16:00filters them by the height of the peer
- 16:05claims to actually be.
- 16:07And nothing actually verifies that claim.
- 16:09So your node only considers peers that
- 16:13claim to be caught up
- 16:15with you or ahead of you.
- 16:18So an attacker claims
- 16:19like this huge height, right?
- 16:22And stays in the running while the honest
- 16:26peers who are even like a block behind
- 16:30get completely dropped
- 16:31from the consideration.
- 16:33So the devs left a note in there that a
- 16:37better approach is running
- 16:39Dandelion++ over Tor, and
- 16:44that is still worth investigating.
- 16:45So neither of those pieces, though, hands
- 16:48anyone your real IP on its own.
- 16:51Like to actually get that an attacker has
- 16:54to be your guard relay, like on Tor.
- 16:58And that's the one that
- 16:59Tor actually picks for you.
- 17:01So the paper's own model says that it
- 17:05takes something like
- 17:06a thousand high speed Tor relays plus
- 17:105,000 fake Monero nodes
- 17:14all aimed at one specific person.
- 17:19Like put a number on the
- 17:21relay half, like whatever it is.
- 17:24Each of those relays runs at
- 17:27like 20 megabytes a second.
- 17:30So a thousand of them is
- 17:3220,000 megabytes, right?
- 17:36And that's a second.
- 17:37So of the new capacity and the entire
- 17:42guard capacity of Tor
- 17:45in the paper's own
- 17:45measurements was like 54,000.
- 17:50So they have to essentially add on better
- 17:54than a third of the
- 17:56entire entry layer of Tor
- 17:59onto the network.
- 18:01Do you understand?
- 18:02Like, and they have to do that just to
- 18:05keep it fast enough
- 18:06to even get it chosen.
- 18:08Now you have to run 5,000
- 18:10fake Monero nodes beside it.
- 18:13And after all of that, the paper gives
- 18:17them like a 46% shot at one
- 18:22person that they aim to that.
- 18:25So even with all those nodes and all
- 18:27those variables covered,
- 18:30the odd, which is insane.
- 18:32Like nobody's doing that.
- 18:33It's a ridiculous level of attack, right?
- 18:36It's a budget that
- 18:37gets signed off on, right?
- 18:40With your name written as the request.
- 18:43Like if that's the case,
- 18:44that's how it's going to go down.
- 18:46So it's just a giant,
- 18:48massive, expensive operation.
- 18:51And it needs real
- 18:53relays on a live Tor network,
- 18:56which is the part that I actually
- 18:59couldn't reproduce in a
- 19:00lab for obvious reasons.
- 19:03So you'll be like, yeah, you could.
- 19:04It's network simulators.
- 19:05Yeah, I could.
- 19:06And you're right about that.
- 19:07Totally.
- 19:07I'm actually not sure.
- 19:08So I'll take that one back.
- 19:11I just didn't.
- 19:12I think it's out of the scope of this.
- 19:14But the authors say so
- 19:16themselves in the paper, right?
- 19:18In writing, their own words are that this
- 19:21quote does not rely on
- 19:23breaking cryptographic
- 19:25transaction privacy, end quote.
- 19:27And it should be read as a quote,
- 19:31practical feasibility
- 19:33result under the stated adversary
- 19:35capabilities, not as a claim that every
- 19:38Monero over Tor transaction is
- 19:41automatically de-anonymized,
- 19:43end quote.
- 19:44So the people who built the attack are
- 19:47essentially telling you and
- 19:49me the same thing that I'm
- 19:50telling you.
- 19:52And it's also on the Monero research labs
- 19:56radar as well, like the entire paper took
- 19:59up a good sized chunk at their agenda
- 20:03slot on July 29th, where
- 20:06the devs spend like half
- 20:09an hour or something picking it apart.
- 20:11Like they went back and forth on whether
- 20:14the fix fully holds and
- 20:18it's staying on their agenda.
- 20:22So the test that I just
- 20:24showed you says it does hold.
- 20:26But like I said, I'm not a crypto expert.
- 20:30So this is being handled in the open
- 20:33because that's kind of the
- 20:34beauty of Monero as a whole
- 20:36and as a community is
- 20:37that's how it works.
- 20:38It's not some VC funded meme coin.
- 20:43Like pretty much all
- 20:44the rest of them are.
- 20:45It's a BTC maxi.
- 20:46He's going to crucify me.
- 20:47You're running the, you know, Monero, how
- 20:49do you know what you're running?
- 20:50One command actually tells you and you
- 20:52type monerod space dash
- 20:55dash version and it prints it
- 20:57right back for you.
- 20:58So the leak was closed in 18.4.0, which
- 21:03came out in April of 2025.
- 21:06Like I said earlier, if that number is
- 21:090.18.4.0 or higher, you're
- 21:15patched and there's nothing
- 21:16for you actually to do.
- 21:18Now, if it's lower than that, that's your
- 21:20one job today, dude, because
- 21:22it's been like way too long
- 21:24since you updated.
- 21:25Come on, step up the game.
- 21:27So another thing, run your own node.
- 21:31Okay.
- 21:32Everyone should be running their own node
- 21:33instead of trusting someone else's node.
- 21:36So you're not handing your data over to
- 21:38some stranger server or
- 21:40your address for them to
- 21:42babysit.
- 21:42The cryptography in this case did its job
- 21:46and is doing its job.
- 21:48And this was a networking problem.
- 21:52Monero runs thousands of machines all
- 21:54around the world,
- 21:55including mine with no operator in
- 21:58the middle and nobody's
- 22:00permission is required to do it.
- 22:01And a couple of unpatched networking
- 22:04quirks really aren't
- 22:06going to change that.
- 22:07So stay safe, stay aware.
- 22:11There are adversaries out there.
- 22:12Thanks again for watching and I'll see
- 22:14you in the next video.
About this transcript
This page contains the full transcript of Deanonymizing Monero Transactions in Tor Network by Sam Bent, generated from the public captions YouTube serves with the video. The transcript has 3,109 words across 574 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.