Encrypting traffic

Symmetric, asymmetric and hybrid encryption seen through use; in transit, at rest, end to end; pairs of plain-text and encrypted protocols; the VPN tunnel.

  • 24 cards
  • 6 topics
  • Free

The outline, topic by topic

Each topic is weighted the way the exam weighs it.

  1. Concepts
  2. Questions
  3. Sort and link
  4. On the diagram
  5. Scenarios
  6. Understand

A few cards from the deck

  • Symmetric encryption: what is it?

    Show the answer

    Encryption where the same secret key is used to encrypt and to decrypt.

    It is fast, so suited to large volumes, but raises the problem of sharing the key without a third party intercepting it.

  • An attacker on the same Wi-Fi captures this session. What can they read?

    ```text
    220 FTP server ready
    USER alice
    331 Password required for alice
    PASS soleil2024
    230 Login successful
    `

    • The username and the password, exactly as typed
    • Only the username, since FTP then protects the password
    • A hash of the password, which the attacker still has to crack
    • Nothing usable, since port 21 encrypts the commands
    Show the answer

    The username and the password, exactly as typed

    FTP sends commands in clear text: the PASS line contains the password itself. The same flaw affects Telnet, HTTP, IMAP or LDAP without encryption.

  • … encryption uses the same key to encrypt and decrypt; asymmetric uses a pair made of a … key and a private key.

    Show the answer

    Symmetric encryption uses the same key to encrypt and decrypt; asymmetric uses a pair made of a public key and a private key.

    The private key never leaves its owner. The public key can be given to anyone at no risk.

  • Asymmetric encryption: what is it?

    Show the answer

    Encryption based on a key pair: what one key encrypts, only the other can decrypt, and one of the two can be published.

    It solves the key exchange problem, since the public key does not need to be kept secret, but it is far slower than symmetric encryption.