A cyber attack known as a man-in-the-middle (MITM) occurs when an attacker transmits and maybe modifies communication between two parties who believe they are interacting directly. This allows the attacker to relay communication, listen in on conversations, and even change what each party says.