Ask Python Expert

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

Python, Programming

  • Category:- Python
  • Reference No.:- M93130124
  • Price:- $100

Guranteed 48 Hours Delivery, In Price:- $100

Have any Question?


Related Questions in Python

Part i the assignment filesone of the most important

Part I: The Assignment Files One of the most important outcomes of this assignment is that you understand the importance of testing. This assignment will follow an iterative development cycle. That means you will write a ...

Homework -this homework will have both a short written and

Homework - This homework will have, both a short written and coding assignment. The problems that are supposed to be written are clearly marked. 1) (Written) Make heuristics Describe two heuristics for the slide problem ...

Tasksdemonstrate data scraping of a social network of

Tasks Demonstrate data scraping of a social network of choice. Develop technical documentation, including the development of the code & detailing the results. Provide a report on the findings, that includes research into ...

Assignment1 utilising python 3 build the following

Assignment 1. Utilising Python 3 Build the following regression models: - Decision Tree - Gradient Boosted Tree - Linear regression 2. Select a dataset (other than the example dataset given in section 3) and apply the De ...

Python programming assignment -you first need an abstract

Python Programming Assignment - You first need an abstract base class, called, Account which has the following attributes and methods: accountID: This attribute holds the ID assigned the account , if not provided set to ...

Learning outcomes lo3 - research develop and document a

Learning Outcomes LO3 - Research, develop, and document a basic security policy, and analyse, record, and resolve all security incidents LO4 - Identify and assess the threats to, and vulnerabilities of networks Assessmen ...

Question research pythons dictionary data type dictdiscuss

Question : Research Python's dictionary data type (dict). Discuss its interface and usage. Include examples. Discuss practical applications of dictionaries.

Questionwhat is a python development frameworkgive 3

Question What is a python development framework? Give 3 examples python development framework used today. and explain which development framework is used in which industry.

Below zero - ice cream storethe local ice-cream store needs

Below Zero - ice cream store The local ice-cream store needs a new ordering system to improve customer service by streamlining the ordering process. The manager of the store has found that many orders are incorrect and s ...

The second task in this assignment is to create a python

The second task in this assignment is to create a Python program called pancakes.py that will determine the final order of a stack of pancakes after a series of flips.(PYTHON 3) Problem Task In this problem, your input w ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As