Book Image

Pentesting Industrial Control Systems

By : Paul Smith
Book Image

Pentesting Industrial Control Systems

By: Paul Smith

Overview of this book

The industrial cybersecurity domain has grown significantly in recent years. To completely secure critical infrastructure, red teams must be employed to continuously test and exploit the security integrity of a company's people, processes, and products. This is a unique pentesting book, which takes a different approach by helping you gain hands-on experience with equipment that you’ll come across in the field. This will enable you to understand how industrial equipment interacts and operates within an operational environment. You'll start by getting to grips with the basics of industrial processes, and then see how to create and break the process, along with gathering open-source intel to create a threat landscape for your potential customer. As you advance, you'll find out how to install and utilize offensive techniques used by professional hackers. Throughout the book, you'll explore industrial equipment, port and service discovery, pivoting, and much more, before finally launching attacks against systems in an industrial network. By the end of this penetration testing book, you'll not only understand how to analyze and navigate the intricacies of an industrial control system (ICS), but you'll also have developed essential offensive and defensive skills to proactively protect industrial networks from modern cyberattacks.
Table of Contents (19 chapters)
1
Section 1 - Getting Started
5
Section 2 - Understanding the Cracks
9
Section 3 - I’m a Pirate, Hear Me Roar
15
Section 4 -Capturing Flags and Turning off Lights

Overriding and wiring the I/O

In the previous section, we created a simple hello world program and wrote it to our PLC. In this section, we are going to simulate a signal on our input contact to energize our coil on the output. We will be diving deeper into the functionality of the CLICK programming software, familiarizing ourselves with the data view, and overriding inputs to generate an energized coil. To do this, we are going to utilize a tool called Data View, which allows us to read and write values to the memory address that we selected for the Normally Open contact we created in the previous section.

To do this, open the Data View window from the Monitor menu, as shown in the following screenshot:

Figure 3.29 – Data View selection

You will be presented with a blank table, as shown here:

Figure 3.30 – Data View tool

Now, we are going to select the Address cell at row 001 and then click the Edit button in the...