際際滷

際際滷Share a Scribd company logo
Securing your
Bitcoins

Kitten Tofu
Hello!
≒ Kitten Tofu!
≒ Cryptocurrency enthusiast since 2011!
≒ Worked in infosec for a couple years!
≒ Full time cryptocurrency researcher!
!
This Talk
I want you to interrupt me.!
This Talk
≒ Entropy!
≒ Use Cases and Adversaries!
≒ blockchain.info client!
≒ Of鍖ine Wallets!
≒ m of n signature schemes!
≒ BIP32 (HDWallets)!
≒ Network Architecture!
Entropy
≒ Measure of randomness!
≒ Usually expressed as the number of bits!
!
≒ Pick truly random passphrases!
≒ Google for diceware!
Use cases + Adversaries
≒ Short Term / Easy Access / hot wallet!
≒ Long Term / Savings / cold storage!
!
≒ Somebody who has physical access to you!
≒ Some random hacker on the internet!
blockchain.info
≒ Client side encryption, however...!
≒ Google for matasano javascript!
≒ Enable 2 factor authentication!
Offline Wallets
≒ Private keys on an air gapped computer!
Of鍖ine
Computer!
Online
Computer!
ernet!
Private Keys
Offline Wallets
≒ Private keys on an air gapped computer!
Of鍖ine
Computer!
Online
Computer!
ernet!
Public Keys! Private Keys
Offline Wallets
≒ Private keys on an air gapped computer!
Of鍖ine
Computer!
Online
Computer!
ernet!
Public Keys! Private Keys
Unsigned!
Transaction!
Offline Wallets
≒ Private keys on an air gapped computer!
Of鍖ine
Computer!
Online
Computer!
ernet!
Public Keys! Private Keys
Signed!
Transaction!
Offline Wallets
Armory makes this easy!
Offline Wallets
≒ Encrypt properly!
!
≒ Watch out for USB viruses!!
transactions
≒ BIP 11, Gavin Andresen!
≒ blockchain.info implements this!
≒ DIY: Shamirs secret sharing scheme!
≒ Good for shared accounts!
≒ Mitigation against losing access!
BIP32 - HD Wallets
≒ Create two extended keys!
≒ One for public keys!
≒ One for private keys!
≒ Child Key Derivation (CKD)!
≒ Given one of these extended keys, you
can derive any of 232 -1 children!
BIP32 - HD Wallets
Architecture 
≒ Online gambling website / exchange!
≒ Online shop!
Architecture
Web Server!
Hot Wallet!
ernet!
Cold WallManually
processing
Private Key
Generator!
Public Key!
Generator!
Private Ke
Architecture
Web Server!
ernet!
Cold WallManually
processing
Public Key!
Generator!
Private Ke
Malleability
≒ Your exact transactions are not the only
transactions that can spend your funds!
!
≒ Not as bad as it sounds, just dont rely on
your txids making it into the blockchain!

More Related Content

Securing Your Bitcoins - Kitten Tofu