challenges for pki: iot, blockchains

24
Challenges for PKI: IoT, Blockchains िशवकुमार G. Sivakumar வமாê Computer Science and Engineering भारतीय ौोिगकी संान म ु ंबई (IIT Bombay) [email protected] June 17, 2016 • The Good (Emerging Technologies, 3rd Platform) • The Bad (IoT Challenges (Or Opportunities?)) • The Ugly(Why trust CAs? Decentralized Trust) Expectations, Fear, Risk of Change िशवकुमार G. Sivakumar வமாêComputer Science and Engineering भारतीय ौोिगकी संान म ु ंबई (IIT Bomb Challenges for PKI: IoT, Blockchains

Upload: others

Post on 26-Dec-2021

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Challenges for PKI: IoT, Blockchains

Challenges for PKI: IoT, Blockchains

िशवकुमार G. Sivakumar சிவகுமா

Computer Science and Engineeringभारतीय ूौोिगकी संान म ुबंई (IIT Bombay)

[email protected]

June 17, 2016

• The Good (Emerging Technologies, 3rd Platform)• The Bad (IoT Challenges (Or Opportunities?))• The Ugly(Why trust CAs? Decentralized Trust)

Expectations, Fear, Risk of Changeिशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 2: Challenges for PKI: IoT, Blockchains

Blind men and the Elephant - अ-गज ायः

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 3: Challenges for PKI: IoT, Blockchains

पवू प (Purva Paksha) for Future of Internet

Web 1.0 may have democratized access to information, but it islike drinking water from a fire hose!Search engines provide partial solutions, but cannot combine,categorize and infer!

Web 2.0 may have allowed right to assembly/collaboartion, but

• Proliferated unreliable, contradictory information.

• Facilitated malicious uses including loss of privacy, security.

What do you want from Web 3.0?What you want to see/hear when you wakeup?I have a dream ...How to achieve? AI meets the web of Open Enterprises!

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 4: Challenges for PKI: IoT, Blockchains

http://webbmediagroup.com/2016-trendsExcellent report explaining 81 notable Technology trends

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 5: Challenges for PKI: IoT, Blockchains

Wearables and Pervasive ComputingWill drastically improve the way we interact with systems anddata, literally fusing IT with our daily lives and surroundings.From www.wareable.com

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 6: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• Main Frame (1960s ...)

• Client Server (1990s ...)

• Today (Handheld, PervasiveComputing)

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 7: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• What’s App (how manyengineers?)

• Facebook, Twitter,GooglePlus ...

• Web 2.0 (Right toAssembly)

• Crowdsourcing (Wikipedia)

• Crowdfunding (no banks!)

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 8: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• Phone (Smart,Not-so-smart!)

• Wearables! (Google glass,Haptic)

• Internet of “Me” (highlypersonalized) Business (nogeneric products!)

• BYOx: Device security,App/content managementnightmare.

• Data Loss Prevention(Fortress Approach -Firewall, IDS/IPS - won’twork!)

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 9: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• Big Data

• Volume, Variety, Velocity,Veracity

• ACID properties Databasenot needed

• Hadoop, Map Reduce,NoSql

• Knowledge is Power!

• Collect, Analyse, Infer,Predict

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 10: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• Moore’s law

• What could fit in a building.. room ... pocket ... bloodcell!

• Containers Analogy from

Shipping

• VMs separate OS from baremetal (at great cost-Hypervisor, OS image)

• Docker- separates apps fromOS/infra using containers.

• Like IaaS, PaaS, SaaS Haveyou heard of CaaS?

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 11: Challenges for PKI: IoT, Blockchains

3rd platform: SMAC + IoT

3rd Platform

Social

Mobile

Analytics

Cloud

Internetof Things

• Sensors (Location,Temperature, Motion,Sound, Vibration, Pressure,Current, ....)

• Device Eco System (SmartPhones, Communicate withso many servers!)

• Ambient Services (Maps,Messaging, Trafficmodelling and prediction,...)

• Business Use Cases (OlaCabs, Home Depot, PhilipsHealthcare, ...)

• Impact on wirelessbandwdith, storage,analytics (velocity of BIGdata, not size)

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 12: Challenges for PKI: IoT, Blockchains

Open Enterprises of the FutureWhat the Future Holds?Modify a Google Calendar to allow a colleague to add aFaaso’s roll order to a meeting invite that can be picked up byOla and delivered by a drone to a client’s office five minutesbefore the scheduled meeting starts.

What this needs?• Multi-Party Services Orchestration• Transparent Information Flow• Transparent Event Flow• Semantic Consistency• Network and Protocol Adaptability• End-to-End Security• Business Management

In the Security context, this is securing M2M communications!िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 13: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• Personal wearables

• Biomedical implants(pacemaker, insulin control,...)

• Smart Homes, Smart Grids...

• Transportation industry

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 14: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• Fridge ordering junk food.

• Fire in your kitchen!

• Malfunction of pacemaker,insulin injector.

• Driverless car taken over!

• Drone attack.

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 15: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• Firefox has certificates forfew hundred CAs.

• Top 3 CAs have over 80%market!

• Let’s Encrypt (Free,Automated, Open)

• Aims to encrypt 100%of web.

• 1.7 million certificatesfor more than 3.8million websites sinceSept 2015!

• Gartner: From 4.8 billionconnected devices in 2015to 25 billion in 2020.

• Several orders of magnitudemore.

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 16: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• Computational Power, LowMemory

• Energy constraints

• Transmission Range

• Firmware Upgrades,Reconfiguration

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 17: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• Is a smartphone a singledevice? (camera, speaker,microphone, sensors ...)

• Two not feasible• Whay you have• What you know• What you are

• Context based Authentica-tion/Authorization

• Location• Use case specific• Owner• Manufacturer• Govt.• Anonymizedिशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected]

Challenges for PKI: IoT, Blockchains

Page 18: Challenges for PKI: IoT, Blockchains

IoT Security Concerns

IoT Chal-lenges for PKI

Threats

Scale

Diversity

IdentityAttributes

KeyLifecycle

• RFID tag on Internationalparcel

• User roles (manufacturer,dealer, owner, user,repairshop ...)

• Local versus Globalnamespace

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 19: Challenges for PKI: IoT, Blockchains

Blockchains and Distributed PKI

Distributed PKI

NoCentralized

Trust

BitcoinsAnalogy

Blockchainfor PKI

Thin ClientModel

• Trust Model• Trusted Third Party

(TTP)• Web of Trust

• Main Stream Media• Social Media

• iTunes• P2P networks

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 20: Challenges for PKI: IoT, Blockchains

Blockchains and Distributed PKI

Distributed PKI

NoCentralized

Trust

BitcoinsAnalogy

Blockchainfor PKI

Thin ClientModel

• Ten Risks of PKI by CarlEllison and Bruce Schneier

• What is the CA anAuthority on?

• Corruptible, central pointsof failure.

• IDs (email, domain) areborrowed/rented from 3rdparties.

• Let real owner controlidentity, others proviedauxiliary services only.

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 21: Challenges for PKI: IoT, Blockchains

Blockchains and Distributed PKI

Distributed PKI

NoCentralized

Trust

BitcoinsAnalogy

Blockchainfor PKI

Thin ClientModel

• Bitcoins as peer to peercurrency

• No Banks, PayPal, PayTmor 3rd parties

• Chaining blocks ofTransactions

• No double spending

• Proof of work establisheslegitimacy

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 22: Challenges for PKI: IoT, Blockchains

Blockchains and Distributed PKI

Distributed PKI

NoCentralized

Trust

BitcoinsAnalogy

Blockchainfor PKI

Thin ClientModel

• Block chain as DistributedLedger

• Consensus protocol.

• Single version of truth!

• No single party cancompromise

• Digitally signedTransactions/Proof of work

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 23: Challenges for PKI: IoT, Blockchains

Blockchains and Distributed PKI

Distributed PKI

NoCentralized

Trust

BitcoinsAnalogy

Blockchainfor PKI

Thin ClientModel

• Distributed PKI

• Owners can Register,Update, Lookup, Revoke!

• (Thin) Clients can verify• Public Key of any

entity (Proof ofexistence)

• Revocation of any key(Proof of inexistence)

• State/Attribute of anykey

• Merkle trees make cost low.

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains

Page 24: Challenges for PKI: IoT, Blockchains

Digital India Vision

From India PKI Forum-

The Digital India Vision emphasizes the use of technology toenable connectivity to every Indian citizen for Education,Healthcare, Financial Inclusion, Other areas of governance

Aadhar and Digital Signatures can help Going Green, ReduceCost and Time, transactions from anywhere, Authenticity,Data Integrity, Traceability

Long way to go, Glass only half-full.Excellent program ahead today...

िशवकुमार G. Sivakumarசிவகுமா Computer Science and Engineering भारतीय ूौोिगकी संान म ुबंई (IIT Bombay) [email protected] for PKI: IoT, Blockchains