toward a mathematical model of computer security gina duncanson kevin jonas ben lange john...

42
Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Upload: anissa-preston

Post on 24-Dec-2015

223 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Toward A Mathematical Model of Computer Security

• Gina Duncanson

• Kevin Jonas

• Ben Lange

• John Loff-Peterson

• Ben Neigebauer

Page 2: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Introduction

• Computer security issues are a part of our daily life

• Model a secure computer system

Page 3: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Scope

• Define a secure system

• Use a practical example

• State Unwinding Theorem

Page 4: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Modeling a Computer System

A system M can consist of:

• a set S of STATES, where s0 is an initial state

• a set D of domains

• a set A of actions

• a set O of outputs

Page 5: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

And Now...

Page 6: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Practical Example

• Today I will be talking about how one can apply the model of security that is explained in the paper we researched.

Page 7: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Defining M

World Wide Web sites consists of three basic components:– Web Server

– TCP/IP Connection

– Web Browser Client

Page 8: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Defining S

• Web Servers always have a finite state. Generally a server travels through a cycle of states.

• s0 is wait mode on a web server.

Page 9: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Defining D

• A domain is a defined section of a system. All the actions of a system occur within specified domains.

• This means that we can talk about actions as they relate to a client or web server’s computer.

Page 10: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Defining A

• An action is similar to a verb. Two example actions include:– A Client Inserting a

URL

– A Server Processing one Code Statement

Page 11: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Defining O

• Outputs are the immediate result of an action. When looking at a web site an output is:– A web server sending

back a confirmation message that it exists.

– The result of one code statement.

Page 12: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Putting it all together

• In order for all of these events to fit together, there are several dependencies between S, D, A, & O.

Page 13: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Modeling a Computer System

A system M can consist of:

• function step: S A S, where

step(sn , a) denotes the next state of the system after applying action a

Page 14: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Modeling a Computer System

A system M can consist of:

• function output: S A O, where

output(s,a) denotes the result returned by

the action a

• Example: “write” command to file

Page 15: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Modeling a Computer System

A system M can consist of:

• function run: S A* S

• Example:run(s,) = s, where is an empty sequence of actions

Page 16: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Terminology

STATES: use the letters s,t

ACTIONS:use the letters a,b

SEQUENCES OF ACTIONS: use Greek letters ,DOMAIN:

use the letters u,v,w

Page 17: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Communication

Two domains u,v communicate if there is an information flow channel between them.

Page 18: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Definition

• Security Policy:

A set of rules defining what domains can communicate.

Specified by a reflexive relation:

on a domain D

Page 19: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Definition

• Security:

A system is secure if the given security policy of the system completely defines all possible communication channels.

Page 20: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Security

• 2 ASSUMPTIONS:– set of security domains {u,v}– policy that restricts allowable flow of

information among the domains above

Page 21: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

And Now...

Page 22: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Noninterference

• The idea of noninterference is really rather simple: a security domain u is non-interfering with domain v if no action performed by u can influence subsequent outputs seen by v.

Page 23: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Intransitive Noninterference

• Let u not see v but u see x and x see v where u,v, and x are domains. This is an example of intransitive noninterference.

• In short, intransitive noninterference means there is no direct communication between u and v.

Page 24: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Intransitive Noninterference

Page 25: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

And Now...

Page 26: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Definition ~ purge

purge v( , )purge a v( , )

if dom(a) interferes with v

otherwise

),( vpurge purge v( , )

purge a v a purge v( , ) ( , )

purge a v purge v( , ) ( , )

Page 27: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Security

• Security is identified by:

output run s a

output run s purge dom a a

( ( , ), )

( ( , ( , ( ))), )0

0

Page 28: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Restating the Expressions

)),,(( 0 asrunoutput

SAdo *:

OAAtest *:

),()( 0 srundo

)),((),( adooutputatest

Page 29: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Security

• Security is now identified by:

))),(,((),( aadompurgetestatest

Page 30: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

View-Partitioned

• View -Partitioned

• Equivalence Relation

• Output Consistent

Page 31: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

And Now...

Page 32: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Test and Do

Test and do are abbreviations of frequently used expressions

Then we say that a system is secure for policy

),()( 0 srundo

)),((),( adooutputatest

))),(,((),( aadompurgetestatest

Page 33: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Output Consistency

A system M is view-partitioned if, for each domain,

there is an equivalence relation on S

These equivalence relations are said to be output

consistent if

Du u

~

),(),(~)(

atoutputasoutputtsadom

The output after executing action a is the for the states s and t, so s and t are equivalent views

Page 34: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Views

For an output consistent system, securityis achieved if “views" are unaffected.Let be a policy and M a view partitioned, output consistent system such that,

This means that if you perform sequence it is equivalent to executing the purged version

Then M is secure for

)),((~)( upurgedodou

Page 35: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Views

Proof:

Setting u = dom(a) in the statement of the lemma gives

and now substituting the u=dom(a) in for s and t, output consistency provides

)))(,((~)()(

adompurgedodoadom

)))),(,((()),(( aadompurgedooutputadooutput

Page 36: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Views

But this is simply

Which is the definition of security for

Listed before

))),(,((),( aadompurgetestatest

Page 37: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Unwinding Theorem

Why is the unwinding theorem important?

• It provides a basis for practical methods for verifying systems that enforce noninterference policies

• Serves to relate noninterference policies to access control mechanisms.

Page 38: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Unwinding Theorem

What is the Unwinding Theorem?

It is hard to work with sequences of actions. The unwinding theorem states that if the security policy holds for each action, then it holds for the sequence.

Page 39: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Unwinding Theorem

More Formally

Let be a policy and M a view partitioned system that is:

• output consistent

• step consistent

• locally respects

Then M is secure for

Page 40: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Questions

Any Questions??

Page 41: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

References

• “Noninterference, Transitivity, and Channel-Control Security Policies” by John Rushby

• “Problems in Computer Security” by Auerbach, Kerbel, Megraw, Osburn, Shetty with mentor John Hoffman

Page 42: Toward A Mathematical Model of Computer Security Gina Duncanson Kevin Jonas Ben Lange John Loff-Peterson Ben Neigebauer

Thank You

• Dr. Steve Decklemen