DOI QR코드

DOI QR Code

A Solution towards Eliminating Transaction Malleability in Bitcoin

  • Rajput, Ubaidullah (Dept. of Computer Systems Engineering, Quaid-e-Awam UEST) ;
  • Abbas, Fizza (Dept. of Computer Systems Engineering, Quaid-e-Awam UEST) ;
  • Oh, Heekuck (Dept. of Computer Science and Engineering, Hanyang University (ERICA campus))
  • Received : 2015.09.15
  • Accepted : 2016.01.19
  • Published : 2018.08.31

Abstract

Bitcoin is a decentralized crypto-currency, which is based on the peer-to-peer network, and was introduced by Satoshi Nakamoto in 2008. Bitcoin transactions are written by using a scripting language. The hash value of a transaction's script is used to identify the transaction over the network. In February 2014, a Bitcoin exchange company, Mt. Gox, claimed that they had lost hundreds of millions US dollars worth of Bitcoins in an attack known as transaction malleability. Although known about since 2011, this was the first known attack that resulted in a company loosing multi-millions of US dollars in Bitcoins. Our reason for writing this paper is to understand Bitcoin transaction malleability and to propose an efficient solution. Our solution is a softfork (i.e., it can be gradually implemented). Towards the end of the paper we present a detailed analysis of our scheme with respect to various transaction malleability-based attack scenarios to show that our simple solution can prevent future incidents involving transaction malleability from occurring. We compare our scheme with existing approaches and present an analysis regarding the computational cost and storage requirements of our proposed solution, which shows the feasibility of our proposed scheme.

Keywords

References

  1. S. Nakamoto, "Bitcoin: a peer-to-peer electronic cash system," 2008; https://bitcoin.org/bitcoin.pdf.
  2. E. Androulaki, G. O. Karame, M. Roeschlin, T. Scherer, and S. Capkun, "Evaluating user privacy in bitcoin," in Financial Cryptography and Data Security. Heidelberg: Springer, 2013, pp. 34-51.
  3. S. Meiklejohn, M. Pomarole, G. Jordan, K. Levchenko, D. McCoy, G. M. Voelker, and S. Savage, "A fistful of bitcoins: characterizing payments among men with no names," in Proceedings of the 13th ACM Internet Measurement Conference, Barcelona, 2013, pp. 127-140.
  4. Bitcoin network data; http://www.coindesk.com/data/bitcoin/.
  5. How bitcoins mining works, http://www.coindesk.com/information/how-bitcoin-mining-works.
  6. Y. Takemoto and S. Knight, "Mt. Gox files for bankruptcy, hit with lawsuit," 2014; http://www.reuters.com/article/us-bitcoin-mtgox-bankruptcy-idUSBREA1R0FX20140228.
  7. A. Greenberg, "Silk Rod 2.0 'Hack' blamed on bitcoin bug, all funds stolen," 2014; http://www.forbes.com/sites/andygreenberg/2014/02/13/silk-road-2-0-hacked-using-bitcoin-bug-all-its-fundsstolen/#788200274a51.
  8. D. Bradbury, "Silk Road 2 loses over 2.33${\euro}$ million in bitcoins in alleged hack," 2014; http://www.coindesk.com/silk-road-2-loses-bitcoins-hack.
  9. Bitcoin Foundation, "Contrary to Mt. Gox's statement, bitcoin is not at fault," 2014; http://bitcoinfoundation.org/contrary-to-mt-goxs-statement-bitcoin-is-not-at-fault/.
  10. Hardfork definition, https://en.bitcoin.it/wiki/Hardfork.
  11. Softfork definition, https://en.bitcoin.it/wiki/Softfork.
  12. U. Rajput, F. Abbas, R. Hussain, H. Eun, and H. Oh, "A simple yet efficient approach to combat transaction malleability in bitcoin," in Information Security Applications. Cham: Springer International Publishing, 2014, pp. 27-37.
  13. New attack vector, https://bitcointalk.org/index.php?topic=8392.msg122410#msg122410.
  14. K. Shirriff, "Bitcoin transaction malleability: looking at the bytes," 2014; http://www.righto.com/2014/02/bitcoin-transaction-malleability.html.
  15. M. J. Schwartz, "Bitcoin exchanges buckle under DDoS attack," 2014; http://www.darkreading.com/attacks-and-breaches/bitcoin-exchanges-buckle-under-ddos-attacks/d/d-id/1113809.
  16. P. Wuille, "Dealing with malleability," 2014; https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki.
  17. M. Andrychowicz, S. Dziembowski, D. Malinowski, and L. Mazurek, "Fair two-party computations via bitcoin deposits," in Financial Cryptography and Data Security. Heidelberg: Springer, 2014, pp. 105-121.
  18. M. Andrychowicz, S. Dziembowski, D. Malinowski, and L. Mazurek, "How to deal with malleability of bitcoin transactions," 2013; http://arxiv.org/pdf/1312.3230v1.pdf.
  19. C. Decker and R. Wattenhofer, "Bitcoin transaction malleability and MtGox," in Computer Security-ESORICS 2014. Cham: Springer International Publishing, 2014, pp. 313-32.
  20. G. O. Karame, E. Androulaki, and S. Capkun, "Double-spending fast payments in bitcoin," in Proceedings of the 2012 ACM Conference on Computer and Communications Security, Raleigh, NC, 2012, pp. 906-917.
  21. M. Rosenfeld, "Analysis of hashrate-based double-spending," 2012; https://bitcoil.co.il/Doublespend.pdf.
  22. Transaction definition, https://en.bitcoin.it/wiki/Transactions.
  23. Bitcoin Block Explorer, https://blockchain.info.
  24. MtGox, "Notice of the results of approval or disapproval," 2014; http://www.mtgox.com/pressrelease20140210.html.
  25. Transaction malleability definition, https://en.bitcoin.it/wiki/Transaction_Malleability.