Q: What is a man-in-the-middle (MITM) attack?
A: A MITM attack occurs when an attacker secretly intercepts and potentially alters the communication between two parties who believe they are communicating directly. The attacker relays messages between them, making them believe the communication is private, while in reality, they can eavesdrop on, inject, or modify the messages in transit.