cpug - september 2011 · "ipv6 security " scott hoggand eric vyncke, cisco press, 2009...

13
CPUG -Chur - September 2011 Sunny Connection AG - www.sunny.ch 1 IPv6 Opportunities Silvia Hagen Sunny Connection AG www.sunny.ch 2 CPUG, Chur, September, 2011 Topics Context Technical Thoughts Facts – Figures – Business Case Methodologies and Planning Notable Things 3 CPUG, Chur, September, 2011 Evolution has no Business Plan Horse dung issues threatened society. This upgrade solved the horse dung issue

Upload: others

Post on 11-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

1

IPv6Opportunities

Silvia HagenSunny Connection AG

www.sunny.ch

2 CPUG, Chur, September, 2011

Topics

Context

Technical Thoughts

Facts – Figures – Business Case

Methodologies and Planning

Notable Things

3 CPUG, Chur, September, 2011

Evolution has no Business Plan

Horse dung issues threatenedsociety.

This upgrade solved the horsedung issue

Page 2: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

2

4 CPUG, Chur, September, 2011

Why IPv6? – The big context

IPv6 is about the continuation of the Internet.

The Internet is a global collaborative creation.

Each of us has to contribute his part in the evolution of theInternet, because we all benefit from it. It takes a collective effortfor the best of all.

This is the main reason to drive the integration of IPv6.

5 CPUG, Chur, September, 2011

Evolution never stops

�And infrastructures need to be built orupgraded!

� Interplanetary Communication Protocol

o Also called DTN (Delay Tolerant Networking

o RFC 4838 - Delay-Tolerant Networking Architecture

o RFC 5050 - Bundle Protocol Specification

o RFC 6255 to 6260 new specifications including IPsec for Bundle Protocol – published May 2011

6 CPUG, Chur, September, 2011

Business Case

� IPv6 is an upgrade of the infrastructure („it‘s the plumbing“ as Jim Bound used to say).

� There is no direct business case for infrastructure upgrades.

� If you want to save cost, turn it off (yes, I mean the network, thisalso provides the best security protection).

� The Business Case is in the applications and services. To run state-of-the-art services you need a state-of-the-artinfrastructure.

� The business case is in what you loose if you don't do it.

� Customers will never ask for IPv6. Customers ask for services.

Page 3: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

3

Technical Reasons

8 CPUG, Chur, September, 2011

Main Changes from IPv4 to IPv6

Expanded addressing capability (128 bits)

Expanded autoconfiguration mechanisms

Simplification of the header format(fixed length: 40 bytes)

Improved support for extensions and options (Extension Headers)

Extensions for authentication and privacy (security)

Flow labelling capability (QOS – Quality of Service)

9 CPUG, Chur, September, 2011

Special addresses

All-zeros Adresse: 0:0:0:0:0:0:0:0 (short = ::)

Loopback Adresse: 0:0:0:0:0:0:0:1 (short = ::1)

Global Unicast range 2000::/3

Unique Local Addresses: fd00::/8

Subnet Router Anycast Address

Solicited Node Multicast Address (ff02:0:0:0:0:1:ffXX:XXXX)

CGA Addresses (cryptographically generated addresses)

…. And many more for 6to4, 6rd, Isatap, Teredo

RFC 5156 is a compilation of IPv6 address types

Page 4: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

4

10 CPUG, Chur, September, 2011

Extension Headers (cont)

IPv6 HeaderNext Header = TCP

Value 6

TCP Headerand data

IPv6 HeaderNext H. = Routing

Value 43

Routing HeaderNext H. = TCPValue 6

IPv6 HeaderNext H. = Routing

Value 43

Routing HeaderNext H. = Fragment

Value 44

Fragment HeaderNext H. = TCPValue 6

TCP Headerand data

TCP Headerand data

RFC 2460

11 CPUG, Chur, September, 2011

Mobile IPv6

12 CPUG, Chur, September, 2011

Security – things to be aware of

You already have IPv6 running on your network! If you have notprotected your network from IPv6 traffic (in/out, tunneled/native) – you have a huge back-door open!

Scans have become a little more difficult, the space is too large to scan (don‘t address sequentially!)

ff02::1 and ff02::2 may be good addresses for getting information

Neighbor and Destination Cache, router tables, DHCP/DNS servers/logs……

Use privacy addresses (not EUI-64)!

Hosts/Interfaces will have multiple addresses/prefixes. An addresscannot identify an attacker.

Page 5: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

5

13 CPUG, Chur, September, 2011

Global Unicast Address

Identified by the binary prefix 001 (2000::/3)

When you design your address plan, think of security, ACLs and the order of rules and processing!

Global Routing Prefix

Subnet ID Interface ID

Usually 16 bits

14 CPUG, Chur, September, 2011

Finding a router …

… and maybe a global prefix

Router Solicitation Message

From Link-local Address to All Routers Multicast FF02::2

Router Advertisement Message

From Link-local Address to All Nodes Multicast FF02::1

15 CPUG, Chur, September, 2011

Router Advertisement Message

Page 6: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

6

16 CPUG, Chur, September, 2011

Duplicate Address Detection (DAD)

Solicited Node Multicast Addressff02::1:ffxx:xxxx

From All Zero Address

17 CPUG, Chur, September, 2011

General Issues to watch for….

Similar methods to attack IPv6 network as with IPv4, only different mechanisms used.

Extension Headers and SLAAC create new possibilities for attacks.

Running IPv4 and IPv6 in parallel and transition mechanismscreate new possibilites for attacks.

There are two entry points into the network, IPv4 and IPv6. Both need to be secured separately.

18 CPUG, Chur, September, 2011

Extension Headers

All sorts of attacks can be done using Extension headers.

Unknown or deprecated Extension headers can be used to circumvent filters and introduce unwanted packets and maliciouscode into the network.

Your firewall may only inspect the first one or two extensionheaders in a packet. Check!

You want your firewall to be able to filter on selected extensionheaders or even subtypes of them.

Check how your firewall responds to unknown, deprecated orunusually long series of Extension headers.

Page 7: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

7

19 CPUG, Chur, September, 2011

Security Concepts

"IPv6 Security"

Scott Hogg and Eric Vyncke, Cisco Press, 2009

Fact, Figures, Business Case

21 CPUG, Chur, September, 2011

IPv4 Address Space

Total IPv4 address space 4.3 Billion

World population 2011 6.9 Billion

Internet Population 2011 2.1 Billion (30%)

Internet Population 2001 0.3 Billion

Internet growth rate since 2000: 480% average world

Highest rate in Middle East, Africa, Latin America(over 1000%)

In the future more and more devices are going to need IP addresses

Source: http://www.internetworldstats.com/stats.htm

Page 8: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

8

CPUG, Chur, September, 2011

Internet Population

Region Online Users Population Online in %

World 2‘095 Mio. 6‘930 Mio. 30.2%(world in 2001 360 Mio.)

USA/Canada 272 Mio. 347 Mio. 78.3%

Europe 476 Mio. 816 Mio. 58.3%

Middle East 68 Mio. 216 Mio. 31.7%

Latin America 215 Mio. 597 Mio. 36.2%

Africa 118 Mio. 1'037 Mio. 11.4%

Asia 922 Mio. 3‘879 Mio. 23.8%

Oceania/Australia 21 Mio. 35 Mio. 60.1%

www.internetworldstats.com/stats.htm

23 CPUG, Chur, September, 2011

Address Allocation IPv4 - Worldview

IANA Pool (unallocated addresses)October 2005 64 /8 (Class A)

January 2008 42 /8

January 2009 34 /8

January 2010 24 /8

June 2010 16 /8

October 2010 12 /8

Feb 3, 2011 zero

Projected end of IPv4 pools:

IANA Pool Feb 3, 2011

RIR Pools 2011/2012

Source: http://www.potaroo.net/tools/ipv4

http://ipv6.he.net

24 CPUG, Chur, September, 2011

Internet Growth

The IPv4 based Internet will not stop working, but it will stop growing, while the IPv6 based Internet is designed to grow for generations to come. (Tony Hain)

Online World population in

2001 360 Mio

2005 938 Mio 14% global penetration rate

2009 1.4 Bio 21% "

2011 2.1 Bio 30% " 99.9% IPv4 users

2012 ~3.0 Bio End of IPv4 - go figure

2015 5 Bio? More? Percentage of IPv6-only users?

Page 9: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

9

25 CPUG, Chur, September, 2011

Or elseintroduceIPv6!

26 CPUG, Chur, September, 2011

New Internet Users

Will have:

NAT-ed IPv4 Internet Access (possibly multiple NATs withLSN)

IPv6-only Internet Access with translation for IPv4 Internet (NAT64/DNS64)

Internet Access to IPv6 sites will soon outperform access to theIPv4 Internet

As a content provider you are interested in offering yourcontent over IPv6 as soon as possible

27 CPUG, Chur, September, 2011

Address Allocation IPv6 - Global

100%145‘383Total

24.61%35‘781RipeNCC

45.35%65‘945LACNIC

10.81%15‘724ARIN

19.09%27‘766APNIC

0.11%167AfriNic

%No of /32Registry

Jan 2011

• 145‘383 /32 blocks represent 0.027% of the currently available globalIPv6 Unicast space (2000::/3).

•With 145'206 /32 blocks 9.5 Bio. Customers can receive a /48.

Source: http://www.bgpexpert.com/addrspace-ipv6-2010.php

One single /32 block has more IPv6 networks thanthe whole IPv4 addressspace contains addresses!!

Page 10: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

10

28 CPUG, Chur, September, 2011

The 2nd Generation Internet

Will be very natural very soon:

29 CPUG, Chur, September, 2011

Do you still want a Business Case now?

� If you don‘t integrate you will have

• Extra cost and risk due to an overagedinfrastructure.

• Not be able to integrate new applications and services.

• Loose markets and customers due to outdatedservices

• Limited global connectivity

30 CPUG, Chur, September, 2011

Opportunities when you integrate IPv6 …

You can create a new IP address concept for the coming years, building on all the experience you have with managing IPv4 networks

BUT

Adding all the space, possibilities and flexibility the IPv6 addressspace offers

It will take some time to get rid of the conservative thinking wehave programmed in our cells to create address plans.

Page 11: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

11

31 CPUG, Chur, September, 2011

When you integrate IPv6 …..

You can create the following:

A new address concept

A new network and routing concept

A new security concept

A new service management concept

A new …… (you name it)

And in all these concepts you can integrate your experience fromrunning IP networks since many years AND ADD the newpossibilities IPv6 offers

32 CPUG, Chur, September, 2011

Do you want to save money?

If you plan early, you can save a lot of money and human ressources

Use the natural lifecycles or your products and align the IPv6 integration with other projects such as:

Move datacenter

Redesign DMZ

Implement VoIP

Evaluate and replace core routers

Replace mainframes

Migrate XP to Windows7

Migrate Windows Server 2003 to Server 2008

33 CPUG, Chur, September, 2011

This only works

If you plan ahead while there is time

If you educate all your teams before creating any newconcepts

If you don't try to do it the quick and dirty way

Page 12: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

12

34 CPUG, Chur, September, 2011

Why should you run out of time?

If you don't have enough IPv4 addresses

To support future growth of your network (users, devices orapplications)

To support an integration using dual-stack mechanism

If your CEO or your customers want a new application which isbusiness critical and leverages new features of IPv6 (it won't run in your IPv4 network!)

Because of the fast increasing number of IPv6-only devices in theInternet your IPv4-reachability becomes limited (consider thecurrent Internet growth rate and the day of IPv4 exhaustion)

35 CPUG, Chur, September, 2011

The Golden Rule Set

Never touch a running system.

Before investing in extending or fixing your IPv4 infrastructure, evaluate IPv6.

Don't wait for a flag day or killer application and take your time for new concepts.

Go for step by step integration and learn as you go.

Use the natural life cycles of your devices, operating systems and applications.

Align the integration of IPv6 with other projects

Be careful when dealing with Asia!

Watch your public services.

36 CPUG, Chur, September, 2011

When is it time for IPv6?

Page 13: CPUG - September 2011 · "IPv6 Security " Scott Hoggand Eric Vyncke, Cisco Press, 2009 Fact, Figures, Business Case 21 CPUG, Chur, September, 2011 IPv4 AddressSpace Total IPv4 addressspace

CPUG -Chur - September 2011

Sunny Connection AG - www.sunny.ch

13

37 CPUG, Chur, September, 2011

Education

2-day IPv6 Essentials Hands-On Workshopnext date: October 27/28, in Zurich

2-day IPv6 Essentials SeminarPublic or corporate training, next dates in Brüttisellen CH, September 22/23 and Munich, September 27/28.

38 CPUG, Chur, September, 2011

Swiss IPv6 Council

If you live or work in Switzerland, please join the Swiss IPv6 Council at

www.swissipv6council.ch

Upcoming events:

• 20. Sept., Member Event Zurich

• 10. October, Member Event Geneva

• November, next Member Event in Zurich, Topic Security

• 1. Dezember, IPv6 Business Conference Zurich

39 CPUG, Chur, September, 2011

Thank You For Your Attention!

IPv6 Grundlagen, Funktionalität,

Integrationvon Silvia Hagen, Deutsch

2. Auflage, Sunny Edition, 2009

ISBN 978-3-9522942-2-2

IPv6 Essentialsby Silvia Hagen, English

2nd Edition, O'Reilly, May 2006

ISBN 978-0-596-10058-2

Planning for IPv6

by Silvia Hagen, English

O'Reilly, September 2011

ISBN 978-1-4493-0539-0

eBook 978-1-4493-0538-3