4.4.4. IKE protocols

Basic concepts of IKE 1/2

We haven't said anything about how can Security Associations be managed, agreed upon. Naturally, system administrator can do so manually, but automated approach is offered by IKE (Internet Key Exchange) suit of algorithms defined under RFC 2409, and, precisely, a framework defined in RFC 2408- ISAKMP (Internet Security Association and Key Management Protocol).

Basic concepts of IKE

Basic concepts of IKE (otherwise quite complex and hard to follow):

  • use Diffie-Hellman as basic operation for key determination, in particular, use an authenticated-DH to prevent Man-in-the-Middle attacks;
  • use cookies to prevent DoS attacks: store unique identifiers there and use them to reject false traffic straight away when it does not match the stored cookies;
  • prevent MiM attacks: deletion, replay, redirection etc. of messages;
  • forward secrecy is perfect: even if already used keys are compromised it poses no threat to current or future communications - there is no dependency between these.

Remember, that IKE runs prior to IPSec (in fact, it facilitates the use of IPSec). It uses non-stateful communication in Layer 3 (i.e. UDP protocol) on port 500.

Phases of IKE 2/2

There are two phases of IKE:

Phase 1

establishing a secure channel. Authenticates both machines using identities (names, public or pre-shared keys). Establish material for DH in Phase 2. Can be run in two modes: main - providing integrity of messages, giving more flexibility in the use of cryptographic algorithms, and aggressive - executed faster (3 instead of 6 message exchanges), but with limited optional settings.

Phase 2

establish IPSec SA's, using the channel from phase 1 for protection. Use keys derived in Phase 1 to secure integrity and confidentiality of messages.

As a result, the integrity and encryption secret keys are established between the two communicating parties that can be furter used for symmetric encryption (such as in IPSec).




Projekt Cloud Computing – nowe technologie w ofercie dydaktycznej Politechniki Wrocławskiej (UDA.POKL.04.03.00-00-135/12)jest realizowany w ramach Programu Operacyjnego Kapitał Ludzki, Priorytet IV. Szkolnictwo wyższe i nauka, Działanie 4.3. Wzmocnienie potencjału dydaktycznego uczelni w obszarach kluczowych w kontekście celów Strategii Europa 2020, współfinansowanego ze środków Europejskiego Funduszu Społecznego i budżetu Państwa