one-way indexing for plausible deniability in censorship ... · one-way indexing for plausible...

16
One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman , Victor Heorhiadi, Nicholas Hopper, and Yongdae Kim

Upload: others

Post on 05-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

One-way indexing for plausible deniability in

censorship resistant storage

Eugene Vasserman, Victor Heorhiadi, Nicholas Hopper, and Yongdae Kim

Page 2: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Censorship resistant storage � Provides  robust  permanent  storage  

� Protects  against  targeted  blocking  �  Resists  rubber-­‐hose  cryptanalysis  –  provides  publisher  deniability  

� Easily  searchable  (e.g.,  not  hashes)  � Removes  “dead  data”  � Without  necessarily  killing  unpopular  content  

� Scales  gracefully  

Page 3: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

I am not a lawyer…

� Is  plausible  deniability  needed?  

� Is  plausible  deniability  enough?  

� Is  “probable  ignorance”  enough?  

Page 4: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

“Conflicting” requirements

� Storer  plausible  deniability  � Keyword  search  � DecrypIon  key  must  be  stored  in  the  network  �  Pointer  and  storer  must  not  discover  the  key  

� Self-­‐contained  network  �  Store  keys  and  content  in  the  same  network?  Are  you  crazy?!  

� “One-­‐way  indexing”  

Page 5: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

DHT P2P storage refresher

Pointer (Storer)

Searcher

Publisher ANIMATION

Page 6: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Encoding a file

Publisher has

n chunks (n >> m)

m-of-n erasure coding

File F

Encrypt with key K

EK(F)

Page 7: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Publishing files

n chunks

File Manifest

h(EK(F)) h(keyword1), h(keyword2), … h(index keywordi) h(F) h(c1), h(c2), …, h(cn)

Publisher composes “manifests”:

Key Manifest

h(EK(F)) h(keyword1), h(keyword2), … h(index keywordi) h(K) K

çè çè çèçè çè

Page 8: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

“One-way” publishing

Publisher

Publish file manifest to h(r, keyword1), h(r, keyword2), …

Publish file chunks to h(chunk)

Publish key manifest to h(r’, keyword1), h(r’, keyword2), …

ANIMATION

Page 9: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Finding a file

Searcher

Retrieve m random file chunks

Reconstruct file, verify against manifest (hash)

Decrypt file, verify against manifest (hash)

Search for file manifest by keyword

Search for key manifest by keyword

ANIMATION

Page 10: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Beware of forbidden keywords

� h(keyword1)  à  salt,  h(salt,  keyword1)  

� Brute-­‐force  hash  search  protecIon  (rainbow  tables)  

� Robustness  improvement  (load  balancing)  

� Different  salts  in  different  manifests  

� “Forbidden  keyword”  aSacks  tend  to  fail  

Page 11: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Continuous robustness � Pointer  storer  à  manifest  “guarantor”  � Guarantor  can:  �  Reassemble  the  encrypted  file  �  Check  replicaIon  level  of  manifest  and  file  �  Re-­‐encode  the  encrypted  file  (like  publisher)  

� Guarantor  cannot:  � Decrypt  the  file  (get  the  plaintext)  � Obtain  the  keywords  (invert  a  hash)  �  Remove  data  from  the  network  (can  drop  own  data)  

Page 12: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Maintaining/refreshing a file

Manifest guarantor

Re-publish data chunks

and/or manifest if needed

Retrieve x’ > 2m manifest replicas,

verify them

Retrieve x ≥ m random chunks

Reconstruct data, verify against

manifest (hash) ANIMATION

Page 13: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Dead data pruning � Each  stored  item  has  a  Imestamp  �  File  manifest,  key  manifest,  content  chunk  

� Timestamp  iniIalized  at  publicaIon  Ime,  refreshed  at  access  Ime  

� Nodes  lazily  garbage-­‐collect  “idle”  items  � Have  not  been  accessed  in  some  Ime  period  t  �  A  single  honest  guarantor  is  enough  to  retain  a  file  in  the  network  

� Manifests  “vouched  for”  by  editors  are  not  subject  to  dropping  

Page 14: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

System robustness

0

0.2

0.4

0.6

0.8

1

0.0 0.2 0.4 0.6 0.8 1.0

Cen

sors

hip

succ

ess

Node failure 1-of-10 (replication) 10-of-100 50-of-250 50-of-500 50-of-750 75-of-750

Page 15: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Performance Time to perform DHT operations

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 50 100 150 200 250 300

CD

F

Time (seconds)

Chunk PutChunk Get

Manifest PutManifest Get

Manifest Maintenance

“User time” to find and download a file

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0 20 40 60 80 100 120 140

CD

F

Time (seconds)

Page 16: One-way indexing for plausible deniability in censorship ... · One-way indexing for plausible deniability in censorship resistant storage Eugene Vasserman, Victor Heorhiadi, Nicholas

Summary Toward  robust  censorship-­‐resistant  

permanent  storage:  

� “One-­‐way”  indexing  and  easy  search  �  “Probable  ignorance”  for  storers  

� ReplicaIon  and  proacIve  maintenance  –  targeted  are  aSacks  difficult  � Need  underlying  blocking  resistance  

� Dead  data  removal  and  file  curaIon  �  Keeps  all  files  for  a  Ime,  some  forever