Attacks and Exploits
A PLC stores a pump speed setpoint as a 16-bit value in holding register 40010. A tester with Modbus/TCP access must set it to zero without capturing any traffic first. Which request does this?
Show the answer
Correct answerD. Write Single Register (function code 06)
AWhy not this: Read Input Registers only reads data; it cannot change the setpoint.
BWhy not this: A captured read response changes nothing in the PLC, and no capture exists anyway.
CWhy not this: Write Single Coil sets one on/off bit and does not write a 16-bit holding register value.
DWhy this is right: Write Single Register sets a chosen 16-bit value in a holding register, which is the register manipulation needed.
Holding registers are read/write 16-bit values, and Write Single Register sets one directly. Write Single Coil is tempting because it is also a write, but coils hold single bits, not 16-bit values.