Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)

June 2025
Vol-11, Issue-3
Paper ID: 26942
ISSN: 2395-4396
Downloads: 0

Abstract & Details

Research Area
Computer Science Engineering
Keywords
Man in the middle attack Diffie-Hellman key exchange TLS/SSL Encryption & Decryption Cryptography Socket programming python Cybersecurity Network security public key exchange.
Abstract
This project demonstrates how a Man-in-the-Middle (MITM) attack can exploit the Diffie- Hellman key exchange when it is performed without proper authentication. Diffie-Hellman is a widely used method for establishing shared secret keys over an insecure channel. However, if an attacker can intercept the key exchange, they can deceive both parties and establish separate keys with each one, thus reading and modifying messages unnoticed. The simulation is implemented in Python using socket programming, where three entities— Alice (sender), Bob (receiver), and Mallory (attacker)—simulate a communication scenario. The attacker Mallory sits between Alice and Bob, intercepting and re-encrypting messages. This exposes the vulnerability in unauthenticated key exchange protocols and highlights the need for secure cryptographic practices such as TLS/SSL and digital certificates.

Author Information

# Name Institute / Affiliation
1 Mahesh Purushottam Gajbhiye Rajiv Gandhi College of Engineering research and technology
2 Dr. Dhananjay Dumbere Rajiv Gandhi College of Engineering research and technology

How to Cite

Use the following formats to cite this article in your research.

APA Style
Gajbhiye, Mahesh Purushottam & Dumbere, Dr. Dhananjay (2025). Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM). International Journal of Advance Research and Innovative Ideas In Education, 11(3), 3885-3889.
MLA Style
Gajbhiye, Mahesh Purushottam, and Dr. Dhananjay Dumbere. "Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)." International Journal of Advance Research and Innovative Ideas In Education, vol. 11, no. 3, 2025, pp. 3885-3889.
IEEE Style
Mahesh Purushottam Gajbhiye and Dr. Dhananjay Dumbere, "Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)," International Journal of Advance Research and Innovative Ideas In Education, vol. 11, no. 3, pp. 3885-3889, 2025.
Vancouver Style
Gajbhiye Mahesh Purushottam, Dumbere Dr. Dhananjay. Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM). International Journal of Advance Research and Innovative Ideas In Education. 2025;11(3):3885-3889.
Harvard Style
Gajbhiye, Mahesh Purushottam & Dumbere, Dr. Dhananjay (2025) 'Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)', International Journal of Advance Research and Innovative Ideas In Education, 11(3), pp. 3885-3889.
Chicago Style
Gajbhiye, Mahesh Purushottam and Dr. Dhananjay Dumbere. "Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)." International Journal of Advance Research and Innovative Ideas In Education 11, no. 3 (2025): 3885-3889.
Turabian Style
Gajbhiye, Mahesh Purushottam and Dr. Dhananjay Dumbere. "Diffie Hellman Key Exchange Algorithm with Man in the middle attack (MITM)." International Journal of Advance Research and Innovative Ideas In Education 11, no. 3 (2025): 3885-3889.

Export Citation

Related Research

CYBERSECURITY WITH AI
SAHANA MURTHY 2026 Computer Science
PDF Unavailable
A NOVEL HYBRID IMAGE STEGANOGRAPHY TECHNIQUE BASED ON LSB AND CRYPTOGRAPHIC SECURITY
Pankaj Nandan et al. 2026 Computer Science
PDF Unavailable
AnimalAid AI: A Deep Learning Powered Early Warning System for Detecting Skin Infections and Diseases in Stray Dogs
Sharan Subhas Savalagi et al. 2026 Computer Science and Engineering
PDF Unavailable
LiverCare AI: Intelligent Medical Imaging Platform for Liver Tumor Detection and Clinical Guidance
Sheshank et al. 2026 Computer Science and Engineering
PDF Unavailable