SlideShare a Scribd company logo
1 of 29
Download to read offline
IPv6 Secure Neighbor Discovery
(SeND) and CGA
9/6/10
1
Real-World Enterprise Deployment Scenarios
Jeremy Duncan
IPv6 Network Architect
Agenda
• Why do we even need SeND?
• Some other Mitigations
• IPv6 Secure Neighbor Discovery (SeND)
Overview
• SeND support on routers
• SeND support on end-points (hosts)
• SeND demo
4/9/2012 www.salientfed.com 2
Why do we even need SeND??
• Neighbor Discovery is in the clear, trusting and open
– All hosts trust each other
– All hosts trust routers
– All routers trust hosts
– How is this different than ARP?? (it’s not)
4/9/2012 www.salientfed.com 3
IPv6 Attacks on the Local Segment
• Man-in-the-Middle Attacks during neighbor
advertisement/solicitation
– Parasite6 – THC-IPv6
– Spoofs every NS sent out by any host
4/9/2012 www.salientfed.com 4
Who has fe80:1:2:3:4?
Ooo! Ooo! That’s me! My IPv6: fe80:1:2:3:4
IPv6 Attacks on the Local Segment, cont
• Denial of Service (DoS) or Session Hijacking using a
Rogue Router
– Fake_router6 and/or flood_router6 – THC-IPv6
– Acts like a router with highest priority
– Floods route tables and interface address config
Is there an IPv6 router?
Me! I am, use me! <pwnd>
Oh, and here’s a million RAs!
DoS!
IPv6 Attacks on the Local Segment, cont
• Denial of Service (DoS) with IP conflicts
– Dos-new-ip6– THC-IPv6
– Always responds to a Duplicate Address Detection (DAD) with a positive
– Hosts will never be able to address their link-local or Global address
64/9/2012 www.salientfed.com 6
Hey, anyone have this address?
Yep, got that one too! <pwnd>
Yes, I own that one, try again!
OK, what about this one?
IPv6 Attacks on the Local Segment, cont
• Denial of Service (DoS) with Neighbor floods
– Flood_advertise6 – THC-IPv6
– Floods all hosts on a network with bogus neighbor advertisements
– Performance on host IPv6 neighbor tables will degrade and cause a DoS
4/9/2012 www.salientfed.com 7
NA for fe80::2
NA for fe80::3
NA for fe80::4 <pwnd>
I feel
bloated
IPv6 Attacks on the Local Segment, cont
• IPv6 Exploitation and Fuzzing attacks
– fuzz6, exploit6, denial6 – THC-IPv6
– Runs a series of fuzzing and link-local exploitation attacks on hosts
4/9/2012 www.salientfed.com 8
IPv6 --- Fuzz! <pwnd>
IPv6 --- Exploit! <pwnd>
IPv6 --- Deny! <pwnd>
Ouch!
Stop it!
Some other Mitigations other than SeND
• There’s always 802.1x
– Layer 2 authentication only and it only protects once
(or upon re-authentication)
– Layer 2 and 3 addresses are still “in the clear”
– Usually requires some sort of AAA server
• Router Advertisement Guard (RA Guard)
– Only protects an interface from a rogue RA, not traffic
from NA and NS badness
– RA Guard implementations are still confused when
there are extension headers (see draft-ietf-v6ops-ra-
guard-implementation-00)
4/9/2012 www.salientfed.com 9
Some other Mitigations other than SeND
• RA Guard Issues
– As stated by Fernando Gont, “some implementations of
RA-Guard have been found to be prone to
circumvention by employing IPv6 Extension Headers”
– Fragment Header and Destination Options
– Diagram from Gont below
4/9/2012 Company Confidential | www.salientfed.com | 10
What is SeND?
• A Public-Key Infrastructure (PKI) system implemented
with Cryptographically-Generated Addresses (CGA) 
RFC 3971 and RFC 3972
– All host and router link-local and Global Unicast addresses
are generated per CGA specification
– All NDP traffic is CGA signed and authenticated
– A centralized Certificate Authority (CA) is used (can be a CA
on the router or using a Microsoft CA)
– ICMPv6 Certification Path message added to the mix
– The NONCE flag is used to protect against DoS from all
non-authenticated hosts
4/9/2012 www.salientfed.com 11
SeND in Real-time
4/9/2012 www.salientfed.com 12
CA Router/Server
Segment Router
Request
Certificate
Request
Certificate
Certificate
Received
SeND in Real-time
4/9/2012 www.salientfed.com 13
CA Router/Server
Segment Router
Router Solicitation w/
RSA signed
Router Advertisement w/
RSA signed
SeND in Real-time
4/9/2012 www.salientfed.com 14
CA Router/Server
Segment Router
Neighbor Solicitation w/
RSA signed
Certification Path
Advertisement
Certification Path
Solicitation
SeND in Real-time
4/9/2012 www.salientfed.com 15
CA Router/Server
Segment Router
Neighbor Advertisement
w/ RSA signed
All Done
with CGA
Neighbor Solicitations
(Done w/o RSA
signatures)
Hello?
Anyone?
Je
ne’comprends
pas!
With “ipv6 nd secured full-
secure” enabled
SeND in Real-time
4/9/2012 www.salientfed.com 16
CA Router/Server
Segment Router
Neighbor Advertisement
w/ RSA signed
All Done
with CGA
Neighbor Solicitations
(Done w/o RSA
signatures)
With “ipv6 nd secured full-secure”
DISABLED
Neighbor Advertisement
w/ RSA signed
SeND and CGA Packets
• Router Advertisements/Solicitations
• Neighbor Advertisements/Solicitations
• ICMPv6 Certification Path
Advertisements/Solicitations
4/9/2012 www.salientfed.com 17
SeND Router Solicitations/Advertisements
4/9/2012 Company Confidential | www.salientfed.com | 18
SeND Neighbor Solicitation
4/9/2012 www.salientfed.com 19
SeND Certification Path
Solicitations/Advertisements
4/9/2012 Company Confidential | www.salientfed.com | 20
SeND Neighbor Advertisement
4/9/2012 www.salientfed.com 21
SeND support on Routers
• Cisco support for SeND, CGA and Certificate Authority with IP-
extensions
– IOS 12.4-24(T) +
• Caveat!!  Only on T and M trains on ISR routers
• Another Caveat!!  NO SUPPORT on new ASR router platforms! (please
complain here)
• Juniper JUNOS support
– Yes, deployable across JUNOS 9.3+ see here
• HP Procurve support (A & E series)
– None
• Huawei Technologies
– Support using ipv6-send-cga Linux package
(http://code.google.com/p/ipv6-send-cga/)
• Brocade
– None that I know of
4/9/2012 www.salientfed.com 22
SeND support on Hosts
• Microsoft Windows 7 or Server 2008
– None natively  Complain here
– TrustRouter application Win7-32bit - RAs (no support for NA/NS)
– WinSEND application works with all NDP traffic
• Won the German IPv6 Council Application Award for 2011
• Apple Macintosh
– None natively Complain here
– TrustRouter application for Mac OS X - RAs (no support for
NA/NS)
• Linux and/or Unix
– Easy-SEND http://sourceforge.net/projects/easy-send
– ND-Protector http://amnesiak.org/NDprotector
– IPv6-Send-CGA http://code.google.com/p/ipv6-send-cga
4/9/2012 www.salientfed.com 23
WinSEND
• Application runs as a service, with a management interface
• Licensed from HPI in Germany
4/9/2012 www.salientfed.com 24
Current issues with SeND
• A Patent exists (US 2008/0307516 A1)
• Certificate expirations
– Can be 1 year
– Difficult to maintain if not doing
auto-enrollment
• Little client saturation
– Linux support (e.g. Easy-SEND)
– Win 7 (e.g. WinSEND)
• Dynamic DNS (for CGA
addressing) impacts unknown
– Microsoft has CGA addressing for
DHCPv6 w/ Dynamic DNS
• SeND support on mobile & VoIP
platforms non-existent
4/9/2012 www.salientfed.com 25
Well, is it Deployable in the Enterprise?
• Short Answer  Yes!
• Long answer  Yes, but follow our guidance:
– Be mindful of your CA (e.g. when certs expire)
• We recommend 3 years for certs, but if you insist on 1
year you better have a process!
– Monitor SeND and CGA failures and/or issues using
SNMP Traps
– Recommend having a “safe-zone” for a SeND
disaster scenario (if doing “full secure mode”)
• A locked room with an interface attached to the local
segment router with no 802.1x or SeND
4/9/2012 www.salientfed.com 26
Now for the Demo!
• All virtual  VirtualBox
– Ubuntu 11.04 with Dynamips and Dynagen
– Segment Router: Cisco 7206 router with IOS 12.4-
24(T)
– CA Router: Cisco 7206 router with IOS 12.4-24(T)
– A simulated host (Cisco router)
– Ubuntu Linux host without SeND running
4/9/2012 www.salientfed.com 27
Questions?
www.SalientFed.com
Resources
www.SalientFed.com
• Cisco’s IPv6 First Hop Security Page:
http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-
first_hop_security.html
• IPv6 SeND Wikipedia:
http://en.wikipedia.org/wiki/Secure_Neighbor_Discovery_Protocol

More Related Content

What's hot

2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-
Eduardo Coelho
 

What's hot (20)

2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-2012 11-09 facex - i pv6 transition planning-
2012 11-09 facex - i pv6 transition planning-
 
The KNOT DNS Server
The KNOT DNS ServerThe KNOT DNS Server
The KNOT DNS Server
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP
 
SIP Testing with FreeSWITCH
SIP Testing with FreeSWITCHSIP Testing with FreeSWITCH
SIP Testing with FreeSWITCH
 
FOSS Sthlm: Realtime Communication Update
FOSS Sthlm: Realtime Communication UpdateFOSS Sthlm: Realtime Communication Update
FOSS Sthlm: Realtime Communication Update
 
Kamailio - SIP Servers Everywhere
Kamailio - SIP Servers EverywhereKamailio - SIP Servers Everywhere
Kamailio - SIP Servers Everywhere
 
Webrtc overview
Webrtc overviewWebrtc overview
Webrtc overview
 
APRICOT 2015 - NetConf for Peering Automation
APRICOT 2015 - NetConf for Peering AutomationAPRICOT 2015 - NetConf for Peering Automation
APRICOT 2015 - NetConf for Peering Automation
 
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on KamailioAstricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
 
NZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing RightNZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing Right
 
SIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border ElementSIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border Element
 
Marco Hogewoning -XS4all
Marco Hogewoning -XS4allMarco Hogewoning -XS4all
Marco Hogewoning -XS4all
 
St Louis Linux Users Group Wireguard (for Fun and Networking)
St Louis Linux Users Group Wireguard (for Fun and Networking)St Louis Linux Users Group Wireguard (for Fun and Networking)
St Louis Linux Users Group Wireguard (for Fun and Networking)
 
Kamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication PlatformsKamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication Platforms
 
Experience on-freeswitch-cluecon2011
Experience on-freeswitch-cluecon2011Experience on-freeswitch-cluecon2011
Experience on-freeswitch-cluecon2011
 
SIP Tutorial/Workshop 1
SIP Tutorial/Workshop 1SIP Tutorial/Workshop 1
SIP Tutorial/Workshop 1
 
WebRTC Audio Codec: Opus and processing requirements
WebRTC Audio Codec: Opus and processing requirementsWebRTC Audio Codec: Opus and processing requirements
WebRTC Audio Codec: Opus and processing requirements
 
Expanding Asterisk with Kamailio
Expanding Asterisk with KamailioExpanding Asterisk with Kamailio
Expanding Asterisk with Kamailio
 
WebRTC meetup barcelona 2017
WebRTC meetup barcelona 2017WebRTC meetup barcelona 2017
WebRTC meetup barcelona 2017
 
Streaming with Varnish
Streaming with VarnishStreaming with Varnish
Streaming with Varnish
 

Similar to IPv6 SenD

IPv6 Threat Presentation
IPv6 Threat PresentationIPv6 Threat Presentation
IPv6 Threat Presentation
johnmcclure00
 

Similar to IPv6 SenD (20)

Fedv6tf-fhs
Fedv6tf-fhsFedv6tf-fhs
Fedv6tf-fhs
 
IPv6 Security - Myths and Reality
IPv6 Security - Myths and RealityIPv6 Security - Myths and Reality
IPv6 Security - Myths and Reality
 
IPv6 Security und Hacking
IPv6 Security und HackingIPv6 Security und Hacking
IPv6 Security und Hacking
 
Tech f42
Tech f42Tech f42
Tech f42
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
OpenStack Havana over IPv6
OpenStack Havana over IPv6OpenStack Havana over IPv6
OpenStack Havana over IPv6
 
IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?
 
Kamailio World 2013 - SIP and MSRP over WebSocket
Kamailio World 2013 - SIP and MSRP over WebSocketKamailio World 2013 - SIP and MSRP over WebSocket
Kamailio World 2013 - SIP and MSRP over WebSocket
 
Samba and Vista with IPv6
Samba and Vista with IPv6Samba and Vista with IPv6
Samba and Vista with IPv6
 
IPv6 at CSCS
IPv6 at CSCSIPv6 at CSCS
IPv6 at CSCS
 
Lync 2010 deep dive edge
Lync 2010 deep dive edgeLync 2010 deep dive edge
Lync 2010 deep dive edge
 
IPv6 Threat Presentation
IPv6 Threat PresentationIPv6 Threat Presentation
IPv6 Threat Presentation
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNIC
 
Swiss IPv6 Council: Konfusion um die Router Flags
Swiss IPv6 Council: Konfusion um die Router FlagsSwiss IPv6 Council: Konfusion um die Router Flags
Swiss IPv6 Council: Konfusion um die Router Flags
 
Martin List-Petersen, AirWire
Martin List-Petersen, AirWireMartin List-Petersen, AirWire
Martin List-Petersen, AirWire
 
RIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinarRIPE 71 and IETF 94 reports webinar
RIPE 71 and IETF 94 reports webinar
 
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
PLNOG15: Practical deployments of Kea, a high performance scalable DHCP - Tom...
 
Network Security Best Practice (BCP38 & 140)
Network Security Best Practice (BCP38 & 140) Network Security Best Practice (BCP38 & 140)
Network Security Best Practice (BCP38 & 140)
 
Capacitacion 2018
Capacitacion 2018Capacitacion 2018
Capacitacion 2018
 
IPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCTIPv6 Security Overview by QS Tahmeed, APNIC RCT
IPv6 Security Overview by QS Tahmeed, APNIC RCT
 

Recently uploaded

Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 

Recently uploaded (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 

IPv6 SenD

  • 1. IPv6 Secure Neighbor Discovery (SeND) and CGA 9/6/10 1 Real-World Enterprise Deployment Scenarios Jeremy Duncan IPv6 Network Architect
  • 2. Agenda • Why do we even need SeND? • Some other Mitigations • IPv6 Secure Neighbor Discovery (SeND) Overview • SeND support on routers • SeND support on end-points (hosts) • SeND demo 4/9/2012 www.salientfed.com 2
  • 3. Why do we even need SeND?? • Neighbor Discovery is in the clear, trusting and open – All hosts trust each other – All hosts trust routers – All routers trust hosts – How is this different than ARP?? (it’s not) 4/9/2012 www.salientfed.com 3
  • 4. IPv6 Attacks on the Local Segment • Man-in-the-Middle Attacks during neighbor advertisement/solicitation – Parasite6 – THC-IPv6 – Spoofs every NS sent out by any host 4/9/2012 www.salientfed.com 4 Who has fe80:1:2:3:4? Ooo! Ooo! That’s me! My IPv6: fe80:1:2:3:4
  • 5. IPv6 Attacks on the Local Segment, cont • Denial of Service (DoS) or Session Hijacking using a Rogue Router – Fake_router6 and/or flood_router6 – THC-IPv6 – Acts like a router with highest priority – Floods route tables and interface address config Is there an IPv6 router? Me! I am, use me! <pwnd> Oh, and here’s a million RAs! DoS!
  • 6. IPv6 Attacks on the Local Segment, cont • Denial of Service (DoS) with IP conflicts – Dos-new-ip6– THC-IPv6 – Always responds to a Duplicate Address Detection (DAD) with a positive – Hosts will never be able to address their link-local or Global address 64/9/2012 www.salientfed.com 6 Hey, anyone have this address? Yep, got that one too! <pwnd> Yes, I own that one, try again! OK, what about this one?
  • 7. IPv6 Attacks on the Local Segment, cont • Denial of Service (DoS) with Neighbor floods – Flood_advertise6 – THC-IPv6 – Floods all hosts on a network with bogus neighbor advertisements – Performance on host IPv6 neighbor tables will degrade and cause a DoS 4/9/2012 www.salientfed.com 7 NA for fe80::2 NA for fe80::3 NA for fe80::4 <pwnd> I feel bloated
  • 8. IPv6 Attacks on the Local Segment, cont • IPv6 Exploitation and Fuzzing attacks – fuzz6, exploit6, denial6 – THC-IPv6 – Runs a series of fuzzing and link-local exploitation attacks on hosts 4/9/2012 www.salientfed.com 8 IPv6 --- Fuzz! <pwnd> IPv6 --- Exploit! <pwnd> IPv6 --- Deny! <pwnd> Ouch! Stop it!
  • 9. Some other Mitigations other than SeND • There’s always 802.1x – Layer 2 authentication only and it only protects once (or upon re-authentication) – Layer 2 and 3 addresses are still “in the clear” – Usually requires some sort of AAA server • Router Advertisement Guard (RA Guard) – Only protects an interface from a rogue RA, not traffic from NA and NS badness – RA Guard implementations are still confused when there are extension headers (see draft-ietf-v6ops-ra- guard-implementation-00) 4/9/2012 www.salientfed.com 9
  • 10. Some other Mitigations other than SeND • RA Guard Issues – As stated by Fernando Gont, “some implementations of RA-Guard have been found to be prone to circumvention by employing IPv6 Extension Headers” – Fragment Header and Destination Options – Diagram from Gont below 4/9/2012 Company Confidential | www.salientfed.com | 10
  • 11. What is SeND? • A Public-Key Infrastructure (PKI) system implemented with Cryptographically-Generated Addresses (CGA)  RFC 3971 and RFC 3972 – All host and router link-local and Global Unicast addresses are generated per CGA specification – All NDP traffic is CGA signed and authenticated – A centralized Certificate Authority (CA) is used (can be a CA on the router or using a Microsoft CA) – ICMPv6 Certification Path message added to the mix – The NONCE flag is used to protect against DoS from all non-authenticated hosts 4/9/2012 www.salientfed.com 11
  • 12. SeND in Real-time 4/9/2012 www.salientfed.com 12 CA Router/Server Segment Router Request Certificate Request Certificate Certificate Received
  • 13. SeND in Real-time 4/9/2012 www.salientfed.com 13 CA Router/Server Segment Router Router Solicitation w/ RSA signed Router Advertisement w/ RSA signed
  • 14. SeND in Real-time 4/9/2012 www.salientfed.com 14 CA Router/Server Segment Router Neighbor Solicitation w/ RSA signed Certification Path Advertisement Certification Path Solicitation
  • 15. SeND in Real-time 4/9/2012 www.salientfed.com 15 CA Router/Server Segment Router Neighbor Advertisement w/ RSA signed All Done with CGA Neighbor Solicitations (Done w/o RSA signatures) Hello? Anyone? Je ne’comprends pas! With “ipv6 nd secured full- secure” enabled
  • 16. SeND in Real-time 4/9/2012 www.salientfed.com 16 CA Router/Server Segment Router Neighbor Advertisement w/ RSA signed All Done with CGA Neighbor Solicitations (Done w/o RSA signatures) With “ipv6 nd secured full-secure” DISABLED Neighbor Advertisement w/ RSA signed
  • 17. SeND and CGA Packets • Router Advertisements/Solicitations • Neighbor Advertisements/Solicitations • ICMPv6 Certification Path Advertisements/Solicitations 4/9/2012 www.salientfed.com 17
  • 18. SeND Router Solicitations/Advertisements 4/9/2012 Company Confidential | www.salientfed.com | 18
  • 19. SeND Neighbor Solicitation 4/9/2012 www.salientfed.com 19
  • 20. SeND Certification Path Solicitations/Advertisements 4/9/2012 Company Confidential | www.salientfed.com | 20
  • 21. SeND Neighbor Advertisement 4/9/2012 www.salientfed.com 21
  • 22. SeND support on Routers • Cisco support for SeND, CGA and Certificate Authority with IP- extensions – IOS 12.4-24(T) + • Caveat!!  Only on T and M trains on ISR routers • Another Caveat!!  NO SUPPORT on new ASR router platforms! (please complain here) • Juniper JUNOS support – Yes, deployable across JUNOS 9.3+ see here • HP Procurve support (A & E series) – None • Huawei Technologies – Support using ipv6-send-cga Linux package (http://code.google.com/p/ipv6-send-cga/) • Brocade – None that I know of 4/9/2012 www.salientfed.com 22
  • 23. SeND support on Hosts • Microsoft Windows 7 or Server 2008 – None natively  Complain here – TrustRouter application Win7-32bit - RAs (no support for NA/NS) – WinSEND application works with all NDP traffic • Won the German IPv6 Council Application Award for 2011 • Apple Macintosh – None natively Complain here – TrustRouter application for Mac OS X - RAs (no support for NA/NS) • Linux and/or Unix – Easy-SEND http://sourceforge.net/projects/easy-send – ND-Protector http://amnesiak.org/NDprotector – IPv6-Send-CGA http://code.google.com/p/ipv6-send-cga 4/9/2012 www.salientfed.com 23
  • 24. WinSEND • Application runs as a service, with a management interface • Licensed from HPI in Germany 4/9/2012 www.salientfed.com 24
  • 25. Current issues with SeND • A Patent exists (US 2008/0307516 A1) • Certificate expirations – Can be 1 year – Difficult to maintain if not doing auto-enrollment • Little client saturation – Linux support (e.g. Easy-SEND) – Win 7 (e.g. WinSEND) • Dynamic DNS (for CGA addressing) impacts unknown – Microsoft has CGA addressing for DHCPv6 w/ Dynamic DNS • SeND support on mobile & VoIP platforms non-existent 4/9/2012 www.salientfed.com 25
  • 26. Well, is it Deployable in the Enterprise? • Short Answer  Yes! • Long answer  Yes, but follow our guidance: – Be mindful of your CA (e.g. when certs expire) • We recommend 3 years for certs, but if you insist on 1 year you better have a process! – Monitor SeND and CGA failures and/or issues using SNMP Traps – Recommend having a “safe-zone” for a SeND disaster scenario (if doing “full secure mode”) • A locked room with an interface attached to the local segment router with no 802.1x or SeND 4/9/2012 www.salientfed.com 26
  • 27. Now for the Demo! • All virtual  VirtualBox – Ubuntu 11.04 with Dynamips and Dynagen – Segment Router: Cisco 7206 router with IOS 12.4- 24(T) – CA Router: Cisco 7206 router with IOS 12.4-24(T) – A simulated host (Cisco router) – Ubuntu Linux host without SeND running 4/9/2012 www.salientfed.com 27
  • 29. Resources www.SalientFed.com • Cisco’s IPv6 First Hop Security Page: http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6- first_hop_security.html • IPv6 SeND Wikipedia: http://en.wikipedia.org/wiki/Secure_Neighbor_Discovery_Protocol