The BB84 protocol is fundamental to quantum-secure communications, yet its extension to multi-receiver networks remains underexplored. This study addresses this gap by implementing a dual-receiver BB84 framework in Qiskit to evaluate security against intercept–resend and photon-number-splitting (PNS) attacks. Our methodology incorporates weak coherent pulses and realistic channel imperfections. Key findings show that intercept–resend attacks induce a detectable (~25%) increase in QBER, while PNS attacks allow a 100% gain in eavesdropper information with less than 2.5% QBER—revealing a critical vulnerability, which highlights the importance of a true single-photon source. The findings emphasize the suitability of BB84 for multiparty QKD scenarios, either as a decoy-state mechanism for enhanced eavesdropping detection or as a direct secure communication protocol.
The BB84 protocol is fundamental to quantum-secure communications, yet its extension to multi-receiver networks remains underexplored. This study addresses this gap by implementing a dual-receiver BB84 framework in Qiskit to evaluate security against intercept–resend and photon-number-splitting (PNS) attacks. Our methodology incorporates weak coherent pulses and realistic channel imperfections. Key findings show that intercept–resend attacks induce a detectable (~25%) increase in QBER, while PNS attacks allow a 100% gain in eavesdropper information with less than 2.5% QBER—revealing a critical vulnerability, which highlights the importance of a true single-photon source. The findings emphasize the suitability of BB84 for multiparty QKD scenarios, either as a decoy-state mechanism for enhanced eavesdropping detection or as a direct secure communication protocol.
Among the various quantum key distribution (QKD) protocols, SARG04 was proposed as a modification of the well-known BB84 protocol to enhance its resilience against sophisticated eavesdropping strategies, particularly the Photon Number Splitting (PNS) attack. Evaluating the performance and security of such protocols in realistic scenarios is crucial for their practical deployment. This paper introduces a comprehensive simulation framework developed in Python using the Qiskit library to analyze the SARG04 protocol. The simulator models realistic conditions by incorporating system noise and implementing two significant attack strategies: the PNS attack and the partial intercept-resend attack. We conduct an extensive experimental analysis of the protocol’s performance, primarily in terms of the Quantum Bit Error Rate (QBER), using various simulated quantum backends provided by IBM’s Qiskit. Furthermore, we assess the protocol’s security by quantifying the amount of information an eavesdropper can acquire. Based on the simulation data, we derive empirical formulas to predict the QBER and the information leakage under different attack parameters. These formulas are then validated against an independent backend, demonstrating their accuracy and predictive power. This work provides a practical demonstration of the feasibility and robustness of the SARG04 protocol and offers a valuable tool for future research in QKD.
Quantum Key Distribution (QKD) provides an innovative approach for secure communication by utilizing the principles of quantum mechanics. Among various QKD protocols, the BB84 protocol remains the most widely studied and implemented due to its simplicity and theoretical security guarantees. However, practical implementations of BB84 are vulnerable to several eavesdropping attacks and channel imperfections. This paper presents a comprehensive study on the detection and analysis of eavesdropping attacks in the BB84 protocol. The work focuses on common attacks such as intercept-resend attack, photon-number splitting attack, Trojan horse attack, and phase-covariant cloning attack. The effect of these attacks on Quantum Bit Error Rate (QBER) is analyzed in detail. Simulation-based observations are discussed to demonstrate how QBER increases under malicious interference. The study further explores statistical methods for detecting eavesdropping and examines practical countermeasures including decoy states, privacy amplification, and error correction techniques. The paper concludes that BB84 remains robust against eavesdropping when proper detection and mitigation mechanisms are employed.
Quantum Key Distribution (QKD) is increasingly recognized as a robust solution to the vulnerabilities posed by quantum computing to classical encryption systems. This paper presents a comprehensive investigation of the BB84 protocol, the foundational QKD scheme, through simulated quantum communication using IBM’s Qiskit framework. The study models quantum key exchange under both ideal and adversarial conditions, including channel noise and intercept-resend attacks. The Quantum Bit Error Rate (QBER) was measured as a function of noise intensity and eavesdropping, confirming that QBER increases predictably in compromised channels. A threshold of 11% QBER was used to determine the viability of secure key generation. Final key retention rates were analyzed across multiple channel scenarios, revealing BB84’s sensitivity to both photon loss and adversarial interference.\n\nSecurity vulnerabilities such as photon-number-splitting and detector blinding were assessed, and countermeasures including decoy-state protocols and authenticated classical channels were proposed. Four key performance graphs were generated to visualize system behavior under realistic operational conditions. The results support BB84’s theoretical advantage in ensuring information-theoretic security while acknowledging real-world limitations in transmission range and hardware reliability. The paper concludes by addressing future improvements in QKD systems, including satellite-based distribution, quantum repeaters, and device-independent implementations. Through simulation-driven analysis, this study validates BB84 as a practical defense against quantum-enabled attacks and underscores the need for continued development and standardization in post-quantum cryptographic infrastructure.
As quantum computing threatens classical cryptography like RSA via Shor's algorithm, Quantum Key Distribution (QKD)—especially BB84—offers physics-based security. BB84 leverages quantum principles: Heisenberg Uncertainty, No-Cloning Theorem, and superposition, shifting from math complexity to unbreakable physical laws using polarized photons for key exchange. The protocol detects eavesdropping through Quantum Bit Error Rate (QBER), showing 25% errors in Intercept-Resend attacks. Key challenges like Photon Number Splitting (PNS) attacks are addressed via decoy states. Compared to B92 and E91, BB84 balances feasibility and security best. Despite issues like signal loss, BB84 provides provably secure communication, restoring trust in a post-quantum world.
With the rapid development of quantum computing, traditional encryption techniques are expected to face serious security challenges in the near future. By depending on the principles of quantum physics rather than computing complexity, Quantum Key Distribution (QKD), and specifically the BB84 protocol, provides a radically new method of secure communication. In this project, an adaptive BB84-based framework is implemented and analyzed under realistic conditions, including channel noise and multiple eavesdropping strategies. The system integrates error correction, privacy amplification, finite-key analysis, and decoy-state mechanisms to reflect practical deployment scenarios. Three major attack models—intercept-resend, photon number splitting, and Trojan horse—are simulated to evaluate protocol robustness. The experimental results show that during normal communication the average Quantum Bit Error Rate (QBER) remains close to 3–4%, whereas the presence of active eavesdropping increases the QBER beyond the commonly accepted 11% threshold, resulting in protocol termination. Additional statistical testing under varying noise conditions confirms stable secret key generation and reliable detection of malicious interference. Overall, the proposed framework serves as a comprehensive simulation platform for studying the security behavior of BB84 in controlled experimental environments.
Quantum Key Distribution (QKD) is one of the most promising technologies that enable theoretically unbreakable secure communications in this highly advanced information security era. This work provides a comparative analysis of QKD protocols such as BB84, Coherent One-Way (COW), and Differential Phase-Shift (DPS) against eavesdropping attacks e.g., Photon Number Splitting (PNS) attack. It employs a realistic approach to simulations such as using weak coherent pulse (WCP) sources. This work also explores qubit generation and the whole key distribution process in non-ideal conditions. Detailed algorithms have been discussed that simulate the encoding, transmission, and decoding process for every protocol, as well as simulating PNS attacks where an eavesdropper removes photons to gain key information without any detectable errors. Statistical metrics, such as Visibility and the information gain, are used to quantify the impact of these attacks. Future work aspects may include the extension of the simulation to incorporate additional parameters such as channel noise, fiber attenuation, detector dark counts, etc. to provide a realistic analysis to compare various QKD protocols.