Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved
    1. Home
    2. Categories
    3. Virtual University
    4. CS707 - Network Security
    • CS707 Assignment 1 Solution and Discussion

      zareen

      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.

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

      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.

      Figure 2: Desired snapshot 1


      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.

      CS707 - Network Security
    • CS707 Assignment 2 Solution and Discussion

      zareen

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

      Due Date:05/12/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 OpenSSL tool
       Learn creation of public and private keys
       Practical usage of AES and RSA algorithms for Encryption/Decryption

      Assignment

      In this assignment, we will be using OpenSLL tool to create your public and private keys and then use the same to encrypt and decrypt simple text file containing your VU student ID and name. This assignment is very simple and basic level in order to provide basic understanding of the working of security algorithms using OpenSSL tool. All you need is download and install OpenSLL, and run simple commands as desired in Task 1 and Task 2.

      Step 1: Download OpenSLL (32bit or 64bit) from official website as per your system configuration from following link or course download section
      https://slproweb.com/products/Win32OpenSSL.html
      See following tutorial (first 04 min) for installation of OpenSSL

      Step 2: Carefully read the content and material available at following links which provides necessary details about the working and usage of OpenSSL tool.
      https://www.openssl.org/docs/man1.0.2/man1/openssl.html
      https://www.keycdn.com/blog/openssl-tutorial
      https://users.dcc.uchile.cl/~pcamacho/tutorial/crypto/openssl/openssl_intro.html

      Task 1: Reveal the Secret Code
      • SecretCode.txt file attached with this assignment contains a secret code and your task is to decrypt this file to get the secret code. This file is encrypted using AES algorithm with Electronic Code Book (ECB) mode having key size of 256-bits. Encryption password is abc123.
      • After successful decryption, what is the secret code inside SecretCode.txt file?

      Task 2 Decrypt Data File
      • You need to use RSA algorithm to decrypt a given file EncryptedDataFile.txt.
      • Both public key and private key files are also attached with assignment.
      • The EncryptedDataFile.txt file is encrypted using public key.
      • You task to decrypt EncryptedDataFile.txt file and reveal its contents in plain text format.

      Submission
      You are required to submit your solution in WM Word format containing:
      • Revealed secret code inside SecretCode.txt file in plain text format.
      • Revealed contents of inside EncryptedDataFile.txt file in plain text format.

      CS707 - Network Security
    • CS707 Assignment 4 Solution and Discussion

      zaasmi

      Video Presentation of Academic Research Paper
      For the presentation activity, students are required to record their video while presenting academic research paper slides, then put recorded video and slides in a zip file and upload it on VU-LMS. Therefore, each student is required to prepare PPTs of his/her academic research paper and then record his/her video while presenting the slides. Following are the guidelines in this regard:
      PPT Slides:

      Prepare presentation slides related to your academic research paper.
      There must not be more than 20 slides in your PPT file.
      First slide should contain student-ID, student-name, topic and course-name.
      Your presentation should describe the problem statement, methodology and conclusion.
      Save your presentation slides in .ppt or .pptx format.
      Video Recording:
      You have to formally present the slides with proper dress code and have to record the video of your presentation.
      You can use any video recording facility such as web cam, camera, mobile phone etc. for recording of your presentation (Download link of the tutorial “Tips for Recording Videos” is provided in the assignment package).
      The total time for recording should not exceed 10 minutes.
      After recording your video, you have to convert it in “.3gp” format using any video conversion tool to reduce the size of the video file. (Download link of the tutorial “Video Compression” is provided in the assignment package).
      After converting the video in .3gp format, review your file to verify that audio and video are playing properly.
      Install VLC media player to view your compressed video before uploading on VU-LMS. You can download VLC from http://www.videolan.org/vlc/download-windows.html.
      It is preferable to use English in your presentation in case of reluctance you can also use Urdu language.
      Note that you will record your presentation standing in front of camera.
      Students writing academic paper in group should submit presentation individually with their own video recording.
      Submission:
      Compress your video file and presentation file using any compression tool like WinZip or WinRAR.
      Upload the compressed file (.zip or .rar) on VU-LMS. Make sure that its size should not exceed 30 MB.
      Note: It is not required to show PPT slides in the recorded video.

      Tips for Recording Videos:
      http://vulms.vu.edu.pk/Courses/CS701/Downloads/Tips for Recording Videos.mp4

      Video Compression:
      http://vulms.vu.edu.pk/Courses/CS701/Downloads/Video Compression.mp4

      CS707 - Network Security
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • zareen

      CS707 Assignment 1 Solution and Discussion
      solution discussion fall 2019 assignment 1 cs707 • • zareen

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • zareen

      CS707 Assignment 2 Solution and Discussion
      solution discussion fall 2019 assignment 2 cs707 • • zareen

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • zaasmi

      CS707 Assignment 4 Solution and Discussion
      solution discussion spring 2019 assignment 4 cs707 • • zaasmi

      1
      0
      Votes
      1
      Posts
      16
      Views

      No one has replied

    50% Off on Your FEE Join US!

    Quiz 100% Result If you want to know how you can join us and get 50% Discout on your FEE ask Cyberian in Chat Room! Quiz 100% Result Quiz 100% Result
    solution1222 discussion1185 fall 2019813 assignment 1420 assignment 2292 spring 2020265 gdb 1237 assignment 380 crw10174 spring 201955
    | |
    Copyright © 2021 Cyberian Inc. Pakistan | Contributors
    Live Chat