April 8, 2004ECS 235Slide #1 Overview Safety Question HRU Model Take-Grant Protection Model SPM, ESPM –Multiparent joint creation Expressive power Typed.

Slides:



Advertisements
Similar presentations
© 2004 Ravi Sandhu The Schematic Protection Model (SPM) Ravi Sandhu Laboratory for Information Security Technology George Mason University.
Advertisements

Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Complexity Classes: P and NP
Variants of Turing machines
Lecture 24 MAS 714 Hartmut Klauck
1 1 -Access Control Foundational Results. 2 2 Preliminaries Undecidability The Halting Problem The Turing Machine.
Representing Relations Using Matrices
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Prof. Busch - LSU1 Decidable Languages. Prof. Busch - LSU2 Recall that: A language is Turing-Acceptable if there is a Turing machine that accepts Also.
Complexity ©D.Moshkovitz 1 Turing Machines. Complexity ©D.Moshkovitz 2 Motivation Our main goal in this course is to analyze problems and categorize them.
July 1, 2004Computer Security: Art and Science © Matt Bishop Slide #3-1 Chapter 3: Foundational Results Overview Harrison-Ruzzo-Ullman result.
April 6, 2004ECS 235Slide #1 Chapter 13: Design Principles Overview Principles –Least Privilege –Fail-Safe Defaults –Economy of Mechanism –Complete Mediation.
April 13, 2004ECS 235Slide #1 Expressive Power How do the sets of systems that models can describe compare? –If HRU equivalent to SPM, SPM provides more.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #3-1 Chapter 3: Foundational Results Overview Harrison-Ruzzo-Ullman result –Corollaries.
ITIS 3200: Introduction to Information Security and Privacy Dr. Weichao Wang.
1 Decidability continued. 2 Undecidable Problems Halting Problem: Does machine halt on input ? State-entry Problem: Does machine enter state halt on input.
Finite State Machines Data Structures and Algorithms for Information Processing 1.
Applied Discrete Mathematics Week 10: Equivalence Relations
Section 11.4 Language Classes Based On Randomization
1 September 14, 2006 Lecture 3 IS 2150 / TEL 2810 Introduction to Security.
CS526: Information Security Prof. Cristina Nita-Rotaru September 9, 2003 Protection Models.
Zvi Kohavi and Niraj K. Jha 1 Capabilities, Minimization, and Transformation of Sequential Machines.
Csci5233 computer security & integrity 1 Access Control Matrix.
IS-2150/TEL-2810: Introduction of Computer Security1 September 7, 2005 Introduction to Computer Security Access Control Matrix Take-grant model.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
Slide #2-1 Chapter 2: Access Control Matrix Overview Access Control Matrix Model Protection State Transitions –Commands –Conditional Commands.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 6 September 27, 2011 Take Grant Model.
Slide #3-1 Chapter 3: Foundational Results Overview Harrison-Ruzzo-Ullman result –Corollaries.
Slide #2-1 Access Control Matrix and Safety Results CS461/ECE422 Computer Security I, Fall 2009 Based on slides provided by Matt Bishop for use with Computer.
Decidability or Impossibility? 02b = a bit of boring theory Nicolas T. Courtois - University College of London.
Introduction to Computer Security Review
College Algebra Acosta/Karwoski. CHAPTER 1 linear equations/functions.
The Church-Turing Thesis Chapter 3 Giorgi Japaridze Theory of Computability.
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
© 2006 Pearson Addison-Wesley. All rights reserved 14 A-1 Chapter 14 Graphs.
Other Access Control Models
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
Turing Machine. Turing machine The mathematical models (FAs, TGs, PDAs) that have been discussed so far can decide whether a string is accepted or not.
2/1/20161 Computer Security Foundational Results.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 4 September 18, 2012 Access Control Model Foundational Results.
Great Theoretical Ideas in Computer Science for Some.
Courtesy of Professors Chris Clifton & Matt Bishop INFSCI 2935: Introduction of Computer Security1 September 23, 2004 Introduction to Computer Security.
July 1, 2004Computer Security: Art and Science © Matt Bishop Slide #2-1 Chapter 2: Access Control Matrix Overview Access Control Matrix Model.
Overview of the theory of computation Episode 3 0 Turing machines The traditional concepts of computability, decidability and recursive enumerability.
COMPSCI 102 Introduction to Discrete Mathematics.
INFSCI 2935: Introduction of Computer Security1 September 13, 2005 Introduction to Computer Security Lecture 3 Take Grant Model (Cont) HRU Schematic Protection.
July 1, 2004Computer Security: Art and Science © Matt Bishop Slide #3-1 Chapter 3: Foundational Results Overview Harrison-Ruzzo-Ullman result.
November 1, 2004Introduction to Computer Security © 2004 Matt Bishop Slide #2-1 Chapter 2: Access Control Matrix Overview Access Control Matrix Model Protection.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 5 Reducibility Some slides are in courtesy.
© 2004 Ravi Sandhu The Extended Schematic Protection Model (ESPM) Ravi Sandhu Laboratory for Information Security Technology George Mason.
September 10, 2012Introduction to Computer Security © 2004 Matt Bishop Slide #2-1 Chapter 2: Access Control Matrix Overview Access Control Matrix Model.
Chapters 11 and 12 Decision Problems and Undecidability.
GRAPHS Lecture 16 CS2110 Fall 2017.
IS 2150 / TEL 2810 Introduction to Security
Introduction to Computer Security Lecture 2
September 16, 2004 Introduction to Computer Security Lecture 3
IS 2150 / TEL 2810 Information Security & Privacy
Chapter 13: Design Principles
IS 2150 / TEL 2810 Introduction to Security
Expressive Power How do the sets of systems that models can describe compare? If HRU equivalent to SPM, SPM provides more specific answer to safety question.
Overview Safety Question HRU Model Take-Grant Protection Model
Computer Security: Art and Science, 2nd Edition
Computer Security Foundations
Outline Motivation Access Control Matrix Model
Turing Machines Complexity ©D.Moshkovitz.
IS 2150 / TEL 2810 Information Security & Privacy
Chapter 3: Foundational Results
Variants of Turing machines
IS 2150 / TEL 2810 Introduction to Security
Presentation transcript:

April 8, 2004ECS 235Slide #1 Overview Safety Question HRU Model Take-Grant Protection Model SPM, ESPM –Multiparent joint creation Expressive power Typed Access Matrix Model

April 8, 2004ECS 235Slide #2 What Is “Secure”? Adding a generic right r where there was not one is “leaking” If a system S, beginning in initial state s 0, cannot leak right r, it is safe with respect to the right r.

April 8, 2004ECS 235Slide #3 Safety Question Does there exist an algorithm for determining whether a protection system S with initial state s 0 is safe with respect to a generic right r? –Here, “safe” = “secure” for an abstract model

April 8, 2004ECS 235Slide #4 Mono-Operational Commands Answer: yes Sketch of proof: Consider minimal sequence of commands c 1, …, c k to leak the right. –Can omit delete, destroy –Can merge all creates into one Worst case: insert every right into every entry; with s subjects and o objects initially, and n rights, upper bound is k ≤ n(s+1)(o+1)

April 8, 2004ECS 235Slide #5 General Case Answer: no Sketch of proof: Reduce halting problem to safety problem Turing Machine review: –Infinite tape in one direction –States K, symbols M; distinguished blank b –Transition function  (k, m) = (k, m, L) means in state k, symbol m on tape location replaced by symbol m, head moves to left one square, and enters state k –Halting state is q f ; TM halts when it enters this state

April 8, 2004ECS 235Slide #6 Mapping A BCD… 1234 head s1s1 s2s2 s3s3 s4s4 s4s4 s3s3 s2s2 s1s1 A B C k D end own Current state is k

April 8, 2004ECS 235Slide #7 Mapping A BXD… 1234 head s1s1 s2s2 s3s3 s4s4 s4s4 s3s3 s2s2 s1s1 A B X D k 1 end own After  (k, C) = (k 1, X, R) where k is the current state and k 1 the next state

April 8, 2004ECS 235Slide #8 Command Mapping  (k, C) = (k 1, X, R) at intermediate becomes command c k,C (s 3,s 4 ) if own in A[s 3,s 4 ] and k in A[s 3,s 3 ] and C in A[s 3,s 3 ] then delete k from A[s 3,s 3 ]; delete C from A[s 3,s 3 ]; enter X into A[s 3,s 3 ]; enter k 1 into A[s 4,s 4 ]; end

April 8, 2004ECS 235Slide #9 Mapping A BXY 1234 head s1s1 s2s2 s3s3 s4s4 s4s4 s3s3 s2s2 s1s1 A B X Y own After  (k 1, D) = (k 2, Y, R) where k 1 is the current state and k 2 the next state s5s5 s5s5 own b k 2 end 5 b

April 8, 2004ECS 235Slide #10 Command Mapping  (k 1, D) = (k 2, Y, R) at end becomes command crightmost k,C (s 4,s 5 ) if end in A[s 4,s 4 ] and k 1 in A[s 4,s 4 ] and D in A[s 4,s 4 ] then delete end from A[s 4,s 4 ]; create subject s 5 ; enter own into A[s 4,s 5 ]; enter end into A[s 5,s 5 ]; delete k 1 from A[s 4,s 4 ]; delete D from A[s 4,s 4 ]; enter Y into A[s 4,s 4 ]; enter k 2 into A[s 5,s 5 ]; end

April 8, 2004ECS 235Slide #11 Rest of Proof Protection system exactly simulates a TM –Exactly 1 end right in ACM –1 right in entries corresponds to state –Thus, at most 1 applicable command If TM enters state q f, then right has leaked If safety question decidable, then represent TM as above and determine if q f leaks –Implies halting problem decidable Conclusion: safety question undecidable

April 8, 2004ECS 235Slide #12 Other Results Set of unsafe systems is recursively enumerable Delete create primitive; then safety question is complete in P-SPACE Delete destroy, delete primitives; then safety question is undecidable –Systems are monotonic Safety question for monoconditional, monotonic protection systems is decidable Safety question for monoconditional protection systems with create, enter, delete (and no destroy) is decidable.

April 8, 2004ECS 235Slide #13 Take-Grant Protection Model A specific (not generic) system –Set of rules for state transitions Safety decidable, and in time linear with the size of the system Goal: find conditions under which rights can be transferred from one entity to another in the system

April 8, 2004ECS 235Slide #14 System  objects (files, …) subjects (users, processes, …)  don't care (either a subject or an object) G H x G'apply a rewriting rule x (witness) to G to get G' G H * G'apply a sequence of rewriting rules (witness) to G to get G' R = { t, g, r, w, … } set of rights

April 8, 2004ECS 235Slide #15 Rules  t  t   take g   grant g        H H

April 8, 2004ECS 235Slide #16 More Rules create   remove     H H These four rules are called the de jure rules

April 8, 2004ECS 235Slide #17 Symmetry t  t     H 1. x creates (tg to new) v 2. z takes (g to v) from x 3. z grants (  to y) to v 4. x takes (  to y) from v  z v tg x g y   Similar result for grant

April 8, 2004ECS 235Slide #18 Islands tg-path: path of distinct vertices connected by edges labeled t or g –Call them “tg-connected” island: maximal tg-connected subject-only subgraph –Any right one vertex has can be shared with any other vertex

April 8, 2004ECS 235Slide #19 Initial, Terminal Spans initial span from x to y: x subject, tg-path between x, y with word in { t*g }  { } –x can give rights it has to y terminal span from x to y: x subject, tg-path between x, y with word in { t * }  { } –x can acquire any rights y has   

April 8, 2004ECS 235Slide #20 Bridges bridge: tg-path between subjects x, y, with associated word in { t*, t*, t*g t*, t*g t* } –rights can be transferred between the two endpoints –not an island as intermediate vertices are objects       

April 8, 2004ECS 235Slide #21 Example l p l u m v l w m x l y l s' m s m q t tt tr gg g islands{ p, u } { w } { y, s' } bridgesu, v, w; w, x, y initial spanp (associated word ) terminal spans's (associated word t)

April 8, 2004ECS 235Slide #22 canshare Predicate Definition: canshare(r, x, y, G 0 ) if, and only if, there is a sequence of protection graphs G 0, …, G n such that G 0 H * G n using only de jure rules and in G n there is an edge from x to y labeled r.

April 8, 2004ECS 235Slide #23 canshare Theorem canshare(r, x, y, G 0 ) if, and only if, there is an edge from x to y labeled r in G 0, or the following hold simultaneously: –There is an s in G 0 with an s-to-y edge labeled r –There is a subject x = x or initially spans to x –There is a subject s = s or terminally spans to s –There are islands I 1,…, I k connected by bridges, and x in I 1 and s in I k

April 8, 2004ECS 235Slide #24 Outline of Proof s has r rights over y s acquires r rights over y from s –Definition of terminal span x acquires r rights over y from s –Repeated application of sharing among vertices in islands, passing rights along bridges x gives r rights over y to x –Definition of initial span

April 8, 2004ECS 235Slide #25 Key Question Characterize class of models for which safety is decidable –Existence: Take-Grant Protection Model is a member of such a class –Universality: In general, question undecidable, so for some models it is not decidable What is the dividing line?

April 8, 2004ECS 235Slide #26 Schematic Protection Model Type-based model –Protection type: entity label determining how control rights affect the entity Set at creation and cannot be changed –Ticket: description of a single right over an entity Entity has sets of tickets (called a domain) Ticket is X/r, where X is entity and r right –Functions determine rights transfer Link: are source, target “connected”? Filter: is transfer of ticket authorized?

April 8, 2004ECS 235Slide #27 Link Predicate Idea: link i (X, Y) if X can assert some control right over Y Conjunction or disjunction of: –X/z  dom(X) –X/z  dom(Y) –Y/z  dom(X) –Y/z  dom(Y) –true

April 8, 2004ECS 235Slide #28 Examples Take-Grant: link(X, Y) = Y/g  dom(X)  X/t  dom(Y) Broadcast: link(X, Y) = X/b  dom(X) Pull: link(X, Y) = Y/p  dom(Y)

April 8, 2004ECS 235Slide #29 Filter Function Range is set of copyable tickets –Entity type, right Domain is subject pairs Copy a ticket X/r:c from dom(Y) to dom(Z) –X/rc  dom(Y) –link i (Y, Z) –  (Y)/r:c  f i (  (Y),  (Z)) One filter function per link function

April 8, 2004ECS 235Slide #30 Example f(  (Y),  (Z)) = T  R –Any ticket can be transferred (if other conditions met) f(  (Y),  (Z)) = T  RI –Only tickets with inert rights can be transferred (if other conditions met) f(  (Y),  (Z)) =  –No tickets can be transferred

April 8, 2004ECS 235Slide #31 Example Take-Grant Protection Model –TS = { subjects }, TO = { objects } –RC = { tc, gc }, RI = { rc, wc } –link(p, q) = p/t  dom(q)  q/t  dom(p) –f(subject, subject) = { subject, object }  { tc, gc, rc, wc }

April 8, 2004ECS 235Slide #32 Create Operation Must handle type, tickets of new entity Relation cancreate(a, b) –Subject of type a can create entity of type b Rule of acyclic creates:

April 8, 2004ECS 235Slide #33 Types cr(a, b): tickets introduced when subject of type a creates entity of type b B object: cr(a, b)  { b/r:c  RI } B subject: cr(a, b) has two parts –cr P (a, b) added to A, cr C (a, b) added to B –A gets B/r:c if b/r:c in cr P (a, b) –B gets A/r:c if a/r:c in cr C (a, b)

April 8, 2004ECS 235Slide #34 Non-Distinct Types cr(a, a): who gets what? self/r:c are tickets for creator a/r:c tickets for created cr(a, a) = { a/r:c, self/r:c | r:c  R}

April 8, 2004ECS 235Slide #35 Attenuating Create Rule cr(a, b) attenuating if: 1. cr C (a, b)  cr P (a, b) and 2. a/r:c  cr P (a, b)  self/r:c  cr P (a, b)

April 8, 2004ECS 235Slide #36 Safety Result If the scheme is acyclic and attenuating, the safety question is decidable

April 8, 2004ECS 235Slide #37 Expressive Power How do the sets of systems that models can describe compare? –If HRU equivalent to SPM, SPM provides more specific answer to safety question –If HRU describes more systems, SPM applies only to the systems it can describe

April 8, 2004ECS 235Slide #38 HRU vs. SPM SPM more abstract –Analyses focus on limits of model, not details of representation HRU allows revocation –SMP has no equivalent to delete, destroy HRU allows multiparent creates –SPM cannot express multiparent creates easily, and not at all if the parents are of different types because cancreate allows for only one type of creator

April 8, 2004ECS 235Slide #39 Multiparent Create Solves mutual suspicion problem –Create proxy jointly, each gives it needed rights In HRU: command multicreate(s 0, s 1, o) if r in a[s 0, s 1 ] and r in a[s 1, s 0 ] then create object o; enter r into a[s 0, o]; enter r into a[s 1, o]; end

April 8, 2004ECS 235Slide #40 SPM and Multiparent Create cancreate extended in obvious way –cc  TS  …  TS  T Symbols –X 1, …, X n parents, Y created –R 1,i, R 2,i, R 3, R 4,i  R Rules –cr P,i (  (X 1 ), …,  (X n )) = Y/R 1,1  X i /R 2,i –cr C (  (X 1 ), …,  (X n )) = Y/R 3  X 1 /R 4,1  …  X n /R 4,n

April 8, 2004ECS 235Slide #41 Example Anna, Bill must do something cooperatively –But they don’t trust each other Jointly create a proxy –Each gives proxy only necessary rights In ESPM: –Anna, Bill type a; proxy type p; right x  R –cc(a, a) = p –cr Anna (a, a, p) = cr Bill (a, a, p) =  –cr proxy (a, a, p) = { Anna/x, Bill/x }