A man-in-the-middle attack is a type of cyberattack where a perpetrator intercepts or meddles with communications between two parties in order to eavesdrop on or manipulate the conversation.