COIT20262 Advanced Network Security Assessment and Tutor Proposal

COIT20262 Advanced Network Security

Royal Holloway University of London


COIT20262 Advanced Network Security

Assessment No: 1

COIT20262|Advanced Network Security

Our Real
uni-icon
Student’s Score cards


COIT20262 Advanced Network Security

Task

Question 1. Analysis of Protocols with Wireshark

For this question you must use virtnet (as used in the workshops) to study Internet applications with Wireshark. This assumes you have already setup and are familiar with virtnet. See Moodle and workshop instructions for information on setting up and using virtnet, deploying the website, and performing the attack.

Your task is to:

  • Create topology 5 in virtnet where:
    • node1 will be referred to as the client
    • node2 will be the router o node3 will be the server
  • Start capturing packets using tcpdump on the router (node2)
  • While capturing, perform the following operations in order:
    • Start netcat TCP server using assigned port on the server (node3)
    • Start netcat TCP client on the client (node1)
    • On the client (node1) type: COIT20262 Assignment 1 My ID is
    • On the server (node3) type: Hello . I am the server.
    • On the client (node1) type: Goodbye server. You need to perform steps 3-5 in the correct sequence, switching from client to server to client.
  • Stop the capture and save the file as netcat.pcap Server port numbers must be assigned based on the last three (3) digits of your student ID, xyz, as defined below. Examples are given for a student ID of 12345678.
  • For netcat TCP server use port 6xyz. Example port: 6678
  • After performing and understanding the above steps, answer the following sub-questions
    • Submit your capture file as netcat.pcap on Moodle. The single file must contain all packets of the TCP exchange using your assigned port and using your ID and name. [3 marks]
    • Draw a message sequence diagram that illustrates all the TCP packets generated by using netcat (do not draw any packets generated by other applications or protocols, such as ARP, DNS or SSH). A message sequence diagram uses vertical lines to represent events that happen at a computer over time (time is increasing as the line goes down). Addresses of the computers/software are given at the top of the vertical lines. Horizontal or sloped arrows are used to show messages (packets) being sent between computers. Each arrow should be labelled with the protocol, packet type and important information of the message. Examples of message sequence diagrams are given in workshops. Note that you do not need to show the packet times, and the diagram does not have to be to scale. [3 marks]
    • Based on your capture only, identify the following information, and give the packet that the information is found in. If the information is found in multiple packets, give the first packet from the capture. For example, if the information is found in packet numbers 3, 5 and 7, you would give the packet as 3. [4 marks]

    Information Value Packet MAC address of the client

    IP address of the server

    Flags for 1st TCP segment containing data

    Length of data for 2nd TCP segment containing data Absolute sequence number of 1st TCP segment sent by server that contains data

    Question 2. Web Application Attacks

    Use virtnet, perform an SQL injection attack on the demo grading website www.myuni.edu. The general steps for performing an SQL injection attack with virtnet are described at: https://sandilands.info/sgordon/sql-injection-csrf-cookie-stealing-in-a-virtual-network

    However you must follow these specific steps when performing the attack:

    • Before performing the attack, add two new student users to the database with the following details:
      • New student 1: username is your ID, password is your ID b. New student 2: username is 12037777, password is a hacker
      • For both of the new students add the following courses and grades:
      • New student 1: coit20262, D b. New student 1: coit20263, C c. New student 2: coit20262, HD d. New student 2: coit20263, F
      • Perform the SQL injection attack as new student 2, i.e. logged in as 12037777
      • Take a screenshot of the attacker web browser showing the form the attacker uses to perform the attack. Make sure the screenshot clearly shows the fields/data entered by the attacker. Save the screenshot as screenshot-attack.png.
      • Take a screenshot of the attacker web browser showing a successful attack, i.e. the grades of other students. Save the screenshot as screenshot-success.png.
    • Give a general explanation of an SQL injection attack. (This explanation should NOT reference the attack you performed in virtnet; it should be for any SQL injection attack). [1 marks]
    • Explain two general approaches that can be used to avoid or minimise SQL injection attacks. (This explanation should NOT reference the attack you performed in virtnet; it should be for any SQL injection attack). [2 marks] For this specific attack on www.myuni.edu:
    • Explain the limitation/weakness in the MyUni website that allowed the SQL injection attack to be successful. In your explanation refer to the file(s) and line(s) of code, and give samples of the code in your answer. [2 marks]
    • Explain what the attacker, 12037777, had to do in their web browser to perform the attack. In your explanation include the screenshot screenshot-attack.png and refer to the information shown in that screenshot. [2 marks]
    • Submit your screenshot screenshot-attack.png as a separate file. That is, you must both embed the screenshot in the report AND submit the file separately. The reason for this is that it makes it easier for the marker in reading the report to have an embedded image, but sometimes the quality is hard to read (hence the additional file submission). [1 mark]
    • Explain what the attacker, 12037777, could learn or gain from performing the SQL injection attack. In your explanation include the screenshot screenshot-success.png and refer to the information shown in that screenshot. [1 mark]
    • Submit your screenshot screenshot-success.png as a separate file. [1 mark]
    • Explain what the website developer could do to prevent this SQL injection attack. In your explanation, give exact code or steps the developer should use. [2 marks]

    Question 3. Cryptography Concepts

    A simple symmetric encryption algorithm can be written as follows:

    1: Input message M and 64 bit key K 2: Divide M into 64 bit size blocks B1...Bn 3: Get first block B1 and perform bit-wise XOR with K to produce encrypted block E1 4: Repeat Get next block Bi and perform bit-wise XOR with Ei-1 to produce encrypted block Ei 5: Until End of message

    Based on the above algorithm, answer the following questions:

    • Explain the weaknesses of the above algorithm if the first input block is identical to the key. [3.5 marks]
    • Give a modified algorithm that corrects the problem(s) identified in part (a).

    Question 4. Network Attacks Research [6 marks]

    Recent progress in artificial intelligence (AI) technologies have prompted massive growth in innovation and automation and their potentialities have expanded from smart buildings, smart transportation, smart grids, smart governances to smart anything. These technologies are already being used to defend network attacks; however, they can be used maliciously. For example, DeepLocker has shown the intentional use of AI for a harmful purpose. Threat actors are constantly changing and enhancing their attack approach with a unique emphasis on the application of AI-driven techniques inside the attack process which can be used in conjunction with traditional attack techniques to cause greater damage. Your task is to study how AI technologies can be used maliciously to perform network attacks and what measures should be taken to mitigate these attacks.

    You must write a short report that answers the following questions:

    • As a network security analyst, why is it important that you have knowledge of AI- based network attacks? [1]
    • Select three examples of AI-based network attacks and describe them. [3]
    • What are the defensive strategies you can take to prevent any two of the these attacks?

    You should structure your report into a section for each of the above parts.

    There is no minimum/maximum length of the report. Support you finding by quoting reputable sources of information. You may draw diagrams if needed. Including pictures from other sources, or including pictures that do not help with the explanation will not gain marks and may lead to reduced marks.

    You may assume the audience of the report has a similar background on network security as you. You should give sufficient technical detail to demonstrate you understand the issues.

Why invest in our services?

Only High Quality
Optimum quality

Our assignment help team is trained to provide you high quality writing services.

Reasonable Price of Each
High scores

High scores achieved by our students is a portrayal of our high quality online assignment help

Privacy and Security
Multiple reach

You can place your assignment order through 4 easy modes of communication

Order Now