1 IS 2150 / TEL 2810 Introduction to Security James Joshi Assistant Professor, SIS Lecture 5 September 27, 2007 Security Policies Confidentiality Policies.

Slides:



Advertisements
Similar presentations
Information Flow and Covert Channels November, 2006.
Advertisements

1 cs691 chow C. Edward Chow Confidentiality Policy CS691 – Chapter 5 of Matt Bishop.
Access Control Methodologies
I NFORMATION S ECURITY : C ONFIDENTIALITY P OLICIES (C HAPTER 4) Dr. Shahriar Bijani Shahed University.
ITIS 3200: Introduction to Information Security and Privacy Dr. Weichao Wang.
Slide #5-1 Chapter 5: Confidentiality Policies Overview –What is a confidentiality model Bell-LaPadula Model –General idea –Informal description of rules.
Access Control Intro, DAC and MAC System Security.
Information Security Principles & Applications Topic 6: Security Policy Models 虞慧群
1 Confidentiality Policies CSSE 490 Computer Security Mark Ardis, Rose-Hulman Institute March 18, 2004.
Confidentiality Policies  Overview  What is a confidentiality model  Bell-LaPadula Model  General idea  Informal description of rules  Formal description.
Chapter 4: Security Policies Overview The nature of policies What they cover Policy languages The nature of mechanisms Types Secure vs. precise Underlying.
June 1, 2004Computer Security: Art and Science © Matt Bishop Slide #5-1 Chapter 5: Confidentiality Policies Overview –What is a confidentiality.
April 20, 2004ECS 235Slide #1 DG/UX System Provides mandatory access controls –MAC label identifies security level –Default labels, but can define others.
1 cs691 chow C. Edward Chow Confidentiality Policy CS691 – Chapter 5 of Matt Bishop.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #4-1 Chapter 4: Security Policies Overview The nature of policies –What they.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #5-1 Chapter 5: Confidentiality Policies Overview –What is a confidentiality.
Sicurezza Informatica Prof. Stefano Bistarelli
User Domain Policies.
7/15/2015 5:04 PM Lecture 4: Bell LaPadula James Hook CS 591: Introduction to Computer Security.
ITIS 3200: Introduction to Information Security and Privacy Dr. Weichao Wang.
CMSC 414 Computer and Network Security Lecture 19 Jonathan Katz.
1 September 14, 2006 Lecture 3 IS 2150 / TEL 2810 Introduction to Security.
Security Policy Models CSC 482/582: Computer Security.
CH14 – Protection / Security. Basics Potential Violations – Unauthorized release, modification, DoS External vs Internal Security Policy vs Mechanism.
Security Policy What is a security policy? –Defines what it means for a system to be secure Formally: Partition system into –Secure (authorized) states.
1 Confidentiality Policies September 21, 2006 Lecture 4 IS 2150 / TEL 2810 Introduction to Security.
1 IS 2150 / TEL 2810 Information Security & Privacy James Joshi Associate Professor, SIS Lecture 6 Oct 2-9, 2013 Security Policies Confidentiality Policies.
© G. Dhillon, IS Department Virginia Commonwealth University Principles of IS Security Formal Models.
Session 2 - Security Models and Architecture. 2 Overview Basic concepts The Models –Bell-LaPadula (BLP) –Biba –Clark-Wilson –Chinese Wall Systems Evaluation.
Slide #4-1 Chapter 4: Security Policies Overview The nature of policies –What they cover –Policy languages The nature of mechanisms –Types Underlying both.
Slide #5-1 Confidentiality Policies CS461/ECE422 Computer Security I Fall 2010 Based on slides provided by Matt Bishop for use with Computer Security:
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
12/13/20151 Computer Security Security Policies...
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 5 September 29, 2009 Security Policies Confidentiality Policies.
1/15/20161 Computer Security Confidentiality Policies.
Mandatory Access Control and SE Linux CS 460 Cyber Security Lab Spring ‘10.
Chapter 4: Security Policies Overview The nature of policies What they cover Policy languages The nature of mechanisms Types Secure vs. precise Underlying.
Access Control: Policies and Mechanisms Vinod Ganapathy.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #5-1 Confidentiality Policies Overview –What is a confidentiality model Bell-LaPadula.
CS426Fall 2010/Lecture 211 Computer Security CS 426 Lecture 21 The Bell LaPadula Model.
Security Models Xinming Ou. Security Policy vs. Security Goals In a mandatory access control system, the system defines security policy to achieve security.
IS 2150/TEL 2810: Introduction of Computer Security1 September 27, 2003 Introduction to Computer Security Lecture 4 Security Policies, Confidentiality.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Assistant Professor, SIS Lecture 3 September 13, 2007 Mathematical Review Security Policies.
INTRO TO COMPUTER SECURITY LECTURE 2 Security Policies M M Waseem Iqbal
6/22/20161 Computer Security Integrity Policies. 6/22/20162 Integrity Policies Commercial requirement differ from military requirements: the emphasis.
Database System Implementation CSE 507
Chap 4. Security Policies
Access Control Model SAM-5.
Access Control CSE 465 – Information Assurance Fall 2017 Adam Doupé
IS 2150 / TEL 2810 Information Security & Privacy
Chapter 5: Confidentiality Policies
Basic Security Theorem
Computer Security Confidentiality Policies
IS 2150 / TEL 2810 Introduction to Security
Advanced System Security
Confidentiality Models
IS 2150 / TEL 2810 Introduction to Security
DG/UX System Provides mandatory access controls Initially
Chapter 4: Security Policies
Trust Models CS461/ECE422.
Chapter 5: Confidentiality Policies
Computer Security Confidentiality Policies
IS 2150 / TEL 2810 Introduction to Security
IS 2150 / TEL 2810 Information Security & Privacy
Chapter 4: Security Policies
Chapter 5: Confidentiality Policies
IS 2150 / TEL 2810 Information Security & Privacy
Advanced System Security
Presentation transcript:

1 IS 2150 / TEL 2810 Introduction to Security James Joshi Assistant Professor, SIS Lecture 5 September 27, 2007 Security Policies Confidentiality Policies

2 Re-Cap Decidable vs Undecidable? Safety – leakage of rights HRU results: Systems with mono-operational commands k <= n*(?)(?) + 1? Generic Safety problem Turing machine ? Safety

3 Today’s Objectives Understanding/defining security policy and nature of trust Overview of different policy models Understand and analyze the lattice structure Define/Understand existing Bell-LaPadula model how lattice helps?

4 Security Policies

5 Security Policy Defines what it means for a system to be secure Formally: Partitions a system into Set of secure (authorized) states Set of non-secure (unauthorized) states Secure system is one that Starts in authorized state Cannot enter unauthorized state

6 Secure System - Example Is this Finite State Machine Secure? A is start state ? B is start state ? C is start state ? How can this be made secure if not? Suppose A, B, and C are authorized states ? ABCD Unauthorized states Authorized states

7 Additional Definitions: Security breach: system enters an unauthorized state Let X be a set of entities, I be information. I has confidentiality with respect to X if no member of X can obtain information on I I has integrity with respect to X if all members of X trust I Trust I, its conveyance and storage (data integrity) I maybe origin information or an identity (authentication) I is a resource – its integrity implies it functions as it should (assurance) I has availability with respect to X if all members of X can access I Time limits (quality of service)

8 Confidentiality Policy Also known as information flow Transfer of rights Transfer of information without transfer of rights Temporal context Model often depends on trust Parts of system where information could flow Trusted entity must participate to enable flow Highly developed in Military/Government

9 Integrity Policy Defines how information can be altered Entities allowed to alter data Conditions under which data can be altered Limits to change of data Examples: Purchase over $1000 requires signature Check over $10,000 must be approved by one person and cashed by another Separation of duties : for preventing fraud Highly developed in commercial world

10 Trust Theories and mechanisms rest on some trust assumptions Administrator installs patch 1. Trusts patch came from vendor, not tampered with in transit 2. Trusts vendor tested patch thoroughly 3. Trusts vendor’s test environment corresponds to local environment 4. Trusts patch is installed correctly

11 Trust in Formal Verification Formal verification provides a formal mathematical proof that given input i, program P produces output o as specified Suppose a security-related program S formally verified to work with operating system O What are the assumptions?

12 Security Mechanism Policy describes what is allowed Mechanism Is an entity/procedure that enforces (part of) policy Example Policy: Students should not copy homework Mechanism: Disallow access to files owned by other users

13 Security Model A model that represents a particular policy or set of policies Abstracts details relevant to analysis Focus on specific characteristics of policies E.g., Multilevel security focuses on information flow control

14 Security policies Military security policy Focuses on confidentiality Commercial security policy Primarily Integrity Transaction-oriented Begin in consistent state “Consistent” defined by specification Perform series of actions (transaction) Actions cannot be interrupted If actions complete, system in consistent state If actions do not complete, system reverts to beginning (consistent) state

15 Access Control Discretionary Access Control (DAC) Owner determines access rights Typically identity-based access control: Owner specifies other users who have access Mandatory Access Control (MAC) Rules specify granting of access Also called rule-based access control

16 Access Control Originator Controlled Access Control (ORCON) Originator controls access Originator need not be owner! Role Based Access Control (RBAC) Identity governed by role user assumes

17 Lattice Confidentiality Policies

18 Lattice Sets Collection of unique elements Let S, T be sets Cartesian product: S x T = {(a, b) | a  A, b  B} A set of order pairs Binary relation R from S to T is a subset of S x T Binary relation R on S is a subset of S x S

19 Lattice If (a, b)  R we write a R b Example: R is “less than equal to” (  ) For S = {1, 2, 3} Example of R on S is {(1, 1), (1, 2), (1, 3), ????) (1, 2)  R is another way of writing 1  2

20 Lattice Properties of relations Reflexive: if a R a for all a  S Anti-symmetric: if a R b and b R a implies a = b for all a, b  S Transitive: if a R b and b R c imply that a R c for all a, b, c  S Exercise: Which properties hold for “less than equal to” (  )? Draw the Hasse diagram Captures all the relations

21 Lattice Total ordering: when the relation orders all elements E.g., “less than equal to” (  ) on natural numbers Partial ordering (poset): the relation orders only some elements not all E.g. “less than equal to” (  ) on complex numbers; Consider (2 + 4i) and (3 + 2i)

22 Lattice Upper bound ( u, a, b  S ) u is an upper bound of a and b means aRu and bRu Least upper bound : lub ( a, b ) closest upper bound Lower bound ( l, a, b  S ) l is a lower bound of a and b means lRa and lRb Greatest lower bound : glb ( a, b ) closest lower bound

23 Lattice A lattice is the combination of a set of elements S and a relation R meeting the following criteria R is reflexive, antisymmetric, and transitive on the elements of S For every s, t  S, there exists a greatest lower bound For every s, t  S, there exists a lowest upper bound Some examples S = {1, 2, 3} and R =  ? S = {2+4i; 1+2i; 3+2i, 3+4i} and R =  ?

24 Confidentiality Policy Also known as information flow policy Integrity is secondary objective Eg. Military mission “date” Bell-LaPadula Model Formally models military requirements Information has sensitivity levels or classification Subjects have clearance Subjects with clearance are allowed access Multi-level access control or mandatory access control

25 Bell-LaPadula: Basics Mandatory access control Entities are assigned security levels Subject has security clearance L(s) = l s Object has security classification L(o) = l o Simplest case: Security levels are arranged in a linear order l i < l i+1 Example Top secret > Secret > Confidential >Unclassified

26 “No Read Up” Information is allowed to flow up, not down Simple security property: s can read o if and only if l o ≤ l s and s has discretionary read access to o - Combines mandatory (security levels) and discretionary (permission required) - Prevents subjects from reading objects at higher levels (No Read Up rule)

27 “No Write Down” Information is allowed to flow up, not down *property s can write o if and only if l s ≤ l o and s has write access to o - Combines mandatory (security levels) and discretionary (permission required) - Prevents subjects from writing to objects at lower levels (No Write Down rule)

28 Example security levelsubjectobject Top SecretTamaraPersonnel Files SecretSamuel Files ConfidentialClaireActivity Logs UnclassifiedUlaleyTelephone Lists Tamara can read which objects? And write? Claire cannot read which objects? And write? Ulaley can read which objects? And write?

29 Access Rules Secure system: One in which both the properties hold Theorem: Let Σ be a system with secure initial state σ 0, T be a set of state transformations If every element of T follows rules, every state σ i secure Proof - induction

30 Categories Total order of classifications not flexible enough Alice cleared for missiles; Bob cleared for warheads; Both cleared for targets Solution: Categories Use set of compartments (from power set of compartments) Enforce “need to know” principle Security levels (security level, category set) (Top Secret, {Nuc, Eur, Asi}) (Top Secret, {Nuc, Asi})

31 Lattice of categories Combining with clearance: (L,C) dominates (L’,C’)  L’ ≤ L and C’  C Induces lattice of security levels Examples of levels (Top Secret, {Nuc,Asi}) dom (Secret, {Nuc}) ? (Secret, {Nuc, Eur}) dom (Topsecret, {Nuc,Eur}) ? (Top Secret, {Nuc}) dom (Confidential, {Eur}) ? Exercise: Hesse diagram for: Security levels: TS, S, C Compartments US, EU; Exercise: Hesse diagram for: Security levels: TS, S, C Compartments US, EU; Exercise: Hesse diagram for: compartments: NUC, US, EU; Exercise: Hesse diagram for: compartments: NUC, US, EU;

32 Access Rules Simple Security Condition: S can read O if and only if S dominate O and S has read access to O *-Property: S can write O if and only if O dom S and S has write access to O Secure system: One with above properties Theorem: Let Σ be a system with secure initial state σ 0, T be a set of state transformations If every element of T follows rules, every state σ i secure

33 Communication across level Communication is needed between Subject at higher level and a subject at the lower levels Need write down to a lower object One mechanism Subjects have max and current levels max must dominate current Subjects decrease clearance level

34 Read & write Conventional use “Read” – allowing information to flow from object being read to the subject reading Read includes Execute “Write” – allowing information to flow from the subject writing to the object being written Write includes Append Could change based on the requirement and the model instantiated based on that.

35 Problem: No write-down Cleared subject can’t communicate to non-cleared subject Any write from l i to l k, i > k, would violate *-property Subject at l i can only write to l i and above Any read from l k to l i, i > k, would violate simple security property Subject at l k can only read from l k and below Subject at level l i can’t write something readable by subject at l k Not very practical

36 Principle of Tranquility Should we change classification levels? Raising object’s security level Information once available to some subjects is no longer available Usually assumes information has already been accessed Simple security property violated? Problem?

37 Principle of Tranquility Lowering object’s security level Simple security property violated? The declassification problem Essentially, a “write down” violating *-property Solution: define set of trusted subjects that sanitize or remove sensitive information before security level is lowered

38 Types of Tranquility Strong Tranquility The clearances of subjects, and the classifications of objects, do not change during the lifetime of the system Weak Tranquility The clearances of subjects, and the classifications of objects, do not change in a way that violates the simple security condition or the *-property during the lifetime of the system

39 Example DG/UX System Only a trusted user (security administrator) can lower object’s security level In general, process MAC labels cannot change If a user wants a new MAC label, needs to initiate new process Cumbersome, so user can be designated as able to change process MAC label within a specified range

40 DG/UX Labels Lowest upper bound: IMPL_HI Greatest lower bound: IMPL_LO

41 DG/UX Once you login MAC label that of user in Authorization and Authentication (A&A) Databases When a process begins It gets its parent’s MAC label Reading up and writing up not allowed

42 DG/UX S:MAC_A creates O If O:MAC_B already exists Fails if MAC_B dom MAC_A Creating files in a directory Only programs with the same level as the directory can create files in the directory Problems with /tmp and /var/mail Solution: use multilevel directory: a directory with a subdirectory for each level (hidden) If process with MAC_A creates a file – put in subdirecotry with label MAC_A Reference to parent directory of a file refers to the hidden directory

43 DG/UX Provides a range of MAC labels Called MAC Tuples: [Lower, Upper] [(S, {Europe}), (TS, {Europe})] [(S,  ), (TS, {Nuclear, Europe, Asia})] Objects can have a tuple as well as a required MAC label Tuple overrides A process can read an object if its MAC label grants it read access to the upper bound A process can read an object if its MAC label grants it write access to the lower bound

44 Class Person Object O1, U Attributes: Name : String Age : Int Country : String Attributes: Name :(Ralph,U) Age :(35, C) Country:(USA, C) Instance of Object O1, C Attributes: Name : Age :35 Country:USA Object O1, U Attributes: Name :Ralph Age :”C” Country:Canada Multilevel Database Attributes: Name :John Age :35 Country:USA Attributes: Name :Ralph Age :”C” Country:Canada After update Classified DBUnclassified DB (a) (b) Multiview Model of MLS

45 Biba’s Integrity Policy Model Based on Bell-LaPadula Subject, Objects have Integrity Levels with dominance relation Higher levels more reliable/trustworthy More accurate

46 Biba’s model Strict Integrity Policy (dual of Bell- LaPadula) s can read o  i(s) ≤ i(o) (no read-down) s can write o  i(o) ≤ i(s) (no write-up) s 1 can execute s 2  i(s 2 ) ≤ i(s 1 )

47 Low-water-mark Low-Water-Mark Policy s can write o  i(o) ≤ i(s) prevents writing to higher level s reads o  i ’ (s) = min(i(s), i(o)) drops subject ’ s level s 1 can execute s 2  i(s 2 ) ≤ i(s 1 ) Why?

48 Summary Trust assumptions should be properly understood Lattice structure provides basis for representing information flow or confidentiality policies Need to know Biba’s integrity model is dual of BLP