What is the probability that an attacker can guess

Assignment Help Computer Network Security
Reference no: EM132373249

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

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.

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?

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.

Reference no: EM132373249

Questions Cloud

Describe the graphs and tables : Follow the directions below to find one of the given academic articles from the Chamberlain library and then use that to describe the graphs and tables included
What is the monthly mortgage payment for the borrower : Consider a borrower that is approved for a standard 10-year, fully amortizing house mortgage with an original balance of $500,000 and a note rate
Compare financial accounting and managerial accounting : After reading the required background resources for this Module, compare and contrast financial accounting and managerial accounting. What are the purposes.
Why is it vital to organizational success : What are the three vertical integration of a business and why is it vital to organizational success?
What is the probability that an attacker can guess : ITEC852 - Advanced System and Network Security - Macquarie University - What is the probability that an attacker can guess any customer's PIN in one try
How health care delivery systems work collaboratively : Select a global health issue affecting the international health community. Briefly describe the global health issue and its impact on the larger public health.
What should mike as a christian do : How ought the Christian think about sickness and health? How should a Christian think about medical intervention? What should Mike as a Christian do?
Why you would recommend the drug therapy plan : Review the Case Study Assigned by your Instructor for this Assignment. Justify Why you would recommend this Drug Therapy Plan for this patient.
Body systems that are at risk for infection : Body systems that are at risk for infection. Identify ways to prevent infection for each system. Include at least 1 source.

Reviews

len2373249

9/20/2019 12:17:49 AM

• 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.

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