SlideShare une entreprise Scribd logo
1  sur  19
IPv6 Enterprise Security:
The NAT Returns
Sanjeev Gupta
Vice-Chairman
IPv6 Forum (Singapore)
sanjeev@dcs1.biz
IPv6 Review
 It will happen
 In our careers
 In our ISPs
 In our enterprises
 On our consumer devices
 In things we cannot think of yet.
IPv6 Review
 It is happening
 ISPs are turning it on, to offload traffic
from IPv4
 Alternative is to run CGN or NAT 444,
both of which are expensive, and short-
term
 31% of Verizon Mobile traffic is over
IPv6, with users not realizing (Apr 2013)
 Your “enterprise” OS have it turned on!
IPv6 Review
 Recent news
 Starhub has turned on 6to4 on MaxOnline, so
your home router has IPv6
 And without your knowledge, therefore, so may
your home PC
 So what is IPv6, and how does it differ
from IPv4?
IPv6 vis-à-vis IPv4
 Some things remain the same
 The concepts of Routing, Networks, and the 7-
layer OSI Stack. Firewalls, TCP, UDP, all remain
the same.
 Enough things change
 The definitions of default routers
 Address assignments
 Neighbour Discovery
 And the entire language changes …
IPv6 vis-à-vis IPv4
 Examples of minor changes
 Cisco: show ip becomes show ipv6
 Examples of major changes
 Multicast
 Need to understand Scopes
 Multiple ways to write the same IPv6 address
 2405:FC00:0000:0000:0000:0876:0001:0053
 2405:FC00:0:0:0:876:1:53
 2405:FC00::876:1:53
 IPv6 devices will autoconfigure
magically!
IPv6 Security Implications
 Autoconfiguration
 As devices set themselves up, they will
start talking to each other, even when
you may not want them too.
 Routers get discovered, and used.
 Multiple Routers on a link are not only
possible, they are likely
 Network discovery is easier, which may
be good or bad.
IPv6 Security Implications
 Rouge Routers
 Similar to the problem of rouge DHCP
servers in IPv4
 A rouge router can override your real
router
 Reasonably easy to setup MITM with
SLAAC
 DAD conflicts
 A rouge host can use DAD to block any
other host from assigning an IP address.
IPv6 Security Implications
 Global Routability
 Since we have as many IPv6 addresses
as we need, we would like (and are
encouraged) to use Globally Routable
Unicast Addresses
 Hence, we say goodbye to the RFC1918
addresses
 But this opens up a massive hole on our
edge!
IPv6 and NAT
 NAT is generally a bad thing
 Everyone says this, from the IETF to me!
 NAT breaks many things, and makes
some protocols harder to run or debug
 SIP: STUN, ICE
 VNC: Teamviewer, etc
 Even FTP and multi-player games
 But NAT is good for one thing: a “default
deny incoming” policy.
IPv6 and NAT
 Default Deny: we allow all outgoing (and
related), we deny all incoming
 Why do we need this? Because host
firewalls are mis-configured, non-auditable,
or non-existant
 Currently, anyone with a server/listener on
their host, cannot have packets routed in
from the Internet: RFC1918 is non-routable
 Most SME IT managers cannot manage a
stateful FW, the number of rules would be
impossible to track part-time.
IPv6 and NAT
 One solution (the simple and correct
one) is to use host-based firewalls
 This works for your Server, PC, Laptop
 Does your Network Printer have a firewall?
 Does your Attendance Fingerprint Scanner?
 Alternative is to implement rules on
your edge firewall
 With SLAAC, do you know what the
printer’s current IPv6 address(es)
 Do you know your CFO’s?
IPv6 and NAT
 Alternative 1:
 Turn off SLAAC, either use manual addressing(!)
or DHCPv6
 Maintain rule tables in firewall, and spend all day
opening and closing ports (there are lots of
them)
 BTW: make sure no one has admin control over
his laptop, he might change his IP address.
IPv6 and NAT
 Alternative 2:
 Use Unique Local Addresses (ULA)
 Pick a 48-bit number randomly
(1111:2222:3333)
 Concatanate to fd00::/8, to get a 64-bit
prefix (fd00:1111:2222:3333::/64)
 SLAAC away!
 FD00 is reasonably unique, but non-
routable
 NAT away (as you have been doing)
between your Global IPv6 address
(singular) and the ULAs inside.
IPv6 and NAT
 Alternative 2 (cont):
 Do a 1-to-1 NAT
 NAT away (as you have been doing)
between your Global IPv6 address (singular
or subnet) and the ULAs inside
 Deny all incoming, except explicitly decided
 You can examine Ports, or not
 If your Global range changes, when you
change ISPs, you do not need to
reconfigure the LAN
 Security becomes managable, again.
IPv6 and NAT
 Disadvantages of #2 (ULA+NAT)
over #1
 You are still not Edge-to-Edge, which was a
major driver for IPv6
 You will be sneered at by your smarter colleagues
 BitTorrent will be slower
 People running servers need to come talk to you.
IPv6 and NAT
 Advantages of #2 (ULA+NAT) over
#1
 Your old model of NAT being Firewall works
 Default deny for incoming (Local addresses, even
if they leak out, will not be routed by your ISP)
 Your printer is cleanly visible inside your network,
yet not accesible from the outside
 You can use SLAAC!!!
 You do not need PI address space, you can use
your ISPs, avoid renumbering
 People running servers need to come talk to you.
IPv6 and NAT: The Sequel
 In an ideal world, we would do away
NAT 
 But in an ideal world, we would not
need Firewalls 
 It is very likely that NAT will remain,
but in newer guises
 Maybe NAT64? NAT46? NAT66?
 Just when you thought he was dead, he returned!
Freddy Krueger returns!

Contenu connexe

Tendances

Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing Security
Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing SecurityNetmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing Security
Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing SecurityFaelix Ltd
 
NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)Netwax Lab
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccnarobertoxe
 
Keeping your rack cool
Keeping your rack cool Keeping your rack cool
Keeping your rack cool Pavel Odintsov
 
VYOS & RPKI at the BGP as edge
VYOS & RPKI at the BGP as edgeVYOS & RPKI at the BGP as edge
VYOS & RPKI at the BGP as edgeFaelix Ltd
 
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICES
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICESL2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICES
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICESFaelix Ltd
 
How to configure static nat on cisco routers
How to configure static nat on cisco routersHow to configure static nat on cisco routers
How to configure static nat on cisco routersIT Tech
 
CCNA Interview Questions and Answer ppt - JavaTpoint
CCNA Interview Questions and Answer ppt - JavaTpointCCNA Interview Questions and Answer ppt - JavaTpoint
CCNA Interview Questions and Answer ppt - JavaTpointJavaTpoint.Com
 
NetBeez - Distributed network monitoring with Raspberry Pi
NetBeez - Distributed network monitoring with Raspberry PiNetBeez - Distributed network monitoring with Raspberry Pi
NetBeez - Distributed network monitoring with Raspberry PiNetBeez, Inc.
 
Campus networking
Campus networkingCampus networking
Campus networkingJisc
 
All about routers
All about routersAll about routers
All about routersagwanna
 

Tendances (20)

NAT Ccna
NAT CcnaNAT Ccna
NAT Ccna
 
Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing Security
Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing SecurityNetmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing Security
Netmcr 40 - Salt + Netbox + Vyos = Network Automation + Routing Security
 
Nat
NatNat
Nat
 
NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)NAT (network address translation) & PAT (port address translation)
NAT (network address translation) & PAT (port address translation)
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccna
 
Keeping your rack cool
Keeping your rack cool Keeping your rack cool
Keeping your rack cool
 
VYOS & RPKI at the BGP as edge
VYOS & RPKI at the BGP as edgeVYOS & RPKI at the BGP as edge
VYOS & RPKI at the BGP as edge
 
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICES
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICESL2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICES
L2TP 101 ON-RAMP TO CONSUMING WHOLESALE BROADBAND SERVICES
 
How to configure static nat on cisco routers
How to configure static nat on cisco routersHow to configure static nat on cisco routers
How to configure static nat on cisco routers
 
Cisco ISR 4351 Router
Cisco ISR 4351 RouterCisco ISR 4351 Router
Cisco ISR 4351 Router
 
CCNA Interview Questions and Answer ppt - JavaTpoint
CCNA Interview Questions and Answer ppt - JavaTpointCCNA Interview Questions and Answer ppt - JavaTpoint
CCNA Interview Questions and Answer ppt - JavaTpoint
 
NetBeez - Distributed network monitoring with Raspberry Pi
NetBeez - Distributed network monitoring with Raspberry PiNetBeez - Distributed network monitoring with Raspberry Pi
NetBeez - Distributed network monitoring with Raspberry Pi
 
Campus networking
Campus networkingCampus networking
Campus networking
 
CCNA FUNDAMENTAL
CCNA FUNDAMENTALCCNA FUNDAMENTAL
CCNA FUNDAMENTAL
 
NAT_Final
NAT_FinalNAT_Final
NAT_Final
 
All about routers
All about routersAll about routers
All about routers
 
NAT in ASA Firewall
NAT in ASA FirewallNAT in ASA Firewall
NAT in ASA Firewall
 
ExaBGP at LINX 83
ExaBGP at LINX 83ExaBGP at LINX 83
ExaBGP at LINX 83
 
AF-23- IPv6 Security_Final
AF-23- IPv6 Security_FinalAF-23- IPv6 Security_Final
AF-23- IPv6 Security_Final
 
Cisco ASR 1001-X Router
Cisco ASR 1001-X RouterCisco ASR 1001-X Router
Cisco ASR 1001-X Router
 

Similaire à IPv6 enterprise security - The NAT Returns

Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fred Bovy
 
IPv6: What Why and How
IPv6: What Why and HowIPv6: What Why and How
IPv6: What Why and HowGihan Dias
 
IPv6 Security - Myths and Reality
IPv6 Security - Myths and RealityIPv6 Security - Myths and Reality
IPv6 Security - Myths and RealitySwiss IPv6 Council
 
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsAusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsMark Smith
 
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesIETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesMark Smith
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-editedFred Bovy
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksSkeeve Stevens
 
Guide to home networking
Guide to home networkingGuide to home networking
Guide to home networkingDilan Gilluly
 
There and back again
There and back againThere and back again
There and back againJon Spriggs
 
Chapter13ccna
Chapter13ccnaChapter13ccna
Chapter13ccnarobertoxe
 
Ipv6 tutorial
Ipv6 tutorialIpv6 tutorial
Ipv6 tutorialsaryu2011
 
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 APNICAPNIC
 
AusNOG 2016 - The Trouble with NAT
AusNOG 2016 - The Trouble with NATAusNOG 2016 - The Trouble with NAT
AusNOG 2016 - The Trouble with NATMark Smith
 
IPv6 IAB/IETF Activities Report from ARIN 32
IPv6 IAB/IETF Activities Report from ARIN 32IPv6 IAB/IETF Activities Report from ARIN 32
IPv6 IAB/IETF Activities Report from ARIN 32ARIN
 
ARIN 34 IPv6 IAB/IETF Activities Report
ARIN 34 IPv6 IAB/IETF Activities ReportARIN 34 IPv6 IAB/IETF Activities Report
ARIN 34 IPv6 IAB/IETF Activities ReportARIN
 

Similaire à IPv6 enterprise security - The NAT Returns (20)

3hows
3hows3hows
3hows
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
ION Malta - Seeweb Thoughts on IPv6 Transition
ION Malta - Seeweb Thoughts on IPv6 TransitionION Malta - Seeweb Thoughts on IPv6 Transition
ION Malta - Seeweb Thoughts on IPv6 Transition
 
IPv6: What Why and How
IPv6: What Why and HowIPv6: What Why and How
IPv6: What Why and How
 
IPv6 Security - Myths and Reality
IPv6 Security - Myths and RealityIPv6 Security - Myths and Reality
IPv6 Security - Myths and Reality
 
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other ObservationsAusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
AusNOG 2011 - Residential IPv6 CPE - What Not to Do and Other Observations
 
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesIETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-edited
 
IPv6
IPv6IPv6
IPv6
 
Rapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP NetworksRapid IPv6 Deployment for ISP Networks
Rapid IPv6 Deployment for ISP Networks
 
Guide to home networking
Guide to home networkingGuide to home networking
Guide to home networking
 
There and back again
There and back againThere and back again
There and back again
 
Chapter13ccna
Chapter13ccnaChapter13ccna
Chapter13ccna
 
Chapter13ccna
Chapter13ccnaChapter13ccna
Chapter13ccna
 
Ipv6 tutorial
Ipv6 tutorialIpv6 tutorial
Ipv6 tutorial
 
Ipv6 tutorial
Ipv6 tutorialIpv6 tutorial
Ipv6 tutorial
 
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
 
AusNOG 2016 - The Trouble with NAT
AusNOG 2016 - The Trouble with NATAusNOG 2016 - The Trouble with NAT
AusNOG 2016 - The Trouble with NAT
 
IPv6 IAB/IETF Activities Report from ARIN 32
IPv6 IAB/IETF Activities Report from ARIN 32IPv6 IAB/IETF Activities Report from ARIN 32
IPv6 IAB/IETF Activities Report from ARIN 32
 
ARIN 34 IPv6 IAB/IETF Activities Report
ARIN 34 IPv6 IAB/IETF Activities ReportARIN 34 IPv6 IAB/IETF Activities Report
ARIN 34 IPv6 IAB/IETF Activities Report
 

Dernier

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Dernier (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

IPv6 enterprise security - The NAT Returns

  • 1. IPv6 Enterprise Security: The NAT Returns Sanjeev Gupta Vice-Chairman IPv6 Forum (Singapore) sanjeev@dcs1.biz
  • 2. IPv6 Review  It will happen  In our careers  In our ISPs  In our enterprises  On our consumer devices  In things we cannot think of yet.
  • 3. IPv6 Review  It is happening  ISPs are turning it on, to offload traffic from IPv4  Alternative is to run CGN or NAT 444, both of which are expensive, and short- term  31% of Verizon Mobile traffic is over IPv6, with users not realizing (Apr 2013)  Your “enterprise” OS have it turned on!
  • 4. IPv6 Review  Recent news  Starhub has turned on 6to4 on MaxOnline, so your home router has IPv6  And without your knowledge, therefore, so may your home PC  So what is IPv6, and how does it differ from IPv4?
  • 5. IPv6 vis-à-vis IPv4  Some things remain the same  The concepts of Routing, Networks, and the 7- layer OSI Stack. Firewalls, TCP, UDP, all remain the same.  Enough things change  The definitions of default routers  Address assignments  Neighbour Discovery  And the entire language changes …
  • 6. IPv6 vis-à-vis IPv4  Examples of minor changes  Cisco: show ip becomes show ipv6  Examples of major changes  Multicast  Need to understand Scopes  Multiple ways to write the same IPv6 address  2405:FC00:0000:0000:0000:0876:0001:0053  2405:FC00:0:0:0:876:1:53  2405:FC00::876:1:53  IPv6 devices will autoconfigure magically!
  • 7. IPv6 Security Implications  Autoconfiguration  As devices set themselves up, they will start talking to each other, even when you may not want them too.  Routers get discovered, and used.  Multiple Routers on a link are not only possible, they are likely  Network discovery is easier, which may be good or bad.
  • 8. IPv6 Security Implications  Rouge Routers  Similar to the problem of rouge DHCP servers in IPv4  A rouge router can override your real router  Reasonably easy to setup MITM with SLAAC  DAD conflicts  A rouge host can use DAD to block any other host from assigning an IP address.
  • 9. IPv6 Security Implications  Global Routability  Since we have as many IPv6 addresses as we need, we would like (and are encouraged) to use Globally Routable Unicast Addresses  Hence, we say goodbye to the RFC1918 addresses  But this opens up a massive hole on our edge!
  • 10. IPv6 and NAT  NAT is generally a bad thing  Everyone says this, from the IETF to me!  NAT breaks many things, and makes some protocols harder to run or debug  SIP: STUN, ICE  VNC: Teamviewer, etc  Even FTP and multi-player games  But NAT is good for one thing: a “default deny incoming” policy.
  • 11. IPv6 and NAT  Default Deny: we allow all outgoing (and related), we deny all incoming  Why do we need this? Because host firewalls are mis-configured, non-auditable, or non-existant  Currently, anyone with a server/listener on their host, cannot have packets routed in from the Internet: RFC1918 is non-routable  Most SME IT managers cannot manage a stateful FW, the number of rules would be impossible to track part-time.
  • 12. IPv6 and NAT  One solution (the simple and correct one) is to use host-based firewalls  This works for your Server, PC, Laptop  Does your Network Printer have a firewall?  Does your Attendance Fingerprint Scanner?  Alternative is to implement rules on your edge firewall  With SLAAC, do you know what the printer’s current IPv6 address(es)  Do you know your CFO’s?
  • 13. IPv6 and NAT  Alternative 1:  Turn off SLAAC, either use manual addressing(!) or DHCPv6  Maintain rule tables in firewall, and spend all day opening and closing ports (there are lots of them)  BTW: make sure no one has admin control over his laptop, he might change his IP address.
  • 14. IPv6 and NAT  Alternative 2:  Use Unique Local Addresses (ULA)  Pick a 48-bit number randomly (1111:2222:3333)  Concatanate to fd00::/8, to get a 64-bit prefix (fd00:1111:2222:3333::/64)  SLAAC away!  FD00 is reasonably unique, but non- routable  NAT away (as you have been doing) between your Global IPv6 address (singular) and the ULAs inside.
  • 15. IPv6 and NAT  Alternative 2 (cont):  Do a 1-to-1 NAT  NAT away (as you have been doing) between your Global IPv6 address (singular or subnet) and the ULAs inside  Deny all incoming, except explicitly decided  You can examine Ports, or not  If your Global range changes, when you change ISPs, you do not need to reconfigure the LAN  Security becomes managable, again.
  • 16. IPv6 and NAT  Disadvantages of #2 (ULA+NAT) over #1  You are still not Edge-to-Edge, which was a major driver for IPv6  You will be sneered at by your smarter colleagues  BitTorrent will be slower  People running servers need to come talk to you.
  • 17. IPv6 and NAT  Advantages of #2 (ULA+NAT) over #1  Your old model of NAT being Firewall works  Default deny for incoming (Local addresses, even if they leak out, will not be routed by your ISP)  Your printer is cleanly visible inside your network, yet not accesible from the outside  You can use SLAAC!!!  You do not need PI address space, you can use your ISPs, avoid renumbering  People running servers need to come talk to you.
  • 18. IPv6 and NAT: The Sequel  In an ideal world, we would do away NAT   But in an ideal world, we would not need Firewalls   It is very likely that NAT will remain, but in newer guises  Maybe NAT64? NAT46? NAT66?  Just when you thought he was dead, he returned!