A replay attack is a form of cyber attack where an attacker intercepts and records a valid data transmission, then maliciously replays it later to gain unauthorized access to a system or data.