mengenal bitcoin dan cryptocurrency - kriptologi€¦ · internet e-commerce smartphone apps 7....

44
E-Money vs Cryptocurrency Dimaz Ankaa Wijaya

Upload: others

Post on 20-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

E-Money vs Cryptocurrency

Dimaz Ankaa Wijaya

Page 2: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

▸Education▹UGM – B. Computer Science (2007)

▹MONASH Uni.– M. Networks & Security (2016)▹MONASH Uni. – Ph.D Student (2017-current)

▸Field of Expertise▹Dig. forensic, cybersecurity▹Cryptocurrency, Blockchain

▸Work Experience▹Indonesian Government official (2009-2017)

Dimaz Ankaa Wijaya

2

Page 3: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Today’s Menu

▸Money▸E-Money▸Cryptocurrency▸E-Money vs Cryptocurrency ▸Cryptocurrency in Depth

3

Page 4: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

MONEY

4

Page 5: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Functions of Money (Mankiw, 2014)

▸Medium of exchange (to buy stuff)▸Unit of account (to measure prices and values)

▸Store of value (to transfer purchasing power to the future)

5

Page 6: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Evolution of Money

▸Simple form (salt, shells, etc)▸Precious metals (gold, silver)▸Paper money and coins (fiat money)▸Digital currency▹Electronic money (electronic fiat money)▹Cryptocurrency?

6

Page 7: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Challenges With Physical Money

▸International Trade▸Internet▸E-Commerce▸Smartphone Apps

7

Page 8: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

E-Money

8

Page 9: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Electronic Money / e-Money

▸Fiat money in digital form▸Issued by bank/financial institution▹Hardware-based: credit card▹Software-based: e-Cash, Go-Pay

9

Page 10: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Why e-Money Has Value

▸E-Money reflects your fiat currency▸Convenience: no physical money needed▸Highly regulated▸Financial technology▸Fits the function of money

10

Page 11: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

International Trade System: e-Money Needed11

Page 12: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Attacks on e-Money12

Page 13: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Cryptocurrency

13

Page 14: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Various Types of Cryptocurrency14

Source: bitslog

Page 15: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Overview of Bitcoin

▸Created by “Satoshi Nakamoto”▹A Peer-to-Peer Electronic Cash System (Nakamoto, 2008)

▸Limited supply▸“Low” transaction fee▸ID theft protection▸“Fast” settlement

15

Page 16: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

What’s Special About Bitcoin

▸Blockchain (public ledger)▸No central authority▹Double spending▹Peer-to-Peer network

▸No middleman▸Customized transaction

16

Page 17: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Blockchain: Identical Ledgers Across Nodes17

Page 18: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

How Blockchain Works18

Page 19: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Double Spending Problem19

Page 20: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Peer-to-Peer Network

▸Identical information in each server/node.

20

Page 21: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

No Central Authority: Byzantine Generals Problem/BGP21

Page 22: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Proof of Work / PoW

▸Solving BGP▸Required to construct a new block▸Find a hash value based on a criteria▸Mining

22

Page 23: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Remove The Middleman23

Page 24: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Customized Transaction

▸Escrow transaction▸Hash-locked transaction▸Time-locked transaction

24

Page 25: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

ComparisonsE-money vs Cryptocurrency

25

Page 26: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

E-Money vs Cryptocurrency26

No Characteristics E-Money Cryptocurrency

5 Authentication Method ID card, password, PIN Digital signature

1 Medium Digital Digital

2 Transaction network Banks or Financial Institution Peer-to-peer

3 New money creation Government Miners

4 Validator Banks or Financial Institution Node and Miners

Page 27: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

E-Money vs Cryptocurrency (2)27

No Characteristics E-Money Cryptocurrency

9 Collateral asset Fiat money N/A

6 Money Supply Government Consensus

7 Backer Government N/A

8 Exchange rate Currency market & Government Currency market

Page 28: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Summary: Centralized vs Decentralized28

Page 29: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

CryptocurrencySecurity IssuesAttacks and Mitigation Strategies

29

Page 30: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Cryptocurrency Exchange Hacks30

Page 31: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Private Keys Theft/Lost31

Page 32: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

51% Attack

▸Controlling the majority of the consensus.

▸Mitigation: ▹Discourage such event ▹Evaluate consensus method

32

Page 33: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Denial of Service

▸Flooding nodes with invalid requests.▸Flooding network with dust transactions.

▸Mitigation: ▹Drop requests, filtering▹Prioritize transactions.

33

Page 34: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Sybil Attack

▸Several malicious nodes providing wrong information.

▸Mitigation: ▹Whitelist of trusted nodes.

34

Page 35: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Selfish Mining

▸Not broadcasting a new block.▸Keep mining based on the block.▸After a certain length, the blocks are published.▸Double spending potential.

▸Mitigation?

35

Page 36: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Private Key Theft

▸Stealing private keys.

▸Mitigation: ▹Shamir secret sharing ▹Multisignature▹Security hardening

36

Page 37: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Conclusion

37

Page 38: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Comparing Benefits: E-Money vs Cryptocurrency38

No Criteria E-Money Cryptocurrency

1 Consumer Protection V X

2 Well Regulated V X

3 Stable Value V X

4 Fast Settlement X V

5 Infeasible to tamper the data X V

6 Transaction Fee X V

Page 39: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Comparing Problems: E-Money vs Cryptocurrency39

No Criteria E-Money Cryptocurrency

1 Single Point of Failure V X

2 Consensus Problems X V

3 Privacy and Anonymity V V

Page 40: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Attack Vectors: E-Money vs Cryptocurrency40

No Criteria E-Money Cryptocurrency

1 Software Security V V

2 Network Security V V

3 Dishonest Authority V X

4 ID Theft, Secret Key Theft V V

Page 41: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

NEXT: Government-issued Cryptocurrency?41

Page 42: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

Blockchain on Other Areas?42

Page 43: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

43

https://kriptologi.com/buku

Page 44: Mengenal Bitcoin dan Cryptocurrency - Kriptologi€¦ · Internet E-Commerce Smartphone Apps 7. E-Money 8. ... Security hardening 36. Conclusion 37. Comparing Benefits: E-Money vs

44

THANKS!Any questions?You can find me at @kriptologi & [email protected]