Cryptography and Computer Security - Lecture 1 - Introduction, Cryptography

This lesson provides an introduction to this course, an overview of the need for security, and then introduces cryptography and what it is.

Objectives

  • identify some security services, threats, attacks, and models; and know when they are applicable
  • understand the basic cryptographic concepts & terminology, and types of attacks
  • Preliminary Reading

    Stallings, "Cryptography and Network Security", Ch 1.0-1.4 pp1-13; Ch 2.1 pp21-26

    Lecture Content

    Introduction

    1. Introduction - Computer Security - Why?
    2. Security Services
    3. Security Mechanisms
      Personnel
      Access Tokens, Biometrics
      Physical
      Integrated Access control
      Managerial
      Security Education
      Data Networking
      Encryption, Config control
      S/W & O/S
      Testing, Evaluation, Certification
      H/W
      TCB, Tamper-proof, Encryption

      No single mechanism can provide all the security services wanted. Usually have a range to choose from. But encryption is a key enabling technology.

    4. Security Threats
    5. Security Attacks
    6. Passive vs Active Attacks
    7. Response to Threats
    8. Security Models - Communications
    9. Security Models - Communications
    10. Security Models - Computer
    11. Security Models - Computer

    Introduction to Cryptography

    1. Introduction to Cryptography
    2. Basic Terminology
      cryptography
      the art or science encompassing the principles and methods of transforming an intelligible message into one that is unintelligible, and then retransforming that message back to its original form
      plaintext
      the original intelligible message
      ciphertext
      the transformed message
      cipher
      an algorithm for transforming an intelligible message into one that is unintelligible by transposition and/or substitution methods
      key
      some critical information used by the cipher, known only to the sender & receiver
      encipher (encode)
      the process of converting plaintext to ciphertext using a cipher and a key
      decipher (decode)
      the process of converting ciphertext back into plaintext using a cipher and a key
      cryptanalysis (codebreaking)
      the study of principles and methods of transforming an unintelligible message back into an intelligible message without knowledge of the key.
      cryptology
      the field encompassing both cryptography and cryptanalysis
      code
      an algorithm for transforming an intelligible message into an unintelligible one using a code-book

      Briefly review some terminology we'll be using throughout the course.

    3. Some Cryptographic Concepts
      Encryption
      the mathematical function mapping plaintext to ciphertext using the specified key:
      C = EK(P)
      Decryption
      the mathematical function mapping ciphertext to plaintext using the specified key:
      P = EK-1(C)
      cryptographic system
      the family of transformations from which the cipher function EK is chosen
      key
      is the parameter which selects which individual transformation is used, and is selected from a keyspace K
      More formally we can define the cryptographic system as a single parameter family of invertible transformations
      EK; K in K : P -> C
      with unique inverse P = EK-1; K in K : C -> P
      usually assume the cryptographic system is public, and only the key is secret information

      It can be useful to think about cryptographic functions in a mathematical context (but don't let the terminology scare you :-) For any particular cipher, rather than thinking of it as just one function, its actually a whole family of related functions, and in any given case we use the key to pick one of them out. Obviously these functions must have a single unique inverse, or we'd never be able to recover the original message. When talking about the security of our encryption, it is usual to assume that the opponent knows the family of functions, but doesn't know the key and hence which particular instance is being used.

    4. Classifying Cryptographic Algorithms
    5. Private-Key Encryption Algorithms
    6. Private-Key Encryption Algorithms
    7. Cryptanalytic Attacks
    8. Exhaustive Key Search
    9. Unconditional and Computational Security
      unconditional security
      no matter how much computer power is available, the cipher cannot be broken since the ciphertext provides insufficient information to uniquely determine the corresponding plaintext
      computational security
      given limited computing resources (eg time needed for calculations is greater than age of universe), the cipher cannot be broken

      Unconditional security would be nice, but the only known such cipher is the one-time pad (later). For all reasonable encryption algorithms, have to assume computational security where it either takes too long, or is too expensive, to bother breaking the cipher.

    Summary

    1. Summary

    Exercises

    1. Exercises
      1. Which security service(s) would be required in each of these applications and why (in a sentence or two each) when:
        1. providing a system to control a chemical processing plant
        2. providing a system to manage sensitive organisational research records
        3. sending a command to alter the frequency and power used by a remote radio repeater station over the radio link to it
        4. sending a web order for some books to an online merchant
        5. sending email with details of your latest strategy to discredit your political/ business opponents to a colleague
        6. sending the current status of a door alarm sensor back to the central control panel
      2. For each of the above, identify which Security Model is most applicable, identify the parties involved, and discuss your choices.
      3. What type of Cryptanalytic Attack is used in each of the following scenarios and why (in a sentence or two each) when an attacker analyses:
        1. a network dump of a secure web credit card order
        2. a photocopy of a scrambled message
        3. the interaction with a smartcard in his custom reader

    Additional References

    For additional information, see:
  • W Diffie, M E Hellman, "Privacy and Authentication: An Introduction to Cryptography", in Proc. IEEE, Vol 67(3) Mar 1979, pp 397-427

  • [Back to CCS3 Lectures]
    Lawrie.Brown@adfa.edu.au / 5 Feb 2001