Assignment No. 01
Semester: Fall 2019
CS707: Network Security Total Marks: 20
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.
The objective of this assignment is to;
Learn and practice using OMNET++ Simulator
Simulate network attacks in OMNET++
Understand how attack affect network performance
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.
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.
We will be simulating a Simple Delay Attack in this assignment and the scenario incudes three nodes as shown in following snapshot. Node send data at some specific rate to Node through attacker node. Attacker node forwards the packets after certain delay as configured in simulation.
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.
Afterwards, replace the SimpleDelay.ini inside SimpleDelayAttackScenario folder with this updated SimpleDelay.ini provided with assignment.
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.
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.
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.
Figure 2: Desired snapshot 1
Figure 3: Desired snapshot 2 (legend must be visible)
You can watch helping
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.