How does encryption prevent someone from replaying signals sent between an ATM and a bank?
Encryption prevents a "replay attack"—where a thief records legitimate signals between an automated teller machine (ATM) and a bank to deceive the system later—by ensuring that the communication is not merely secret, but also authenticated.1
If signals were simply encrypted for secrecy, an attacker could still capture and re-send the exact same encrypted data to the bank’s central computer to trigger an unauthorized cash withdrawal. To prevent this, modern cryptography employs protocols that ensure each exchange is unique and verifiable. By using techniques such as sign/countersign exchanges or appending authentication data to messages, the system ensures that the bank only accepts instructions that are part of a legitimate, current transaction sequence.12
If an attacker attempts to replay a previously recorded signal, the bank’s system will recognize it as invalid or non-authentic, as the protocol requires fresh, unpredictable data for each interaction. This ensures that even if an eavesdropper intercepts a transmission, they cannot successfully impersonate a user or force the machine to dispense money illegitimately.12