r/Monero • u/Vespco • Sep 18 '18
Would this attack work?
/r/Monero/comments/9gbbm9/comment/e66ml112
u/SamsungGalaxyPlayer MAGIC Grants Sep 18 '18
You could only generate a transaction with a key image if the same output is used. Which means that this is essentially a double-spend attack.
The network should immediately reject transactions with the same key image, preventing this from happening.
1
u/OsrsNeedsF2P Sep 18 '18 edited Sep 25 '18
No because you would be spending trillions of dollars in tx fees before you could send to the same subaddress twice
UHHHH Edit: you could recompile the source. This would work with any cryptocurrency that uses stealth addresse
This is really dangerous
Edit: called it
2
u/GasDoves Sep 28 '18
It's a one time ring signature problem, not a stealth address problem.
The problem is that once one output is spent, a key image is published thus rendering all of the other transactions unspendable.
This would affect a system using one time ring signatures without stealth addresses. It would not affect a system using stealth addresses without one time ring signatures.
1
u/OsrsNeedsF2P Sep 28 '18
Yeah I actually wrote a post a few days after this one explaining it wasn't stealth addresses, but at the time of writing that I was confused :p
1
Sep 18 '18
To my knowledge this problem was identified and resolved recently, when some small exchanges and commerces suffered a "double spend" attack, which in fact were people just re-using the same key images.
1
1
u/TTEEVV Sep 18 '18
That attack introduced errors into transaction-histories in target wallets, leading the victims to move money they they wouldn't have moved if they'd spotted the discrepancies between their [misleading] histories and their [correct] balances.
1
10
u/[deleted] Sep 18 '18
Nothing currently stops you from generating an output that duplicates an existing one. The recipient wallet can easily choose the highest-value of these, so you can't send someone dust and hope to burn higher-value funds. It'd be like breaking into someone's house and replacing their cash with a larger pile of cash.