Bitcoin Forum
June 24, 2024, 04:57:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is Transaction malleability? How often will it happen?  (Read 219 times)
Julian ogan (OP)
Member
**
Offline Offline

Activity: 87
Merit: 27


View Profile
June 11, 2019, 01:22:03 PM
Merited by bones261 (2), ABCbits (1)
 #1

I was reading and just came across transaction malleability attack. I read multiple links that i got but, there are lot more questions in my mind.

My queries:
  • Is double spent same thing or is different? How are they same or how are they differentiated?
  • How often such a thing will occur?
  • Is it fixed?
  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Can someone please explain this attack in lye-man language? 

NeuroticFish
Legendary
*
Offline Offline

Activity: 3710
Merit: 6432


Looking for campaign manager? Contact icopress!


View Profile
June 11, 2019, 01:57:51 PM
 #2

I was reading and just came across transaction malleability attack. I read multiple links that i got but, there are lot more questions in my mind.

Did you find / read this article? https://www.coindesk.com/bitcoin-bug-guide-transaction-malleability
It seems to answers to basically all your questions in a pretty simple language.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
ABCbits
Legendary
*
Offline Offline

Activity: 2912
Merit: 7579


Crypto Swap Exchange


View Profile
June 11, 2019, 07:12:20 PM
Merited by bones261 (2), pooya87 (1), mocacinno (1), Coin-1 (1)
 #3

  • Is double spent same thing or is different? How are they same or how are they differentiated?

It's different, the main difference is
  • double-spend transaction have different output
  • malleability transaction only have different transaction hash (input/output exactly same)

  • How often such a thing will occur?

That depends whether someone decide to abuse Transaction malleability

  • Is it fixed?

Yes, if you use SegWit address.

  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Yes, but you don't need any mining power to do it. All you need to are change transaction/signature format of an transaction and broadcast it.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Julian ogan (OP)
Member
**
Offline Offline

Activity: 87
Merit: 27


View Profile
June 14, 2019, 06:35:57 AM
 #4

  • Is double spent same thing or is different? How are they same or how are they differentiated?

It's different, the main difference is
  • double-spend transaction have different output
  • malleability transaction only have different transaction hash (input/output exactly same)

  • How often such a thing will occur?

That depends whether someone decide to abuse Transaction malleability

  • Is it fixed?

Yes, if you use SegWit address.

  • Can a miner with 51% mining power can do this? As he/she with 51% power can do 51% attack

Yes, but you don't need any mining power to do it. All you need to are change transaction/signature format of an transaction and broadcast it.

Can you please recommend any article or book to read this topic in depth.

pooya87
Legendary
*
Offline Offline

Activity: 3486
Merit: 10666



View Profile
June 15, 2019, 03:35:39 AM
 #5

Can someone please explain this attack in lye-man language? 

it means you change something inside of any transaction you receive so that the final transaction hash changes but the transaction doesn't become invalid. so anybody could do that, you won't even need to run a node! you just have to listen to a node and receive/relay transactions.

for example changing signature was a way to malleate a transaction. one way is to inject ignore-able OP codes like OP_0 in it, another was to change S value to -S since on an elliptic curve (x,y) is congruence to (x,-y). both of these change the transaction hash (TX_ID) but won't make the transaction invalid.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!