IPv6 Security from point of view firewalls



Similar documents
IPv6 Security:Threats and solutions

Vulnerabili3es and A7acks

IPv6 Security 111 Short Module on Security

IPv6 Fundamentals: A Straightforward Approach

IPv6 Trace Analysis using Wireshark Nalini Elkins, CEO Inside Products, Inc.

OLD VULNERABILITIES IN NEW PROTOCOLS? HEADACHES ABOUT IPV6 FRAGMENTS

Firewalls. Pehr Söderman KTH-CSC

About the Technical Reviewers

IPv6 Security. Scott Hogg, CCIE No Eric Vyncke. Cisco Press. Cisco Press 800 East 96th Street Indianapolis, IN USA

IP(v6) security. Matěj Grégr. Brno University of Technology, Faculty of Information Technology. Slides adapted from Ing.

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

IPv6 Security Best Practices. Eric Vyncke Distinguished System Engineer

IPv6 Associated Protocols

Netfilter / IPtables

FIREWALLS & CBAC. philip.heimer@hh.se

IPv6 Infrastructure Security

Firewalls. Test your Firewall knowledge. Test your Firewall knowledge (cont) (March 4, 2015)

How To Set Up An Ip Firewall On Linux With Iptables (For Ubuntu) And Iptable (For Windows)

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

IPv6 Fundamentals, Design, and Deployment

IPV6 流 量 分 析 探 讨 北 京 大 学 计 算 中 心 周 昌 令

Virtual private network. Network security protocols VPN VPN. Instead of a dedicated data link Packets securely sent over a shared network Internet VPN

Firewalls und IPv6 worauf Sie achten müssen!

Moonv6 Test Suite. IPv6 Firewall Functionality and Interoperablility Test Suite. Technical Document. Revision 0.6

Unverified Fields - A Problem with Firewalls & Firewall Technology Today

Internet Protocol: IP packet headers. vendredi 18 octobre 13

IPv6 SECURITY. May The Government of the Hong Kong Special Administrative Region

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

INTRODUCTION TO FIREWALL SECURITY

Network Security TCP/IP Refresher

Matt Ryanczak Network Operations Manager

Introduction to Firewalls

Tomás P. de Miguel DIT-UPM. dit UPM

Linux Network Security

IPv6 Hardening Guide for Windows Servers

21.4 Network Address Translation (NAT) NAT concept

Getting started with IPv6 on Linux

Security of IPv6 and DNSSEC for penetration testers

Firewalls. Chapter 3

Presentation_ID. 2001, Cisco Systems, Inc. All rights reserved.

IPv6 First Hop Security Protecting Your IPv6 Access Network

Vicenza.linux.it\LinuxCafe 1

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Firewall

FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. Chapter 5 Firewall Planning and Design

UIP1868P User Interface Guide

Chapter 15. Firewalls, IDS and IPS

FreeBSD Firewalls SS- E Kevin Chege ISOC

How To Connect Ipv4 To Ipv6 On A Ipv2 (Ipv4) On A Network With A Pnet 2.5 (Ipvin4) Or Ipv3 (Ip V6) On An Ipv5

8.2 The Internet Protocol

Firewalls. Ingress Filtering. Ingress Filtering. Network Security. Firewalls. Access lists Ingress filtering. Egress filtering NAT

- Introduction to Firewalls -

Internet Firewall CSIS Internet Firewall. Spring 2012 CSIS net13 1. Firewalls. Stateless Packet Filtering

Firewalls. Ahmad Almulhem March 10, 2012

SonicOS 5.9 / / 6.2 Log Events Reference Guide with Enhanced Logging

Classic IOS Firewall using CBACs Cisco and/or its affiliates. All rights reserved. 1

Network Defense Tools

IPv6 Infrastructure Security Jeffrey L Carrell Network Conversions Network Security Consultant, IPv6 SME/Trainer

Firewalls. ITS335: IT Security. Sirindhorn International Institute of Technology Thammasat University ITS335. Firewalls. Characteristics.

Firewalls. Contents. ITS335: IT Security. Firewall Characteristics. Types of Firewalls. Firewall Locations. Summary

Technical Support Information Belkin internal use only

Chapter 4: Security of the architecture, and lower layer security (network security) 1

Security in IPv6. Basic Security Requirements and Techniques. Confidentiality. Integrity

Moonv6 Test Suite. IPv6 Firewall Base Functionality Test Suite. Technical Document. Revision 0.11

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

ITL BULLETIN FOR JANUARY 2011

Proxy Server, Network Address Translator, Firewall. Proxy Server

FIREWALL AND NAT Lecture 7a

Configuring Flexible NetFlow

Track 2 Workshop PacNOG 7 American Samoa. Firewalling and NAT

Firewalls. Network Security. Firewalls Defined. Firewalls

We will give some overview of firewalls. Figure 1 explains the position of a firewall. Figure 1: A Firewall

- IPv4 Addressing and Subnetting -

Lab Configuring Access Policies and DMZ Settings

Network Security Management

Interconnecting Cisco Networking Devices Part 2

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Stateful Firewalls. Hank and Foo

INLICHTINGEN DIENSTEN INLICHTINGEN DIENSTEN

Introduction to IP v6

20-CS X Network Security Spring, An Introduction To. Network Security. Week 1. January 7

Firewall. Vyatta System. REFERENCE GUIDE IPv4 Firewall IPv6 Firewall Zone Based Firewall VYATTA, INC.

CSE543 - Computer and Network Security Module: Firewalls

Troubleshooting Tools

DATA COMMUNICATIONS MANAGEMENT. Gilbert Held INSIDE

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

Improving DNS performance using Stateless TCP in FreeBSD 9

CIS 433/533 - Computer and Network Security Firewalls

DNS amplification attacks

Module: Firewalls. Professor Patrick McDaniel Spring CMPSC443 - Introduction to Computer and Network Security

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

Allocating Network Bandwidth to Match Business Priorities

Transcription:

IPv6 Security from point of view firewalls János Mohácsi 09/June/2004 János Mohácsi, Research Associate, Network Engineer NIIF/HUNGARNET

Contents Requirements IPv6 firewall architectures Firewalls and addresses Application support in firewalls Survey of IPv6 firewalls On going work

IPv6 Firewalls Next generation Internet: Hype or Security should be better than currently IPv6 architecture and firewall No need to NAT Network scanning virtually not possible (/64) Deny DNS zone transfer Other possible network hiding: DNS splitting Weaknesses of the packet filtering cannot be make hidden by NAT Support for IPv6 header chaining Support for IPv4/IPv6 transition and coexistence Not breaking IPv4 security

IPv6 firewall setup - method1 DMZ Internet Router Protected Network Firewall Internet router firewall net architecture Requirements: Firewall must support/recognise ND/NA filtering Firewall must support RS/RA if SLAAC is used Firewall must support MLD messages if multicast is required

IPv6 firewall setup - method2 DMZ Internet Router Protected Network Firewall Internet firewall router net architecture Requirements: Firewall must support ND/NA Firewall should support filtering dynamic routing protocol Firewall should have large variety of interface types

IPv6 firewall setup - method3 DMZ Internet Protected Network Firewall+Router Internet firewall/router(edge device) net architecture Requirements Can be powerful - one point for routing and security policy very common in SOHO (DSL/cable) routers Must support what usually router AND firewall do

Firewall setup No blind ICMPv6 filtering possible: IPv6 specific Echo request/reply No route to destination TTL exceeded Parameter problem NS/NA RS/RA Packet too big MLD required Debug Debug better error indication Error report Error report Required for normal operation except static ND entry For Stateless Address Autoconfigration Path MTU discovery Requirements in for multicast in architecture 1

Firewall setup 2 No blind IP options ( extension Header) filtering possible: Hop-by-hop header Routing header ESP header AH header What to do with jumbograms or router alert option? probably log and discard Source routing in IPv4 it is considered harmful, but required for IPv6 mobility log and discard if you don t support MIPv6, otherwise enable only for Home Agent of MIPv6 Process according to the security policy Process according to the security policy Fragment header All but last fragments should be bigger than 1280 octets

Firewall setup 3 RFC2827 ingress filtering same as IPv4 can be done easier since IPv6 address is hierarchical Broadcast amplification? Smurf? RFC2463 explicitly disallow this If architecture 2 used with dynamic routing with IPSEC routing updates cannot be filtered potential attack?

IPv6 firewalls and addresses Current practice of address usage: global addresses global communication link local addresses link communication NO site local addresses but globally unique local addresses is under study General rule: local addresses - allow - (supposing routers are operating correctly) filter according to the security policy for global addresses make reachable only that is necessary

IPv6 firewalls and addresses address management/2 Abusing/virus infected host should be tracked back SLAAC possible from IP(InterfaceID) MAC address if RFC 3041 not used Firewall could break global connection if IP(InterfaceID) MAC address DHCPv6 You have the DHCPv6 lease database do you have lease data for last Monday 2:00 AM? Static Be careful with filtering Where Firewall could help detect inconsistent ND cache MAC changes more like NIDS this kind of protection for IPv4 - existing on Cisco switches

FTP: Interoperability of filtered applications Very complex: PORT, LPRT, EPRT, PSV, LPSV, EPSV virtually no support in IPv6 firewalls HTTP seems to be the next generation file transfer protocol with WEBDAV and DELTA Other non trivially proxy-able protocol: no support

Evaluation of IPv6 firewalls: IPfilter 4.1 clean architecture, powerful filtering, quite portable (*BSD/Solaris/HP-UX/IRIX/True64 Unix) problems: ICMPv6 support is rudimentary- RS/RA and NS/NA pairing is ok (no support for IPv6 defined error conditions); PSV/EPSV ftp proxy support but only for IPv4; FreeBSD contains it by default (stable only) good things: IPv6 extension header matching support; fault tolerant setup possible; checksum checking; TCP sequence randomization possible; quite complete architecture; well documented, performance degradation very acceptable, throttling possible with PPS

Performance of IPfilter GigabitEthernet Tester Server Server system: FreeBSD 4.10PRE only MAXUSERS tuned to 1024 thttpd server Tester: Linux heavily tuned max openfiles hack apachebench TCP stateful filtering with different number of concurrent request to test capabilities of IPv6 stateful filtering

1000 times n concurent 100 byte requests 6000.000 5000.000 4000.000 ms 3000.000 100 byte request non firewalled 100 byte request firewalled 2000.000 1000.000 0.000 500 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 number of concurent requests

1000 times n concurent 1600 byte packets requests 12000 10000 8000 ms 6000 1600 byte packets request non firewalled 1600 byte packets requests firewalled 4000 2000 0 500 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 number of concurent requests

Evaluation of IPv6 firewalls: pf 3.5 Ideas from ipfilter: clean architecture, more powerful filtering, not so portable (*BSD) problems: No fragment handling blocked!, PSV/EPSV ftp proxy support but only for IPv4; OpenBSD/post FreeBSD5.2 contains it by default good things: Macro support for easier readable rules; one command antispoofing; ICMPv6 support almost OK RS/RA and NS/NA pairing, ICMPv6 code specified numerically/symbolically (however no support for IPv6 defined error conditions); IPv6 extension header matching support; checksum checking; TCP sequence/ip ID randomization possible; quite complete architecture; well documented, performance degradation acceptable, QoS possible with ALTQ

Evaluation of IPv6 firewalls: IP6fw clean architecture, good filtering, medium portability (*BSD only) problems: architecture not too modern (however IPv4 ipfw2 has some novelties over ip-filter/pf e.g. dummynet), no proxy support at all,antispoofing setup tedious (not in ipfw2), UDP/ICMPv6 is weakly supported good: IPv6 extension header (not extensive), autoconfiguration is supported but needs polishing, some fragment support, *BSD contain them with predefined filtering rules even against some transition abuses

Evaluation of IPv6 firewalls: Netfilter complex architecture, good filtering, weak portability (Linux only) problems: development version (available only in patch-o-matic not in patch-omatic-ng), stateless filtering only for IPv6 connection tracking under develepment, proxy only via extra kernel programming, good: extensive ICMPv6 support, Autoconfigured EUI-64 address usage check, some autoconfiguration check possible, IPv6 extension header support (even AH/ESP SPI), Rather comprehensive routing/fragment header support, extensive development, good extensible architecture

Evaluation of IPv6 firewalls: Cisco access list complex architecture, good filtering, Cisco only (as of IOS 12.3(7)T): two sets: standard ACL, extended ACL problems: Could filter only the next header value, only 6 bit from Traffic class, only named ACLs, IPv4 ACL and an IPv6 ACL cannot share the same name, urpf is not available universally good: Implicit deny, SLAAC and ND supported, some extension header support, some fragment support, possible disabling redirect, unknown transport support, ICMPv6 support, reflexive ACL support, time-based ACL, commercially supported, Note: IPv6 ACL has implicit? permit icmp any any nd-na, permit icmp any any nd-ns, and deny ipv6 any any

Evaluation of IPv6 firewalls: Juniper firewall complex architecture, good filtering, Juniper only (as JunOS 6.2): problems: good: Could filter only the next header value, IPv4 filter and an IPv6 filter cannot share the same name, no match for TCP flags in IPv6 filters No performance impact to enable IPv6 firewall, Some ND supported, some extension header support, some fragment support,, ICMPv6 support, commercially supported what will NetScreen provide?

Conclusion + Future IPv6 firewalls are existing They are start to be rather usable They can be used for firewalling an IPv6 network Commercial support is available Transition problems some work in 6NET WP2 Mobile IPv6 can be problematical.