Docsity

10 Solved Problems on Computer Security - Assignment 1 | CS 436, Assignments of Computer Science

Toggle sidebar
bg1
HOMEWORK # 1 – COMPUTER SECURITY – CS 436/636/736
A. SKJELLUM, INSTRUCTOR
ASSIGNED: FEBRUARY 20, 2006
DUE: MARCH 1, 2006 (at 5pm)
SSUBMIT: VIA E-MAIL, REQUIRED IN E-MAIL SUBJECT “CS-COMPSEC-HW1”
SUBMISSION TO [email protected] unless otherwise informed.
COLLABORATION: NONE ALLOWED ON THIS SET, DO THIS ON YOUR OWN.
SOURCES: USE ALL INFORMATION SOURCES YOU USED, GIVE APPROPRIATE
CREDIT AND URLs IF ONLINE SOURCES.
100 points for ugrads, 125 points for grads [extra problem] (single weight homework set)
1. (30pts total) A computer security person is worried about sharing of information. There are
four levels of classification in the system chosen (high to low): COMPANY-SECRET,
COMPANY-CONFIDENTIAL, OPEN. There are compartments as follows: BUSINESS,
ENGINEERING, MARKETING, HUMANRESOURCES (HR), THIRDPARTY.
What clearance dominates all of these levels and compartments? What BUSINESS clearance
would be dominated by all other BUSINESS clearances?
Define, on a need to know basis, the label and compartments needed by
a) the the VP of Human Resources
b) the CEO of the Company (equivalent to president)
c) the CFO of the Company (the chief financial officer)
d) An engineer who works on a specific engineering product, and has no financial duties
e) The VP of Marketing, who needs to understand company products, outside non-disclosure
materials, and engineering, plus has certain financial information.
How would you classify these documents:
1) A personnel record
2) A document from an outside vendor, marked “Non disclosure (NDA)”
3) The company's product roadmap for a single products
4) The company's financial plan
5) Information about how to access the company's external web site
What access clearance/compartments would you give to an external auditor of your financial
records? How could the engineering department manage discretionary access, for instance?
Most of all, explain your rationale for the choices you make.
Remember, there is both the compartment, and the second feature of actual discretionary access.
So, if a technician is allowed to see ENGINEERING materials, he or she may still not be given
access to materials on a discretionary basis, without need to know. Keep this in mind, it makes
things much simpler.
Finally, draw the lattice induced by the classification levels and labels (worth 5 of 30 pts)
pf3

Partial preview of the text

Download 10 Solved Problems on Computer Security - Assignment 1 | CS 436 and more Assignments Computer Science in PDF only on Docsity!

HOMEWORK # 1 – COMPUTER SECURITY – CS 436/636/

A. SKJELLUM, INSTRUCTOR

ASSIGNED: FEBRUARY 20, 2006

DUE: MARCH 1, 2006 (at 5pm) SSUBMIT: VIA E-MAIL, REQUIRED IN E-MAIL SUBJECT “CS-COMPSEC-HW1” SUBMISSION TO [email protected] unless otherwise informed. COLLABORATION: NONE ALLOWED ON THIS SET, DO THIS ON YOUR OWN. SOURCES: USE ALL INFORMATION SOURCES YOU USED, GIVE APPROPRIATE CREDIT AND URLs IF ONLINE SOURCES. 100 points for ugrads, 125 points for grads [extra problem] (single weight homework set)

  1. (30pts total) A computer security person is worried about sharing of information. There are four levels of classification in the system chosen (high to low): COMPANY-SECRET, COMPANY-CONFIDENTIAL, OPEN. There are compartments as follows: BUSINESS, ENGINEERING, MARKETING, HUMANRESOURCES (HR), THIRDPARTY. What clearance dominates all of these levels and compartments? What BUSINESS clearance would be dominated by all other BUSINESS clearances? Define, on a need to know basis, the label and compartments needed by a) the the VP of Human Resources b) the CEO of the Company (equivalent to president) c) the CFO of the Company (the chief financial officer) d) An engineer who works on a specific engineering product, and has no financial duties e) The VP of Marketing, who needs to understand company products, outside non-disclosure materials, and engineering, plus has certain financial information. How would you classify these documents:
    1. A personnel record
    2. A document from an outside vendor, marked “Non disclosure (NDA)”
    3. The company's product roadmap for a single products
    4. The company's financial plan
    5. Information about how to access the company's external web site What access clearance/compartments would you give to an external auditor of your financial records? How could the engineering department manage discretionary access, for instance? Most of all, explain your rationale for the choices you make. Remember, there is both the compartment, and the second feature of actual discretionary access. So, if a technician is allowed to see ENGINEERING materials, he or she may still not be given access to materials on a discretionary basis, without need to know. Keep this in mind, it makes things much simpler. Finally, draw the lattice induced by the classification levels and labels (worth 5 of 30 pts)
  1. (10pts) If (TOPSECRET, “USA EUR ASIA”) is a clearance for a General, and the General needs to see material of (SECRET, “EUR”), can he? Can he read material of clasification (SECRET, “ANTARCTICA”) or not? Can he write material of classification (UNCLASSIFIED, “ASIA”) or not? Can a captain cleared as (CONFIDENTIAL, “EUR”) write up to (TOPSECRET, “EUR”)? How about to (TOPSECRET, “ASIA”)? Why or why not. Base answers on the modified approach of Chapter 5. Use the “dom” notation where needed.
  2. (10pts) Compare and contrast integrity and privacy. Explain with an example what the “duality” of integrity and privacy mean in terms of who can access what and why or why not.
  3. (5pts) What does the modified Bell-LaPadula *-property restrict in terms of privacy? Why is it more useful than the preliminary *-property?
  4. (5pts) What does the Bell-LaPadula Simple Security Condition do any why is it needed? Why is it more useful than the preliminary version of this condition?
  5. (5pts) Relate the Basic Security Theorem to the Simple Security Condition and the *-property.
  6. (5pts) Passwords are part of authentication. Describe aspects of passwords that may make them stronger or weaker. Refer to the literature ( e.g., Google 'password cracking'). Please site any references you use. Would it be a good idea for administrators to run a password cracker on their own systems?
  7. (10pts) Describe the differences and complementary roles of authentication and authorization. Make reference to the book and any online resources you used to answer the question.
  8. (20pts) XOR schemes are very weak, although widely used means to achieve data privacy. They are relatively easy to break. Since XOR is idempotent, the same program can be used with the same key to encrypt or decrypt the text. ROT13 is an even simpler substitution cypher, it adds 13 to every alphabet character, mod 26. a) (15pts) Write and submit a program that you wrote (that compiles and runs correctly, in your favorite programming language) to encrypt or decrypt an ASCII plaintext file using either XOR or ROT13(). Your program should work with different length keys. Demonstrate that it works correctly on an example text of at least 100 bytes, with a 4-byte key (or longer). For ROT13, use an input text of just upper case letters, for simplicity, since this is a limited demonstration of a traditional substitution cypher. b) (5pt) By reading the textbook, and by reference to other materials, find reasons why this approach to cryptography is poor. 10.(25pts) CS 636/736 STUDENTS ONLY. Example cryptanalysis. Take the cyphertext, hw1-prob9-file1.bin, which has been encrypted (encyphered) with an XOR scheme, like that described in problem 8. The plaintext is English sentences/phrases.