Attacks and Exploits

A tester records a valid "start motor" command and resends it byte for byte an hour later, and the PLC executes it. Which three changes would make the PLC reject the resent command? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. Validate a sequence counter carried in each commandC. Require a timestamp inside a short validity windowD. Bind a per-session nonce into a message authentication code

AWhy this is right: A counter the PLC checks makes an already used command number invalid when resent.

BWhy not this: With a fixed key and no freshness data, the resent ciphertext is identical and still accepted.

CWhy this is right: A short validity window makes a command recorded an hour earlier expire.

DWhy this is right: A per-session nonce in a MAC ties each command to one session, so an old copy fails.

EWhy not this: A CRC only detects accidental corruption, and a resent copy carries the same valid checksum, so it is accepted.

A replay attack succeeds because the resent message is still valid. Sequence counters, timestamps and session nonces make an old message invalid. Fixed-key encryption alone gives identical ciphertext each time, so the resent copy is still accepted. A CRC checksum is identical on the resent copy, so it does not help either.