Docsity

Sample Test 2 Resolution - Information Security Principles | CSCE 522, Exams of Computer Science

Toggle sidebar
bg1
Name:
SAMPLE TEST 2
CSCE 522
Answer the following questions. Be brief and precise!
Undergraduate students need to answer questions for a total of 85 points. Please indicate
clearly which are the questions you’re not answering. If you attempt to answer questions for
more than 85 points, your test will be graded as a graduate student’s test.
Graduate students need to answer all questions.
Bonus question is open for all students for extra credit.
You have 60 minutes to finish the exam.
1. 10 points
Explain how Integrity Lock MLS architecture works. What are its advantages and disadvantages
in contrast to the other architectures?
see the handout! Main points: -security checksum: cannot be forged, represent security
level of the data, appended when data added to the DB, checked when data retrieved.
Advantage: DBMS can remain untrusted
Disadvantage: inference and covert channel
2. 10 points
Given security levels: Secret (S) < Top-Secret (TS) and domains {Navy (N), Air Force (AF)}
Show the lattice structure of the security labels composed from these levels and domains.
Using original BLP, list the security labels that John Hommer with (S,{N,AF}) clearance
is permitted to 1) read 2) write. (5 points)
Read: (S,{N,AF}), (S,{N }), (S,{AF}), (S,{ })
Write: (S,{N,AF}), (TS,{N,AF})
3. 10 points
Given a query Q=Sum(Female and CSCE and 2000) over relation Students={Name, Sex, Major,
Year}. Construct a tracker for Q.
(TS,{ })
(TS,{AF})
(TS,{N, AF})
(TS,{N})
(S,{N,AF})
(S,{ })
(S,{N}) (S,{AF})
1
pf3
pf4

Partial preview of the text

Download Sample Test 2 Resolution - Information Security Principles | CSCE 522 and more Exams Computer Science in PDF only on Docsity!

SAMPLE TEST 2

CSCE 522

Answer the following questions. Be brief and precise! Undergraduate students need to answer questions for a total of 85 points. Please indicate clearly which are the questions you’re not answering. If you attempt to answer questions for more than 85 points, your test will be graded as a graduate student’s test. Graduate students need to answer all questions. Bonus question is open for all students for extra credit. You have 60 minutes to finish the exam.

1. 10 points Explain how Integrity Lock MLS architecture works. What are its advantages and disadvantages in contrast to the other architectures?  see the handout! Main points: -security checksum: cannot be forged, represent security level of the data, appended when data added to the DB, checked when data retrieved.  Advantage: DBMS can remain untrusted  Disadvantage: inference and covert channel 2. 10 points Given security levels: Secret (S) < Top-Secret (TS) and domains {Navy (N), Air Force (AF)}  Show the lattice structure of the security labels composed from these levels and domains.  Using original BLP, list the security labels that John Hommer with (S,{N,AF}) clearance is permitted to 1) read 2) write. (5 points) Read: (S,{N,AF}), (S,{N }), (S,{AF}), (S,{ }) Write: (S,{N,AF}), (TS,{N,AF}) 3. 10 points Given a query Q=Sum(Female and CSCE and 2000) over relation Students={Name, Sex, Major, Year}. Construct a tracker for Q.

(TS,{ })

(TS,{AF})

(TS,{N, AF})

(TS,{N})

(S,{N,AF})

(S,{ })

(S,{N}) (S,{AF})

Q1=Sum(CSE and 2000) T=Sum(Male and CSE and 2000) Q=Q1-T

4. 10 points Consider the following grant/revoke model, where all arrows correspond to the same privilege and they are all positive : Show what happens if: a. A revokes B’s privilege without cascade B’s privilege is revoked. D’s remain unchanged b. A revokes B’s privilege with cascade B’s and D’s privileges are revoked. c. Can E use the privilege given by C? E’s privilege is blocked by A, so cannot use it. d. What happens if A removes the negative permission from E? If removes the denial from E, E can use the privilege given by C. e. A revokes C’s privilege with cascade. C’s and E’s privileges are revoked. D’s privilege is questionable, since D has received it from C  might be considered unauthorized. However, D also received it from A, so D may keep the privilege. Conflict resolution is needed, e.g., consider the time when the privilege was given. 5. 5 points Define covert channel. Is it good or bad? Why? Give an example (explaining each component) using the file system.  Covert Channel : not documented. Covert channels may be deliberately inserted into a system, but most such channels are accidents of the system design. BAD because it may lead to information leakage.  Need:Two active agents  Sender (has access to unauthorized information) – e.g., TH in MS Word  Receiver ( reads sent information) – e.g., program creating the copy  Encoding schema  How the information is sent – e.g.,  File F exists  0  File F is does not exist  1  Synchronization – e.g., when to check for existence of F 6. 10 points

A

B

C

D

E

Figure 1.

 No write down  Applies to un-trusted subjects only

10. 5 points

Indirect information flow may be created by inferences. Give an example of an

unauthorized inference that cannot be controlled using traditional access control.

Example 1:  Sensitive information is used in selection condition but not returned to the user.  Example: Salary: secret, Name: public pNamesSalary=$25,  Protection method apply query of database views at different security levels Example2:  Using integrity constraints, like C=A+B, to infer unauthorized data:  A=public, C=public, and B=secret  B can be calculated from A and C, i.e., secret information can be calculated from public data

11. 10 points Describe the importance of addressing security issues during deployment and operations of the software system. -- see lecture notes and handout for Oct. 2. Important: contextual information, human aspect, feedback from usage. 12. 5 points Explain what the sentence “ Think like an attacker ” means for software developers. How can this approach strengthen software security? -- see lecture notes and handout for Oct. 2. Misuse cases  Software development: making software do something - Describe features and functions - Everything goes right  Need: security, performance, reliability - Service level agreement – legal binding  How to model non-normative behavior in use cases? - Think like a bad guy