Docsity

Encryption & Security: Cryptographic Systems, Symmetric vs Asymmetric, DES, RSA, Kerberos,, Slides of Advanced Operating Systems

Partial preview of the text

Download Encryption & Security: Cryptographic Systems, Symmetric vs Asymmetric, DES, RSA, Kerberos, and more Slides Advanced Operating Systems in PDF only on Docsity!

CIS 620

Advanced Operating Systems

Lecture 10 – Security

What do we Need to Protect?

  • Data
    • Information we keep on computers (product design, financial records, personnel data)
    • Lost time, lost sales, lost confidence
  • Resources
    • Unauthorized use of computer time & space
  • Reputation
    • Misrepresentation, forgery, negative publicity

Basic Security Attacks

  • Intrusion - unauthorized access and use of systems
  • Denial of service - an attack aimed at preventing use of company computers - email bomb or flooding/Internet worm - disabled, rerouted or replaced services
  • Information theft - network taps, database access, hacking info sites to give out more info or to wrong parties

Technical Safeguards

  • Security Services
    • Authentication (entity, data origin)
    • Access control (prevent unauthorized access)
    • Confidentiality (disclosure, encryption)
    • Data integrity (value of data item)
    • Non-repudiation (falsely denying a transaction)
    • Auditing (tracking attempted object access)

Password Security

  • How can passwords be stolen?
    • Login spoofing
    • Password sniffing
    • Keystroke logging
    • Dictionary or brute force attack
      • Use CAPTCHA or lock out after failed attempts
  • In order to protect passwords, they are not

stored directly on the computer.

  • Instead we use a cryptographic hash function and store the hash of the password

Cryptographic Hash Functions

  • Cryptographic hash functions
    • Used for stored passwords
    • The functions is one-way – reversing it is not computationally feasible
    • The function is effectively one-to-one (hard to find two passwords that hash to the same value)
    • Input is variable length, output is fixed length (a digest)

Hash Functions : MD

  • The 16 iterations during the first round in a phase in

MD5.

Linux Password Security

  • UNIX passwords (hashed) were traditionally

stored in the file /etc/passwd

  • This file was readable by everyone
  • In order to increase security, the password file

is “shadowed” (password stored in file

/etc/shadow which is readable only by root)

The use of salt to defeat precomputation of encrypted passwords.

Linux Password Security

Linux Password Security

  • The use of precomputation involves a space-

time tradeoff (we use a lot of space for the

table, but we can look up a hash quickly)

  • If the hash of the salted password becomes too large, the table required would be much too big
  • So trade off time versus space using a rainbow file
    • We will need longer to look up a hash, but the table is smaller

Firewall Capabilities

  • Focus security decisions - single point to

leverage control

  • Enforce security policy - minimize exceptions
  • Log Internet activity - analysis
  • Limit exposure - separate sensitive areas of

one network from another or outside world

Firewall Limitations

• Can’t protect against

  • malicious insiders
  • connections that don’t go through it
  • new threats
  • viruses
    • scans for source & destination addresses & port numbers, not details of data

Types of Firewalls (cont.)

  • Hardened Firewall Host (hardware)
    • Halts unauthorized users
    • Concentrates security, hides internal system names, centralizes & simplifies net management
  • Proxy Server (software)
    • Deals with external server requests on behalf of internal clients
    • May limit certain HTTP methods (CGI or Java applets)

Common Solutions

  • Screened Host
    • Host attached to internal network using separate router
    • Internal host is only internal system that net hosts can connect to
    • Packet filtering configuration determines if internal hosts may connect to other external hosts

This image cannot currently be displayed.

Firewall Screening Router

Internet

Internal Network