






















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























































































Practical Principles for Computer Security
B. W. Lampson
2 August 2006
Butler Lampson
Marktoberdorf
August 2006
Practical Principles for Computer Security
B. W. Lampson
2 August 2006
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
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
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
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
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
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
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
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
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
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
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
Alice
at
Intel
, working on
Atom
, connects to
Spectra
Atom’s web page, with SSL Chain of responsibility:
SSL
temp
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
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 #