81
© 2010 Marc Heuse <[email protected]> Recent advances in IPv6 insecurities Marc “van Hauser” Heuse CCC Congress 2010, Berlin

Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

© 2010 Marc Heuse <[email protected]>

Recent advances in IPv6 insecurities

Marc “van Hauser” Heuse CCC Congress 2010, Berlin

Page 2: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Hello, my name is

Page 3: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Who has already

• heard my previous talk?

• played with IPv6?

• IPv6 at home?

• IPv6 at the office/university?

Page 4: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1
Page 5: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

The future is here already

Page 6: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Let’s start with the basics

Page 7: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv4

4 octets

4.294.967.296 addresses 192.168.1.1

Page 8: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv6

16 octets

340.282.366.920.938.463.463.374.607.431.768.211.456 addresses

2a01:2b3:4:a::1

Page 9: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

2a01:2b3:4:a::1

2 octets each, hexadecimal

Separated by colons

The longest chain of :0:0: is replaced with ::

Leading zeros are omitted

Page 10: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Subnets are /64

4.294.967.296 x the size of the Internet!

Page 11: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

No broadcasts

Page 12: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Multicasts, but they are local only

Page 13: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Features!

Autoconfiguration

IPSEC

Mobility Enough addresses!

Page 14: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Version 6

Next Header

0 31

Class Flow Label

Payload Length Hop Limit

128 bit Source Address

128 bit Destination Address

4 12 24 16

IPv6 header layout

Page 15: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Version 6

Next Header

0 31

Class Flow Label

Payload Length Hop Limit

128 bit Source Address

128 bit Destination Address

4 12 24 16

IPv6 header layout

• No header length

• No identification

• No checksum

• No fragmentation

• No options

Page 16: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Every option is an

extension header

Source routing

Fragmentation

Destination Options IPSEC

Page 17: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv6 Header UDP Header Fragment Header Data

Next Header = 43 Next Header = 17

Routing Header

Next Header = 44

Page 18: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv6 is much simpler than IPv4

Page 19: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

… in theory.

Page 20: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

<rant>

Page 21: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

</rant>

Page 22: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

0

2

4

6

8

10

12

14

16

18

20

2002 2003 2004 2005 2006 2007 2008 2009 2010

IPv6 Vulnerabilities (CVE)

Not counting my CVE entries

Page 23: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Kids, in 2005 …

Page 24: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

The THC-IPv6 Attack Toolkit

Page 25: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

ARP Spoofing => ND spoofing

1. NS: ICMP Type = 135 Src = A Dst = All-Nodes Mulitcast Query= Who-has IP B?

1. NS

A

2. NA

2. NA: ICMP Type = 136 Src = B Dst = A Data= MAC

B

parasite6: Answers to every NS, claims to be every system on the LAN

Page 26: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Duplicate Address Detection DOS

2. No reply if nobody owns the IP address.

1. NS: ICMP Type = 135 Src = :: (unspecified) Dst = All-Nodes Mulitcast Address query= Who-has IP A?

1. NS

A

dos-new-ipv6: Answer to every NS, claim to be every system on the LAN

Page 27: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

MITM with Redirects

Page 28: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

MITM with Redirects

(V)ictim (A)ttacker (R)outer (T)arget

redir6

Page 29: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

DHCP => Autoconfiguration

2. RA

2. RA: ICMP Type = 134 Src = Router Link-local Address Dst = FF02::1 Data= options, prefix, lifetime, autoconfig flag, DNS

1. RS: ICMP Type = 133 Src = :: Dst = FF02::2 query= please send RA

1. RS

A

fake_router6: Sets any IP as default router, defines network prefixes and DNS servers

Page 30: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1
Page 31: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Kick the default router!

A

default router

1. Send own RA

2. Spoof RA of default router with 0 lifetime

3. Resend own RA just to be sure We are getting back to this one

Page 32: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Kill all routers and clients think everything is local

(it’s in the standard)

Page 33: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

RA => Systems become dual stack

• Can be port scanned on IPv6

• No filtering on IPv6? Full port access

• Prefer IPv6

• Will use your tunnel / MITM

Page 34: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How about announcing remote network addresses local?

(Paypal, …)

Page 35: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

RA flooding!

Cisco ASA/PIX, Cisco IOS Windows 2008, 7, Vista

old Linux more… ?

Page 36: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Cisco:

Just fixed for IOS, ASA soon (CSCti24526 , CSCti33534)

Page 37: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Microsoft

“We consider this issue to be by design. *and will not fix this+“

Even Apple got this problem right!

Page 38: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

“Remote alive scans (ping scans) as we know them are unfeasible on IPv6”

some jerk

(OK, that was me in 2005)

Page 39: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to identify remote systems?

Broadcasts Scan the whole range

DNS Search-engines / databases

Common addresses

Combining them

Page 40: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1
Page 41: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Search Engines

Dumped various IPv6 directories

↓ 17.000 possible domains &

subdomains identified

Page 42: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

17.000 domains bruteforcing 3217 hostnames

↓ 23.334 DNS entries found (2.011 unique hostnames)

DNS

Page 43: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

15.607 unique IPv6 addresses found

↓ 7.305 networks

5.811 unique host addresses

DNS Results

Page 44: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

0

2000

4000

6000

8000

10000

12000

14000

16000

18000

1

30

1

60

1

90

1

12

01

15

01

18

01

21

01

24

01

27

01

30

01

33

01

36

01

39

01

42

01

45

01

48

01

51

01

54

01

57

01

IPv6 Host Addresses

Page 45: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Host address analysis

Autoconfiguration

DHCP

by hand

~24 bit key space per vendorID bad luck bad luck

─ Sequential ─ Got one, got all ─ Usually easy to find ─ Pattern

─ Random got one, got all bad luck

─ MAC address ─ Privacy option ─ Fixed random

Page 46: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

by hand

::1, ::2, ::3, …

::service_port

::1:service_port, ::2:service_port, …

::service_port:1, ::service_port:2, …

The IPv4 address

Funny stuff (::b00b:babe, etc.)

etc.

Page 47: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

DHCP

::1000-2000

::100-200

::1:0-1000

::1:1000-2000

Page 48: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv6 Host Address Distribution

Autoconfiguration

Easy DHCP/Hand

IPv4 address

Random/Pricacy

Hard DHCP/Hand

Page 49: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

7.305 networks bruteforcing 3000 host addresses

↓ 380.766 alive systems

↓ 8.160 networks

2.779 unique host addresses

Alive Scanning

Page 50: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

0

50000

100000

150000

200000

250000

300000

350000

400000

1

15

1

30

1

45

1

60

1

75

1

90

1

10

51

12

01

13

51

15

01

16

51

18

01

19

51

21

01

22

51

24

01

25

51

27

01

Alive Host Addresses

Page 51: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

380.776 alive systems

↓ 17.154 reverse DNS entries

↓ 5.357 unique domains

11.578 unique hostnames

Alive Scanning

Page 52: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

0

2000

4000

6000

8000

10000

12000

14000

16000

18000

20000

1

60

1

12

01

18

01

24

01

30

01

36

01

42

01

48

01

54

01

60

01

66

01

72

01

78

01

84

01

90

01

96

01

10

20

1

10

80

1

11

40

1

DNS Reverse Hostnames

Page 53: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

do {

new_dns=dns_brute(new_alive);

new_alive=alive_brute(new_dns);

} while (new_dns || new_alive)

Page 54: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Conclusion

DNS bruteforcing: 90% of systems in DNS with 1900 words

Page 55: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Conclusion

Alive bruteforcing: 66% of systems with 2000 addresses

scanned in 1-20 seconds

Page 56: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Conclusion

Combined (and use of brain) ~90-95% of servers are found

Page 57: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1
Page 58: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Taking over the Multicast Listener Discovery Protocol for fun and

denying multicast traffic

Page 59: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

A

Sends periodically MLD general query messages

MLD Report: “I am a multicast DNS server” to all routers

DNS multicast traffic flows to the network

Spoofs “A” MLD Done message

Sends specific address query message

MLD Report: “I am (still) a multicast DNS server”

How does MLD work?

Page 60: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

First we want to become the MLD query router

if (router1 < router2)

master(router1);

Page 61: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

A

Sends periodically MLD general query messages

MLD Report: “I am a multicast DNS server” to all routers

DNS multicast traffic

flows to the network

Spoofs “A” MLD Done message

Spoofs MLD general query message as fe80::

Page 62: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Problem: We must send an MLD general query message regularly

Page 63: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Solution:

Spoof query message with multicast all-router MAC address!

Page 64: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

A

Spoofs “A” MLD Done message

Spoof MLD general query message as fe80::

Send general query as fe80:: with special MAC

Page 65: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Anybody sniffing?

Page 66: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Send a ping to the target with an unused multicast MAC address

(Windows, Linux, more?)

Page 67: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Side channels in IPv6?

IPv6 *is* a side channel.

Page 68: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Don’t be scared.

Page 69: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

IPv6

complex

intellectual challenge

tired … ?

be an explorer!

Page 70: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Join researching IPv6!

Page 71: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to get IPv6 to your home (1/4)

1. Create an account at Sixxs: http://www.sixxs.net/

2. Request tunnel (static if possible for you, heartbeat otherwise)

3. Request a subnet (a week later)

Page 72: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to get IPv6 to your home (2/4)

4. a) Configure a static tunnel: ip tunnel add sixxs mode sit local [Your IPv4 Endpoint] remote [Sixxs IPv4 Endpoint]

ip link set sixxs up

ip link set mtu 1280 dev sixxs

ip tunnel change sixxs ttl 64

ip -6 addr add [Your IPv6 Endpoint]/[Prefix Length] dev sixxs

ip -6 ro add default via [Your IPv6 endpoint] dev sixxs

Page 73: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to get IPv6 to your home (3/4)

4. b) Configure a heartbeat tunnel: a) Install aiccu

b) Configure aiccu.conf: username xxxx-SIXXS

password xxxxxxxxx

tunnel_id T<your tunnel id>

daemonize true

automatic true

ipv6_interface sixxs

c) Start aiccu

Page 74: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to get IPv6 to your home (4/4)

5. Configure your local network card ip -6 addr add [Your IPv6

subnet]::1/[Prefix Length] dev eth0

6. Use fake_router6 for your local subnet: fake_router6 eth0 <Your IPv6

subnet>::/<Prefix Length>

2a01:4f8:100:2283::2

Page 75: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

What is new in thc-ipv6 since the 2005-2007 release?

• DNS6 bruteforcer • More payloads for fake_router6 • Implementation test-case tool • Fast traceroute6 • Fuzzer for IPv6 • Flood tools for RA and NA • Several library bugfixes &

enhancements

Page 76: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

What is new in the current thc-ipv6 source state?

• alive6 rewritten with 250% new

functionality • Flood & spoofing for all multicast

protocols • DHCPs6 spoofer • DHCPc6 flooder • DNS6 spoofer • … more new tools than fit the slide • Enhancements for all previous tools • Several library bugfixes & enhancements

Page 77: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

How to get access to the current thc-ipv6 source code state?

Send in patches and new tools!

Small and limited updates will still get into the public version.

Complete public release in ~2011.

Page 78: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

http://www.thc.org/thc-ipv6

Page 79: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Central information resource for IPv6 security (wiki, forum, news):

www.ipv6security.info www.ipv6hacking.info

(Online end of January 2011)

Page 80: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Contact

Send an email to [email protected]

(add “antispam” to the subject line)

Page 81: Recent advances in IPv6 insecurities - Chaos Computer Club · 2016. 11. 23. · The future is here already . Let’s start with the basics. IPv4 4 octets 4.294.967.296 addresses 192.168.1.1

Thanks!

And have fun exploring IPv6!