SlideShare a Scribd company logo
1 of 51
1
Smart Contract
MD SAQUIB NASIR KHAN
2
Topic will
covered
Introduction
Problems
Blockchain
Conclusion
Working of Smart
contract
TOC
3
Applications
Copyright
Insurance
Government
Services
Property
Management
Employee
Contract
Online Betting
Cloud Storage Asset
Management
Identity
Management
4
Dubai - "Adopting Blockchain technology
Dubai stands to unlock 5.5 billion dirham
in savings annually in document
processing alone — equal to the one Burj
Khalifa’s worth of value every year."
Hero Motocorp – Vendor management
using Blockchain can reduce 80 % Cost
5
Why We Need Smart
Contract
6
If two people want to make a contract related to any thing they need trust each
other.
1. If they know each other trusting is easy
2. If they don’t know each other but physically present in front of each other
that may still do the job.
3. But if they don’t know each other and only connected virtually then trusting
each other become a issue.
Should I trust
him with my
money
Should I sell my
property to him?
Problem
7
As solutions a intermediator introduced, Like online shopping both trust
Amazon, Ebay, Flipkart. Same way for property we trust Gov. Want to buy a
home on lone, start trusting bank etc..
Happy Happy
Solution
8
Problem 1
This Intermediator Bank, Shopping website, Government are run by Human, So there is chances of
Corruptions also.
Problem 2
When everyone started doing business or transaction through Intermediators, They started to keep
records about each client or customers. So all information are stored centralized.
So if you look back history attackers primary motive is always information. And if they get access of a
centralized server contain information it’s a lottery for them
9
Yahoo
2013-
2014
UBER
2016
OPM
2012 -
2014
Ebay
2014
JP Morgan
2014
Stuxnet
2005 - 2010
3 Billion user
Account
57 Million User
Data
22 million current
and former federal
employees
140 Million User
Account
76 Million user 7
Million Small
Business
Iran Nuclear
power program
Data Breaches
10
Problem 3
Privacy – When ever you do any activity online, either your ISP or The End point know about your
activity. That also store on centralized server for future use.
11
Problem 4
Impersonation / Identity Theft –
1. If some use a stole identity
2. If someone deny after contract
Problem 5
Double Spending problem
12
Problem 6
Countries boundaries – Our money, tax system, Law are country oriented. How you are going to
deal with problem related to you cross border trading? Which law or which tax system to follow?
13
We look into
how Smart
Contract
helping us to
solve This
problems
Authentication
Nonrepudiation
Data Privacy
Confidentiality
Integrity
14
Cryptographi
c
Algorithms
Decentralize
d Network
Economics
Application
Solution - Cryptoeconomics
15
OF
Working
Smart Contract
16
Traditional Contract
Want to buy a
house
Want to sell a
house
17
A smart contract is a
computer protocol intended to
digitally facilitate, verify,
or enforce the negotiation or
performance of a contract.
Smart contracts allow the
performance of credible
transactions without third
parties
What is Smart contract ?
18
Smart Contract – Blockchain Implementation
A list of predefine condition, if meet the condition then it will execute
and no 3rd party require
IF
IF
IF
IF
IF
IF
19
Step 1
20
Step 2
21
“If” Condition will
verify the
satisfaction
Yes
Step 3
22
“If” Condition will
verify the
satisfaction
No
Step 3
23
Immuta
ble
Why we should trust Smart Contract ?
24
Immuta
ble
25
A
B
C
D
E
26
A
B
C
D
E
51% Attack
27
Immuta
ble
What Make Smart Contract Immutable?
28
What is Blockchain?
Immuta
ble
29
Blockchain
Satoshi Nakamoto
He introduced blockchain network, A decentralized P2P network. He published paper on bitcoin, helping people
share some value over network without any intermediators.
2008
30
Ethereum
2014 Ethereum project started with dream of using BlockChain technology for other application
2014
31
Blockchain
In layman term Blockchain is a number of block contain some
information and mathematically link with each other.
Now we will look into
1. What information one block contain
2. How they link with each other.
32
1. Data
Blockchain
1. What information one block contain
Contract between A & B (Digital)
+
Both of their Digital Signature
And verified by “IF” condition
33
Game Time (How Digital
Signature is done)
34
Game Time (How Digital
Signature is done)
35
Game Time (How Digital
Signature is done)
36
1. Data
Blockchain
1. What information one block contain
2. Time Stamp
This Photo by Unknown Author is licensed
under CC BY
37
1. Data
Blockchain
1. What information one block contain
2. Time Stamp
3. Every block store hash value of data with time stamp, as we know hash are use for data integrity.
Here every data are bind with timestamp so not only if data manipulated hash will change, if time
change by even by one second the hash will change also . This will avoid hash collision and provide
more data security
3. Hash (Data + Time Stamp)
LETTERS HASH
Paladion 1839de10415111d4ccf12e9f4787a053b320490b7d80b5ea0152d4c4cb5cab78
PALADION 9ca9837d549b6914ca6cc6dad790bff40b72248c6f12294ba95484061f5720cf
paladion 81e200925ec4fba1aff54e7cfb5d5fec292dba6cd9dbb4576505bf136d3ee6b2
38
1. Data
Blockchain
1. What information one block contain
2. Time Stamp
4.
4. Will Discuss after point 5
3. Hash (Data + Time Stamp)
39
1. Data
Blockchain
1. What information one block contain
2. Time Stamp
4.
5. Block Hash (1 + 2 + 3 + 4)
3. Hash (Data + Time Stamp)
5. If any change happen at 1,2,3 & 4 the hash of the
block will change. So that will protect this block from
manipulation
40
Blockchain
2. How they link with each other.
Information – Genesis block
Previous block hash – 00000
Current Block Hash – XYZ22
Information – Smart Contract 1
Previous block hash – XYZ22
Current Block Hash – ABC57
Information –Smart Contract 2
Previous block hash – ABC57
Current Block Hash – FGD53
41
Data Hash with time
stamp
P o i n t A
Current Block HashP o i n t B
Previous Block HashP o i n t C
Digital SignatureP o i n t D
Recap – Which all security features one
block have
42
How Blockchain Network Works
43
A
B
C
D
E
A
B
C
D
E
Centralized P2P
44
A
B
C
D
E
In This Network if one person create a block, Next step
he will do is broadcast the block towards everyone in
the same network
A
B
C
D
E
45
A
B
C
D
E
A
B
C
D
E
46
Both Entity will generate their own Public & Private Key Pair using Cryptographic Algorithm
Each of them will use their public key as their identity in a network not there actual Name
Their Private key will act as their digital signature – So Contract will be sign with there
private key, and if need to verify public key will be use
Private key is always kept secure, and public key can be share with any one
Identity of every entity in blockchain are secure to maintain privacy
47
Problem 1 – Intermediators Blockchain – Decentralized P2P Network
Problem 2 – Hacker & Data
Manipulation
Hash & Encryption
Problem 3 & 4 – Privacy Instead of identity blockchain use public & Private key
Problem 5 – Identity Theft /
Impersonation
Digital Signature
Beginning of the slide we marked some problem – Let see how many of them are solved by Block chain
48
Some time we don’t need to
Upgrade the technology, we
need to update ourselves first
49
• Blockchain – 1991 (Stuart & Scott)
• Market Tree - 1992, Bayer, Haber and Stornetta
• Proof of Work – 1993 Cynthia Dwork and Moni Naor
• Hash SHA2 – 2004
• Public Key – 1976, Diffie and Martin Hellman
• RSA - 1977: Ronald Rivest, Adi Shamir and Len Adleman
• Digital Signature - 1999
2008 – Satoshi Nakamoto
50
Any
Questions ?
Do question, even the
basics! You will be a
fool for once! If you
don't, you will be, for a
lifetime..”
― Himmilicious
51
THANK YOU
0 0 6 S a q u i b @ g m a i l . c o m
MD Saquib Nasir Khan
Threat Hunting

More Related Content

What's hot

Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
Intro to smart contract on blockchain en
Intro to smart contract on blockchain enIntro to smart contract on blockchain en
Intro to smart contract on blockchain enNicholas Lin
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsTechracers
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Edureka!
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainJitendra Chittoda
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Blockchain Introduction Presentation
Blockchain Introduction PresentationBlockchain Introduction Presentation
Blockchain Introduction PresentationAmr Alaa Yassen
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRashi Singh
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainMalak Abu Hammad
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain workShishir Aryal
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Edureka!
 

What's hot (20)

Ethereum
EthereumEthereum
Ethereum
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Intro to smart contract on blockchain en
Intro to smart contract on blockchain enIntro to smart contract on blockchain en
Intro to smart contract on blockchain en
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Ethereum 2.0
Ethereum 2.0Ethereum 2.0
Ethereum 2.0
 
Blockchain Introduction Presentation
Blockchain Introduction PresentationBlockchain Introduction Presentation
Blockchain Introduction Presentation
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for DummiesBlockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for Dummies
 
Blockchain use cases
Blockchain use casesBlockchain use cases
Blockchain use cases
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 

Similar to Blockchain Smart Contract v5

BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the BankerBohdan Szymanik
 
Ultimate guide to understand- What is Blockchain Technology
Ultimate guide to understand- What is Blockchain Technology Ultimate guide to understand- What is Blockchain Technology
Ultimate guide to understand- What is Blockchain Technology Chapter247 Infotech
 
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...Alan Quayle
 
A beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfA beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfAkash Agrawal
 
Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Chuck Bair
 
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019AWIP Pink Innov Blockchain Workshop deck - May 23, 2019
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019Samantha Reynolds
 
Blockchain tutorial for MBA
Blockchain tutorial for MBABlockchain tutorial for MBA
Blockchain tutorial for MBABlokcert
 
What problems can blockchain solve
What problems can blockchain solveWhat problems can blockchain solve
What problems can blockchain solveOliviaJune1
 
Machine learning presentation in using pyhton
Machine learning presentation in using pyhtonMachine learning presentation in using pyhton
Machine learning presentation in using pyhtonmasukmia.com
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secretsSahir
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docxaymenabbaci
 
From 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsFrom 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsKoen Vingerhoets
 
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen VingerhoetsBrussels Legal Hackers
 
How does blockchain developer help improving the banking & finance sector
How does blockchain developer help improving the banking & finance sector How does blockchain developer help improving the banking & finance sector
How does blockchain developer help improving the banking & finance sector Blockchain Council
 
Supply Chain Management using Blockchain
Supply Chain Management using BlockchainSupply Chain Management using Blockchain
Supply Chain Management using BlockchainYugn27
 
The Idea Behind Blockchain Technology
The Idea Behind Blockchain TechnologyThe Idea Behind Blockchain Technology
The Idea Behind Blockchain TechnologyBlockchain Council
 

Similar to Blockchain Smart Contract v5 (20)

Blockchain.pptx
Blockchain.pptxBlockchain.pptx
Blockchain.pptx
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
 
BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the Banker
 
Ultimate guide to understand- What is Blockchain Technology
Ultimate guide to understand- What is Blockchain Technology Ultimate guide to understand- What is Blockchain Technology
Ultimate guide to understand- What is Blockchain Technology
 
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...
Tyntec keynote, Hybrid Authentication in Decentralized Banking, Marco Lafrent...
 
Blockchain presentation v0617
Blockchain presentation v0617Blockchain presentation v0617
Blockchain presentation v0617
 
A beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfA beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdf
 
Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018
 
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019AWIP Pink Innov Blockchain Workshop deck - May 23, 2019
AWIP Pink Innov Blockchain Workshop deck - May 23, 2019
 
Bitcoin Cryptocurrency
Bitcoin CryptocurrencyBitcoin Cryptocurrency
Bitcoin Cryptocurrency
 
Blockchain tutorial for MBA
Blockchain tutorial for MBABlockchain tutorial for MBA
Blockchain tutorial for MBA
 
What problems can blockchain solve
What problems can blockchain solveWhat problems can blockchain solve
What problems can blockchain solve
 
Machine learning presentation in using pyhton
Machine learning presentation in using pyhtonMachine learning presentation in using pyhton
Machine learning presentation in using pyhton
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secrets
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docx
 
From 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topicsFrom 7331 to legal : a selection of blockchain discussion topics
From 7331 to legal : a selection of blockchain discussion topics
 
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
20190316 - CLBFest - 1337 to legal - Koen Vingerhoets
 
How does blockchain developer help improving the banking & finance sector
How does blockchain developer help improving the banking & finance sector How does blockchain developer help improving the banking & finance sector
How does blockchain developer help improving the banking & finance sector
 
Supply Chain Management using Blockchain
Supply Chain Management using BlockchainSupply Chain Management using Blockchain
Supply Chain Management using Blockchain
 
The Idea Behind Blockchain Technology
The Idea Behind Blockchain TechnologyThe Idea Behind Blockchain Technology
The Idea Behind Blockchain Technology
 

Recently uploaded

Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 

Recently uploaded (20)

Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 

Blockchain Smart Contract v5

  • 4. 4 Dubai - "Adopting Blockchain technology Dubai stands to unlock 5.5 billion dirham in savings annually in document processing alone — equal to the one Burj Khalifa’s worth of value every year." Hero Motocorp – Vendor management using Blockchain can reduce 80 % Cost
  • 5. 5 Why We Need Smart Contract
  • 6. 6 If two people want to make a contract related to any thing they need trust each other. 1. If they know each other trusting is easy 2. If they don’t know each other but physically present in front of each other that may still do the job. 3. But if they don’t know each other and only connected virtually then trusting each other become a issue. Should I trust him with my money Should I sell my property to him? Problem
  • 7. 7 As solutions a intermediator introduced, Like online shopping both trust Amazon, Ebay, Flipkart. Same way for property we trust Gov. Want to buy a home on lone, start trusting bank etc.. Happy Happy Solution
  • 8. 8 Problem 1 This Intermediator Bank, Shopping website, Government are run by Human, So there is chances of Corruptions also. Problem 2 When everyone started doing business or transaction through Intermediators, They started to keep records about each client or customers. So all information are stored centralized. So if you look back history attackers primary motive is always information. And if they get access of a centralized server contain information it’s a lottery for them
  • 9. 9 Yahoo 2013- 2014 UBER 2016 OPM 2012 - 2014 Ebay 2014 JP Morgan 2014 Stuxnet 2005 - 2010 3 Billion user Account 57 Million User Data 22 million current and former federal employees 140 Million User Account 76 Million user 7 Million Small Business Iran Nuclear power program Data Breaches
  • 10. 10 Problem 3 Privacy – When ever you do any activity online, either your ISP or The End point know about your activity. That also store on centralized server for future use.
  • 11. 11 Problem 4 Impersonation / Identity Theft – 1. If some use a stole identity 2. If someone deny after contract Problem 5 Double Spending problem
  • 12. 12 Problem 6 Countries boundaries – Our money, tax system, Law are country oriented. How you are going to deal with problem related to you cross border trading? Which law or which tax system to follow?
  • 13. 13 We look into how Smart Contract helping us to solve This problems Authentication Nonrepudiation Data Privacy Confidentiality Integrity
  • 16. 16 Traditional Contract Want to buy a house Want to sell a house
  • 17. 17 A smart contract is a computer protocol intended to digitally facilitate, verify, or enforce the negotiation or performance of a contract. Smart contracts allow the performance of credible transactions without third parties What is Smart contract ?
  • 18. 18 Smart Contract – Blockchain Implementation A list of predefine condition, if meet the condition then it will execute and no 3rd party require IF IF IF IF IF IF
  • 21. 21 “If” Condition will verify the satisfaction Yes Step 3
  • 22. 22 “If” Condition will verify the satisfaction No Step 3
  • 23. 23 Immuta ble Why we should trust Smart Contract ?
  • 27. 27 Immuta ble What Make Smart Contract Immutable?
  • 29. 29 Blockchain Satoshi Nakamoto He introduced blockchain network, A decentralized P2P network. He published paper on bitcoin, helping people share some value over network without any intermediators. 2008
  • 30. 30 Ethereum 2014 Ethereum project started with dream of using BlockChain technology for other application 2014
  • 31. 31 Blockchain In layman term Blockchain is a number of block contain some information and mathematically link with each other. Now we will look into 1. What information one block contain 2. How they link with each other.
  • 32. 32 1. Data Blockchain 1. What information one block contain Contract between A & B (Digital) + Both of their Digital Signature And verified by “IF” condition
  • 33. 33 Game Time (How Digital Signature is done)
  • 34. 34 Game Time (How Digital Signature is done)
  • 35. 35 Game Time (How Digital Signature is done)
  • 36. 36 1. Data Blockchain 1. What information one block contain 2. Time Stamp This Photo by Unknown Author is licensed under CC BY
  • 37. 37 1. Data Blockchain 1. What information one block contain 2. Time Stamp 3. Every block store hash value of data with time stamp, as we know hash are use for data integrity. Here every data are bind with timestamp so not only if data manipulated hash will change, if time change by even by one second the hash will change also . This will avoid hash collision and provide more data security 3. Hash (Data + Time Stamp) LETTERS HASH Paladion 1839de10415111d4ccf12e9f4787a053b320490b7d80b5ea0152d4c4cb5cab78 PALADION 9ca9837d549b6914ca6cc6dad790bff40b72248c6f12294ba95484061f5720cf paladion 81e200925ec4fba1aff54e7cfb5d5fec292dba6cd9dbb4576505bf136d3ee6b2
  • 38. 38 1. Data Blockchain 1. What information one block contain 2. Time Stamp 4. 4. Will Discuss after point 5 3. Hash (Data + Time Stamp)
  • 39. 39 1. Data Blockchain 1. What information one block contain 2. Time Stamp 4. 5. Block Hash (1 + 2 + 3 + 4) 3. Hash (Data + Time Stamp) 5. If any change happen at 1,2,3 & 4 the hash of the block will change. So that will protect this block from manipulation
  • 40. 40 Blockchain 2. How they link with each other. Information – Genesis block Previous block hash – 00000 Current Block Hash – XYZ22 Information – Smart Contract 1 Previous block hash – XYZ22 Current Block Hash – ABC57 Information –Smart Contract 2 Previous block hash – ABC57 Current Block Hash – FGD53
  • 41. 41 Data Hash with time stamp P o i n t A Current Block HashP o i n t B Previous Block HashP o i n t C Digital SignatureP o i n t D Recap – Which all security features one block have
  • 44. 44 A B C D E In This Network if one person create a block, Next step he will do is broadcast the block towards everyone in the same network A B C D E
  • 46. 46 Both Entity will generate their own Public & Private Key Pair using Cryptographic Algorithm Each of them will use their public key as their identity in a network not there actual Name Their Private key will act as their digital signature – So Contract will be sign with there private key, and if need to verify public key will be use Private key is always kept secure, and public key can be share with any one Identity of every entity in blockchain are secure to maintain privacy
  • 47. 47 Problem 1 – Intermediators Blockchain – Decentralized P2P Network Problem 2 – Hacker & Data Manipulation Hash & Encryption Problem 3 & 4 – Privacy Instead of identity blockchain use public & Private key Problem 5 – Identity Theft / Impersonation Digital Signature Beginning of the slide we marked some problem – Let see how many of them are solved by Block chain
  • 48. 48 Some time we don’t need to Upgrade the technology, we need to update ourselves first
  • 49. 49 • Blockchain – 1991 (Stuart & Scott) • Market Tree - 1992, Bayer, Haber and Stornetta • Proof of Work – 1993 Cynthia Dwork and Moni Naor • Hash SHA2 – 2004 • Public Key – 1976, Diffie and Martin Hellman • RSA - 1977: Ronald Rivest, Adi Shamir and Len Adleman • Digital Signature - 1999 2008 – Satoshi Nakamoto
  • 50. 50 Any Questions ? Do question, even the basics! You will be a fool for once! If you don't, you will be, for a lifetime..” ― Himmilicious
  • 51. 51 THANK YOU 0 0 6 S a q u i b @ g m a i l . c o m MD Saquib Nasir Khan Threat Hunting

Editor's Notes

  1. Prerequisite – Cryptography, Digital signature, Hash fanction
  2. Dubai – 2021 - 2022
  3. 89 215 212 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
  4. Trust Issue - 1. know each other 2. Don’t know but in front of 3. Virtually
  5. Shopping example
  6. Problem 1 - Corruption (Russian fall & Zimbabwean 1 dollar ) bear story Problem 2 - records in centralized server & Hacker
  7. Online privacy
  8. Problem4 - Identity theft, impersonation, non repudiation Problem 5 - Double spending (Vending machine)
  9. Country oriented money, law & tax system
  10. 89 215 212 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.