why ipv6 security is so hard structural deficits of ipv6 ... · when it comes to network security....

52
Why IPv6 Security Is So Hard Structural Deficits of IPv6 & Their Implications

Upload: others

Post on 12-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

1

Why IPv6 Security Is So Hard –

Structural Deficits of IPv6 & Their Implications

Page 2: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

2

#whoami

o

o

o

ohttps://insinuator.net/tag/ipv6/

Page 3: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

33

Agenda

o

o

o

Page 4: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

4

Disclaimer

o

o

o

Page 5: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

5

Why I Think so Many Things in IETF

6man Go in the Wrong Direction

Page 6: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

6

Some Objectives

When It Comes to Network Security

Page 7: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

7

Taking an Infosec

Practitioner's View

o

o

o

o

o

o

o

o

Page 8: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

8

A bit more Abstract Objectives

o

o

o

Page 9: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

9

Keep It Simple & Small

o

o

o

o

Page 10: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

10

Entia non sunt multiplicanda praeter

necessitatem.

More things should not be used

than are necessary.

Page 11: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

11

Occam‘s Razor

Phrased by a Networking Guy

o

Page 12: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

12

Avoid Complexity

Page 13: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

13

Complexity (I)

o

Page 14: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

14

Complexity (II)

o

o

Page 15: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

15

Complexity (III)

o

o

o

Page 16: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

16

Why the “Understanding“ Part is Crucial

o

o

o

o

o

o

Page 17: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

17

IPv6 – Interactions

o

o

o

o

o

o

o

o

Page 18: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

18

(Minimize) State

o

o

o

o

o

o

o

Page 19: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

19

How State Can Kill a Network

Page 20: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

20

“anything for which

there is more state than

required to achieve a goal“

State

Rube Goldberg - Originally published in Collier's, September 26 1931

Page 21: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

21

IPv6 Properties & Their (Non-) Evolution

Page 22: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

22

Now Let’s Have a Look

at IPv6’s Technical Propertieso

o

Page 23: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

23

Focus on Four of Them

o

o

o

o

Page 24: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

24

Multicast Instead of Broadcast

o

o

o

o

o

o

o

Page 25: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

25

Multiple Address Types & Addresses

o

o

o

o

LLA

GUA

ULA

Page 26: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

26

Multiple Address Types / Problems

o

o

o

o

o

o – –

Page 27: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

27

LLA

GUA

ULA

That Decision Problem

Page 28: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

28

Page 29: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

29

Extension Headers / Protocol Design

o

o

o

o

o

Page 30: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

30

Implications of an Extensible Protocol

o

o

o

o

o

Page 31: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

31

What an IPv6 Datagrams Looks Like…

#

Page 32: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

32

What an IPv6 Datagrams Looks Like…

#

o

Page 33: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

33

Problem

o

o

o

o

o

IPv6 = f(v,w,x,y,z)

Page 34: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

34

Extensible Protocols Need This

o

Page 35: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

35

Once Upon a Time…o

o

o

o

Page 36: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

36

There Was a Time …… when Postel’s law was considered beneficial.

o

o

o

o

Page 37: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

37

Some Things Have Changed

since the 80s

Page 38: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

38

Security Problems Due to EHs

o

o

o

o

o

o

o

o

o

Page 39: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

39

Parameter Provisioning

Page 40: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

40

What’s a Router?

o

o

o

o

Page 41: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

41

What’s a Router, in IPv6?

o

o

Page 42: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

42

IPv6’s Trust Model

Page 43: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

43

But Can‘t We just Filter the Bad Stuff?There‘s RA Guard et al., right?

o

o

o

o

o

o

Page 44: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

44

From some Recent Testinghttps://insinuator.net/2017/03/testing-rfc-6980-implementations-with-chiron/

17

Page 45: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

45

Evolution. Not

Page 46: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

46

Wait, Humans Learn and Standards Can Be Changed!

o

o

Let’s call this “the culture of deprecation”

Page 47: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

47

Culture of Deprecation & Its

Consequences

o

o

Page 48: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

48

Different Generations of IPv6 Stacks

Neighbor Discovery

RFC 1970 RFC 2410

…RFC 6980

AddressSelection

Generation

of IID

Etc.

RFC 3484 RFC 6724

EUI-64 Privacy Extensions RFCs 7217 and 8064

◀ RFC XXX ◀ RFC XXX ◀ RFC XXX

RFC 4861

draft-linkova-6man-default-addr-selection-update

Page 49: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

49

Conclusions

o

o

o

o

o

o

o

Page 50: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

50

What Now?

o

o

o

o

o

o

o

o

o

o

o

Page 51: Why IPv6 Security Is So Hard Structural Deficits of IPv6 ... · When It Comes to Network Security. 7 Taking an Infosec Practitioner's View o o o o o o o o. 8 A bit more Abstract Objectives

51

There’s never enough time…

THANK YOU… ...for yours!

@Enno_Insinuator

[email protected]