Escolar Documentos
Profissional Documentos
Cultura Documentos
for Police
Training, Bhopal
The views expressed in this presentation
are Mere Apne. Reference to any
specific products, process ,or service do
not necessarily constitute or imply
endorsement, recommendation, or views
of Min of Def or any Govt
Anupam Tiwari
All images used are for illustrative purposes only & Do not
promote any specific product
I M NOT AN EXPERT....
a
How
Many
of you
have NOT
Heard
the term
BITCOIN?
BITCOIN
IS AN
APPLICATION
OF
BLOCKCHAIN
TECHNOLOGY
DRIVING BITCOIN SINCE 2009
CRYPTOCURRENCY IS AN
ATTEMPT TO BRING BACK A
DECENTRALISED CURRENCY OF
PEOPLE, ONE THAT IS NOT SUBJECT TO
INFLATIONARY MOVES BY A CENTRAL
BANK
No
Government
Intervention
SATOSHI
कह ाँ गय ,उसे
NAKAMOTO
Name used by the ढूं ढो
unknown person who
designed BITCOIN
and created its
original reference
implementation
OF THEM
~Rs 33 Trillion
Rs 3,35,82,39,99,99,975
AS OF 29 May 2019
1 BITCOIN IS WORTH
8990$
6,30,000/-
SOURCE : https://blockchain.info/charts/n-transactions
280467
SOURCE : https://blockchain.info/charts/n-transactions
ANONYMITY
VS
PSEUDONYMITY
MATHEMATICALLY LINKED
BOGIES
Before we dwell into
DETAILS, we will LEARN
and REFRESH some basic
TECHNICAL jargons
FIRST
TRADITIONAL WAY
OF SHARING
DOCUMENTS
TRADITIONAL WAY OF
SHARING DOCUMENTS
IF SUFFICIENT
BANDWIDTH NOT
AVAILABLE,SERVER
CRASHES
EVERY NODE
MAINTAINS A LOCAL
COPY
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
Rs 200/-
A B
PUBLIC DR GULATI PUBLIC BUSINESS MAN
LEDGER Rs 1000/- LEDGER Rs 1000/-
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
A B
PUBLIC DR GULATI PUBLIC BUSINESS MAN
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
A B
PUBLIC DR GULATI PUBLIC BUSINESS MAN
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
Rs 600/-
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
A B
PUBLIC DR GULATI PUBLIC BUSINESS MAN
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
B>D Rs 600 B>D Rs 600
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
B>D Rs 600 B>D Rs 600
A B
PUBLIC DR GULATI PUBLIC BUSINESS MAN
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
B>D Rs 600 B>D Rs 600
Rs 10000/-
C D
PUBLIC CABLE WALA PUBLIC JOKER
LEDGER Rs 1000/- LEDGER Rs 1000/-
A>B Rs 200 A>B Rs 200
B>D Rs 600 B>D Rs 600
Rs 1000/-
A>B Rs 200
B>D Rs 600
C>B Rs 100
B>C Rs 200
A>B Rs 100
C>D Rs 250
PUBLIC LEDGER B>C Rs 170
D>C Rs 189
MILLIONS OF
TRANSACTIONS
A>B Rs 100
C>D Rs 250
B>C Rs 170
D>C Rs 189
G LO BA L E XC E L S H E E T
Distributed Ledger is a Consensus of
Replicated, Shared & Synchronized
digital data geographically spread across
multiple sites & countries
GB
CURRENT BITCOIN BLOCKCHAIN
APPROX SIZE AS IN MAY 2019
SECOND
Hash function takes an input
and returns a fixed-size
alphanumeric string.
MERKLE TREE
THIRD
1.46 × 10^48 possible
Bitcoin Addresses
VERIFY
VERIFY
HASH HASH HASH
SIGN
Owner 1’s Private Owner 2’s Private Owner 3’s Private
key key key
BASICALLY CHUNKS OF INFO
THAT CAN BE USED TO
MATHEMATICAL
GUARANTEE ABOUT MESSAGES
FOURTH
Peer-to-
Peer (P2P)
network is
created when
two or
more PCs are
connected &
share
resources
without
going through a
separate
server
computer
FIFTH
E-CURRENCY HAS BEEN
ATTEMPTED IN PAST
BUT FAILED OWING TO
BEYOND CONTROL
DOUBLE SPENDING
PROBLEM.
CONSENSUS
Consensus is defined as a
GENERAL AGREEMENT
of a state
That MEANS, if ANUPAM
sends Rs 100 worth of Bitcoin
to RAHUL, ANUPAM will lose
Rs 100 worth of Bitcoin, and
RAHUL will gain Rs 100
worth of Bitcoin
Every CLEAN TRANSACTION
has to be recorded on the Bitcoin
public ledger, and a
CONSENSUS ALGORITHM
ensures no malicious
transactions nor changes can be
made on the Blockchain itself
Proof of Elapsed Time (PoET)
Proof of Authority (PoA)
Proof of Capacity
Proof of Burn
Proof of Activity
CONSENSUS TYPES
Delegated Proof of Stake (DPoS)
Bitcoin Uses
The Hashcash Proof
Of Work System.
REACHING A CONSENSUS…..
BYZANTINE GENERALS
& WHY IS IT IMPORTANT FROM
ABLOCKCHAIN
PERSPECTIVE?
ATTEMPTING
TO EXPLAIN THE SAME IN A
FORM
FOR EASY
ASSIMILATION
BYZANTINE GENERAL CONSENSUS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
SO A CONSENSUS IS REQUIRED
(WHAT DAY/TIME TO ATTACK)
BYZANTINE GENERAL CONSENSUS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
SECURE COMMUNICATION
REQUIRED
BYZANTINE GENERAL CONSENSUS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
HOW TO ENSURE
GUARANTEED
UNALTERED MESSAGE EXCHANGE?
BYZANTINE GENERAL CONSENSUS
indisputably—that the
“In fact it was proved
problem has no true solution. That's not
to say computers cannot communicate
with each other reliably, but 100%
certainty is not possible. Best efforts
simply make communication very very
reliable but never foolproof.”
BYZANTINE GENERAL CONSENSUS
8cd65c330ce4d0c58a45e676c2d08f0ddca6
c61f3b0a927ade10368d2d5aae6e
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
PREFIXED BY 7 ‘0’s
BYZANTINE GENERAL CONSENSUS
0000000d1a2ea819ed13742fe7
386a34c25bb48e99b1ba8327c3
9551f6da5c01f98
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
BYZANTINE GENERAL CONSENSUS
ATTACK MONDAY HASH
8cd65c330ce4d0c58a45e676c2d08f0d
dca6c61f3b0a927ade10368d2d5aae6e
NONCE : 61584
0000000d1a2ea819ed13742fe7386a34c25
bb48e99b1ba8327c39551f6da5c01f98
BYZANTINE GENERAL CONSENSUS
NONCE CANNOT BE
CALCULATED BY A
FORMULA,
IT CAN ONLY BE GUESSED
BYZANTINE GENERAL CONSENSUS
DIFFICULT TO CALCULATE
EASY TO VERIFY
BYZANTINE GENERAL CONSENSUS
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
ARMY 1 ARMY 2
ENEMY FORT TO BE
ATTACKED
POWER
BYZANTINE GENERAL CONSENSUS
https://www.reddit.com/r/Buttcoin/comments/4qa12v/byzantine_generals_proofofwork_for_d
ummies/ SOURCE
BYZANTINE GENERAL CONSENSUS
SATOSHI'S IDEA IN A NUTSHELL
The generals all combine their many
messages into a SINGLE GIANT
MESSAGE (a "block") which gets but a
SINGLE NONCE at the end of it
BYZANTINE GENERAL CONSENSUS
IS THEIR A QUESTION
WORRYING YOU?
BYZANTINE GENERAL CONSENSUS
IS THEIR A QUESTION
WORRYING YOU?
What if all of the cities bought
supercomputers and did the same thing the
generals did, team-up to find a nonce?
BYZANTINE GENERAL CONSENSUS
Yes, they could do that, at considerable
expense. (Akin to the "51% attack" — it
works if the cities have as much or more
computing power as all the armies
combined.)
TH/Sec
In reality, the
Bitcoin network’s topology is not
organized geographically
For illustration purposes, different blocks are shown as
different colors, spreading across the network and
coloring the connections they traverse
First figure shows that NETWORK has a unified
perspective of the blockchain, with the BLUE BLOCK
as the tip of the main chain.
Two miners mine TWO DIFFERENT BLOCKS
almost simultaneously & children of the BLUE
BLOCK, and building on top of the blue block
Both blocks are VALID, both blocks contain a VALID
SOLUTION to the proof of work, blocks EXTEND
THE SAME PARENT
Both BLOCKS PROPAGATE, some nodes
receive block “RED” & some receive block
“GREEN” & network splits in two different
perspectives
Miners building on top of “GREEN” find a new
block “PINK” that extends the chain and
immediately propagate this new block and the
entire network sees it as a valid solution.
Chain BLUE-GREEN-PINK is now longer
than the chain BLUE-RED
Segregated Witness means to Separate
Transaction Signatures.
MILLIONS OF
TRANSACTIONS
A>B Rs 100
C>D Rs 250
B>C Rs 170
D>C Rs 189
Rs 1000/-
1 A>B Rs 200
2 B>D Rs 600 Hash of 1
3 C>B Rs 100 Hash of 2
4 B>C Rs 200 Hash of 3
MINING DIFFICULTY
MINING DIFFICULTY
TH/Sec
EH : EXA HASH
These blocks linked THROUGH A
TIMESTAMP SIGNING, form a
chain (blockchain), which goes
back to the first block ever
created (mined)
The time stamping makes it
IMPOSSIBLE TO ALTER any
part of it once the network
confirms it
Distributed Ledger, comprised
Type of
of Unchangeable, Digitally
Recorded Data in packages called
BLOCKS
BLOCKCHAIN 2.0
Smart Contracts
BLOCKCHAIN 1.0
Crypto-Currencies, Payment Network
HOW BITCOIN BLOCKCHAIN WORKS?
TRANSACTIONS
MINERS BLOCK
BLOCK PUZZLE
PROOF OF WORK
MINERS
PROCESS STARTS
AGAIN
Includes TRANSACTIONS
VERIFICATION
etc
MINERS
BITCOIN MINING
BLOCK REWARDS
Block 000000 to 209999, total reward = 50
DESKTOP WALLETS
& used on Laptops/PCs
Easy to Access.
Bitaddress.org
or Blockchain.info
BITCOIN CLIENTS
bitcoin CLIENT WALLET
Original bitcoin
WALLETS
wallet used by the
Pioneers of the
currency
2140
A reward system, in
the form of
a website or app, that
dispenses rewards in
the form of a satoshi,
for visitors to claim in
exchange for
completing
a captcha or task as
described by the
website.
DD4BC
investigators from
Europol, Bosnia
,Hezegovina, Germany,
France, Japan,
Romania, Switzerland,
the UK and the US
contributed in tracking
down the hacking
group
CYBER CRIMES
LINKED TO
CRYPTOCURRENCIES
CRYPTOJACKING is the
unauthorized use of someone else’s
computer to mine cryptocurrency.
65,66,68,80,000 Rs
worth of cryptocurrencies have been lost
so far, with most of these losses happening
through exchanges (Aug 2018)
Ross Ulbricht
Ross Ulbricht
9,60,000 USERS
HOW WAS HE CAUGHT?
By : ANUPAM TIWARI
EMAIL: anupamtiwari@protonmail.com
BITCOIN ARTIFACTS
NETWORK knows about a
Everyone on the
TRANSACTION and THE HISTORY
OF A TRANSACTION can be TRACED
BACK to the point where the BITCOINS
were produced
Conduct a
SEARCH based
on BLOCK
NUMBER,
ADDRESS,
BLOCK HASH,
TRANSACTION
HASH or
PUBLIC KEY
SOURCE : https://blockchain.info/ip-log
PROBLEM BATANA
ASAAN HAI….
DIG DEEP IN THE
TECHNOLOGY &
PRODUCE
EXPERTS
• Registry Info
• Remnants of Chats
• Recent Communications