Introduction

Introduction

Introduction Introduction DES Modes of operation Triple DES Placement of Encryption Function Traffic Confidentiality Key Distribution The art of war teaches us to rely not on the likelihood of the enemy's not coming, but on our own readiness to receive him; not on the chance of his not attacking, but rather on the fact that we have made our position unassailable. —The Art of War, Sun Tzu • The combination of space, time, and strength that must be considered as the basic elements of this theory of defense makes this a fairly complicated matter. Consequently, it is not easy to find a fixed point of departure. — On War, Carl Von Clausewitz Computer Security • The protection afforded to an automated information system in order to attain the applicable objectives of preserving the integrity, availability and confidentiality of information system resources (includes hardware, software, firmware, information/data, and telecommunications) [NIST 1995] Key Security Concepts Three Key Objectives • Confidentiality – Data confidentiality – Privacy • Integrity – Data integrity – System integrity • Availability • Additional concepts – Authenticity – Accountability Levels of Impact • 3 levels of impact from a security breach – Low – Moderate – High Examples of Security Requirements • Confidentiality – student grades • Integrity – patient information • Availability – authentication service Computer Security Challenges 1. Not simple 2. Must consider potential attacks 3. Procedures used counter-intuitive 4. Involve algorithms and secret info 5. Must decide where to deploy mechanisms 6. Battle of wits between attacker / admin 7. Not perceived on benefit until fails 8. Requires regular monitoring 9. Too often an after-thought 10. Regarded as impediment to using system OSI Security Architecture • ITU-T X.800 “Security Architecture for OSI” • Defines a systematic way of defining and providing security requirements • It provides a useful, overview of concepts Aspects of Security • 3 aspects of information security: – security attack – security mechanism: detect, prevent, recover – security service • terms – threat – a potential for violation of security – attack – an assault on system security, a deliberate attempt to evade security services Passive Attacks (1) Release of Message Contents Passive Attacks (2) Traffic Analysis • Passive attacks do not affect system resources – Eavesdropping, monitoring • Two types of passive attacks – Release of message contents – Traffic analysis • Passive attacks are very difficult to detect – Message transmission apparently normal • No alteration of the data – Emphasis on prevention rather than detection • By means of encryption Active Attacks (1) Masquerade Active Attacks (2) Replay Active Attacks (3) Modification of Messages Active Attacks (4) Denial of Service • Active attacks try to alter system resources or affect their operation – Modification of data, or creation of false data • Four categories – Masquerade – Replay – Modification of messages – Denial of service: preventing normal use • A specific target or entire network • Difficult to prevent – The goal is to detect and recover Security Service – Enhance security of data processing systems and information transfers of an organization – Intended to counter security attacks – Using one or more security mechanisms – Often replicates functions normally associated with physical documents • Which, for example, have signatures, dates; need protection from disclosure, tampering, or destruction; be notarized or witnessed; be recorded or licensed Security Services • X.800: “a service provided by a protocol layer of communicating open systems, which ensures adequate security of the systems or of data transfers” • RFC 2828: “a processing or communication service provided by a system to give a specific kind of protection to system resources” Security Services (X.800) • Authentication - assurance that communicating entity is the one claimed – have both peer-entity & data origin authentication • Access Control - prevention of the unauthorized use of a resource • Data Confidentiality –protection of data from unauthorized disclosure • Data Integrity - assurance that data received is as sent by an authorized entity • Non-Repudiation - protection against denial by one of the parties in a communication • Availability – resource accessible/usable Security Mechanism • Feature designed to detect, prevent, or recover from a security attack • No single mechanism that will support all services required • However one particular element underlies many of the security mechanisms in use: – Cryptographic techniques • Hence our focus on this topic Security Mechanisms (X.800) • Specific security mechanisms: – Encipherment, digital signatures, access controls, data integrity, authentication exchange, traffic padding, routing control, notarization • Pervasive security mechanisms: – Trusted functionality, security labels, event detection, security audit trails, security recovery Model for Network Security Model for Network Security • Using this model requires us to: 1. Design a suitable algorithm for the security transformation 2. Generate the secret information (keys)) used by the algorithm 3. Develop methods to distribute and share the secret information 4. Specify a protocol enabling the principals to use the transformation and secret information for a security service Model for Network Access Security Model for Network Access Security • using this model requires us to: 1. Select appropriate gatekeeper functions to identify users 2. Implement security controls to ensure only authorised users access designated information or resources Cryptography Can characterize cryptographic system by: Type of encryption operations used •Substitution •Transposition •Product Number of keys used •Single-key or private •Two-key or public Way in which plaintext is processed •Block •Stream Cryptanalysis Objective to recover key not just message General approaches: Cryptanalytic attack Brute-force attack Cryptanalytic Attacks Ciphertext only Only know algorithm & ciphertext, is statistical, can identify plaintext Known plaintext Know/suspect plaintext & ciphertext Chosen plaintext Select plaintext and obtain ciphertext Chosen ciphertext Select ciphertext and obtain plaintext Chosen text Select plaintext or ciphertext to en/decrypt Cipher Strength Unconditional security • No matter how much computer power or time 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 (e.G. Time needed for calculations is greater than age of universe), the cipher cannot be broken Brute Force Search Always possible to simply try every key Most basic attack, exponential in key length Assume either know / recognise plaintext Key Size (bits) Number of Alternative Time required at 1 Time required at 106 Keys decryption/µs decryptions/µs 32 232 = 4.3 109 231 µs = 35.8 minutes 2.15 milliseconds 56 256 = 7.2 1016 255 µs = 1142 years 10.01 hours 128 2128 = 3.4 1038 2127 µs = 5.4 1024 years 5.4 1018 years 168 2168 = 3.7 1050 2167 µs = 5.9 1036 years 5.9 1030 years 26 characters 26! = 4 1026 2 1026 µs = 6.4 1012 years 6.4 106 years (permutation) Classical Substitution Ciphers Where letters of plaintext are replaced by other letters or by numbers or symbols Or if plaintext is viewed as a sequence of bits, then substitution involves replacing plaintext bit patterns with ciphertext bit patterns Caesar Cipher Earliest known substitution cipher By julius caesar First attested use in military affairs Replaces each letter by 3rd letter on Example: • Meet me after the toga party • Phhw ph diwhu wkh wrjd sduwb Cryptanalysis of Caesar Cipher Only have 26 possible ciphers A maps to A,B,..Z Could simply try each in turn A brute force search Given ciphertext, just try all shifts of letters Monoalphabetic Cipher Rather than just shifting the alphabet Could shuffle (permute) the letters arbitrarily Each plaintext letter maps to a different random ciphertext letter Hence key is 26 letters long Plain: abcdefghijklmnopqrstuvwxyz Cipher: DKVQFIBJWPESCXHTMYAUOLRGZN Plaintext: ifwewishtoreplaceletters Ciphertext: WIRFRWAJUHYFTSDVFSFUUFYA Monoalphabetic Cipher Security Key size is now 25 characters… Now have a total of 26! = 4 x 1026 keys With so many keys, might think is secure But would be !!!Wrong!!! Problem is language characteristics Language Redundancy and Cryptanalysis Human languages are redundant E.G., "Th lrd s m shphrd shll nt wnt" Letters are not equally commonly used In english E is by far the most common letter followed by T,R,N,I,O,A,S Other letters like Z,J,K,Q,X are fairly rare Have tables of single, double & triple letter frequencies for various languages English Letter Frequencies English Letter Frequencies Sorted Relative Frequencies 14.000 12.000 10.000 8.000 6.000 4.000 2.000 0.000 ETAO INSHRDLCUMWFGYPBVKJXQZ Playfair Cipher Not even the large number of keys in a monoalphabetic cipher provides security One approach to improving security was to encrypt multiple letters The playfair cipher is an example Invented by charles wheatstone in 1854, but named after his friend Baron Playfair Playfair Key Matrix A 5X5 matrix of letters based on a keyword Fill in letters of keyword (sans duplicates) Fill rest of matrix with other letters Eg. Using the keyword MONARCHY M O N A R C H Y B D E F G I/J K L P QS T U V WX Z Encrypting

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    449 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us