2/1/20161 Computer Security Foundational Results.

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.
Variants of Turing machines
Lecture 24 MAS 714 Hartmut Klauck
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen Department of Computer Science University of Texas-Pan American.
1 COMP 382: Reasoning about algorithms Unit 9: Undecidability [Slides adapted from Amos Israeli’s]
1 1 -Access Control Foundational Results. 2 2 Preliminaries Undecidability The Halting Problem The Turing Machine.
Computability and Complexity 5-1 Classifying Problems Computability and Complexity Andrei Bulatov.
1 Introduction to Computability Theory Lecture15: Reductions Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Fall 2004COMP 3351 Undecidable problems for Recursively enumerable languages continued…
Costas Busch - RPI1 Undecidable problems for Recursively enumerable languages continued…
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.
Fall 2004COMP 3351 Reducibility. Fall 2004COMP 3352 Problem is reduced to problem If we can solve problem then we can solve problem.
1 Decidability continued. 2 Undecidable Problems Halting Problem: Does machine halt on input ? State-entry Problem: Does machine enter state halt on input.
Courtesy Costas Busch - RPI1 Reducibility. Courtesy Costas Busch - RPI2 Problem is reduced to problem If we can solve problem then we can solve problem.
CMSC 414 Computer (and Network) Security Lecture 10 Jonathan Katz.
1 Introduction to Computability Theory Lecture11: The Halting Problem Prof. Amos Israeli.
1 Reducibility. 2 Problem is reduced to problem If we can solve problem then we can solve problem.
ITIS 3200: Introduction to Information Security and Privacy Dr. Weichao Wang.
Chapter 4: A Universal Program 1. Coding programs Example : For our programs P we have variables that are arranged in a certain order: Y 1 X 1 Z 1 X 2.
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.
IS-2150/TEL-2810: Introduction of Computer Security1 September 7, 2005 Introduction to Computer Security Access Control Matrix Take-grant model.
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.
1 ISA 562 Internet Security Theory and Practice Midterm Exam Review.
Kleene’s Theorem Group No. 3 Presented To Mam Amina Presented By Roll No Roll No Roll No Roll No Group No. 3 Presented To Mam.
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.
12/13/20151 Computer Security Security Policies...
THEORY OF COMPUTATION Komate AMPHAWAN 1. 2.
 2005 SDU Lecture13 Reducibility — A methodology for proving un- decidability.
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.
Other Access Control Models
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 4 September 18, 2012 Access Control Model Foundational Results.
April 8, 2004ECS 235Slide #1 Overview Safety Question HRU Model Take-Grant Protection Model SPM, ESPM –Multiparent joint creation Expressive power Typed.
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.
© 2004 Ravi Sandhu The Extended Schematic Protection Model (ESPM) Ravi Sandhu Laboratory for Information Security Technology George Mason.
Recursively Enumerable and Recursive Languages. Definition: A language is recursively enumerable if some Turing machine accepts it.
Chapters 11 and 12 Decision Problems and Undecidability.
IS 2150 / TEL 2810 Introduction to Security
Institute for Cyber Security
PROPERTIES OF REGULAR LANGUAGES
Busch Complexity Lectures: Reductions
IS 2150 / TEL 2810 Introduction to Security
Reductions Costas Busch - LSU.
LIMITS OF ALGORITHMIC COMPUTATION
Introduction to Computer Security Lecture 2
September 16, 2004 Introduction to Computer Security Lecture 3
IS 2150 / TEL 2810 Information Security & Privacy
IS 2150 / TEL 2810 Introduction to Security
Decidable Languages Costas Busch - LSU.
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.
Undecidable problems:
Overview Safety Question HRU Model Take-Grant Protection Model
Computer Security Foundations
Advanced System Security
IS 2150 / TEL 2810 Information Security & Privacy
Chapter 3: Foundational Results
IS 2150 / TEL 2810 Introduction to Security
Computer Security Security Policies
IS 2150 / TEL 2810 Introduction to Security
IS 2150 / TEL 2810 Introduction to Security
Presentation transcript:

2/1/20161 Computer Security Foundational Results

2/1/20162 THE GENERAL QUESTION What does secure mean? How can one determine when a computer system is secure? Which policies are secure? What does secure mean?

2/1/20163 Reminder In our model a computer system is represented by a family of states: the set of all protection states P must be a subset of the set of authorized states Q if the system is to be secure. In the previous section we used a primitive, the ACM, to manage a protection system. Protection was in terms or rights and the ACM was the used to relate subjects to objects (also basic primitives). We also discussed protection state transitions and commands, which correspond to (cause) a sequence of state transitions.

2/1/20164 Security If the system dynamically evolves (S,O and A change) how do we guarantee that the system will not enter a state which is not secure (unauthorized). To start with suppose that the system does not have rights such as copy or own, and that the principle of attenuation of principle does not apply.

2/1/20165 Security – Leaking rights Let R be the set of generic (primitive) rights of the system, r  R and let A be the ACM. Definitions 1.If r  R is added to an element of A not already containing r, then r is said to be leaked. 2.Let s 0 be the initial protection state. a. If a system can never leak the right r  R then the system is safe with respect to r. b. If a system can leak r  R then the system is called unsafe with respect to r.

2/1/20166 Security – safe vs secure We use the term safe to refer to the (abstract) model. Secure will be used when referring to implementations. So secure implementations must be modeled on a safe system. Example: safe vs secure --see textbook

2/1/20167 Foundation theorems The model we shall use is based on protecting: — states, — the ACM and — a set of commands essentially the HRU model (discussed in the previous section). Safety question Does there exist an algorithm for determining whether a given protection system (with initial state s 0 ) is safe with respect to a generic right r ?

2/1/20168 Theorem 1 There exists an algorithm that will determine whether a given mono-operational protection system with initial protection state s 0 is safe with respect to a generic right. Proof: see textbook. A mono-operational command invokes a single primitive operation This whole section is a project topic for anybody who is interested in the foundations aspect of Computer Sercurity.

2/1/20169 Theorem 2 It is undecidable whether a given state of a given protection system is safe wrt a generic right. Proof --reduction to the halting problem. The proof is by contradiction. It is shown that an arbitrary Turing Machine can be reduced to the safety problem with the final state corresponding to the leaking of a right. If the safety problem is decidable then one can determine when the Turing machine halts, showing that that the halting problem is decidable, which is false. For details see textbook.

2/1/ Theorem 3 The set of unsafe systems is recursively enumerable. (accepted by a TM). That is, we can generate a list of all unsafe protection systems.

2/1/ The Take-Grant protection model Can the safety of a protection system with specific rules be established? Answer: Yes: The Take-Grant protection model. This model represents the system by a directed graph, called the protection graph. Vertices are subjects “●” or objects “○”, or both “  ”. Edges are labeled by a set of rights, that the source has over the destination. R contains two distinguished rights: t (take) and g (grant).

2/1/ Transitions: rewriting rules Take rule Grant rule Create rule Remove rule

2/1/ Take rule t zyxzy  x    (  a set of rules) x takes (  to y) from z t   

2/1/ Grant rule g zyxzy  x    z grants (  to y) to x g   

2/1/ Create rule xy  x x creates (  to new vertex) y 

2/1/ Remove rule yxy  x    x removes (  to) y  --

2/1/ Theorem 3.11 Let G 0 be a protection graph containing exactly one subject vertex and no edge and let R be a set of rights. Then G 0 * G iff G is a finite directed acyclic graph with subjects and objects only, with edges labeled for non- empty subsets of R and at least one subject (a trusted entity) having no incoming edge. Proof in textbook. 

2/1/ Closing the Gap We can answer the safety question in specific systems, but not for generic systems What is it about the HRU system that makes the safety question undecidable? What characteristics distinguishes a model for which the safety problem is decidable from one in which it is undecidable?

2/1/ Closing the Gap 1.The Schematic Protection Model (SPM) 2.The Extended Schematic Protection Model (ESPM) 3.Typed Access Matrix Models (TAMS)

2/1/ The Schematic Protection Model (SPM) This model is based on the notion of a protection type: This is: a label for an entity that determines how control rights affect it. Rights are partitioned into sets of Inert rights (RI) and Control rights (RC) Inert rights do not alter the protection state of a system. For example reading a file does not modify which entities have access to the document: so is an RI. However in the Take-Grant model the take rule does, so is in RC.

2/1/ The Extended Schematic Protection Model (ESPM) Implicit in the SPM is the assumption of a single parent. ESPM allows for more parents. This problem arises distributed systems. Example Anne and Bill must cooperate to perform a certain task, but do not trust each other. Such tasks may be achieved by using proxies: each create a proxy, and grants the other’s proxy only those rights that are needed to perform the task.

2/1/ Typed Access Matrix models (TAMS) The safety properties of SPM and ESPM are implicitly based on protection types. ESPM and HRU are essentially equivalent, ut the safety properties of ESPM are considerably stronger. The TAM model adds the notion of type to the Access Control Matrix model.

2/1/ Typed Access Matrix models (TAMS) The type of an entity is fixed when the entity is created. The protection state of a system is defined as: ( S, O, , A ) where, S = set of subjects, O = set of objects, A = the Access Control Matrix, T the set of types and  : O →T For details see textbook.