CS707 Assignment 1 Solution and Discussion


  • Cyberian's Gold

    Assignment No. 01
    Semester: Fall 2019
    CS707: Network Security Total Marks: 20

    Due Date:14/11/2019

    Instructions
    Please read the following instructions carefully before submitting assignment:
    It should be clear that your assignment will not get any credit if:
     The assignment is submitted after due date.
     The submitted assignment does not open or file is corrupt.
     Solution is copied from any other source.
    Objective
    The objective of this assignment is to;
     Learn and practice using OMNET++ Simulator
     Simulate network attacks in OMNET++
     Understand how attack affect network performance
    Assignment

    In this assignment, we will be using OMNET++ Simulator (version 4.3) with INET (version inet-2.1.0) and NETA (version neta_v1-1.0) frameworks to create simple simulation scenario for network security attacks. This assignment is very simple and basic level in order to give you an idea regarding network attacks simulation. All you need is install OMNET++, configure INET and NETA frameworks and run a simple simulation as desired.

    Your Task
    Step 1: Download following three packages from LMS course download section
    • OMNET++ version 4.3 (click here to download) Don’t install latest version of OMNET++ as NETA framework is compatible
    • INET Framework version 2.1.0 (click here to download)
    • NETA Framework version 1.0 (click here to download)
    Step 2: Carefully read the attached document “NETA frameworkDescription.pdf” which provides details about the working and usage of NETA framework. For installation, please read and follow steps given in Chapter 4 of this document. First, you need to install OMNET++ Simulator, then INET framework and then NETA framework.
    Step 3:
    We will be simulating a Simple Delay Attack in this assignment and the scenario incudes three nodes as shown in following snapshot. Node[0] send data at some specific rate to Node[1] through attacker[0] node. Attacker[0] node forwards the packets after certain delay as configured in simulation.
    8c06a152-073d-4db8-8558-ca15404323b6-image.png
    Figure 1: Simple scenario for simulation of Delay attack.

    Modify SimpleDelay.ini file attached with assignment file and change the seed-set value with last four digits of your student ID.
    e11b2fd1-fbba-490c-8db4-c43b9d778c58-image.png
    Afterwards, replace the SimpleDelay.ini inside SimpleDelayAttackScenario folder with this updated SimpleDelay.ini provided with assignment.
    Step 4:
    Provided SimpleDelay.ini file includes three different simulation scenarios with different packet delay rates as it can be seen in the last part of this file as below. You need to use your own ID in the configuration name.
    5cc6be13-cbd1-4276-a610-173b55193857-image.png

    You need to run and simulate each scenario and find the End-to-end delay for packets received at destination node i.e. Node 1 for each scenario.
    Submission
    You are required to submit TWO snapshot as shown below of your simulation results including results for the end-to-end delay of packets received at destination node 1 in each scenario through LMS.

    Sample snapshot of desired result is given below and it was obtained with simulation seed-set value 6789. You have to run simulation with seed-set value as last four digit of your student ID and in that case simulation results will be different from the one given below.
    b28c05c8-fecf-4c90-9916-bcbed1264bde-image.png

    Figure 2: Desired snapshot 1

    35b56751-fd60-47bd-a99f-b9d66d4d0d12-image.png
    Figure 3: Desired snapshot 2 (legend must be visible)

    You can watch helping

    uploaded

    section in order to get understanding about OMNET++, INET and NETA frameworks installation and configuration and how to perform desired simulation. This tutorial is actually simulating Dropping Attack whereas in this assignment you are required to simulate Delay Attack. Hope you can get an idea about simulating delay attack from the tutorial.



Quiz 100% Result
| |