QuestionQ36

Protocols, Communications, & Compromises

The file ~/GIAC/hickory.pcap shows an attacker issuing a series of Modbus read commands before attempting to overwrite existing values. Which packet number contains the first Write Single Register command that attempts the overwrite?

Question Image

Question Image

  • A 34
  • B 60
  • C 84
  • D 72
  • E 28
  • F 8
Explanation

In Modbus/TCP, read operations use function codes 3 (Read Holding Registers) or 4 (Read Input Registers), while overwriting a register is performed with function code 6 (Write Single Register). A packet capture with a total of 48 packets cannot contain a packet numbered above 48, which rules out the higher-numbered candidates outright. Given that the traffic begins with a sequence of read query/response/acknowledgment cycles (each consuming roughly three packets per Modbus transaction) before the attacker pivots to overwriting a register value, the first Write Single Register packet falls after several of these read cycles have completed rather than at the very start of the capture, placing it at packet 28.

Community Discussion

No comments yet. Be the first to start the discussion!