ITEC852 Advanced System and Network Security Assignment

Assignment Help Computer Network Security
Reference no: EM132377306

ITEC-852 Advanced System and Network Security

Assignment 1

Total marks: 30

Weighting: 10%

Macquarie University

Objectives

This assignment has been designed to test your knowledge of the first six lectures in the class:

• Introduction to Cyber Security
• Threats, Attacks and Security Mechanisms
• Cryptography
• Security Protocols
• Authentication and Access Control
• Web and Data Privacy

Question 1

A bank with 1,000 customers decides to use a different PIN entry method for cardless cash. It first assigns random 4-digit PINs to each of the 1,000 customers such that no two customers have the same PIN. At the ATM, each customer can authenticate simply by entering their PIN. The backend system can authenticate the customer based on the unique random PIN. You have been hired as a security consultant by the bank to analyze the security of this system.

(a) Assume John is one of the customers. What is the probability that an attacker can guess John's PIN in one try?
(b) What is the probability that an attacker can guess any customer's PIN in one try?
(c) How many attempts are needed by an attacker to guess any customer's PIN with probability at least 0.5?
(d) You suggest to the bank that the customer should also enter a unique username. What issue does this mitigate? How is requiring a bank card in addition to entering a PIN different?

Question 2

Suppose you are coding an interactive program in Python to help kids learn mathematics. Using the input and eval function in Python you allow users to enter addition and multiplication expressions. More specifically, your program defines a variable y = 1, and then you allow users to enter expressions like y + 2 and y*3. The program then evaluates these expressions and prints the updated value of y.
(a) Write the above program and show how you can (mis)use it to print your name 10 times.
(b) Could this vulnerability be exploited to run other (may be malicious) Python code?
(c) How would you remove this vulnerability in the program? Hint: You do not need to use the same functions (e.g., eval).

Question 3

The birthday paradox states√that if we generate random binary strings of length n, then we expect to find a collision in approximately 2n attempts.

(a) Suppose n = 16. Write a program that counts and outputs the number of strings generated before a collision is found. Your program keeps a counter, generates random binary strings of length 16, stores them, and outputs the counter value once a collision is found. You should run a Monte Carlos simulation (e.g., repeat the program say a 1000 times and find the average). What is the average number of attempts before a collision is found? Please produce your code as well.

(b) Explain what does this mean for the digest size in hash functions?

Question 4

In the lecture slides (week 4) on Kerberos, explain why B needs to check if the time stamp tA is fresh, i.e., within a small time interval around Bjs local time, when B is already checking if time stamp tA is in the validity period l? (2 marks)

Question 5

Suppose an organization has the following roles: director (D), group leader (G), team leader operations (TO), team leader technical (TT), and employee (E). We also have security labels for information which we denote with the same letters, i.e., D, G, TO, TT, E. You have been tasked to implement the following security policy:

Each role has access to information which is assigned the same security label, e.g., employee has access to information labelled E.
• The employee has only access to information labelled E.
• Each of the two team leaders have further access to information labelled E.
• The group leader has further access to information labelled in the set {TO, TT, E}.
• The director has further access to information labelled in the set {G, TO, TT, E}.
• Any combination of roles, i.e., subset, has access to information labelled by the same subset. For example, the subset of roles {E, TO} has access to information labelled {E, TO}.
The subset of the two team leaders can have access to information labelled G (Hint: Think of upper bounds.)

Draw a lattice diagram for the above security policy.

Question 6

Suppose a user study was carried out on 100 people to check the incidence of a rare disease. Jane was one of the participants. The result of the study showed that 90 out of the 100 people had the disease. Jane was one of the 10 who did not have the disease. The center who carried out the study made the stats public: "100 people participated in a study. 90 had disease." Jane's nosy neighbour Eve came to know that Jane was part of the study, and is curious to know if Jane has the disease or not. A few days later, there is a data breach disclosing the names of 99 participants together with the label indicating whether they had the disease or not. Luckily, Jane's name was not in the data breach (the data entry person forgot to enter her name).
(a) Explain how Eve can find out if Jane has the disease or not.
(b) Suppose instead of publishing the true count 90, the study applied differential privacy on the number of people with disease by publishing aj = 90 + Lap(1), where Lap( ) denotes a Laplace random variable of mean 0 and scale 1. Using the numpy.random.laplace(0, 1) from the Python library numpy, show 10 example outputs of aj.

(c) Noting that the number 100 (the number of study participants) is still public information, explain how does the above mechanism protect Jane's privacy even after the data breach.

Notes

• Assumptions (if any) must be stated clearly in your answers.
There may not be one right answer for some of the questions. So, your explanations need to present your case clearly. The explanations you provide do not have to be long; conciseness is preferred to meandering.

It is recommended that you use Python for the programming components of the assignment. However, you are free to use another programming language provided the question/answer/solution can be naturally translated into a similar problem in that programming language.

Assessment

For all questions in this assignment not only content but also presentation will affect your mark. You may lose marks if there are considerable problems with the presentation, particularly with clarity. This means that your answers to each question should be a coherent statement. You should ensure that spelling and grammar mistakes of your submission are kept to a minimum.
For full marks, your answers should all be clear, coherent and correct. The following particular standards will be applied in marking this assignment:

• Clarity:
- Ambiguous or poorly worded answers will receive a grade no more than a pass for the individual question.
• Correctness of approach taken and answer obtained:
- Incorrect answers with the correct logic or approach will not be necessarily penalised.
- Correct answers with incorrect logic or approach will receive no more than pass for the individual question.
- Incorrect answers with no explanation of the approach taken or with the incorrect approach will receive a fail grade for the individual question.

The questions will be marked individually, the marks totalled, and a final grade assigned that is no more than indicated by the total marks, and no more than allowed by the standards specified above and in the unit outline.

Reference no: EM132377306

Questions Cloud

SOCW 6200 Human Behavior and the Social Environment Question : SOCW 6200 Human Behavior and the Social Environment assignment help and solutions, Walden university - Cultures idealizing thinness, pressure from peers to fit.
Determine the success or failure of a change management : Paramount to the success of any organizational change is a leader's ability to "know where the organization needs to go.
PHI2010 Introduction of Philosophy Assignment : PHI2010 Introduction of Philosophy assignment help and solutions - According to Hick, what is the "soul-making process"? Is it, as he says, of such great value.
How the population you selected might be disenfranchised : For this Discussion, review this week's resources. Also, conduct some Internet research to select a population that you think might be disenfranchised.
ITEC852 Advanced System and Network Security Assignment : ITEC852 - Advanced System and Network Security Assignment help and solution, Macquarie University, Assessment help -
Five primary motives for participation or spectatorship : Identify an example of an incentive utilized by a sporting organization for each of the five primary motives for participation or spectatorship.
Differentiating between ifsps and ieps : The special education process can be overwhelming for both parents and educators. For example, differentiating between IFSPs, IEPs, and 504s can be difficult.
Calculate the market return for the year one July : Calculate the market return for the year 1 July 2018 to 30 June 2019 for the ASX200. Compare the market return with the return on government bonds
Identify the type of quantitative research design used : The selection of a research design is guided by the study's purpose and research questions and hypotheses, and the design then links the research questions.

Reviews

len2377306

9/26/2019 11:59:59 PM

Assignments will be marked and returned online. There are no hardcopy submissions for written assignments. Ensure you submit the correct file. The submission process shows you a complete preview of your entire assignment after you have uploaded it but before you have submitted it. Carefully check through every single page to ensure everything is there and the correct version has been uploaded, and only then press CONFIRM.

Write a Review

Computer Network Security Questions & Answers

  An overview of wireless lan security - term paper

Computer Science or Information Technology deals with Wireless LAN Security. Wireless LAN Security is gaining importance in the recent times. This report talks about how vulnerable are wireless LAN networks without any security measures and also talk..

  Computer networks and security against hackers

This case study about a company named Magna International, a Canada based global supplier of automotive components, modules and systems. Along with the company analysis have been made in this assignment.

  New attack models

The Internet evolution is and is very fast and the Internet exposes the connected computers to attacks and the subsequent losses are in rise.

  Islamic Calligraphy

Islamic calligraphy or Arabic calligraphy is a primary form of art for Islamic visual expression and creativity.

  A comprehensive study about web-based email implementation

Conduct a comprehensive study about web-based email implementation in gmail. Optionally, you may use sniffer like wireshark or your choice to analyze the communication traffic.

  Retention policy and litigation hold notices

The purpose of this project is to provide you with an opportunity to create a document retention policy. You will also learn how to serve a litigation hold notice for an educational institute.

  Tools to enhance password protection

A report on Tools to enhance Password Protection.

  Analyse security procedures

Analyse security procedures

  Write a report on denial of service

Write a report on DENIAL OF SERVICE (DoS).

  Phising email

Phising email It is multipart, what are the two parts? The HTML part, is it inviting the recepient to click somewhere? What is the email proporting to do when the link is clicked?

  Express the shannon-hartley capacity theorem

Express the Shannon-Hartley capacity theorem in terms of where is the Energy/bit and is the psd of white noise.

  Modern symmetric encryption schemes

Pseudo-random generators, pseudo-random functions and pseudo-random permutations

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd