Top Banner
65

CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Jul 28, 2015

Download

Software

PROIDEA
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 2: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 3: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 4: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 5: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 6: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 7: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 8: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 9: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 10: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 11: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 12: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 13: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2

Page 14: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 15: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 16: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 17: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 18: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 19: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 20: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 21: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 22: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 23: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 24: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 25: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 26: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 27: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 28: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 29: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 30: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 31: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 32: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 33: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 34: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 35: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Credit: fail0verflow 27C3 http://events.ccc.de/congress/2010/Fahrplan/attachments/1780_27c3_console_hacking_2010.pdf

Page 36: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 37: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 38: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 39: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 40: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 41: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 42: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 43: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 44: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Alice

Bob

2

1

Alice

Bob

2

1

Alice

Bob

2

1

Page 45: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Alice

Bob

2.1

1.0

Alice

Bob

2

1

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

Page 46: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Alice

Bob

2.1

1.0

Alice

Bob

2

1

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send25 coins to meMyself

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

I send1 coin to Alice Bob

I send1 coin to Bob Alice

I send1 coin to Alice Bob

1+ 8302

934902843093572

Page 47: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

X

Page 48: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

I send1 coin to Alice Bob

Page 49: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Cat

Alice

Bob

1

0

Cat 0

Alice

Bob

I send1 cointo BobAlice

I send1 cointo CatAlice

Alice

Bob

0

1

Cat 0

Alice

Bob

1

0

Cat 0

Alice

Bob

0

0

Cat 1

Page 50: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

I send1 cointo BobAlice

Page 51: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Credit: fail0verflow 27C3 http://events.ccc.de/congress/2010/Fahrplan/attachments/1780_27c3_console_hacking_2010.pdf

Page 52: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Transaction Malleability

For every ECDSA signature (R,S),

the signature (R, -S mod N)

is a valid signature of the same message.

Page 53: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

Alice

I send1 cointo BobAlice

I send1 cointo Bob-Alice

Page 54: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 55: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 56: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 57: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 58: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

I send1 cointo BobAlice

Page 59: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

We send1 cointo BobAlice, Cat

Page 60: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 61: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 62: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 63: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

● Trick people into sending them to you● Malware● Cross Site Scripting● Bad Randomness● Watch TV● 51% Attack● Double Spending● Transaction Malleability

How to Steal Bitcoins…

Page 64: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb
Page 65: CONFidence 2015: How to Steal Bitcoins - Daniel Shearer, Nick Zeeb

More Links

Block Chain● https://blockchain.info/● https://blockchain.info/charts

ECDSA● http://rdist.root.org/2010/11/19/dsa-requirements-for-random-k-value/● http://www.nilsschneider.net/2013/01/28/recovering-bitcoin-private-keys.html

TOR Attack● http://arxiv.org/abs/1410.6079

TLS Certificate Revocation● https://github.com/ChristopherA/revocable-self-signed-tls-certificates-hack