SlideShare une entreprise Scribd logo
1  sur  14
OSPF WG Security Extensions for OSPFv2 when using Manual Keying  Manav Bhatia, Alcatel-Lucent Sam Hartman, Huawei Dacheng Zhang, Huawei IETF 80, Prague
Current State of Security ,[object Object],[object Object]
Gaps Identified ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
So what does this draft do? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Inter-Session Replay Attack OSPF Hdr: Sequence Num = 10001 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 50001 OSPF HELLO: Neighbor = A Router B  goes down!  OSPF Hdr: Sequence Num = 1 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 10011 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 10012 OSPF HELLO: Neighbor = 0 Router B Router A OSPF Hdr: Sequence Num = 10010 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 2 OSPF HELLO: Neighbor = A OSPF Hdr: Sequence Num = 50000 OSPF HELLO: Neighbor = 0 Router A accepts the packet and brings down the adjacency with B! OSPF Hdr: Sequence Num = 50000 OSPF HELLO: Neighbor = 0
So how do we fix this? (1/2) ,[object Object],[object Object],[object Object]
So how do we fix this? (2/2) ,[object Object],[object Object],[object Object]
Changing the crypto sequence number algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object]
So does this help?  OSPF Hdr: Sequence Num = 0:10001 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 10:50001 OSPF HELLO: Neighbor = A Router B  goes down!  OSPF Hdr: Sequence Num = 11:1 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 0:10011 OSPF HELLO: Neighbor = B Router B Router A OSPF Hdr: Sequence Num = 0:10010 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 11:2 OSPF HELLO: Neighbor = A OSPF Hdr: Sequence Num = 10:50000 OSPF HELLO: Neighbor = 0 Router A rejects this as sequence number < 11:2 OSPF Hdr: Sequence Num = 10:50000 OSPF HELLO: Neighbor = 0
So where are we? ,[object Object],[object Object],[object Object]
Benefits ,[object Object],[object Object],[object Object]
Next Steps ,[object Object],[object Object],[object Object]
Feedback!
Protecting the source IP address A B Source IP -  X' OSPFv2 Data Authentication Data 1. OSPF Packet replayed and source IP changed from X to X' Authentication has been computed assuming source IP as X 2. B computes the digest assuming the source IP as  X' 3. B rejects the packet as the computed digest does NOT match the digest carried in the packet!

Contenu connexe

Tendances

Packet sniffing in switched LANs
Packet sniffing in switched LANsPacket sniffing in switched LANs
Packet sniffing in switched LANsIshraq Al Fataftah
 
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...NetProtocol Xpert
 
IPsec Basics: AH and ESP Explained
IPsec Basics: AH and ESP ExplainedIPsec Basics: AH and ESP Explained
IPsec Basics: AH and ESP ExplainedAndriy Berestovskyy
 
NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address TranslationEng. Emad Al-Atoum
 
Nmap(network mapping)
Nmap(network mapping)Nmap(network mapping)
Nmap(network mapping)SSASIT
 
Cisco Router Security
Cisco Router SecurityCisco Router Security
Cisco Router Securitykktamang
 
2. Stream Ciphers
2. Stream Ciphers2. Stream Ciphers
2. Stream CiphersSam Bowne
 
IP tables
IP tablesIP tables
IP tablesaamodt
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PATMuuluu
 
Network Mapper (NMAP)
Network Mapper (NMAP)Network Mapper (NMAP)
Network Mapper (NMAP)KHNOG
 
Packet Tracer: SNMP, Netflow, Sys-log
Packet Tracer: SNMP, Netflow, Sys-logPacket Tracer: SNMP, Netflow, Sys-log
Packet Tracer: SNMP, Netflow, Sys-logRafat Khandaker
 

Tendances (20)

Packet sniffing in switched LANs
Packet sniffing in switched LANsPacket sniffing in switched LANs
Packet sniffing in switched LANs
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
DMVPN configuration - Configuring Cisco dynamic Multipoint VPN - HUB, SPOKES,...
 
Chapter11ccna
Chapter11ccnaChapter11ccna
Chapter11ccna
 
IPsec Basics: AH and ESP Explained
IPsec Basics: AH and ESP ExplainedIPsec Basics: AH and ESP Explained
IPsec Basics: AH and ESP Explained
 
NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address Translation
 
Nmap(network mapping)
Nmap(network mapping)Nmap(network mapping)
Nmap(network mapping)
 
Cisco Router Security
Cisco Router SecurityCisco Router Security
Cisco Router Security
 
Chapter4ccna
Chapter4ccnaChapter4ccna
Chapter4ccna
 
2. Stream Ciphers
2. Stream Ciphers2. Stream Ciphers
2. Stream Ciphers
 
05 06 ike
05   06 ike05   06 ike
05 06 ike
 
IPTables Primer - Part 2
IPTables Primer - Part 2IPTables Primer - Part 2
IPTables Primer - Part 2
 
IP tables
IP tablesIP tables
IP tables
 
NAT and PAT
NAT and PATNAT and PAT
NAT and PAT
 
Network Mapper (NMAP)
Network Mapper (NMAP)Network Mapper (NMAP)
Network Mapper (NMAP)
 
Chapter13ccna
Chapter13ccnaChapter13ccna
Chapter13ccna
 
Packet Tracer: SNMP, Netflow, Sys-log
Packet Tracer: SNMP, Netflow, Sys-logPacket Tracer: SNMP, Netflow, Sys-log
Packet Tracer: SNMP, Netflow, Sys-log
 
Security Onion Advance
Security Onion AdvanceSecurity Onion Advance
Security Onion Advance
 
Socket programming in c
Socket programming in cSocket programming in c
Socket programming in c
 

Similaire à IETF 80: Security Extensions for OSPF

Лекц 15
Лекц 15Лекц 15
Лекц 15Muuluu
 
Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primerFred Bovy
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccnarobertoxe
 
How to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configurationHow to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configurationIT Tech
 
Defeating OSPF MD5 authentication
Defeating OSPF MD5 authenticationDefeating OSPF MD5 authentication
Defeating OSPF MD5 authenticationfropert
 
Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2Fred Bovy
 
ospf ahmed tawfeek CCNA dump for Exam12
ospf  ahmed tawfeek CCNA dump for Exam12ospf  ahmed tawfeek CCNA dump for Exam12
ospf ahmed tawfeek CCNA dump for Exam12ym7md88
 
ospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfDenis Rasskazov
 
SAS (Secure Active Switch)
SAS (Secure Active Switch)SAS (Secure Active Switch)
SAS (Secure Active Switch)Security Date
 

Similaire à IETF 80: Security Extensions for OSPF (20)

Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Ospf
OspfOspf
Ospf
 
How to configure the basic OSPF?
How to configure the basic OSPF?How to configure the basic OSPF?
How to configure the basic OSPF?
 
I pv6 for cmu
I pv6 for cmuI pv6 for cmu
I pv6 for cmu
 
OSPF Authentication
OSPF Authentication OSPF Authentication
OSPF Authentication
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primer
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
How to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configurationHow to troubleshoot and verifying ospf configuration
How to troubleshoot and verifying ospf configuration
 
Defeating OSPF MD5 authentication
Defeating OSPF MD5 authenticationDefeating OSPF MD5 authentication
Defeating OSPF MD5 authentication
 
Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2
 
ospf ahmed tawfeek CCNA dump for Exam12
ospf  ahmed tawfeek CCNA dump for Exam12ospf  ahmed tawfeek CCNA dump for Exam12
ospf ahmed tawfeek CCNA dump for Exam12
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
ospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdf
 
Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
SAS (Secure Active Switch)
SAS (Secure Active Switch)SAS (Secure Active Switch)
SAS (Secure Active Switch)
 

IETF 80: Security Extensions for OSPF

  • 1. OSPF WG Security Extensions for OSPFv2 when using Manual Keying Manav Bhatia, Alcatel-Lucent Sam Hartman, Huawei Dacheng Zhang, Huawei IETF 80, Prague
  • 2.
  • 3.
  • 4.
  • 5. Inter-Session Replay Attack OSPF Hdr: Sequence Num = 10001 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 50001 OSPF HELLO: Neighbor = A Router B goes down! OSPF Hdr: Sequence Num = 1 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 10011 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 10012 OSPF HELLO: Neighbor = 0 Router B Router A OSPF Hdr: Sequence Num = 10010 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 2 OSPF HELLO: Neighbor = A OSPF Hdr: Sequence Num = 50000 OSPF HELLO: Neighbor = 0 Router A accepts the packet and brings down the adjacency with B! OSPF Hdr: Sequence Num = 50000 OSPF HELLO: Neighbor = 0
  • 6.
  • 7.
  • 8.
  • 9. So does this help? OSPF Hdr: Sequence Num = 0:10001 OSPF HELLO: Neighbor = B OSPF Hdr: Sequence Num = 10:50001 OSPF HELLO: Neighbor = A Router B goes down! OSPF Hdr: Sequence Num = 11:1 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 0:10011 OSPF HELLO: Neighbor = B Router B Router A OSPF Hdr: Sequence Num = 0:10010 OSPF HELLO: Neighbor = 0 OSPF Hdr: Sequence Num = 11:2 OSPF HELLO: Neighbor = A OSPF Hdr: Sequence Num = 10:50000 OSPF HELLO: Neighbor = 0 Router A rejects this as sequence number < 11:2 OSPF Hdr: Sequence Num = 10:50000 OSPF HELLO: Neighbor = 0
  • 10.
  • 11.
  • 12.
  • 14. Protecting the source IP address A B Source IP - X' OSPFv2 Data Authentication Data 1. OSPF Packet replayed and source IP changed from X to X' Authentication has been computed assuming source IP as X 2. B computes the digest assuming the source IP as X' 3. B rejects the packet as the computed digest does NOT match the digest carried in the packet!