IPV6 - Security and Implementation
IPV6 - Security and Implementation
IPV6 - Security and Implementation
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
What is IP ?
The Internet Protocol (IP) is the principal communications protocol in the Internet protocol suite for relaying datagrams across network boundaries. Its routing function enables internetworking, and essentially establishes the Internet.
IP, as the primary protocol in the Internet layer of the Internet protocol suite, has the task of delivering packets from the source host to the destination host solely based on the IP addresses in the packet headers. The Internet Protocol is responsible for addressing hosts and for routing datagrams (packets) from a source host to a destination host across one or more IP networks.
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
What is IPv4 ?
First version of IP. IPv4 is one of the major protocol in TCP/IP protocols suite. This protocol works at Network layer of OSI model and at Internet layer of TCP/IP model. Thus this protocol has the responsibility of identification of hosts based upon their logical addresses and to route data between/among them over the underlying network. IPv4 provides a mechanism to uniquely identify each host over the network by IP addressing scheme.
208.132.96.25
1101000.10000100.01100000.00011001
IPv4 - Addressing
IPv4 uses hierarchical addressing scheme. An IP address which is 32-bits in length, is divided into two parts as depicted:
32 bit addressing
IPv4 - Classes
CLASS A
The first bit of the first octet is always set to 0 (zero). Thus the first octet ranges from 1 127, i.e.
.
IPv4 - Classes
An IP address which belongs to class B has the first two bits in the first octet set to 10, i.e. Default subnet mask: 255.255.0.0
.
CLASS B
CLASS C
The first octet of Class C IP address has its first 3 bits set to 110, i.e., Default subnet mask: 255.255.0.0
.
IPv4 - Classes
Very first four bits of the first octet in Class D IP addresses are set to 1110 Reserved for multicasting
CLASS D
CLASS E
This IP Class is reserved for experimental purposes only like for R&D or Study. IP addresses in this class ranges from 240.0.0.0 to 255.255.255.254. Like Class D, this class too is not equipped with any subnet mask.
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
What is IPV6 ?
Internet Protocol version 6 (IPv6) is the latest revision of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet.
IPv6 (Internet Protocol version 6) is a set of specifications from the Internet Engineering Task Force (IETF) that's essentially an upgrade of IP version 4 (IPv4). It was implemented on 6 June 2012.
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
It Gets Worse
People (personal computers) arent the only thing online
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
128-bits (16 bytes) long 340 282 366 920 938 463 463 374 607 431 768 211 456
2560:1900:4545:0003:0200:F8FF:FE21:67CF
0010000111011010000000001101001100000000000000000010111100111011 0000001010101010000000001111111111111110001010001001110001011010
2001:0019:0545:0003:0200:0000:0000:67CF
Remove preceding zeros
2001:19:545:3:200:0:0:67CF
Remove groups of zeros
2001:19:545:3:200::67CF 2001:19:545:3:200:::67CF
Anycast Address a new address used to send to the first receipient of a group
SLA ID
Interface ID
2561:1900:4545:0003:0200:F8FF:FE21:67CF
TLA ID NLA ID
IPv6 Subnetting
CIDR only (slash notation) No concept of subnet masks / followed by prefix size (decimal number 1-128)
2001:1900:4545:0003:0200:F8FF:FE21:67CF
/16 /32 /48
2001:1900:4545::/48
2001:1900:4545:0000:0000:0000:0000:0000 2001:1900:4545:FFFF:FFFF:FFFF:FFFF:FFFF
1. 2. 3. 4.
Stays same
Dropped
Name/position change New
Flags
Payload Length
Hop Limit
Protocol
Source Address Destination Address Options
Header Checksum
Source Address
Padding
Destination Address
IPv6 OS Support
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
IPv6 Offers:
IPv6 Header
IPv6 Header IPv6 Header
Hop-by-hop options Destination Options Routing IPv4 Header IPv6 Fragmentation (20 bytes) Payload(40 AH Header Traffic Type of ESP Header Version IHL Flow Total Label Length Dropped Class Service Etc
Next Fragmen Flags Hop Limit Header t Offset Payload Header Checksum
Payload
So is this really a security benefit? Short term probably no measureable advantage over IPv4 IPSec Long term More applications will leverage it now that its mandatory!
NAT does NOT provide security! End-2-End (public) addressing increases accountability
(340 unidecillion)
These concepts have proven themselves with many new network protocols in the past. Most experts suspect there are many security issues in IPv6, and related protocols, that we have yet to uncover.
Common issues:
Not realizing IPv6 is already in their network Ignorance of Tunneling Mechanisms Lack of ACL policy for IPv6 multi-homing Unawareness of potential privacy issues Over permissiveness, just to get it to work
No authentication or security
No authentication or security
TCPDump
Fake_mld6 Fake_Advertiser6 SendPees6 DNSDict6 Trace6 Flood_Router6
Imps6-tools Relay6 IPv6 Unfortunately, security controls and 6tunnel products seems to be a bit behind. NT6tunnel VoodooNet Scapy6 Metasploit (etc.) Web Browsers (XSS & SQLi)
COLD Spak6
Parasite6 Redir6
4to6ddos 6tunneldos
Fake_MIPv6
IPv6 Security:
Conclusion
Probably Not. Few will adopt/use the IPv6 related security additions early on. Furthermore, the protocols newness and administrators unfamiliarity may result in more vulnerabilities at first. That said, IPv6 security is NOT worse than IPv4.
Yes. If leveraged, some IPv6 additions can increase our overall network security. As we become more familiar with it, and more network services begin to leverage advanced options, IPv6 should prove slightly more security than IPv4.
Short Term
Long Term
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
No identification
Both router and the sending hosts included broadcast ARP request
Broadcast
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
CONTENTS
1. 2. 3. 4. 5. 6. 7. 8. 9.
What is Internet Protocol? IPv4-Addressing and Classes IPv6- Definition Problem with IPv4 Address resolutions Security issues Advantages over IPV4 Current Implementation Implementation in our network
Whats your network look like today? What needs an upgrade? (or a transition technology)
Translation: Re-writing one protocol packets to another protocol (IPv6 to IPv4, and vice versa).
Application-specific proxies: Translation only for specific services (web, email, etc). IPv6 client connects to proxy server, it makes IPv4 connection to a service
6to4 (Auto) Teredo (Auto) ISATAP (Auto) 6rd (Auto) 4in6 (Configured) 6in4 (Configured)
Stateless IP/ICMP Translation (SIIT) NAT64 DNS 64 Dual-stack Lite (DSLite) NAT-PT (depreciated)
A Simplified Network
Internet ISP
IPv4 Network
Client-side Migration
Internet
IPv6 Core Network IPv6 Routers (or Dual-stack)-- IPv4 IPv4/IPv6 Network Network (LAN) Dual-stack Routers--------------------------- IPv4 Network IPv4 Network (DMZ)
References:
1. http://www.google.com/ipv6/statistics.html 2. http://oversteer.bl.echidna.id.au/IPv6/RFC 3. http://www.cisco.com/web/about/security/security_services/ciag/documents/ v6-v4-threats.pdf 4. https://www.cs.siue.edu/~wwhite/CS447/TopicalPaper/Originals/Bridges_IPv6 SecurityChallenges.pdf 5. http://technet.microsoft.com/en-us/library/bb726956.aspx 6. http://tools.ietf.org/html/rfc4861#page-38 7. http://www.ipv6.com 8. http://rfc-ref.org/RFC-TEXTS/3756/chapter4.html 9. And many more..
Thank You!