Presentation is loading. Please wait.

Presentation is loading. Please wait.

Information Security Principles & Applications Topic 6: Security Policy Models 虞慧群

Similar presentations


Presentation on theme: "Information Security Principles & Applications Topic 6: Security Policy Models 虞慧群"— Presentation transcript:

1 Information Security Principles & Applications Topic 6: Security Policy Models 虞慧群 yhq@ecust.edu.cn

2 Introduction Primary mission of information security is to ensure that systems and contents stay the same. If no threats, we could focus on improving systems, resulting in vast improvements in ease of use and usefulness. Attacks on information systems are a daily occurrence.

3 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

4 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

5 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 protection (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)

6 Confidentiality Policy Also known as information flow policy Transfer of rights Transfer of information without transfer of rights Temporal context Highly developed in Military/Government

7 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

8 Availability Policy An availability policy describes what services must be provided. It may present parameters within which the service will be accessible. It may require a level of service.

9 Security Mechanism Policy describes what is allowed and/or what is not. Mechanism An entity/procedure that enforces (part of) policy. Example Policy: Students should not copy homework. Mechanism: Disallow access to files owned by other users. Does mechanism enforce policy?

10 Security Model Security Policy: What is/isn’t authorized Problem: Policy specification often informal Implicit vs. Explicit Ambiguity Security Model: Model that represents a particular policy (policies) Model must be explicit, unambiguous Abstract details for analysis

11 High-Level Policy Languages High-level: Independent of mechanisms Constraints expressed independent of enforcement mechanism Constraints restrict entities, actions Constraints expressed unambiguously Requires a precise language, usually a mathematical, logical, or programming-like language Example: Domain-Type Enforcement Language Subjects partitioned into domains Objects partitioned into types Each domain has a set of rights over each type

12 Example: Web Browser Goal: restrict actions of Java programs that are downloaded and executed under control of web browser Language specific to Java programs Expresses constraints as conditions restricting invocation of entities

13 Expressing Constraints Entities are classes, methods Class: set of objects that an access constraint constrains Method: set of ways an operation can be invoked Operations Instantiation: s creates instance of class c: s ├ c Invocation: s1 executes object s2: s1 |→s2 Access constraints deny(s op x) when b when b is true, subject s cannot perform op on (subject or class) x; empty s means all subjects

14 Sample Constraints Downloaded program cannot access password database file on UNIX system Program’s class and methods for files: class File { public file(String name); public String getfilename(); public char read(); …. Constraint: deny( |→ file.read) when (file.getfilename() == “ /etc/passwd ” )

15 Low-Level Policy Languages Low-level: close to mechanisms A set of inputs or arguments to commands that set, or check, constraints on a system Example: Tripwire: Flags what has changed Configuration file specifies settings to be checked History file keeps old (good) example

16 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

17 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

18 “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 read access to o - Combines mandatory (security levels) and discretionary (permission required) - Prevents subjects from reading objects at higher levels (No Read Up rule)

19 “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)

20 Example security levelsubjectobject Top SecretTamaraPersonnel Files SecretSamuelE-Mail 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?

21 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

22 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}) Combining with clearance: (L,C) dominates (L’,C’)  L’ ≤ L and C’  C Induces lattice of security levels

23 Lattice of categories {Nuc}{Eur} {Us} {Nuc, Eur}{Nuc, Us}{Eur, Us} {Nuc, Eur, Us} {} Examples of levels (Top Secret, {Nuc,Asi}) dom (Secret, {Nuc}) (Secret, {Nuc, Eur}) dom (Confidential, {Nuc,Eur}) (Top Secret, {Nuc})  dom (Confidential, {Eur}) Bounds Greatest lower, Lowest upper glb of {X, Nuc, Us} & {X, Eur, Us}? lub of {X, Nuc, Us} & {X, Eur, Us}?

24 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

25 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 i can’t write something readable by subject at k Not very practical A solution: each subject has a maximum security level and a current security level. A subject may decrease its security level from maximum in order to communicate with entities at lower security levels.

26 Integrity Policy Requirements Commercial requirements differ from military requirements in their emphasis on preserving data integrity. 1. Users will not write their own programs, but will use existing production programs and databases. 2. Programmers will develop and test programs on a nonproduction system; if they need access to actual data, they will be given production data via a special process, but will use it on their development system. 3. A special process must be followed to install a program from the development system onto the production system. 4. The special process in requirement 3 must be controlled and audited. 5. The managers and auditors must have access to both the system state and the system logs that are generated.

27 Integrity Policy: Principles of operation These requirements induce principles of operation: Separation of Duty: Single person should not be allowed to carry out all steps of a critical function Moving a program from Dev. to Prod. system Developer and Certifier (installer) of a program Authorizing checks and cashing it Separation of function Do not process production data on development system Auditing Emphasis on recovery and accountability Controlled/audited process for updating code on production system

28 Biba’s Integrity Policy Model Based on Bell-LaPadula (a mathematical dual of BL) Subject, Objects Integrity Levels with dominance relation Higher levels  more reliable/trustworthy  More accurate Information transfer path: Sequence of subjects, objects where s i r o i s i w o i+1

29 Policies Low-Water-Mark Policy s w o  i(o) ≤ i(s)prevents writing to higher level s r o  i’(s) = min(i(s), i(o))drops subject’s level s 1 x s 2  i(s 2 ) ≤ i(s 1 )prevents executing higher level objects Ring Policy s r oallows any subject to read any object s w o  i(o) ≤ i(s)(same as above) s 1 x s 2  i(s 2 ) ≤ i(s 1 ) Biba’s Model: Strict Integrity Policy (dual of Bell-LaPadula) s r o  i(s) ≤ i(o)(no read-down) s w o  i(o) ≤ i(s)(no write-up) s 1 x s 2  i(s 2 ) ≤ i(s 1 ) Theorem for each: If there is an information transfer path from object o 1 to object o n+1, then the enforcement of the policy requires that i(o n+1 ) ≤ i(o 1 ) for all n>1

30 Chinese Wall Model Supports confidentiality and integrity, i.e. a hybrid policy Information can’t flow between items in a Conflict of Interest set Applicable to environment of stock exchange or investment house Models conflict of interest Objects: items of information related to a company Company dataset (CD): contains objects related to a single company Written CD(O) Conflict of interest class (COI): contains datasets of companies in competition Written COI(O) Assume: each object belongs to exactly one COI class

31 Example Bank of America Citibank Bank of the West Bank COI Class Shell Oil Union ’ 76 Standard Oil ARCO Gasoline Company COI Class a a

32 CW-Simple Security Property (Read rule) CW-Simple Security Property s can read o  one of the following holds  o ’  PR(s) such that CD( o ’) = CD( o )  o ’, o ’  PR(s)  COI( o ’)  COI( o ), or o has been “sanitized” ( o ’  PR(s) indicates o ’ has been previously read by s) Public information may belong to a CD As is publicly available, no conflicts of interest arise So, should not affect ability of analysts to read Typically, all sensitive data removed from such information before it is released publicly (called sanitization)

33 Writing Anthony, Susan work in the same trading house Anthony can read BankOfAmercia’s CD, Susan can read Bank CitiBanks’s CD, Both can read ARCO’s CD If Anthony could write to Gas’ CD, Susan can read it Hence, indirectly, she can read information from BankOfAmercia’s CD, a clear conflict of interest

34 CW-*-Property (Write rule) CW-*- Property s can write o  both of the following conditions hold. The CW-simple security condition permits S to read O. For all unsanitized objects o’, s can read o’  CD( o ’) = CD( o ) Says that s can write to an object if all the (unsanitized) objects it can read are in the same dataset Anthony can read both CDs hence condition 1 is met He can read unsanitized objects of BankOfAmercia, hence condition 2 is false Hence Anthony can’t write to objects in ARCO’s CD.

35 Role Based Access Control Access control in organizations is based on “roles that individual users take on as part of the organization” A role is “is a collection of permissions” http://csrc.nist.gov/groups/SNS/rbac/

36 RBAC Access depends on function, not identity Example: Allison is bookkeeper for Math Dept. She has access to financial records. If she leaves and Betty is hired as the new bookkeeper, Betty now has access to those records. The role of “bookkeeper” dictates access, not the identity of the individual.

37 Advantages of RBAC Allows Efficient Security Management Administrative roles, Role hierarchy Principle of least privilege allows minimizing damage Separation of Duties constraints to prevent fraud Allows grouping of objects Policy-neutral - Provides generality Encompasses DAC and MAC policies

38 RBAC

39 Permissions RBAC (NIST Standard) UsersRolesOperationsObjects Sessions UA user_sessions (one-to-many) role_sessions (many-to-many) PA An important difference from classical models is that Subject in other models corresponds to a Session in RBAC

40 Core RBAC (relations) Permissions = 2 Operations x Objects UA ⊆ Users x Roles PA ⊆ Permissions x Roles assigned_users: Roles  2 Users assigned_permissions: Roles  2 Permissions Op(p): set of operations associated with permission p Ob(p): set of objects associated with permission p user_sessions: Users  2 Sessions session_user: Sessions  Users session_roles: Sessions  2 Roles session_roles(s) = {r | (session_user(s), r)  UA)} avail_session_perms: Sessions  2 Permissions

41 Permissions RBAC with General Role Hierarchy UsersRolesOperationsObjects Sessions UA user_sessions (one-to-many) role_sessions (many-to-many) PA RH (role hierarchy)

42 RBAC with General Role Hierarchy authorized_users: Roles  2 Users authorized_users(r) = {u | r’ ≥ r &(r’, u)  UA) authorized_permissions: Roles  2 Permissions authorized_permissions (r) = {p | r’ ≥ r &(p, r’)  PA) RH ⊆ Roles x Roles is a partial order called the inheritance relation written as ≥. (r 1 ≥ r 2 )  authorized_users(r 1 ) ⊆ authorized_users(r 2 ) & authorized_permisssions(r 2 ) ⊆ authorized_permisssions(r 1 )

43 Example p x, p y p 1, p 2 p a, p b p x, p y e 1, e 2 p x, p y e 3, e 4 p x, p y e5e5 x authorized_users(Employee)? authorized_users(Administrator)? authorized_permissions(Employee)? authorized_permissions(Administrator)?

44 Constrained RBAC Permissions UsersRolesOperationsObjects Sessions UA user_sessions (one-to-many) PA RH (role hierarchy) Static Separation of Duty Dynamic Separation of Duty

45 Static Separation of Duty SSD ⊆ 2 Roles x N In absence of hierarchy Collection of pairs (RS, n) where RS is a role set, n ≥ 2; for all (RS, n)  SSD, for all t ⊆ RS: |t| ≥ n  ∩ r  t assigned_users(r)=  In presence of hierarchy Collection of pairs (RS, n) where RS is a role set, n ≥ 2; for all (RS, n)  SSD, for all t ⊆ RS: |t| ≥ n  ∩ r  t authorized_uers(r)= 

46 Dynamic Separation of Duty DSD ⊆ 2 Roles x N Collection of pairs (RS, n) where RS is a role set, n ≥ 2; A user cannot activate n or more roles from RS Formally?? [HW3?] What if both SSD and DSD contains (RS, n)? Consider (RS, n) = ({r 1, r 2, r 3 }, 2)? If SSD – can r 1, r 2 and r 3 be assigned to u? If DSD – can r 1, r 2 and r 3 be assigned to u?

47 MAC using RBAC L M1 H M2 LR M1R HR M2R HW M1W LW M2W Read Roles (same lattice) Write Roles (inverse lattice) Transformation rules R = {L 1 R, L 2 R,…, L n R, L 1 W, L 2 W,…, L n W} Two separate hierarchies for {L 1 R, L 2 R,…, L n R} and { L 1 W, L 2 W,…, L n W} Each user is assigned to exactly two roles: xR and LW Each session has exactly two roles yR and yW Permission (o, r) is assigned to xR iff (o, w) is assigned to xW) Transformation rules R = {L 1 R, L 2 R,…, L n R, L 1 W, L 2 W,…, L n W} Two separate hierarchies for {L 1 R, L 2 R,…, L n R} and { L 1 W, L 2 W,…, L n W} Each user is assigned to exactly two roles: xR and LW Each session has exactly two roles yR and yW Permission (o, r) is assigned to xR iff (o, w) is assigned to xW) BLP

48 RBAC’s Benefits

49 Summary Policy describes what is allowed in a system. Confidentiality policies Bell-LaPadula model Integrity policies Biba’s model Hybrid policies Chinese Wall model Role-Based Access Control (RBAC) Model


Download ppt "Information Security Principles & Applications Topic 6: Security Policy Models 虞慧群"

Similar presentations


Ads by Google