Docsity

Assignment 2 - Information Security - Fall 2005 | CS 52600, Assignments of Computer Science

Toggle sidebar
bg1
CS526: Information Security Fall 2005
Assignment #2
Due: Tuesday, September 27th, 2005.
Problem 1 (20 pts) The following questions are based on the following access control matrix:
S1S2S3O1O2O3
S1o,r,w,c w,c
S2r o,r r
S3r w,c r,o
The following commands are the only ones defined for this system:
command grant right(p, f, q , r)
if rin a[p, f ]and cin a[p, f]
thenenter rinto a[q, f ];
end
command delete right(p, f, q , r)
if rin a[p, f ]and oin a[p, f]
thendelete rfrom a[q, f ];
end
command grant ownership(p, f, q)
if r, w, c, o in a[p, f ]and r, w in a[q, f ]
thenenter ointo a[q, f ];
end
aWhat does the above access control matrix look like after the execution of the following sequence
of commands.Please re-draw the matrix after each command and use the resultant matrix for the
next subsequent command.
1. grant right(S1, O2, S3, r)
2. grant right(S2, O2, S3, r)
3. grant ownership(S2, O2, S3)
4. grant right(S1, O1, S3, w)
5. grant ownership(S1, O1, S3)
6. delete right(S3, O1, S1, w)
1
pf3

Partial preview of the text

Download Assignment 2 - Information Security - Fall 2005 | CS 52600 and more Assignments Computer Science in PDF only on Docsity!

CS526: Information Security Fall 2005

Assignment

Due: Tuesday, September 27th, 2005.

Problem 1 (20 pts) The following questions are based on the following access control matrix:

S 1 S 2 S 3 O 1 O 2 O 3 S 1 o,r,w,c w,c S 2 r o,r r S 3 r w,c r,o

The following commands are the only ones defined for this system: command grant right (p, f, q, r) if r in a[p, f ] and c in a[p, f ] then enter r into a[q, f ]; end

command delete right (p, f, q, r) if r in a[p, f ] and o in a[p, f ] then delete r from a[q, f ]; end

command grant ownership (p, f, q) if r, w, c, o in a[p, f ] and r, w in a[q, f ] then enter o into a[q, f ]; end

a What does the above access control matrix look like after the execution of the following sequence of commands.Please re-draw the matrix after each command and use the resultant matrix for the next subsequent command.

  1. grant right (S 1 , O 2 , S 3 , r)
  2. grant right (S 2 , O 2 , S 3 , r)
  3. grant ownership (S 2 , O 2 , S 3 )
  4. grant right (S 1 , O 1 , S 3 , w)
  5. grant ownership (S 1 , O 1 , S 3 )
  6. delete right (S 3 , O 1 , S 1 , w)
  1. delete right (S 3 , O 1 , S 1 , r)
  2. grant right (S 3 , O 2 , S 1 , w)
  3. grant right (S 1 , O 3 , S 3 , w)
  4. grant right (S 1 , O 3 , S 2 , w)
  5. grant ownership (S 3 , O 3 , S 2 ) b Assume that if w /∈ a[S 2 , Ok] where k = 1, 2 , 3 , then the system is secure. Is there a series of commands that will make the system insecure? c Harrison, Ruzzo and Ullman proved in their paper “Protection in operating systems” in 1976 that “It is undecidable whether a given state of a given protection system is safe for a given right.” The question posed in part b asks about a right, w; why are you able to answer that question if the problem is undecidable?

Problem 2 ( 30 pts) Bell La-Padula Model:

a Given the security levels TOPSECRET, SECRET, CONFIDENTIAL, and UNCLASSIFIED (or- dered from highest to lowest), and the categories A, B, and C, say what type of access (read, append, write) is allowed according to the Bell-La Padula model in the following situations. Assume discretionary access controls allow anyone access unless otherwise specified.

  1. Paul, cleared for (TOPSECRET, A, C ), wants to access a document classified (SECRET, C ).
  2. Anna, cleared for (CONFIDENTIAL, C ), wants to access a document classified (CONFIDEN- TIAL, B ).
  3. Jesse, cleared for (SECRET, C ), wants to access a document classified (CONFIDENTIAL, C ).
  4. Sammi, cleared for (TOPSECRET, A, C ), wants to access a document classified (CONFIDEN- TIAL, A ).
  5. Robin, who has no clearances (and so works at the UNCLASSIFIED level), wants to access a docu- ment classified (CONFIDENTIAL, B ). b One additional property of the Bell-La Padula model not discussed in class is the tranquility prin- ciple, which states that the classification of a subject or object does not change while it’s being referenced. Why is this principle necessary? What might happen in a system where this principle didn’t hold true? c Given a DAC system describe how a MAC system could be “implemented” on top of this DAC system. Please discuss any problems and assumptions. For simplicity you can assume that the levels of the users are static and cannot change.

Problem 3 ( 25 pts) Read the paper “Quantum Cryptography” by Chip Elliott, and answer the following questions.

a Currently the method used for distributing a cryptographic key is to use an algorithm such as RSA or Diffie-Hellman. The quantum key distribution (QKD) method described in this paper effectively completes the same task as RSA or Diffie-Hellman. In your opinion, using specifics from the paper, will QKD replace the use of RSA or Diffie-Hellman in securely distributing keys? Focus on both the theoretical and practical limitations and advantages of both methods. (Keep your answer to 1 page in length.)