Improving Trust in Containers Matthew Garrett @mjg59 | - - PowerPoint PPT Presentation

improving trust in containers
SMART_READER_LITE
LIVE PREVIEW

Improving Trust in Containers Matthew Garrett @mjg59 | - - PowerPoint PPT Presentation

Improving Trust in Containers Matthew Garrett @mjg59 | mjg59@coreos.com | coreos.com Containers are great Containers are resource efficient Containers make deployment easy Containers can be monitored easily Containers are secure But are


slide-1
SLIDE 1

Matthew Garrett

@mjg59 | mjg59@coreos.com | coreos.com

Improving Trust in Containers

slide-2
SLIDE 2

Containers are great

slide-3
SLIDE 3

Containers are resource efficient

slide-4
SLIDE 4

Containers make deployment easy

slide-5
SLIDE 5

Containers can be monitored easily

slide-6
SLIDE 6

Containers are secure

slide-7
SLIDE 7

But are they secure enough?

slide-8
SLIDE 8

Shared kernel = shared attack surface

slide-9
SLIDE 9

The kernel is imperfect

slide-10
SLIDE 10

The kernel will always be imperfect

slide-11
SLIDE 11

What can we do about that?

slide-12
SLIDE 12

What does a container vulnerability look like?

slide-13
SLIDE 13

Namespace escape

slide-14
SLIDE 14

LSM isolation (sVirt)

slide-15
SLIDE 15

Arbitrary modification of kernel

slide-16
SLIDE 16

Reduce attack surface

slide-17
SLIDE 17

Seccomp

slide-18
SLIDE 18

Root is too many things

slide-19
SLIDE 19

Capabilities

slide-20
SLIDE 20

User namespaces

slide-21
SLIDE 21

Harden the kernel itself

slide-22
SLIDE 22

Run virtualised containers

slide-23
SLIDE 23

We can build a world where containers are secure enough

slide-24
SLIDE 24

Can we go further?

slide-25
SLIDE 25

TPMs

slide-26
SLIDE 26

Measured boot

slide-27
SLIDE 27

Integrity Measurement Architecture

slide-28
SLIDE 28

All very difficult to manage

slide-29
SLIDE 29

Traditional deployment patterns result in combinatorial explosions

slide-30
SLIDE 30

Containers make this more manageable

slide-31
SLIDE 31

Simple base OS

slide-32
SLIDE 32

Containers are independently measurable

  • bjects
slide-33
SLIDE 33

Measure containers into the TPM log

slide-34
SLIDE 34

Cryptographically verifiable audit chain

slide-35
SLIDE 35

How about the future

slide-36
SLIDE 36

Hybrid models

slide-37
SLIDE 37

Introspection

slide-38
SLIDE 38

https://github.com/coreos/clair https://github.com/coreos/rkt https://clearlinux.org/features/clear-containers