27
!Oxymoron Computing on Encrypted Data Srinivasan Narayanamurthy (Srini) May 26 th , 2017 Storage Developers Conference India, Bangalore © 2017 NetApp, Inc. All rights reserved. 1

SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

!OxymoronComputing on Encrypted Data

Srinivasan Narayanamurthy (Srini)May 26th, 2017Storage Developers Conference India, Bangalore

© 2017 NetApp, Inc. All rights reserved. 1

Page 2: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Abouto Me

§ Engineer at the Advanced Technology Group since 2011.§ Spent a decade working on security before joining NetApp.§ Mostly on a PhD & several years at RSA Security.

§ @NetApp: Data Security & Privacy, Erasure codes, Distributed Storage Systems.

o My Involvement in SNIA§ SDC talks (at India & US) in 2016 on Erasure Codes.§ Member of SNIA Security TWG.§ Tries hard to stay awake until 2:30AM (IST) to attend weekly meetings! J

§ Early version of this talk at Data Storage Security Summit 2016.

o Talk: Searchable Encryption§ Non-mathematical; non-algorithmic.

© 2017 NetApp, Inc. All rights reserved.2

Page 3: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

© 2017 NetApp, Inc. All rights reserved.3

Oxymoron[ok-si-mawr-on, -mohr-]

a figure of speech by which a locutionproduces an incongruous, seemingly self-contradictory effect, as in “cruel kindness” or“to rush slowly” OR “computing/ searching onencrypted data.”

Page 4: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

The Problem

© 2017 NetApp, Inc. All rights reserved.4

Semi-trusted (Honest-but-curious) server

Page 5: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Classification

© 2017 NetApp, Inc. All rights reserved.5

StructuredUnstructured

Page 6: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Solution

© 2017 NetApp, Inc. All rights reserved.6

Encrypt !

Page 7: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

But …

© 2017 NetApp, Inc. All rights reserved.7

Page 8: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Or …

© 2017 NetApp, Inc. All rights reserved.8

Page 9: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Searchable Encryption

© 2017 NetApp, Inc. All rights reserved.9

Encrypted Data-at-rest & Data-in-motion

Page 10: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Count where age = 7

Deterministic Encryption

© 2017 NetApp, Inc. All rights reserved.10

Example: AES – ECB modeApplication: Convergent Encryption for Deduplication

E(age) = =

Brute-force / Dictionary attacks (IND-CPA)

Page 11: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Order-preserving Encryption (OPE)

© 2017 NetApp, Inc. All rights reserved.11

Range Querye.g. age > 3

Symmetric encryption over integers (AES – FFX)

Page 12: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Searchable Symmetric Encryption (SSE)

© 2017 NetApp, Inc. All rights reserved.12

Access pattern leakage!

Inverted Index

Symmetric encrypt. (Eg. AES)

SSE (Eg. Hash)

Trapdoor

Page 13: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Oblivious RAM (oRAM)

© 2017 NetApp, Inc. All rights reserved.13

Hides all information, including access pattern Many rounds of communication; Large storage cost

Page 14: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

SSE + oRAM

© 2017 NetApp, Inc. All rights reserved.14

Hides all information, including access pattern; Many rounds of communication, Large storage cost

Page 15: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Structured Data

© 2017 NetApp, Inc. All rights reserved.15

Social networks, Web crawlers, Maps, Network routing, Communication (email headers, phone logs),

Research papers (citations)

= +

Page 16: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Structured Encryption (STE)

© 2017 NetApp, Inc. All rights reserved.16

Page 17: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Private Stream Searching (PSS)

© 2017 NetApp, Inc. All rights reserved.17

Partial (Additive) homomorphism!

+ = →

Page 18: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Fully Homomorphic Encryption (FHE)

© 2017 NetApp, Inc. All rights reserved.18

+ = ? +

Computationally expensive, high storage overheadSearch time is linear in the length of the dataset

Somewhat Homomorphic (SWHE):Efficient; restricted number of additions and multiplications

Page 19: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Other Encryption Schemes

o PKEET (Public Key Encryption with Equality Test)§ Equality tests of plaintexts encrypted under different public keys

o PE (Predicate) & IPE (Inner Product)§ Access-control & (originally) equality tests § IBE (Identity), AIBE (Anonymous IBE), HIBE (Hierarchical)§ ABE (Attribute)

o HVE (Hidden Vector)§ Wild card characters inside a key§ Supports: conjunctive, subset, range queries, disjunctions,

polynomials, inner products

© 2017 NetApp, Inc. All rights reserved.19

Page 20: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Summary

o Symmetric§ Searchable Symmetric Encryption (SSE)§ IND-CKA2 security§ Efficient (sub-linear) SE schemes

o Asymmetric§ Public key Encryption with Keyword search (PEKS)§ Efficiency and security?§ Lack of query expressiveness

© 2017 NetApp, Inc. All rights reserved.20

Page 21: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Tradeoffs

© 2017 NetApp, Inc. All rights reserved.21

Effic

ienc

ySecurity

Leak: Index, search & access pattern

E.g. IND-CKA2

Computation & Communication

complexityE.g. sub-linear index

Query expressiveness

E.g. Equality, conjunctive, extended search (subset, fuzzy, range queries, inner products)

Page 22: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Efficiency vs. Security

© 2017 NetApp, Inc. All rights reserved.22

Effic

ienc

y

Leakage

FHEORAM

SSE

STE

PEKS

PPE

HVE (PEKS)PE (IBE, ABE)IPE (AIBE)

PKEET

Page 23: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Functionality vs. Efficiency

© 2017 NetApp, Inc. All rights reserved.23

Func

tiona

lity

Efficiency

FHEORAM

SSE STEPEKS

PPEHVE (PEKS)PE (IBE, ABE)

PKEET

IPE (AIBE)

Page 24: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Applications

o Secure search

o Secure storage§ Outsourced, Backup

o Secure Data management§ Deduplication, email forwarding, etc.

o Security tiers for analytics

o Private data with “enough” privacy§ Call logs, map queries, image search, data classification

© 2017 NetApp, Inc. All rights reserved.24

Page 25: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

In Practice

1) Systems§ CryptDB, MIT CSAIL§ Cipherbase, Microsoft§ Google’s Encrypted BigQuery Demo§ Microsoft SQL Server 2016 Always Encrypted

2) Implementations§ CS2, Microsoft & UCB (2012); C++; Keyword search§ IARPA, IBM & UCI (2013); C++; Conjunctive§ BlindSeer, Bell Labs & Columbia (2014); Boolean§ GRECS, Microsoft, Boston & Harvard (2015); C++; Graph§ Clusion, Brown & Colorado (2016); Java; Boolean

© 2017 NetApp, Inc. All rights reserved.25

Page 26: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Conclusion

o Tradeoffs: Security vs. Efficiency vs. Functionality

o Unclear security model

o Not-so-good asymmetric schemes

o Limited set of (academic) implementations

o But ...

© 2017 NetApp, Inc. All rights reserved.26

This could be as big a wave as public-key crypto!

Page 27: SDCIndia Oxymoron Srini · 2019-12-21 · Oxymoron [ok-si-mawr-on,-mohr-] a figure of speech by which a locution produces an incongruous, seemingly self-contradictory effect, as in

Thank [email protected]

© 2017 NetApp, Inc. All rights reserved.27

Imagine a fancy animation here, in the cloud. *

* You know what I mean! J