Docsity

Decentralized Information Flow Control: A Model for Safe and Flexible Data Sharing, Study notes of Computer Science

Partial preview of the text

Download Decentralized Information Flow Control: A Model for Safe and Flexible Data Sharing and more Study notes Computer Science in PDF only on Docsity!

“Complete, Safe Information

Flow with Decentralized Labels”

Andrews C. Myers and Barbara Liskov (MIT) Presenters : Wilfred Glover-Akpey and Anuj Sawani

Background

 “A Decentralized Model for Information Flow Control”, Andrew C. Myers and Barbara Liskov a new model for controlling information flow in systems with mutual distrust and decentralized authority. model allows users to share information with distrusted code The model improves on existing multilevel security models

CONTRIBUTION

 They extend the model to allow safe re-labeling that the previous work does not support.  This work defines a model that enables them to know which re-labeling is legal.  They define a rule for static checking and are also able to prove that it is both sound and complete for all safe re-labeling that it allows.  Label checking and label inference are shown to be easy and efficient when using this newly defined rule.

Decentralized Label Model

 What is it?  Labels allows individual owners of information to express their own policies.  Owners are principals.  Some principals are authorized to act for other principals.  Every value used or computed in a program execution has an associated label.Label  a set of components, each of which expresses a policy for a single owner.  A set of flows; a flow is an (owner, reader ) pair.  Policy – a set of readers permitted by the owner to read the data.  Principal hierarchy – the acts-for relations between principals in the system.

The Patient/Doctor Example (continued)

Related Work

 “Lattice Model of Information flow” , Bell, LaPadula and Denning. – early work  “(ORAC) model” by C. McCollum et al, – dynamically checked.  “The Chinese wall policy”, Brewer & Nash, etc – Complex aggregate policies, & others.  “Certification of Programs for Information flow”, by Dorothy and Peter Denning,– static analysis of security guarantees and others.

 Microsoft Word-based macro virus
 Circumvent poor program policy

 Uses VB script extensions

 Spreads via Emails – 1.2 billion affected
 Solution : Language-based security to
prevent malicious information flow

Melissa Virus

Formal model for labels

 L = { o

1

: r

1

, r

2

; o

2

:r

2

, r

3

 Label – set of components
 Each component – a policy for a single
owner

component Owner (value) Readers (variables)

The Label - Set of Flows

 Information flow denoted by ( o K , r )  Flow set constraints  Reader Constraint  If flow contains (o, r) and r’ acts-for r, then set contains (o, r’)  Owner Constraint  If flow contains (o, r) and o’ acts-for o, then set contains (o’, r)  Label’s intepretation – Function X  Maps a label to a set of flows  Owner constraint reader constraint

Sound and Complete Relabeling

 A reader may be dropped from some owner’s reader set.  A new owner may be added to the label, with an arbitrary reader set.  A reader may be added as long as it can act for some member of the reader set.  An owner may be replaced by an owner that acts for it.

No New
Flows Added

Static vs Dynamic Checking

 Consider code  ( b more restrictive than x)  Run-time Check  Case 1 : b = false  Program continues  Case 2 : b = true  Program aborts (type check fails)  Implicit flow  Compile-time Check  Failure will not give any info about x or b. x=0; if (b==1) x=1;

Static Checking Definitions of Join and Meet  Join  Result of a computation (such as adding two numbers)  Concatenation of all components  Least Restrictive Upper Bound  Meet  Useful for automatic label inference  Join of all pair-wise components  Most Restrictive Lower Bound