Docsity

DG and UX System - Computer Security - Notes | ECS 153, Study notes of Computer Science

Toggle sidebar
bg1
April 14, 2005 ECS 153 Spring Quarter 2005 Slide #1
DG/UX System
• Provides mandatory access controls
– MAC label identifies security level
– Default labels, but can define others
• Initially
– Subjects assigned MAC label of parent
• Initial label assigned to user, kept in Authorization and
Authentication database
– Object assigned label at creation
• Explicit labels stored as part of attributes
• Implicit labels determined from parent directory
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download DG and UX System - Computer Security - Notes | ECS 153 and more Study notes Computer Science in PDF only on Docsity!

DG/UX System

  • Provides mandatory access controls
    • MAC label identifies security level
    • Default labels, but can define others
  • Initially
    • Subjects assigned MAC label of parent
      • Initial label assigned to user, kept in Authorization and Authentication database
    • Object assigned label at creation
      • Explicit labels stored as part of attributes
      • Implicit labels determined from parent directory

MAC Regions

A&A database, audit Administrative Region User data and applications (^) User Region Hierarchy levels VP– VP– VP– VP– Site executables Trusted data Executables not part of the TCB Reserved for future use Virus Prevention Region Categories VP– Executables part of the TCB IMPL_HI is “maximum” (least upper bound) of all levels IMPL_LO is “minimum” (greatest lower bound) of all levels

Multilevel Directory

  • Directory with a set of subdirectories, one per

label

  • Not normally visible to user
  • p creating /tmp/x actually creates /tmp/d/x where d is directory corresponding to MAC_A
  • All p ’s references to /tmp go to /tmp/d
  • p cd’s to /tmp/a , then to ..
  • System call stat(“.”, &buf) returns inode number of real directory
  • System call dg_stat(“.”, &buf) returns inode of /tmp

Object Labels

• Requirement: every file system object

must have MAC label

1. Roots of file systems have explicit MAC

labels

  • If mounted file system has no label, it gets

label of mount point

2. Object with implicit MAC label inherits

label of parent

Object Labels

  • Case 2: hard link exists when file system mounted
    • No objects on paths have explicit labels: paths have same implicit labels
    • An object on path acquires an explicit label: implicit label of child must be preserved so …
  1. Change to directory label makes child labels explicit before the change

Object Labels

• Symbolic links are files, and treated as

such, so …

5. When resolving symbolic link, label of

object is label of target of the link

  • System needs access to the symbolic link

itself

MAC Tuples

  • Up to 3 MAC ranges (one per region)
  • MAC range is a set of labels with upper, lower bound
    • Upper bound must dominate lower bound of range
  • Examples
    1. [(Secret, {NUC}), (Top Secret, {NUC})]
    2. [(Secret, ∅), (Top Secret, {NUC, EUR, ASI})]
    3. [(Confidential, {ASI}), (Secret, {NUC, ASI})]

MAC Ranges

  1. [(Secret, {NUC}), (Top Secret, {NUC})]
  2. [(Secret, ∅), (Top Secret, {NUC, EUR, ASI})]
  3. [(Confidential, {ASI}), (Secret, {NUC, ASI})]
  • (Top Secret, {NUC}) in ranges 1, 2
  • (Secret, {NUC, ASI}) in ranges 2, 3
  • [(Secret, {ASI}), (Top Secret, {EUR})] not valid range
    • as (Top Secret, {EUR}) ¬ dom (Secret, {ASI})

MAC Tuples

  • Process can read object when:
    • Object MAC range ( lr , hr ); process MAC label pl
    • pl dom hr
      • Process MAC label grants read access to upper bound of range
  • Example
    • Peter, with label (Secret, {EUR}), cannot read paper
      • (Top Secret, {NUC, EUR}) dom (Secret, {EUR})
    • Paul, with label (Top Secret, {NUC, EUR, ASI}) can read paper - (Top Secret, {NUC, EUR, ASI}) dom (Top Secret, {NUC, EUR})

MAC Tuples

  • Process can write object when:
    • Object MAC range ( lr , hr ); process MAC label pl
    • pl ∈ ( lr , hr )
      • Process MAC label grants write access to any label in range
  • Example
    • Peter, with label (Secret, {EUR}), can write paper
      • (Top Secret, {NUC, EUR}) dom (Secret, {EUR}) and (Secret, {EUR}) dom (Secret, {EUR})
    • Paul, with label (Top Secret, {NUC, EUR, ASI}), cannot read paper
      • (Top Secret, {NUC, EUR, ASI}) dom (Top Secret, {NUC, EUR})

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

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

Requirements of Policies

  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 non-production 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.

Biba Integrity Model

  • Model defines integrity levels analogous to Bell-LaPadula Model’s security levels
  • Set of subjects S , objects O , integrity levels I
  • Relation a ≤ b holding when second integrity level dominates first
  • i ( a ) is integrity level of entity