Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS707 - Network Security
  5. CS707 Assignment 1 Solution and Discussion
CS707 Assignment 1 Solution and Discussion
zareenZ
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. [image: eIWwg9N.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. [image: 9YFoKeF.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. [image: l4NUpEa.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. [image: 9aZNao0.png] Figure 2: Desired snapshot 1 [image: nwGurDv.png] Figure 3: Desired snapshot 2 (legend must be visible) You can watch helping Tutorial uploaded https://youtu.be/1UIIHpzvuFY 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
zareenZ
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 https://www.youtube.com/watch?v=1xtBkukWiek&list=PLotxVjF5sP2yNSunfM23SXxDgRiyh-H0I 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
zaasmiZ
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

CS707 Assignment 1 Solution and Discussion

Scheduled Pinned Locked Moved CS707 - Network Security
cs707assignment 1solutiondiscussionfall 2019
1 Posts 1 Posters 482 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zareenZ Offline
    zareenZ Offline
    zareen
    Cyberian's Gold
    wrote on last edited by
    #1

    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 Tutorial uploaded
    https://youtu.be/1UIIHpzvuFY
    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.

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Cyberian only for Solution.
    Cyberian Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    %(red)[NOTE: Don't copy or replicating idea solutions.]
    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    1 Reply Last reply
    0

    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
    File Sharing
    Earn with File Sharing

    2

    Online

    3.0k

    Users

    2.8k

    Topics

    8.2k

    Posts
    solution
    1235
    discussion
    1195
    fall 2019
    813
    assignment 1
    428
    assignment 2
    294
    spring 2020
    265
    gdb 1
    238
    assignment 3
    79
    • PM. IMRAN KHAN
      undefined
      4
      1
      4.0k

    • Are the vaccines halal or not?
      undefined
      4
      1
      3.8k

    • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
      zaasmiZ
      zaasmi
      3
      26
      75.1k

    • CS614 GDB Solution and Discussion
      M
      moaaz
      3
      3
      8.1k

    • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
      Y
      ygytyh
      3
      28
      23.9k
    | |
    Copyright © 2010-26 RUP Technologies LLC. USA | Contributors | Privacy | Terms
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved