Docsity

Multi level Security - Introduction to Database Security - Lecture Slides, Slides of Network security

Partial preview of the text

Download Multi level Security - Introduction to Database Security - Lecture Slides and more Slides Network security in PDF only on Docsity!

1

Multilevel Security

2

Multilevel Security

  • Definition and need for MLS
  • Bell-LaPadula model
  • Biba model
  • Multilevel security implementation

4

Definition and need for MLS

  • Usually multilevel systems are with the federal government
  • Some private systems also have multilevel security needs
  • MLS needs to provide the same level of integrity that the relational model provides
  • Relational model provides entity integrity and referential integrity

5

Definition and need for MLS

  • MLS relation is split into several single- level relations
  • A recovery algorithm reconstructs the MLS relation from the decomposed single-level relations
  • At times MLS updates cannot be completed because it would result in leakage or destruction of secret information

7

Definition and need for MLS

  • The relation in the example has no classification associated with it in a relational model
  • The same example in MLS will be as follows:

Starship Objective Destination Enterprise U Voyager U

Exploration U Spying S

Talos U Mars S

8

Definition and need for MLS

  • In MLS, access classes can be assigned to:
    • Individual tuples in a relation
    • Individual attributes of a relation
    • Individual data elements of tuples in a relation
  • Discretionary Access Control allows a user to read data. DAC does not control how the user uses the data
  • Trojan Horse scenario explains this problem and how this could be abused in MLS

10

Trojan Horse

  • Bob executes P and it does what it is supposed to do plus it reads the contents of file f 1 and writes it to file f (^2)
  • Eve owns f 2 and so Eve can now see the contents of f 1 which was originally not available for Eve
  • This Trojan Horse code shows how a DAC has been abused

11

Bell – LaPadula Model

  • Bell-LaPadula model shows how to use Mandatory Access Control to prevent the Trojan Horse
  • Bell-LaPadula model was developed in 1973
  • This is an extension of the Access Matrix model with classified data
  • This model has two components:
    • Classification
    • Set of categories

13

Bell – LaPadula Model

  • Security level is denoted by the pair

L 1 = (X 1 , Y 1 )

  • Relationship among the security levels is defined as follows: L 1 ≥ L 2 if X 1 ≥ X 2 and Y 1 ⊇ Y 2 In this case L 1 is said to dominate L (^2)

14

Bell – LaPadula Model

  • Bell-LaPadula model is based on a subject-object paradigm
  • Subjects are active elements of the system that execute actions
  • Objects are passive elements of the system that contain information
  • Subjects act on behalf of users who have a security level associated with them (indicating the level of system trust)

16

Bell – LaPadula Model

  • Two main properties of this model for a secure system are: - Simple security property - Star property
  • Simple security means: A subject may have read or write access to an object only if the clearance of the system dominates the security level of the object

17

Bell – LaPadula Model

  • Star property means: An untrusted subject may:

append if object security dominates subject security write if object security equals subject security read if object security is less than subject security

  • This model guarantees secrecy by preventing unauthorized release of information
  • This model does not protect from unauthorized modification of information

19

Biba Model

  • Access modes are:
    • Modify (similar to ‘write’ in Bell-LaPadula)
    • Invoke (applies to two subjects)
    • Observe (similar to ‘read’ in Bell-LaPadula)
    • Execute (execute a program)
  • Integrity policy involves:
    • No read-down integrity
    • No write-up integrity

20

Biba Model

  • Biba model’s strict integrity policy does not have the ‘append’ feature of Bell-LaPadula model
  • Strict integrity policy prevents information from being transferred from low-integrity objects to other objects