IPSec Overview
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

IPSec Overview

  • 2,016 views
Uploaded on

IPSec protocol. Overview of IKE in IPSec. A look at ESP packet. AH is excluded in this presentation.

IPSec protocol. Overview of IKE in IPSec. A look at ESP packet. AH is excluded in this presentation.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,016
On Slideshare
2,016
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
109
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • There a few key things we need to describe to you so you can get a better idea of IPSec. Firstly, there are two main protocols in IPSec which namely Authentication Header, in short AH and Encapsulating Security Payload, in short ESP.
  • The next two key terms for IPSec are Security Policy, in short SP and Security Association, in short SA.
  • In layman’s term, SP governs how IPSec process different datagrams received by an IPSec device.
  • Now, on the other hand, Security Associations are sets of security information that describes a particular kind of secure connection between one IPSec device and another.
  • There are two important concepts of SA. Firstly, SAs are key to IPSec’s authentication and confidentiality mechanisms.
  • Secondly, SAs are needed to negotiate in the exchanging of the “shared secret” process Now, each host that wants to communicate with each other securely thru IPSec, has to first setup their own security association. And each host over IPSec negotiates a same shared secret to decrypt and encrypt messages. To get shared secret, they must first use IKE and thus I will explain the process [click]
  • Now that we know what Security Policies and Security Associations are, let’s us first understand how IPSec shares its shared secret before we move on to the Authentication Header and Encapsulating Security Payload protocols of the IPSec.
  • IPSec, like many secure networking protocol sets, is based on the concept of a “ shared secret ”.
  • Before AH or ESP can be used, any two devices must exchange the “secret” that the AH or ESP themselves will use.
  • So how does this happen?
  • The primary support protocol used for this “secret” exchange in IPSec is called Internet Key Exchange (IKE) . And during this exchange, s ymmetric encryption is used on the data(Which is must faster as data can be large) but asymmetric encryption is used to encrypt the key in transit, because a key is small in size and asymmetric encryption is more secure.
  • IKE allows IPSec-capable devices to exchange security associations (SAs) and populate their security association databases (SADs).
  • After setting up the Security Associations, these established SAs are then being used for the actual exchange of secured datagrams with the AH and ESP protocols. Right now, let me briefly explain how sharing of the secret works in IPSec. [Click]
  • -Alice, using a data application on Computer A [click], sends an application IP packet to Bob on [Click] Computer B. -The IPSec driver [click] on Computer A checks its outbound IP filter lists and determines that the packets should be secured. -The action is to negotiate security, so the IPSec driver [click] notifies IKE to begin negotiations. The IKE service on Computer A completes [click] a policy lookup and [click] the policy determines that Computer A proposes to Computer B. Computer A then sends the first IKE SA message to B. -Computer B receives A’s IKE SA requesting for secure negotiation. B then [click] looks up it’s own policy database to determine which security settings (which is the SA) to agree to. Since Computer B has a policy match, B replies to begin [click] negotiation of IKE SA. -Computer A and Computer B now negotiate parameters such options, exchange identities, verify authentication methods [click], and generate a shared master key. They have now established an IKE SA and had so established a mutual trust for the exchange of future secured datagrams either with the AH or ESP IPSec protocol.
  • The next core protocol of IPSec is the ESP
  • An encryption algorithm combines the data in the datagram with a key to transform it into an encrypted form. This is then repackaged using a special format and transmitted to the destination, which decrypts it using the same algorithm. And this key as known by the source and destination had already been negotiated fore front by IKE which we had covered earlier on.
  • ESP in transport mode does not sign the entire packet.
  • The signed portion of the packet indicates where the packet has been signed for integrity and authentication and the encrypted portion of the packet indicates what information is protected with confidentiality. Now you realized that the ESP Authentication Data appears separately because it is used to authenticate the rest of the encrypted datagram after encryption . This means it cannot appear in the ESP Header or ESP Trailer.

Transcript

  • 1. Internet Protocol Security (IPSec) Group name: grouppage
  • 2. What to expect
    • What is the difference between SSL and IPSec
    • And when to use it?
    • Go through the basics for IPSec
    • Explain IPSec’s key exchange
    • Look further into ESP, main protocol of IPSec
  • 3. Internet Protocol (TCP/IP)
    • Has no inherent security
    • Man in the middle can read/write to:
          • The TCP/IP headers
          • The payload data
    • SSL/TLS and IPSec can encrypt data
  • 4. IPSec Compared To SSL
    • IPSec
    • Application Independent
    • Authenticates IP headers
    • Encrypts TCP and Application layer
    • SSL
    • Must be compiled in Application
    • Insecure IP headers
    • Encrypts application layer
  • 5.
    • Malory can:
    • Create packets that have A's IP as src address
    • Read A's packets
    • Can change A's packets
    • Normal IP
  • 6. IP with SSL
    • Mallory Can
    • Create packets that have A's IP as src address
    • R/W the TCP header
  • 7. IPSec
    • Malroy can do nothing
  • 8. When to use?
    • Reasons not to use
    • NAT
    • Support
    • User authentication
    • Reasons to use:
    • VPN
    • Application doesn't support TLS
    • Don't want to use PKI
    • Host authentication
  • 9. IPSec basics for this presentation
    • Main protocol in IPSec:
      • Encapsulating Security Payload (ESP)
  • 10.
    • Constructs that guide the operation of IPSec
      • Security Policy (SP)
      • Security Association (SA)
    IPSec basics for this presentation
  • 11. Security Policies
    • Governs how IPSec process different datagrams received by an IPSec device
  • 12.
    • SA describes a particular kind of secure connection between one device and another.
    Security Associations AH
  • 13.
    • Security Associations are key to IPSEC’s authentication and confidentiality mechanisms.
    Security Associations
  • 14.
    • SAs are needed to negotiate in the exchange of the “shared secret” process
    Security Associations
  • 15. Sharing the shared secret
  • 16. Sharing the shared secret
    • IPSec, like many secure networking protocol sets, is based on the concept of a “ shared secret ”.
  • 17. Sharing the shared secret
    • Before ESP (IPSec protocols) can be used, any two devices must exchange the “secret” that the ESP themselves will use.
  • 18. Sharing the shared secret
    • So how does this happen?
  • 19. Exchanging the secret
    • Internet Key Exchange (IKE) .
  • 20. Internet Key Exchange (IKE)
    • IPSec-capable devices to exchange security associations (SAs),
    • Populate their security association databases (SADs).
  • 21. Internet Key Exchange (IKE)
    • These established SAs are then being used for the actual exchange of secured datagrams with the ESP protocols.
  • 22. Sharing the shared secret Source: http://technet.microsoft.com
  • 23. IPSec Protocols
    • Encapsulating Security Payload
  • 24. Encapsulating Security Payload (ESP)
    • Main function:
    • Provide privacy for IP datagrams by encrypting them.
  • 25. ESP packet in transport mode
  • 26. ESP packet in tunnel mode New IP Header
  • 27. Thank You!
    • The end and we hope you understand
  • 28. References
    • Understanding IPSEC - Server 2003
    • http://www.youtube.com/watch?v=DH1zI8QYi4A
    • TCPIP Guide
      • http://www.tcpipguide.com/free/t_IPSecurityIPSecProtocols.htm