
Answers to Sample Final
1. Represent a security compartment label using the notation
<security level; set of categories>.
Can a user cleared for secret; { dog, cat, pig } have read or write access (or both) to documents classified in
each of the following ways under the military security model?
a. <top secret; { dog }>
b. <secret; { dog }>
c. <secret; { dog, cow }>
d. <secret; { moose }>
e. <confidential; { dog, pig, cat }>
Answer:
a. No read (as top secret > secret); no write (as { dog, cat, pig } ⊄ { dog })
b. Read (as secret = secret and {dog} ⊆ { dog, cat, pig }); no write (as { dog, cat, pig } ⊄ { dog })
c. No read (as { dog, cow } ⊄ { dog, cat, pig }); no write (as { dog, cat, pig } ⊄ { dog, cow })
d. No read (as { moose } ⊄ { dog, cat, pig }); no write{ dog, cat, pig } ⊄ { dog, moose })
e. Read (as confidential < secret and { dog, pig, cat } ⊆ { dog, cat, pig }); no write (as confidential < secret)
2. Consider a system that used the Bell-LaPadula model to enforce confidentiality and the Biba model to enforce
integrity.
a. If the security classes were the same as integrity classes, what objects could a given process (with some
security class that also served as its integrity class) access?
b. Why is this scheme not used in practice?
Answer:
a. Assume the security classes were the same as the integrity classes. Let A and B be the labels of security
compartments, where A dom B. Then under the Bell-LaPadula model, a subject with label B cannot read an
entity with label A. Under Biba’s model, a subject with label A cannot read an entity with label B. A similar
set of conditions holds for writing. However, if A = B, then both models allow reads and writes. And, of
course, if there is no dominance relation between any two labels, entities with those labels can neither read
nor write one another. Thus, if the security classes are the same as the integrity class, a given process can
only access objects in its own compartment (class).
b. This scheme is far too restrictive to be used in practice. The processes are completely confined to their
compartments, and often processes need to be able to read data in compartments that their compartment
dominates. This is not possible in this scheme.
3. Define each of the following terms in one short sentence:
a. public key cryptosystem
b. challenge-response
c. computer worm
d. end-to-end encryption
e. web cookie
Answer:
a. A public key cryptosystem is a cryptosystem with two keys, one of which is known to everyone (the public
key) and the other of which is known only to one person (the private key).
b. A challenge-response refers to a mechanism in which the client is challenged to demonstrate knowledge of
a secret to a server. The client’s response must demonstrate to the server that the client knows the secret.
ECS 153, Computer Security!Winter Quarter 2008
Version of February 8, 2008 at 10:35AM!Page 1 of 3