How many different devices can you identify

Assignment Help Python Programming
Reference no: EM132142659

Project: Reconnaissance and Attack on ICS NetworksEnvironment Setup

The second mini project will be based on Industrial Network Protocols, specifically the Modbus protocol. Please follow the instructions carefully to set up the project environ- ment:

- We will be using Mininet for the project. Pre-built VM images including Mininet and other useful software is provided in the following link :Mininet VM.
- Once the download is complete, import the VM onto VirtualBox (or any other VMM) by double-clicking the .ovf file.
- Turn on the VM. When prompted to login, use the following details:
- Login: mininet
- Password: mininet
- To get a GUI, on the command line type the following :
- sudo apt-get update
- sudo apt-get install xinit ubuntu-desktop (this takes a while)
- startx
- Ctrl+Alt+T to get a terminal. Type : rm -rf∼ /.config
- We will also be using Wireshark, a packet analyser, in the project. It has been installed in the VM by default. Please update it to the last version. If you could not find it, download the last version of Wireshark from here:Wireshark
- Download the Modbus tk library fromModbus tk. Go through the examples on the same Github page. They are very helpful.
- Here are some other useful documentation on Modbus protocol:link 1;link 2;link 3.

Introduction

In the previous project, we have learned how to read, write and modify a Ladder Logic program. This is a very important skill to have as an attacker when trying to compromise an ICS network through PLCs. But before you can do that you need to have knowledge of the network such as the number of nodes communicating, the processes they are running, etc. Then, you can send malicious commands with the same protocol and perform severe sabotage. Since most of the ICS protocols are communicating with plain text, it is very easy to launch attacks on these systems. As the first step, an attacker would first perform reconnaissance on the network by collecting and analyzing the network traffic.

Part 1

Download the modbus capture.pcapng file from Canvas. This file contains communication between several devices running the Modbus protocol. Assume there is a reactor within a reactor chamber. The target process is to control the reactor temperature and maintain it around 100 C. There are two valves connected to the reactor chamber. One valve fills the reactor chamber and the other valve drains the reactor chamber. There is a master device. The master toggles coils on a PLC to simulate the opening or closing of one of the two valves in order to regulate the temperature. The master also randomly writes a set point on the PLC. This writing of set point is to indicate that the master is tweaking the reactor temperature in order to optimize the reactor functioning. Note that there might be some other unknown sensors in the process and pcap file. Use Wireshark to analyze the given pcap file and answer the following questions:

1. How many different devices can you identify? Mention what role they play in the reactor example described above.

2. How many registers can you identify on each device? 3.What type of registers are being accessed on each device?

4.Which PLC and Modbus reference/register addresses are used to control the tem- perature set point and valves?

Briefly state your reasoning behind each answer.

Part 2

Now that you have understood and identified the different devices and registers from the pcap file, recreate the setup you have seen in part 1 using run simulation.py. Modify the Modbus master (tcp master.py) to set the temperature really high and close both the valves, attempting to cause an explosion. Pseudo codes for both Master and slave are provided in tcp master.py and tcp slave.py, respectively. Use Wireshark to capture the traffic between the master and the slaves and submit the pcap (name it Part2.pcap).

State and explain briefly your assumptions/reasoning. Note that you should create the network exactly the same as part 1; however, you do not need to simulate sensor readings. Simulating the malicious write commands would be sufficient to get the full credit of this part.

Attachment:- mini project.rar

Reference no: EM132142659

Questions Cloud

Why the company would benefit from adopting an hris : Explain two to three reasons why the company would benefit from adopting an HRIS. Focus on how the HRIS would address the current HR needs of the organization.
Explain the role of goals and goal setting in organizations : Describe tools that can be used for virtual, synchronous meetings. Explain the role of goals and goal setting in organizations.
Reflective Essay - Developing your Communication Competency : BUSN20017: EFFECTIVE BUSINESS COMMUNICATION ASSIGNMENT, CQ University Australia, Reflective Practice Essay: Developing your Communication Competency
Does your organization utilize self-service portals : Imagine a vendor responded to your request for a HRIS proposal. What are the indirect/direct costs and benefits of the HRIS? What is the cost of implementation.
How many different devices can you identify : CS6263: Introduction to Cyber Physical System Security - Project: Reconnaissance and Attack on ICS Networks - How many different devices can you identify?
Describe the follower qualities and behaviors : Describe the follower's qualities and behaviors that contribute to productive and rewarding leader-follower relationships.
Write a brief introduction to your company : Imagine you work for a company that has recently merged with a global company. Write a brief introduction to your company as well as the company that merged.
Describe the types of courage : Describe the types of courage that an effective follower should have.
Outline the talent management program that led to success : Outline the talent management program that led to success for the company. Describe opportunities for improvement in the talent management planning process.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd