Skip to content
Access control Write-up Intermediate

Register Mapping From Blind Scan To Process Understanding In grficsv3

The article describes how an attacker with network access to a simulated industrial PLC can enumerate Modbus registers, correlate raw values with HMI engineering units, and identify writable setpoints that control physical process variables. By writing to one such setpoint, the attacker could cause the process to drift, potentially leading to unsafe conditions.

urjasec Follow

Published on infosecwriteups.com

In IT security, you compromise a server and you get files with names. Documents.

urjasec, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the PLC exposes writable setpoint registers over Modbus without authentication, and the mapping between registers and physical process variables is not protected, allowing an attacker to manipulate the process.

Impact

An attacker could change a setpoint and cause the process to drift, potentially leading to unsafe pressure or other hazardous conditions, as demonstrated by a small pressure drop when a setpoint was altered.

What the attacker needed

Network access to the PLC; knowledge of Modbus protocol; access to HMI or process documentation for correlation

How it was found

  1. Run a blind sweep of Modbus addresses to find non-zero registers.
  2. Poll the identified registers over time to classify them as static or dynamic.
  3. Correlate register values with HMI displayed engineering values to assign labels.
  4. Test writability by writing a safe delta to each candidate register and reading back.
  5. Change a writable setpoint and observe the effect on the HMI and process.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is about a simulated chemical plant controlled by an industrial computer called a PLC. The PLC stores numbers in registers, but without labels it's hard to know what each number means. The author shows how to figure out which numbers control things like pressure and flow, and which ones can be changed to affect the real process.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.