• No results found

Network Bound Encryption for Data-at-Rest Protection. Nathaniel McCallum, Principal Software Engineer Red Hat, Inc.

N/A
N/A
Protected

Academic year: 2021

Share "Network Bound Encryption for Data-at-Rest Protection. Nathaniel McCallum, Principal Software Engineer Red Hat, Inc."

Copied!
37
0
0

Loading.... (view fulltext now)

Full text

(1)

Network Bound Encryption

for Data-at-Rest Protection

Nathaniel McCallum,

Principal Software Engineer

Red Hat, Inc.

(2)

Disk Life Cycle

(3)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

(4)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

(5)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

(6)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

(7)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

(8)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

(9)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

Utilization

(10)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

Utilization

(11)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

Utilization

(12)

Disk Life Cycle

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

Utilization

Repair

(13)

Disk Life Cycle (Third Parties)

Network Bound Encryption for Data-at-Rest Protection

Procurement

Provisioning

Utilization

Repair

(14)

Disk Life Cycle (Third Parties; Threat Models)

Network Bound Encryption for Data-at-Rest Protection

Procurement Provisioning Utilization Repair End of Life Firmware Attacks Code Injection

(15)

Disk Life Cycle (Third Parties; Threat Models)

Network Bound Encryption for Data-at-Rest Protection

Procurement Provisioning Utilization Repair End of Life Firmware Attacks

(16)

Disk Life Cycle (Third Parties; Threat Models)

Network Bound Encryption for Data-at-Rest Protection

Procurement Provisioning Utilization Repair End of Life Firmware Attacks

Code Injection Passive Snooping

Passive Snooping Firmware Attacks Code Injection

(17)

Security Threats and Mitigation

Network Bound Encryption for Data-at-Rest Protection

Provisioning:

Firmware Attacks – Flash Firmware

Code Injection – Format (Restore)

Encryption:

Passive Snooping

(18)

c

Key Usage Overview: Symmetric Encryption

Network Bound Encryption for Data-at-Rest Protection

Data

(19)

c

Common Technique #1: Shared KEKs

Network Bound Encryption for Data-at-Rest Protection

Data

(20)

Common Technique #1: Shared KEKs

Network Bound Encryption for Data-at-Rest Protection

Pros

Cons

Easy (A.K.A. procrastination) Manual Unlocking

Manual Rotation

Early Boot

Granularity vs. Scalability

No Access Control

(21)

Common Technique #2: KEK Escrow / Retrieval

Network Bound Encryption for Data-at-Rest Protection

Data

Disk Encryption Key

Key Encryption Key = “e3b0c44298f...”

Escrow

Encrypted

(hopefully)

(22)

Common Technique #2: KEK Escrow / Retrieval

Network Bound Encryption for Data-at-Rest Protection

Pros

Cons

Key Separation

No Offline Escrow

Manual Rotation (or CRL)

Automatic Unlocking

Key First, Disk Later

Requires Authentication

Access Control

“Key in Tunnel” Design

Stateful Server

Auditing

(Usually) No Early Boot

(23)

Network Bound Encryption for Data-at-Rest Protection

Can we use asymmetric crypto

to improve the situation?

(24)

New Technique #1: X.509

Network Bound Encryption for Data-at-Rest Protection

Data

Disk Encryption Key

Key Encryption Key

Decryption

Server

X.509 Certificate

TLS Encrypted

Private Key

Encrypted KEK

Decrypted KEK

(25)

New Technique #1: X.509

Network Bound Encryption for Data-at-Rest Protection

Pros

Cons

Key Separation

No Key First, Disk Later

“Key in Tunnel” Design

Automatic Unlocking

No Authentication Required

Manual Rotation (or CRL)

Offline Escrow

Limited Access Control

Early Boot

Limited Auditing

(26)

New Technique #1: X.509

Network Bound Encryption for Data-at-Rest Protection

Most major drawbacks relate to the use of X.509

Can we shrink implementation requirements for embedded use?

Can we hide key contents from the Decryption Server?

(27)

New Technique #1: X.509

Network Bound Encryption for Data-at-Rest Protection

Most major drawbacks relate to the use of X.509

Can we shrink implementation requirements for embedded use?

Can we hide key contents from the Decryption Server?

Can we avoid TLS?

(28)

New Technique #2: McCallum-Relyea Exchange

Network Bound Encryption for Data-at-Rest Protection

Data

Disk Encryption Key

Key Encryption Key

Decryption

Server

Public Key

McCallum-Relyea Exchange

Private Key

(no encryption)

UDP Request (x)

UDP Reply (x')

(29)

Elgamal Encryption

(30)

McCallum Opaque Decryption

(31)

McCallum-Relyea Exchange

(32)

New Technique #2: McCallum-Relyea Exchange

Network Bound Encryption for Data-at-Rest Protection

Data

Disk Encryption Key

Key Encryption Key

Decryption

Server

Public Key

McCallum-Relyea Exchange

Private Key

(no encryption)

UDP Request (x)

UDP Reply (x')

(33)

New Technique #2: McCallum-Relyea Exchange

Network Bound Encryption for Data-at-Rest Protection

Pros

Cons

Key Separation

No Key First, Disk Later

Limited Access Control

Automatic Unlocking

No Authentication Required

Limited Auditing

Offline Escrow

“Key in Tunnel” Design

Early Boot

Automatic Rotation

(34)

New Technique #3: Push McCallum-Relyea Exchange

Network Bound Encryption for Data-at-Rest Protection

Data

Disk Encryption Key

Key Encryption Key

Push

Command

Public Key

McCallum-Relyea Exchange

Private Key

(no encryption)

TCP Request (x)

TCP Reply (x')

(35)

New Technique #3: Push McCallum-Relyea Exchange

Network Bound Encryption for Data-at-Rest Protection

Pros

Cons

Key Separation

No Key First, Disk Later

Automatic Unlocking

No Authentication Required

Offline Escrow

“Key in Tunnel” Design

Early Boot

Automatic Rotation

(36)

Upstream Project: Deo

Network Bound Encryption for Data-at-Rest Protection

https://github.com/npmccallum/deo

Δεο: to bind

Project Status: Unstable

Technique #1 implemented (X.509; deprecated – don't use)

Techniques #2 and #3 in development

Early boot (LUKS) implemented

Support for ext4 crypto in planning

Contributions welcome!

(37)

Last slide

INTERNAL ONLY | PRESENTER NAME

Please ensure that the following image is used as the last visual

References

Related documents

barriers to sexual and reproductive health care for female-born transgender spectrum individuals:.. 1) refusal of care to transgender patients , 2) lack of provider knowledge

When a horse does not properly grind his food because of molar loss or misalignment, the food enters the digestive tract in particles too large for proper breakdown by digestive

In any event, it is important for the sublessee to attempt to provide in the sublease that the sublessee has the right to sue the landlord in the name of the sublessor in order

Through the system platform, on the one hand it can strengthen the standardized management of enterprise sales, improve the management level and the information degree of

REGION   COMMUNITIES   REGION   COMMUNITIES   High   Desert   Adelanto Amboy  Apple Valley  Baker  Barstow  Cima  Daggett  Earp  Edwards  Essex  Fort Irwin 

Design/methodology/approach – We explore the price behavior of audit fees in response to changes in the variables that are usually seen as their determinants, such as size,

* */ package bu.thesis.bigdata; import java.io.IOException; import java.net.URISyntaxException; import org.apache.hadoop.conf.Configuration; import