14

ITS (Subject) / Verschlüsselung (Lesson)

Zeugs

This lesson was created by SimonFui.

Learn lesson

Advertisement
  • ECB Electronic-Codebook-Modus
  • CBC Cipher Block Chaining
  • CFB Cipher-Feedback-Modus
  • OFB Output-Feedback-Modus
  • Cipher Block Chaining Modus Bei diesem Modus werden Klartextmuster verborgen, indem vor dem eigentlichen Verschlüsselungsschrittjeder Klartextblock zunächst mit dem vorhergehenden Geheimtextblock XOR-verknüpft wird. Der erste Klartextblockwird mit einem zufälligem Initialisierungsvektor verknüpft, um zu gewährleisten, dass zwei gleicheKlartextnachrichten nicht zum selben Geheimtext werden. Der Initialisierungsvektor wird bei Netzübertragungeni.d.R. vor der Geheimtextnachricht im Klartext übertragen.
  • Electronic -Codebook -Modus Der ECB-Modus ist der einfachste Fall (siehe Abbildung 6). Die Verschlüsselung wird einfach blockweise aufden Klartext angewendet. Dieser Modus ist am effizientesten, da er mit paralleler Hardware beschleunigtwerden kann und im Gegensatz zu den anderen Modi kein zusätzlicher Speicher für die Rückkopplung erforderlichist. Unter Umständen muss aber ein Block aufgefüllt werden (sogenanntes Padding), da nur vollständigeBlöcke ver- oder entschlüsselt werden können.Wie bereits erwähnt, weist der ECB-Modus Schwächen auf, die seinen Einsatz begrenzen. Muster im Klartextkönnen zu Mustern im Chiffretext führen. Außerdem lässt sich eine Chiffretextnachricht leicht ändern,indem verschlüsselte Blöcke hinzugefügt, entfernt oder ersetzt werden.
  • IPSec Tunneling Regel-1 (z.B. für Pakete von Net-A nach Net-B) Filterliste (Pakete von Net-A nach Net-B)Auf welche Pakete soll die Regel angewendet werden? Filteraktion (AH und ESP ohne Verschlüsselung)Was soll mit den Paketen gemacht werden? Tunneleinstellungen (Tunnelendpunkt ist 3rdExtIP)Transport/Tunnelmodus u. Endpunkt Authentifizierungsmethoden (Preshared Key „hallo“)Wie stelle ich sicher, dass der Tunnelendpunkt nicht ein Man-in-the-middle ist?
  • Internet Protocol Security (IPsec) Internet Protocol Security (IPsec) is a protocol suite for securing Internet Protocol (IP) communications by authenticating and encrypting each IP packet of a communication session. IPsec includes protocols for establishing mutual authentication between agents at the beginning of the session and negotiation of cryptographic keys to be used during the session. IPsec can be used in protecting data flows between a pair of hosts (host-to-host), between a pair of security gateways (network-to-network), or between a security gateway and a host (network-to-host).
  • Security architecture - Authentication Headers (AH) provide connectionless integrity and data origin authentication for IP datagrams and provides protection against replay attacks.
  • Security architecture - Encapsulating Security Payloads (ESP) provide confidentiality, data-origin authentication, connectionless integrity, an anti-replay service (a form of partial sequence integrity), and limited traffic-flow confidentiality.
  • Advertisement
  • Security architecture - Security Associations (SA) provide the bundle of algorithms and data that provide the parameters necessary to AH and/or ESP operations. The Internet Security Association and Key Management Protocol (ISAKMP) provides a framework for authentication and key exchange,[9] with actual authenticated keying material provided either by manual configuration with pre-shared keys, Internet Key Exchange (IKE and IKEv2), Kerberized Internet Negotiation of Keys (KINK), or IPSECKEY DNS records.
  • Authentication Header Authentication Header (AH) is a member of the IPsec protocol suite. AH guarantees connectionless integrity and data origin authentication of IP packets. Further, it can optionally protect against replay attacks by using the sliding window technique and discarding old packets
  • Authentication Header Security Parameters Index (32 bits) Arbitrary value which is used (together with the destination IP address) to identify the security association of the receiving party.Sequence Number (32 bits) A monotonic strictly increasing sequence number (incremented by 1 for every packet sent) to prevent replay attacks. When replay detection is enabled, sequence numbers are never reused, because a new security association must be renegotiated before an attempt to increment the sequence number beyond its maximum value.[8]Integrity Check Value (multiple of 32 bits) Variable length check value. It may contain padding to align the field to an 8-octet boundary for IPv6, or a 4-octet boundary for IPv4.
  • Encapsulating Security Payload Unlike Authentication Header (AH), ESP in transport mode does not provide integrity and authentication for the entire IP packet. However, in Tunnel Mode, where the entire original IP packet is encapsulated with a new packet header added, ESP protection is afforded to the whole inner IP packet (including the inner header) while the outer header (including any outer IPv4 options or IPv6 extension headers) remains unprotected. ESP operates directly on top of IP, using IP protocol number 50.