A Framework For Identifying And Preventing Man-In-The Middle-Attack

8 Jun

Authors: Dr. B. Revathi alias Ponmozhi, Mrs. M. Dhayalini, Kaipu Bhaskar Reddy, Niranjana V

Abstract: Man-in-the-middle (MITM) attacks remain a significant threat to secure communication systems, enabling adversaries to intercept and manipulate data exchanges. This paper presents a framework for identifying and preventing MITM attacks through the integration of cryptographic operations and anomaly detection techniques. The proposed system is implemented in Visual Studio Code (VS Code) and employs AES (Advanced Encryption Standard) with Galois/Counter Mode (GCM) for authenticated encryption, alongside RSA for secure key exchange. These cryptographic primitives ensure confidentiality, integrity, and authenticity of transmitted data. The framework assumes that attackers exploit weak encryption protocols, compromised certificates, traffic analysis to distinguish legitimate communication from malicious activity. Recent advances in cybersecurity, including Al-driven anomaly detection and zero-trust architectures, inform the design of the system. Comparative evaluation demonstrates that the proposed approach achieves higher detection accuracy and lower false-positive rates than conventional intrusion detection solutions, while maintaining minimal computational overhead. The system was implemented using Visual Studio Code and tested through IP based communication between network nodes. It also demonstrates the proposed approach for the securing data transmission and successfully detects potential attacks while maintain the communication integrity. This contribution enhances secure digital communication.

DOI: http://doi.org/10.5281/zenodo.20589123