Bell-LaPadula and Biba: rules on reading and writing

9 min 5 sections 4 practice questions 5 sources citedISC2 objective 3.2

A security model is a security policy written so precisely that a system can be built to it and tested against it. The two best-known models put labels on people and on files, and set a pair of rules about reading and writing. One keeps secrets from leaking. The other keeps unreliable data from spoiling reliable data. No technical background is assumed.

By the end of this unit you will be able to:

  • State the rules of Bell-LaPadula and say which property it protects
  • State the rules of Biba and explain why they point the opposite way
  • Explain dominance using levels and compartments
  • Tell apart a state machine model, an information flow model and non-interference
  • Recognise the models that describe how access rights are created and passed on

Two paragraphs saved in the wrong folder

An illustrative example

A defence office shares one large computer. A clerk is cleared to read Confidential material. An analyst is cleared to read Secret material, which is more sensitive.

The analyst opens a Secret report, copies two paragraphs into a new file and saves the file in a shared folder. The clerk reads the folder every morning. Nobody set out to break a rule. The analyst was allowed to read the report, and the clerk was allowed to read the folder.

Each person did only what they were allowed to do. Which single action let Secret material reach someone cleared only for Confidential?

Subjects, objects, labels and dominance

In the office, reading did no harm. The harm was done when Secret text was written into a place that less trusted people could read. A model has to say that precisely, and it needs four terms to do so.

A subject is whatever acts: a person, or a program running for that person. An object is whatever is acted on: a file, a record, a printer. A subject's label is its clearance. An object's label is its classification. A security model is a formal statement of the rules by which subjects may reach objects.

A label has two parts. The first is a level on a ladder, such as Unclassified, Confidential, Secret and Top Secret. The second is a set of compartments, also called categories, that divide information by subject matter, such as Nuclear or Crypto.

Label A dominates label B when A's level is the same or higher and A's compartments include all of B's. Secret with Nuclear and Crypto dominates Secret with Nuclear. Secret with Nuclear and Secret with Crypto do not dominate each other, although their levels are equal. Because of pairs like that, the labels form a lattice and not a simple ladder: any two labels have one lowest label that dominates both.

Rules of this kind are enforced by the system and cannot be waived by a file's owner. That is .

Bell-LaPadula keeps secrets from leaking down

David Bell and Leonard LaPadula wrote their model at the MITRE Corporation for the United States Air Force. It protects and nothing else.

Simple security property
No read up. A subject may read an object only if the subject's label dominates the object's.
Star property
No write down. A subject may write to an object only if the object's label dominates the subject's. It is written .
Strong star property
A subject may write only at its own level. Reading and writing together are then confined to one level. Some texts call it the strict star property.
Discretionary security property
The labels are not enough alone. An access matrix must also list this subject as allowed to use this object.

The star property exists because of programs. A cleared analyst can be trusted not to retype a secret into a public file. A program running under her account may have been tampered with, and it would copy the secret silently. The rule stops the program as well as the person.

Two further ideas complete the model. The tranquillity principle says labels do not change while the system is running: never, in the strong form, or only in ways that cannot break the rules, in the weak form. A trusted subject is a program exempt from the star property, because it has been checked and its job is to move information down correctly, such as a tool for declassifying documents.

The model's limits are as well known as its rules. It allows writing up, so a low subject can overwrite high data it cannot read: is unprotected. It says nothing about . And it does not stop a covert channel, a hidden route by which a high program signals to a low one, for example by filling and emptying a shared disk.

Bell-LaPadula and Biba point their rules opposite ways

Bell-LaPadula and Biba point their rules opposite waysTwo panels, each with a higher object, a subject in the middle and a lower object. Bell-LaPadula: the subject reads down and writes up; no read up, no write down. Biba: the subject reads up and writes down; no read down, no write up.Bell-LaPadulaprotects confidentialityHigher objectSubjectLower objectNo readupsimple securityNo writedownstar propertyBibaprotects integrityHigher objectSubjectLower objectNo writeupstar integrityNo readdownsimple integrityreadwritereadwriteBell-LaPadula and Biba point their rules opposite waysTwo panels, each with a higher object, a subject in the middle and a lower object. Bell-LaPadula: the subject reads down and writes up; no read up, no write down. Biba: the subject reads up and writes down; no read down, no write up.Bell-LaPadulaprotects confidentialityHigher objectSubjectLower objectNo readupsimple securityNo writedownstar propertyBibaprotects integrityHigher objectSubjectLower objectNo writeupstar integrityNo readdownsimple integrityreadwritereadwrite
Read this figure as text

Both models put labels on subjects and objects and set a rule about reading and a rule about writing. Simple rules govern reading, star rules govern writing. Each arrow shows the direction information moves: a read carries it from the object to the subject, a write from the subject to the object.

  1. Bell-LaPadula protects confidentiality. The subject may read the lower object: information flows up to the subject.
  2. Bell-LaPadula: the subject may write to the higher object, so information again flows up.
  3. Bell-LaPadula's simple security property: no read up. The subject may not read the higher object.
  4. Bell-LaPadula's star property: no write down. The subject may not write to the lower object, so secrets cannot reach a lower level. The strong star property goes further: the subject may write only at its own level.
  5. Biba protects integrity, and its rules are Bell-LaPadula's turned upside down. The subject may read the higher object: information flows down to the subject.
  6. Biba: the subject may write to the lower object, so information again flows down.
  7. Biba's star integrity property: no write up. The subject may not write to the higher object.
  8. Biba's simple integrity property: no read down. The subject may not read the lower object, so unreliable data cannot reach a higher level.

Biba keeps unreliable data from flowing up

A newspaper holds checked agency reports and unchecked tips from the public. If a tip is filed among the checked reports, or a sub-editor builds a checked story from a tip, readers are misled. The Biba model guards against that. Its labels are integrity levels: how far a subject or an object can be relied on to be correct.

Information may flow from one item to another only if the receiver's integrity level is the same or lower. The rules are Bell-LaPadula's turned upside down.

The two models side by side: simple rules govern reading, star rules govern writing
RuleBell-LaPadula (confidentiality)Biba (integrity)
Simple rule, about readingSimple security property: no read upSimple integrity property: no read down
Star rule, about writingStar property: no write downStar integrity property: no write up
Third ruleStrong star property: write at the subject's own level onlyInvocation property: a subject cannot call on a subject of higher integrity
What must not happenSecrets reaching a lower levelUnreliable data reaching a higher level
What it ignoresIntegrity and availabilityConfidentiality and availability

Biba stops unauthorised subjects from spoiling data. It does not stop an authorised person making an improper change, and like Bell-LaPadula it leaves covert channels alone. A system that needs both secrecy and integrity gives each subject and object two separate labels. Lipner showed how to combine the two models in that way for commercial use.

Simple is about reading. Star is about writing. Bell-LaPadula: secrets must not flow down. Biba: bad data must not flow up.

State machines, information flow and non-interference

Three terms describe how a model is built.

A state machine model treats the system as a series of snapshots, called states. Each state records which subjects hold which access to which objects. The system is secure if it starts in a secure state and every permitted step leads to another secure state. Suppose the analyst has a Secret report open for reading. Her request to open a public file for writing would produce a state with secret text and a public outlet in the same hands. The request is refused, and the system stays where it was. Bell-LaPadula is a state machine model.

An information flow model follows every way information can move from one level to another, not only reads and writes of files. Bell-LaPadula lets information flow up and never down. Biba lets it flow down and never up.

Non-interference, set out by Goguen and Meseguer, is stricter still. Whatever high-level users do must have no effect that low-level users can observe. If a low-level user can tell that a high-level job is running because the machine slows down, the high level has interfered with the low. Non-interference is the property a design needs in order to rule out .

The Sutherland model applies similar reasoning to integrity. Composition theories ask whether two secure systems stay secure when joined. Three arrangements are named: cascading, where one system's output is the next one's input; feedback, where two systems feed each other; and hookup, where a system also exchanges data with outside parties.

Models of who may hold which right

A second family of models has no levels. It describes how rights are recorded and how they change hands.

The access control matrix is a table with a row for every subject and a column for every object. Each cell lists what that subject may do to that object. One row, read across, is a capability list: everything one subject may do. One column, read down, is an access control list: everyone who may use one object.

Three models of how rights are created and passed on
ModelWhat it definesKeyword
Graham-DenningEight rules: create or delete an object, create or delete a subject, and read, grant, delete or transfer an access rightEight protection rules
Harrison-Ruzzo-UllmanA small set of basic operations on the matrix, and a proof that no general method can tell whether a right will ever leakSafety cannot be decided in general
Take-GrantA graph of subjects and objects joined by arrows, changed by four operations: take, grant, create, removeDirected graph

These three are met by name and keyword. Bell-LaPadula and Biba are met by rule and direction.

A question, worked through

A defence supplier's document system enforces Bell-LaPadula. An engineer cleared to Secret is preparing an Unclassified summary for a trade show. The system lets her read her Secret design notes and refuses to let her save any of their text into the summary. The show opens tomorrow, and she asks the security officer to make an exception for her account.

What is the BEST response?

  1. Send the text through the approved declassification review
  2. Mark her account as a trusted subject for this one task
  3. Raise the summary's label to Secret so the save succeeds
  4. Lower her clearance to Unclassified until the show ends
Decide on your answer, then open the reasoning
  1. The refusal is the star property: no write down. The question is how a security officer should respond when the model blocks a cleared person with a deadline.
  2. Rule out d. With a lower clearance she could no longer read the notes, and lowering a person's label does nothing to make Secret text fit for release.
  3. Rule out c. The save would succeed, and the summary would then be Secret. It could not be shown at a trade show, so the business need is unmet.
  4. Between a and b: a trusted subject is a checked program whose job is to move information down correctly. Giving that status to a user's account for convenience removes the control for everything the account runs.
  5. Option a keeps the model intact and meets the need. A review decides which text may be released, and the released text is then written at the lower level by the proper route.

Answer: A. Send the text through the approved declassification review

Choosing between good answers

A scenario is about secrets reaching the wrong level
think Bell-LaPadula. When it is about unreliable data spoiling trusted data, think Biba.
A rule is named simple or star
simple is about reading and star is about writing. Take the direction from what the model protects.
A cleared user is stopped from copying to a lower level
the model is working. Choose the approved release process over an exception for the user.
A question contrasts a list attached to a subject with a list attached to an object
the first is a capability list, a row of the matrix. The second is an access control list, a column.
Information leaks through an effect a lower level can observe, such as timing
name it a covert channel. Non-interference addresses it and Bell-LaPadula does not.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

Match each rule of Bell-LaPadula and Biba to what it says.

Choose the match for each entry. Every match has to be right.

What to remember

  • Bell-LaPadula protects confidentiality: no read up (simple security property), no write down (star property).
  • Biba protects integrity with the mirror image: no read down (simple integrity property), no write up (star integrity property).
  • A label dominates another when its level is the same or higher and its compartments include all of the other's.
  • A state machine model is secure when every permitted step leads from one secure state to another. Non-interference forbids any effect a lower level can observe.
  • A capability list is a row of the access control matrix. An access control list is a column.
  • Graham-Denning has eight rules, Take-Grant uses a directed graph, and Harrison-Ruzzo-Ullman shows that safety cannot be decided in general.

Say it from memory

  1. State the simple and star rules of Bell-LaPadula and of Biba, and say what each model protects.

    Bell-LaPadula protects confidentiality. Simple security property: no read up. Star property: no write down. Biba protects integrity. Simple integrity property: no read down. Star integrity property: no write up. Simple rules govern reading and star rules govern writing. Neither model addresses availability or covert channels.

    Read this part again

  2. When does one security label dominate another, and why do the labels form a lattice?

    Label A dominates label B when A's level is the same or higher and A's compartments include all of B's. Secret with Nuclear and Secret with Crypto do not dominate each other, although their levels are equal. Because of such pairs the labels form a lattice, not a simple ladder.

    Read this part again

  3. In Bell-LaPadula, what are the strong star property, the tranquillity principle and a trusted subject?

    The strong star property lets a subject write only at its own level. The tranquillity principle says labels do not change while the system runs: never in the strong form, or only without breaking the rules in the weak form. A trusted subject is a checked program exempt from the star property, such as a declassification tool.

    Read this part again

  4. What is a state machine model, and what does non-interference require?

    A state machine model treats the system as a series of states; it is secure if it starts in a secure state and every permitted step leads to another secure state. Bell-LaPadula is one. Non-interference, set out by Goguen and Meseguer, requires that nothing high-level users do has an effect low-level users can observe. It is needed to rule out covert channels.

    Read this part again

  5. In an access control matrix, what is a capability list and what is an access control list? Give the keyword for Graham-Denning, Harrison-Ruzzo-Ullman and Take-Grant.

    One row, read across, is a capability list: everything one subject may do. One column, read down, is an access control list: everyone who may use one object. Graham-Denning: eight protection rules. Harrison-Ruzzo-Ullman: safety cannot be decided in general. Take-Grant: directed graph.

    Read this part again

Sources