Docsity

Practical Principles for Computer Security: Authentication and Principals, Papers of Cryptography and System Security

Partial preview of the text

Download Practical Principles for Computer Security: Authentication and Principals and more Papers Cryptography and System Security in PDF only on Docsity!

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Practical Principles for Computer Security

Butler Lampson

Marktoberdorf

August 2006

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Outline

Introduction: what is security?Principals, the “speaks for” relation, and chains ofresponsibilitySecure channels and encryptionNames and groupsAuthenticating systemsAuthorizationImplementation

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Elements of Security

Policy

:^

Specifying

security

What is it supposed to do?

Mechanism

Implementing

security

How does it do it?

Assurance

Correctness

of security

Does it really work?

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Abstract Goals for Security

Secrecy

controlling who gets to read information

Integrity

controlling how information changes orresources are used

Availability

providing prompt access to informationand resources

Accountability

knowing who has had access toinformation or resources

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Vulnerabilities

Vulnerabilities

Bad (buggy or hostile)

programs

Bad (careless or hostile)

people

giving instructions to good programs

Bad guys corrupting or eavesdropping on^ communications

Threats

Adversaries that can and want to exploitvulnerabilities

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Why We Don’t Have “Real” Security

A. People don’t buy it

Danger is small, so it’s OK to buy features instead.

Security is expensive.

Configuring security is a lot of work.Secure systems do less because they’re older.

Security is a pain.

It stops you from doing things.Users have to authenticate themselves.

B. Systems are complicated, so they have bugs.

Especially the configuration

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

ELEMENTS OF SECURITY

Policy

:^

Specifying

security

What is it supposed to do?

Mechanism

Implementing

security

How does it do it?

Assurance

Correctness

of security

Does it really work?

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Specify: Policies and Models

Policy

— specifies the whole system informally.

Secrecy

Who can read information?

Integrity

Who can change things, and how?

Availability

How prompt is the service?

Model

—specifies just the computer system, but does so

precisely.

Access control

model

guards control accessto resources.

Information flow

model

classify information,prevent disclosure.

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

13

Information flow model

(Mandatory security)

A lattice of labels for data:

unclassified

secret

top secret

public

personal

medical

financial

label(

f

x

)) = max(label(

f

), label(

x

Labels can keep track of data properties:

how secret

Secrecy

how trustworthy

Integrity

When you use (release or act on) the data, user needs a

clearance

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Access Control Model

Guards control access to valued resources.

Reference

monitor

Object

Do

operation

Resource

Principal

Guard

Request

Source

Audit

log

Authentication

Authorization

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

16

Access Control Rules

Rules control the operations allowed for each principal and object.

Principal

may do

Operation

on

Object

Taylor

Read

File “

Raises

Lampson

Send “

Hello

Terminal

23

Process

1274

Rewind

Tape unit

7

Schwarzkopf

Fire three shots

Bow gun

Jones

Pay invoice

432

Account

Q

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Mechanisms—The Gold Standard

Authenticating

principals

Mainly people, but also channels, servers, programs(encryption makes channels, so key is a principal)

Authorizing

access

Usually for

groups

, principals that have some

property, such as “Microsoft employee” or “type-safe” or “safe for scripting”

Auditing Assurance

Trusted computing base

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

19

Chain of responsibility

Alice

at

Intel

, working on

Atom

, connects to

Spectra

Atom’s web page, with SSL Chain of responsibility:

K

SSL

K

temp

K

Alice

Alice@Intel

Atom@Microsoft

Spectra

says

K

SSL

says

says

Alice’s smart card

Alice’s login

system

Spectraweb page

K

temp

Alice

@Intel

Atom

@Microsoft

Microsoft

Intel

K

Alice

Spectra

A

CL

Practical Principles for Computer Security

B. W. Lampson

2 August 2006

Principals

Authentication:

Who sent a message?

Authorization:

Who is trusted?

Principal — abstraction of “who”:

People

Lampson, Taylor

Machines

VaxSN12648, Jumbo

Services

SRC-NFS, X-server

Groups

SRC, DEC-Employees

Roles

Taylor

as

Manager

Joint authority

Taylor

and

Lampson

Weakening

Taylor

or

UntrustedProgram

Channels

Key #