Docsity

Problem Set 2 Questions - Computer Security I | CS 461, Assignments of Computer Science

Toggle sidebar
bg1
CS 461: Introduction to Computer Security Spring 2007
Problem Set 2 Solutions
1. Information flow in BLP
Consider a Bell-LaPadula system with two subjects — Hugh with a HIGH clearance and Lewis with a
LOW clearance — and two objects, H, and Lthat are classified as HIGH and LOW respectively.
Suppose that Hugh and Lewis can create other objects at their level and also change the classification
of the newly created objects (but not the original Hor L).
(a) Show a sequence of reads and writes that can be used to transfer data from Hto Lby lowering
the classification of objects, or explain why no such sequence exists.
Hugh reads Hand then copies its contents to a new file F.Fis created with classification HIGH
but gets reclassified as LOW by Hugh, at which point Lewis can read Fand copy the contents to
F.
(b) Show a sequence of reads and writes that can be used to transfer data from Hto Lby raising the
classification of objects, or explain why no such sequence exists.
Such a sequence is impossible. Only Hugh can read H, and he may only write to HIGH files.
These files cannot be reclassified as LOW, so Lewis can never read them.
2. Biba model
Consider the following assignment of integrity levels:
Integrity Level Subject Object
High Instructor Grade files
Medium TA Homework solutions
Low Student Questions
(a) Draw an access control matrix for this policy under the Biba strict integrity policy. Consider only
read and write permissions in your matrix.
Grade files Homework solutions Questions
Instructor Read, Write Write Write
TA Read Read, Write Write
Student Read Read, Read,Write
(b) Draw an access control matrix for this policy under the Biba low-water mark policy after the
instructor has read the “Questions” file.
Grade files Homework solutions Questions
Instructor Read Read Read,Write
TA Read Read, Write Read,Write
Student Read Read, Read,Write
A common mistake was leaving out the ”Read” permission for the TA on the Questions file. In
the Low-water mark policy, every subject can always read every object.
(c) Which of the three Biba integrity models do you think is most appropriate here?
The Ring policy is most appropriate, since the instructor should always be able to read any file
but not lose write access to the high-integrity files. A number of people worried that policies other
than strict allow students read access to grade files, but remember, this is an integrity model.
3. Risk Analysis
For each of the scenario, list the threat, vulnerability, and assets involved. Try to think of as many
examples of each as you can.
I’m listing only a few examples here; many more good suggestions were made in your solutions.
1
pf2

Partial preview of the text

Download Problem Set 2 Questions - Computer Security I | CS 461 and more Assignments Computer Science in PDF only on Docsity!

CS 461: Introduction to Computer Security Spring 2007

Problem Set 2 Solutions

  1. Information flow in BLP Consider a Bell-LaPadula system with two subjects — Hugh with a HIGH clearance and Lewis with a LOW clearance — and two objects, H, and L that are classified as HIGH and LOW respectively. Suppose that Hugh and Lewis can create other objects at their level and also change the classification of the newly created objects (but not the original H or L).

(a) Show a sequence of reads and writes that can be used to transfer data from H to L by lowering the classification of objects, or explain why no such sequence exists. Hugh reads H and then copies its contents to a new file F. F is created with classification HIGH but gets reclassified as LOW by Hugh, at which point Lewis can read F and copy the contents to F. (b) Show a sequence of reads and writes that can be used to transfer data from H to L by raising the classification of objects, or explain why no such sequence exists. Such a sequence is impossible. Only Hugh can read H, and he may only write to HIGH files. These files cannot be reclassified as LOW, so Lewis can never read them.

  1. Biba model Consider the following assignment of integrity levels: Integrity Level Subject Object High Instructor Grade files Medium TA Homework solutions Low Student Questions

(a) Draw an access control matrix for this policy under the Biba strict integrity policy. Consider only read and write permissions in your matrix. Grade files Homework solutions Questions Instructor Read, Write Write Write TA Read Read, Write Write Student Read Read, Read,Write (b) Draw an access control matrix for this policy under the Biba low-water mark policy after the instructor has read the “Questions” file. Grade files Homework solutions Questions Instructor Read Read Read,Write TA Read Read, Write Read,Write Student Read Read, Read,Write A common mistake was leaving out the ”Read” permission for the TA on the Questions file. In the Low-water mark policy, every subject can always read every object. (c) Which of the three Biba integrity models do you think is most appropriate here? The Ring policy is most appropriate, since the instructor should always be able to read any file but not lose write access to the high-integrity files. A number of people worried that policies other than strict allow students read access to grade files, but remember, this is an integrity model.

  1. Risk Analysis For each of the scenario, list the threat, vulnerability, and assets involved. Try to think of as many examples of each as you can. I’m listing only a few examples here; many more good suggestions were made in your solutions.

(a) A US military base in Iraq was attacked by men who were admitted while wearing US military uniforms. http://www.washingtonpost.com/wp-dyn/content/article/2007/01/21/AR2007012100227.html Threat: insurgents Vulnerability: insecure identification of friend or foe Assets: Soldiers, equipment, buildings, etc.

(b) Laptop with social security numbers stolen.

http://www.washingtonpost.com/wp-dyn/content/article/2006/06/17/AR2006061700966.html Threat: hardware thieves, identity thieves Vulnerability: poorly secured hardware, poor management of private data Assets: laptop itself, social security numbers (c) The following real-world email: January 19, 2007 Dear eBay Community: We have decided to close eBay on 27 February 2007 due to the repeatedly abuses on our company. We ask your opinion on this matter and we want to know if you agree with us or disagree .Below you can make your choice. If you want eBay to stay open click YES otherwise click NO .Your opinion is very impor- tant to us. If 50% of the eBay members vote positive eBay stays open otherwise it will be closed. Regards, eBay Team Threats: phishers after financial information Vulnerabilities: insecure authentication of email, poor user interface for verifying the site you are talking to is genuine Assets: Personal information, password for financial (paypal) accounts, bidding ability.