Docsity

Class Notes for Abstract - Computer Security | CSE 543, Study notes of Computer Science

Partial preview of the text

Download Class Notes for Abstract - Computer Security | CSE 543 and more Study notes Computer Science in PDF only on Docsity!

CSE 543 - Computer Security

Lecture 21 - IP Security

November 13, 2005

URL: http://www.cse.psu.edu/~tjaeger/cse543-f07/

Abstract

  • One sentence each for:
  • Area
    • Topic of work
  • Problem
    • What’s the issue?
  • Solution
    • How do you propose to address the problem?
    • Experimental insight
  • Methodology
    • What’s the experiment?
  • Results
    • What did you find?
  • Take Away: Lesson

Introduction

One paragraph each on:

Area

More elaborate

Problem

Scenario

Why is problem not solved

Brief of related work or the challenge

Proposed insight (“In this paper, ...”)

What is the experiment?

Contributions -- What will the reader learn?

Intro Example

David D. Clark* (^) - David Il. Wilson*’e

* Senior Research Scientist, MIT Laboratory for Computer Sciencf

** (^) Director, I^5 n^4 fo^5 rmaTechnologytion SecurSitqy uare,^ ServCiacemsbl ridge,^ ErnstM A^ & 02 w^1 h^3 in^9 neY 2000 National City Center, Cleveland, OH 44114 ABSTRACT Most (^) discussions of computer security focus on control of disclosure. In Particular, the U.S. Department of Defense has developed a set of criteria for computer mechanisms to (^) provide control (^) of classified (^) information. However, (^) for that core (^) of data processing concerned (^) with (^) business operation (^) and control of (^) assets, (^) the primary (^) security concern (^) is data integrity. This paper presents a policy for data integrity based on commercial data processing practices, and compares the mechanisms needed for (^) this policy with the mechanisms needed to enforce the (^) lattice model (^) for (^) information security. We argue that a lattice model is not (^) sufficient to (^) characterize integrity policies, (^) and that distinct mechanisms (^) are (^) needed to (^) Control disclosure and to provide integrity. INTRODUCTION Any discussion of mechanisms^ to enforce computer security must involve a particular security^ policy^ that specifies the security goals the system must meet and the threats it must resist. For example, the (^) high-level security goals most often specified are that the system (^) should prevent unauthorized disclosure or theft of information, should prevent unauthorized modification of information, and^ should prevent denial of service. Traditional threats that^ must^ be^ countered^ are system penetration by (^) unauthorized persons, unauthorized actions by authorized persons, and abuse of special privileges by systems programmers and facility operators. These threats may be intentional or accidental. Imprecise or conflicting assumptions about desired policies often confuse discussions of computer (^) security mechanisms. In particular, in comparing commercial (^) and military systems, a misunderstanding about the^ underlying policies the two are trying to enforce often leads^ to^ difficulty^ in understanding the motivation for certain mechanisms that have been developed and espoused by one 9 rouP or the^ other. This paper discusses the^ military security policy,^ presents^ a^ security policy valid^ in^ many^ commercial situations, and^ then^ compares the^ two policies to reveal important differences between them. The military security policy we are referring to is a set of policies that regulate the^ control^ of^ classified information within the government. This well-understood, high-level information security policy is that all classified information shall^ be^ protected^ from unauthorized disclosure or declassification. Mechanisms^ used^ to enforce this^ policy^ include^ the mandatory labeling of all documents with their classification level, and the assigning of user^ access^ categories based on the^ investigation (or “clearing”) of all persons permitted to use this information. During the last 15 to 20 years, considerable effort has gone into determining which mechanisms should be used to enforce this policy within a computer. Mechanisms such as identification and^ authorization^ of users, generation of audit information, and association of access control labels with all information objects are well understood. This^ policy^ is^ defined^ in the Department of Defense Trusted computer System Evaluation Criteria [DOD], often called the “Orange Book” from the color^ of^ its^ cover^.^ It articulates a standard for maintaining confidentiality of information^ and^ is, for the purposes of our^ paper , the “military” information^ security^ policy. The term “military” is perhaps not the most descriptive characterization of this policy; it is relevant to any situation in which access rules for sensitive material must be enforced. We use the term ‘military” as a concise tag which at least captures the origin of the policy. Area: Security Policy Problem: Motivations Problem: MLS

Conclusion

  • Problem
  • What was the problem?
  • Solution
  • What was the insight and why was it expected to work?
  • Method and Results
  • What did you find?
  • Take away: Lesson
  • Future work

Communications Security

Harden the communication against mal-intent ...

IPsec (not IPSec!)

Host level protection service

IP-layer security (below TCP/UDP)

De-facto standard for host level security

Developed by the IETF (over many years)

Now available in most operating systems

• E.g., Available in XP, OS X, Linux, BSD*, …

Implements a wide range of protocols and cryptographic

algorithms

Provides ….

Confidentiality, integrity, authenticity, replay protection,

DOS protection

IPsec Protocols and the stack

IPsec puts the two main

protocols in between IP and

the other protocols

AH - authentication header

ESP - encapsulating security

payload

Tunnel vs. transport?

Key management/authentication

Policy

Other function provided by

external protocols and

architectures

FTP SMTP

TCP

HTTP

AH ESP

IP

UDP

IPsec Protocol Suite

(IKE) Internet Key Exchange (AH) Authentication Header (ESP) Encapsulating Security Payload (SPS) Security Policy System Manual Policy/ Configuration Managent Key Management Packet Processing

Internet Key Exchange (IKE)

Built on of ISAKMP framework

Two phase protocol used to establish parameters

and keys for session

Phase 1: negotiate parameters, authenticate peers,

establish secure channel

Phase 2: Establish a security association (SA)

The details are unimaginably complex

The SA defines algorithms, keys, and policy used

to secure the session

CSE543 Computer and Network Security - Fall 2007 - Professor Jaeger Page

Authentication Header (AH)

  • Authenticity and integrity
    • via HMAC
    • over IP headers and data
  • Advantage: the authenticity of data and IP header information is protected - it gets a little complicated with mutable fields, which are supposed to be altered by network as packet traverses the network - some fields a immutable , and are protected
  • Confidentiality of data is not preserved
  • Replay protection via AH sequence numbers
    • note that this replicates some features of TCP (good?) 16

IPsec AH Packet Format

IPv4 Header IPv4 AH Packet Format Next Header Length Reserved Security Parameter Index Authentication Data (variable number of 32-bit words) AH Header Format Authentication Header Higher Level Protocol Data

IPsec Authentication

  • SPI: (spy) identifies the security association for this packet
    • Type of crypto checksum, how large it is, and how it is computed
    • Really the policy for the packet
  • Authentication data
    • Hash of packet contents include IP header as as specified by SPI
    • Treat transient fields (TTL, header checksum) as zero
  • Keyed MD5 Hash is default Key Headers and data being sent Key Secret Key MD5 Hash

CSE543 Computer and Network Security - Fall 2007 - Professor Jaeger Page

Encapsulating Security Payload (ESP)

  • Confidentiality, authenticity and integrity
    • via encryption and HMAC
    • over IP payload (data)
  • Advantage: the security manipulations are done solely on user data - TCP packet is fully secured - simplifies processing
  • Use “null” encryption to get authenticity/integrity only
  • Note that the TCP ports are hidden when encrypted
    • good: better security, less is known about traffic
    • bad: impossible for FW to filter/traffic based on port
  • Cost: can require many more resources than AH 20