YouTube2Text

Deanonymizing Monero Transactions in Tor Network — Transcript

by Sam Bent · 3,109 words · 574 segments · language en · Watch on YouTube

Full transcript

  1. 0:00So a research paper came out that claimed
  2. 0:03that Tor can de-anonymize Monero.
  3. 0:07Now, the headline itself makes it sound
  4. 0:09like XMR got
  5. 0:11cryptographically broken, which just
  6. 0:13isn't true.
  7. 0:14Your money is still private and nobody's
  8. 0:18actually breaking the cryptography of it.
  9. 0:21So there really is a genuine attack in
  10. 0:26the paper that they
  11. 0:27document, and they do a great
  12. 0:28job of it, by the way.
  13. 0:29The main thing that it depends on was
  14. 0:32fixed before the paper was even written.
  15. 0:36So if your node's current,
  16. 0:38you're good, for the most part.
  17. 0:40And we'll get into the, you
  18. 0:42know, not most part later on.
  19. 0:45I want to say this because there's a ton
  20. 0:47of people out there
  21. 0:48that are morons that hype
  22. 0:49up stuff like this to absolutely no end,
  23. 0:53which is why I'm kind of
  24. 0:54forced to do this video.
  25. 0:55These people act like it's essentially
  26. 0:57the end of the world.
  27. 0:59Also, it's worth mentioning that I'm not
  28. 1:01like an expert in crypto in general.
  29. 1:04I dislike all cryptos, in fact,
  30. 1:09especially right now, except for Monero.
  31. 1:12With Monero, I don't
  32. 1:13care about its price.
  33. 1:15I don't really care about anything.
  34. 1:17I care about its utility, most of all.
  35. 1:20And the fact that in a ever more
  36. 1:24surveilled world where everyone is
  37. 1:27treated like a criminal
  38. 1:28and technically is, because even our
  39. 1:32government can't tell you
  40. 1:35how many laws there are.
  41. 1:36So if they can't count how many laws
  42. 1:39there are, I can assure
  43. 1:41you that you don't know
  44. 1:43them all and that you're
  45. 1:43not following them all.
  46. 1:45So we're all, therefore, subject to stuff
  47. 1:49like arrest and
  48. 1:50prosecution for obscure laws
  49. 1:53that Agent Smith weaponized against us.
  50. 1:57And that's the point.
  51. 2:00While I'm not an expert in Monero, there
  52. 2:03are a ton of really
  53. 2:04good people out there who
  54. 2:05are brilliant who actually are.
  55. 2:07And I think that the development team
  56. 2:10itself are some of the
  57. 2:12largest badasses in the world
  58. 2:15when it comes to being developers.
  59. 2:18And that the entire Monero community as a
  60. 2:21whole, in general,
  61. 2:22are some of my favorite
  62. 2:24people.
  63. 2:25Most are privacy
  64. 2:26maximalists, obviously, but not all.
  65. 2:30And they come from essentially every walk
  66. 2:32of life that you could
  67. 2:34possibly imagine, from
  68. 2:35like CEOs to just regular nones.
  69. 2:41And it's an extremely eclectic group.
  70. 2:45And on a regular basis, we tend to behead
  71. 2:50and eat our own,
  72. 2:51especially in places like
  73. 2:53Monero Twitter, which is a really small
  74. 2:57group of people, but it's
  75. 3:00like a really niche group
  76. 3:02anyways, which I love.
  77. 3:04I like it.
  78. 3:04It's kind of like going to Defcon before
  79. 3:07it became $10,000 and
  80. 3:10was just totally taken
  81. 3:11over by feds.
  82. 3:13And people were like, "Oh, what do you
  83. 3:14mean, it's taken over by feds?"
  84. 3:16Dark Tangent's a fed, look it up.
  85. 3:18People in other crypto spaces tend to
  86. 3:21really dislike Monero
  87. 3:23people, but really, not the
  88. 3:25end of the day, who cares?
  89. 3:27Most of them use fed coins anyways and
  90. 3:29think that it's empowering.
  91. 3:30I have no doubt the same people would try
  92. 3:34to sell me, for
  93. 3:35example, one day on the fact
  94. 3:37that bootlicking is nutritional.
  95. 3:39It has some kind of
  96. 3:40nutritional value to it.
  97. 3:42I digress, I'm going on a rant.
  98. 3:45I feel like a little understanding about
  99. 3:48the actual community is
  100. 3:49important in this aspect
  101. 3:51because it's really the community who
  102. 3:53ends up doing the
  103. 3:54amazing things and the amazing
  104. 3:56work.
  105. 3:57People like me are just the ones on the
  106. 4:00sidelines who talk about
  107. 4:03the amazing work that other
  108. 4:04people actually do.
  109. 4:06And that's why, in general, I'm of the
  110. 4:10mindset that the vast
  111. 4:12majority of YouTubers actually
  112. 4:14suck.
  113. 4:14Now, I like looking at attacks on Monero
  114. 4:16because most of them are
  115. 4:17actually really interesting.
  116. 4:19Monero, on a regular basis, gets the
  117. 4:22living hell beat out of it.
  118. 4:25And typically, that happens by extremely
  119. 4:28well-funded adversaries and
  120. 4:31various organizations that
  121. 4:32are out there.
  122. 4:34And as a result, it's become, over the
  123. 4:38years, one of the
  124. 4:40best-hardened cryptos around,
  125. 4:44just kind of by osmosis.
  126. 4:45By getting its teeth kicked in on a
  127. 4:47regular basis, it's
  128. 4:48learned to take a beating really
  129. 4:50well.
  130. 4:51So for those of you who are in the crypto
  131. 4:55space, who don't
  132. 4:56necessarily regularly use
  133. 4:58things like anonymity networks, Tor
  134. 5:02essentially lets you hide
  135. 5:04your machine and run it as a
  136. 5:06hidden service.
  137. 5:07Which means, instead of an IP address,
  138. 5:09you get one of those
  139. 5:10long dot onion names and
  140. 5:13people reach it without actually ever
  141. 5:16learning where it lives.
  142. 5:18Hence, the whole hidden
  143. 5:19part of hidden service.
  144. 5:21So if you want to see a good example of
  145. 5:24these kind of addresses,
  146. 5:26you can and should absolutely
  147. 5:28check out my site, darknetlist.is, which
  148. 5:32is a replacement for
  149. 5:33darkwebdaily.live after the
  150. 5:36original provider for the domain name
  151. 5:39killed the URL because
  152. 5:41they dislike that I made a
  153. 5:44directory that they disagree with.
  154. 5:46I hope this isn't, which is great.
  155. 5:48Shout out to Andy Turbo and Quantumly
  156. 5:51Immortal, whose super chats
  157. 5:53I put forward to building the
  158. 5:54infrastructure and hosting it for like
  159. 5:57now, when you run your
  160. 5:59own Monero node over Tor,
  161. 6:02it sets itself up as
  162. 6:04exactly that hidden service.
  163. 6:06Right.
  164. 6:07So with that hidden service comes that
  165. 6:10dot onion address that we talked about.
  166. 6:12And the entire point of that is to hide
  167. 6:18where your machine is.
  168. 6:20The entire gist of the entire paper is
  169. 6:24that the nodes talk
  170. 6:26too much, essentially.
  171. 6:28So every so often, Monero
  172. 6:30nodes do this timed sync.
  173. 6:32It's a quick check in with the peers that
  174. 6:35they connect to where
  175. 6:37they all kind of trade small
  176. 6:39lists of other peers that they know.
  177. 6:43So on the old version, every time the
  178. 6:47node checked in, it
  179. 6:48stuck its own onion address
  180. 6:51into that list.
  181. 6:53So anyone that had talked to you could
  182. 6:55see that it was a hidden
  183. 6:56service node and see what its
  184. 6:58address was.
  185. 6:59Now, that's the identity
  186. 7:01leak that researchers found.
  187. 7:03It tells them which node is yours, not
  188. 7:06necessarily who you are
  189. 7:09or where your node is.
  190. 7:11So given that, like any kind of sane
  191. 7:15nerd, I elected to build
  192. 7:17a virtual lab to be able
  193. 7:19to watch this happen and record it so you
  194. 7:22guys can see it too.
  195. 7:23Now, we start off by pulling both
  196. 7:26versions of Monero
  197. 7:27straight from getmonero.org.
  198. 7:29And the old one that the researchers
  199. 7:33actually tested, and then I
  200. 7:35also pulled the new one that,
  201. 7:37you know, is the most
  202. 7:38recent one, essentially.
  203. 7:40Then I hash both files and I check the
  204. 7:44current one against
  205. 7:45Monero's own published list.
  206. 7:47And that's because it's what tells you
  207. 7:50that these binaries
  208. 7:51actually came from a legitimate
  209. 7:52source and, you know, not from me.
  210. 7:55They're not mine.
  211. 7:56I didn't modify them or
  212. 7:58tweak them in any way.
  213. 7:59Now, the hash on my screen matches the
  214. 8:02hash on the website.
  215. 8:03So nothing in here has been
  216. 8:07swapped out or manipulated.
  217. 8:09So next I write the setup and there's a
  218. 8:12Tor container that's
  219. 8:14running two hidden services
  220. 8:17and two real Monero
  221. 8:19nodes sitting behind it.
  222. 8:21Now, one is the target and it's the one
  223. 8:25that thinks it's staying private,
  224. 8:28while the other is the observer.
  225. 8:30And essentially all it does is accept the
  226. 8:33connection and write down everything that
  227. 8:36the target tells it to write down.
  228. 8:38Now, that's the entire experiment.
  229. 8:42So you have one node that's talking and
  230. 8:46one node that's listening.
  231. 8:48If you're watching this video, then
  232. 8:52that's pretty much what you're doing too.
  233. 8:53Like it's like if we had someone right
  234. 8:55here that was watching
  235. 8:56this and they're watching
  236. 8:57our interaction, that's what we're doing.
  237. 9:00Right.
  238. 9:00So it's really simple.
  239. 9:01So now that we've built it, let's
  240. 9:03actually bring it up.
  241. 9:05We can see here that Tor is going to
  242. 9:07start handing out onion addresses.
  243. 9:10The one to watch is the targets.
  244. 9:12Okay.
  245. 9:13The address is the thing that's supposed
  246. 9:16to stay hidden and
  247. 9:17everything from here comes
  248. 9:20down to whether the target gives it away
  249. 9:22on its own or if it doesn't.
  250. 9:24So we wait.
  251. 9:26Now, because the two nodes talk on
  252. 9:29Monero's schedule and not ours,
  253. 9:31take a break real quick.
  254. 9:33Okay.
  255. 9:34So while we wait, I want to tell you
  256. 9:37about today's sponsor.
  257. 9:38It's a VPN that keeps you anonymous.
  258. 9:41It encrypts your traffic with military
  259. 9:45grade encryption and it
  260. 9:46stops hackers from stealing
  261. 9:50your wifi passwords.
  262. 9:52And obviously I'm completely kidding.
  263. 9:55I'm not some soulless, whore YouTuber.
  264. 10:01Um, every word of that is absolutely a
  265. 10:04script that somebody got paid to read.
  266. 10:07So for example, PureVPN put no logs in
  267. 10:11writing and then handed the
  268. 10:13FBI enough logs to convict
  269. 10:16people.
  270. 10:16IPVanish advertised zero logs and
  271. 10:20gave Homeland Security
  272. 10:22users connection records,
  273. 10:24which are logs, by the way, uh, most of
  274. 10:27them lie about it until the
  275. 10:29subpoena actually shows up
  276. 10:31and the guy that is reading you this
  277. 10:33nonsensical ad on YouTube
  278. 10:36has never looked at a privacy
  279. 10:37policy or a transparency report or read
  280. 10:41anything on pace or whatsoever.
  281. 10:43Your browser already encrypts traffic.
  282. 10:47Like that's what the padlock is.
  283. 10:49So what a VPN actually changes is who
  284. 10:54gets to watch you and
  285. 10:56it moves from your ISP or
  286. 11:00internet service provider to a company
  287. 11:02whose guarantee is just a
  288. 11:05sentence on their marketing
  289. 11:06page or a tweet or what, or some shill on
  290. 11:10YouTube spouting it off.
  291. 11:11Now I don't have sponsors because I'm
  292. 11:13sponsored by subscribers.
  293. 11:16You guys sponsor me, not just here on
  294. 11:18YouTube by hopefully, you know, ad
  295. 11:21blocking everything.
  296. 11:23But, um, but more so, uh, on my blog
  297. 11:26where people pay money, uh, to help
  298. 11:31support the mission.
  299. 11:32And, um, if you're watching this now,
  300. 11:34nearly calling me to go do that.
  301. 11:35You can't, um, because I disabled it.
  302. 11:38And, uh, there's a reason for that.
  303. 11:39And that's something I'll announce later
  304. 11:41on and it'll be more of a
  305. 11:43message directed at those
  306. 11:44people who have supported the mission.
  307. 11:46Because all the money that I get, I put
  308. 11:47towards infrastructure and
  309. 11:49building things out so that
  310. 11:50you can do things like the dark web list
  311. 11:52that, that you guys
  312. 11:53saw, uh, do things for
  313. 11:55the community that better the world to
  314. 11:57some degree, in my
  315. 11:58opinion, better the world and
  316. 11:59it cited you.
  317. 12:00Let's see if our Monero
  318. 12:03stuff is actually finished.
  319. 12:04We get back in the
  320. 12:04kitchen and check that out.
  321. 12:06So if we pull the actual observer logs
  322. 12:09and search them for the
  323. 12:10target's onion address,
  324. 12:12this will tell us.
  325. 12:14And every hit is one time the target
  326. 12:16volunteered its own address
  327. 12:19to the machine that it had
  328. 12:21just met.
  329. 12:21Now, if we count them, it's
  330. 12:23like five out of five, right?
  331. 12:26Every single check-in it handed over its
  332. 12:29own name or hidden service address.
  333. 12:32And we can see that it is in fact,
  334. 12:34snitching on itself here.
  335. 12:35And that's the leak on a real node
  336. 12:40exactly the way that the
  337. 12:41paper actually describes
  338. 12:43it.
  339. 12:44So for the fix, we change one thing.
  340. 12:48We change the version.
  341. 12:50We point the lab at zero dot 18 dot five
  342. 12:54dot one, which is the
  343. 12:55current Monero that exists
  344. 12:57as I'm recording this anyway.
  345. 12:59And we bring the whole
  346. 13:01thing down and then back up.
  347. 13:03So no state actually
  348. 13:05survives from that first run.
  349. 13:08The observer and the
  350. 13:09test though are unchanged.
  351. 13:12And the software is the
  352. 13:14only thing that actually moved.
  353. 13:16So we wait out the check-ins again.
  354. 13:19Don't worry.
  355. 13:19I'm not going to do another fake ad.
  356. 13:22If you guys like that, though, by the
  357. 13:23way, let me know in the comments.
  358. 13:25I guarantee you there's a bunch of people
  359. 13:27who clicked off like, are you kidding?
  360. 13:28He said he never won one of these.
  361. 13:31But we'll go and we'll
  362. 13:33run the search again.
  363. 13:34And this time you'd see it comes back
  364. 13:37with one hit out of five.
  365. 13:39Obviously, much better, right?
  366. 13:43Now, with the updated version, we can see
  367. 13:48what's actually disclosed and the address
  368. 13:51is not part of that.
  369. 13:53The one hit that's in there is the node
  370. 13:55listing itself the way
  371. 13:58that it lists any other peer,
  372. 14:00which is at a random spot
  373. 14:02with the timestamp zeroed.
  374. 14:04And those two details essentially are
  375. 14:07what the old
  376. 14:08fingerprint actually depended on.
  377. 14:11So the developers closed this in December
  378. 14:13of 2024 and it
  379. 14:15shipped in version 0.18.4.0.
  380. 14:20And the authors tested the old version
  381. 14:23and the mitigation they
  382. 14:26recommended on page 12
  383. 14:27is the one that
  384. 14:28Monero had already shipped.
  385. 14:31So they just never say it already shipped
  386. 14:37from what I saw in the paper.
  387. 14:40Of course, I'm also an idiot so I could
  388. 14:42have just gotten it confused.
  389. 14:43But there's a second piece to all this.
  390. 14:46And this one is still
  391. 14:48live in the code today.
  392. 14:50When your node sends its own transaction,
  393. 14:54the one that you
  394. 14:55actually care about hiding,
  395. 14:57Monero funnels it through two of your
  396. 15:01actual outgoing connections
  397. 15:03instead of doing something like spreading
  398. 15:05it across all of them.
  399. 15:07Now, Monero does that on purpose.
  400. 15:09It's a privacy feature.
  401. 15:11Those two channels run
  402. 15:13constant fake traffic
  403. 15:16so that nobody watching can actually tell
  404. 15:18your real transactions from the noise.
  405. 15:23Now, the problem is that the doorways
  406. 15:25only open two peers wide, right?
  407. 15:30So anyone who controls both of those
  408. 15:34slots sees everything that you send.
  409. 15:37And it's all there in
  410. 15:39Monero's own source.
  411. 15:41And the number of these
  412. 15:42channels is set to two.
  413. 15:44So the peer selection makes that worse.
  414. 15:48And the Monero devs pinned it
  415. 15:50down in the exact same file.
  416. 15:52So when your node decides
  417. 15:54which peers are allowed to be,
  418. 15:57those two channels specifically, it
  419. 16:00filters them by the height of the peer
  420. 16:05claims to actually be.
  421. 16:07And nothing actually verifies that claim.
  422. 16:09So your node only considers peers that
  423. 16:13claim to be caught up
  424. 16:15with you or ahead of you.
  425. 16:18So an attacker claims
  426. 16:19like this huge height, right?
  427. 16:22And stays in the running while the honest
  428. 16:26peers who are even like a block behind
  429. 16:30get completely dropped
  430. 16:31from the consideration.
  431. 16:33So the devs left a note in there that a
  432. 16:37better approach is running
  433. 16:39Dandelion++ over Tor, and
  434. 16:44that is still worth investigating.
  435. 16:45So neither of those pieces, though, hands
  436. 16:48anyone your real IP on its own.
  437. 16:51Like to actually get that an attacker has
  438. 16:54to be your guard relay, like on Tor.
  439. 16:58And that's the one that
  440. 16:59Tor actually picks for you.
  441. 17:01So the paper's own model says that it
  442. 17:05takes something like
  443. 17:06a thousand high speed Tor relays plus
  444. 17:105,000 fake Monero nodes
  445. 17:14all aimed at one specific person.
  446. 17:19Like put a number on the
  447. 17:21relay half, like whatever it is.
  448. 17:24Each of those relays runs at
  449. 17:27like 20 megabytes a second.
  450. 17:30So a thousand of them is
  451. 17:3220,000 megabytes, right?
  452. 17:36And that's a second.
  453. 17:37So of the new capacity and the entire
  454. 17:42guard capacity of Tor
  455. 17:45in the paper's own
  456. 17:45measurements was like 54,000.
  457. 17:50So they have to essentially add on better
  458. 17:54than a third of the
  459. 17:56entire entry layer of Tor
  460. 17:59onto the network.
  461. 18:01Do you understand?
  462. 18:02Like, and they have to do that just to
  463. 18:05keep it fast enough
  464. 18:06to even get it chosen.
  465. 18:08Now you have to run 5,000
  466. 18:10fake Monero nodes beside it.
  467. 18:13And after all of that, the paper gives
  468. 18:17them like a 46% shot at one
  469. 18:22person that they aim to that.
  470. 18:25So even with all those nodes and all
  471. 18:27those variables covered,
  472. 18:30the odd, which is insane.
  473. 18:32Like nobody's doing that.
  474. 18:33It's a ridiculous level of attack, right?
  475. 18:36It's a budget that
  476. 18:37gets signed off on, right?
  477. 18:40With your name written as the request.
  478. 18:43Like if that's the case,
  479. 18:44that's how it's going to go down.
  480. 18:46So it's just a giant,
  481. 18:48massive, expensive operation.
  482. 18:51And it needs real
  483. 18:53relays on a live Tor network,
  484. 18:56which is the part that I actually
  485. 18:59couldn't reproduce in a
  486. 19:00lab for obvious reasons.
  487. 19:03So you'll be like, yeah, you could.
  488. 19:04It's network simulators.
  489. 19:05Yeah, I could.
  490. 19:06And you're right about that.
  491. 19:07Totally.
  492. 19:07I'm actually not sure.
  493. 19:08So I'll take that one back.
  494. 19:11I just didn't.
  495. 19:12I think it's out of the scope of this.
  496. 19:14But the authors say so
  497. 19:16themselves in the paper, right?
  498. 19:18In writing, their own words are that this
  499. 19:21quote does not rely on
  500. 19:23breaking cryptographic
  501. 19:25transaction privacy, end quote.
  502. 19:27And it should be read as a quote,
  503. 19:31practical feasibility
  504. 19:33result under the stated adversary
  505. 19:35capabilities, not as a claim that every
  506. 19:38Monero over Tor transaction is
  507. 19:41automatically de-anonymized,
  508. 19:43end quote.
  509. 19:44So the people who built the attack are
  510. 19:47essentially telling you and
  511. 19:49me the same thing that I'm
  512. 19:50telling you.
  513. 19:52And it's also on the Monero research labs
  514. 19:56radar as well, like the entire paper took
  515. 19:59up a good sized chunk at their agenda
  516. 20:03slot on July 29th, where
  517. 20:06the devs spend like half
  518. 20:09an hour or something picking it apart.
  519. 20:11Like they went back and forth on whether
  520. 20:14the fix fully holds and
  521. 20:18it's staying on their agenda.
  522. 20:22So the test that I just
  523. 20:24showed you says it does hold.
  524. 20:26But like I said, I'm not a crypto expert.
  525. 20:30So this is being handled in the open
  526. 20:33because that's kind of the
  527. 20:34beauty of Monero as a whole
  528. 20:36and as a community is
  529. 20:37that's how it works.
  530. 20:38It's not some VC funded meme coin.
  531. 20:43Like pretty much all
  532. 20:44the rest of them are.
  533. 20:45It's a BTC maxi.
  534. 20:46He's going to crucify me.
  535. 20:47You're running the, you know, Monero, how
  536. 20:49do you know what you're running?
  537. 20:50One command actually tells you and you
  538. 20:52type monerod space dash
  539. 20:55dash version and it prints it
  540. 20:57right back for you.
  541. 20:58So the leak was closed in 18.4.0, which
  542. 21:03came out in April of 2025.
  543. 21:06Like I said earlier, if that number is
  544. 21:090.18.4.0 or higher, you're
  545. 21:15patched and there's nothing
  546. 21:16for you actually to do.
  547. 21:18Now, if it's lower than that, that's your
  548. 21:20one job today, dude, because
  549. 21:22it's been like way too long
  550. 21:24since you updated.
  551. 21:25Come on, step up the game.
  552. 21:27So another thing, run your own node.
  553. 21:31Okay.
  554. 21:32Everyone should be running their own node
  555. 21:33instead of trusting someone else's node.
  556. 21:36So you're not handing your data over to
  557. 21:38some stranger server or
  558. 21:40your address for them to
  559. 21:42babysit.
  560. 21:42The cryptography in this case did its job
  561. 21:46and is doing its job.
  562. 21:48And this was a networking problem.
  563. 21:52Monero runs thousands of machines all
  564. 21:54around the world,
  565. 21:55including mine with no operator in
  566. 21:58the middle and nobody's
  567. 22:00permission is required to do it.
  568. 22:01And a couple of unpatched networking
  569. 22:04quirks really aren't
  570. 22:06going to change that.
  571. 22:07So stay safe, stay aware.
  572. 22:11There are adversaries out there.
  573. 22:12Thanks again for watching and I'll see
  574. 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.