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: 91
Download PDF

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

PReFace : AI -Assisted Plausible Facial Restoration and Damage Reconstruction System
Syeda Arbeena Kausar et al. 2026 Computer Science and Engineering (Computer Vision, Deep Learning and Image Processing)
Download PDF
Customer Churn Prediction Using Machine Learning
Dr. Roshni Khlhe et al. 2026 Machine Learning, Artificial Intelligence, Data Analytics, and Customer Churn Prediction.
Download PDF
Automated web vulnerability scanner
Jitendra Sahu et al. 2026 Computer science
Download PDF
BLOOD BANK DEMAND PREDICTION SYSTEM: MACHINE LEARNINGBASED BLOOD DEMAND FORECASTING
Uday Dharmapal Wankhede et al. 2026 Computer Science & Engineering
Download PDF