Desafios da adoção de Criptografia Pós-Quântica - Alexandre Giron
Introduction to the Forum and Guest Speaker
Welcome and Context
- The session begins with Professor Fábio Alexandre Espanhol welcoming participants to the Forum of Graduate Programs in Computing in Paraná, emphasizing the relevance of the topic.
- Professor Alexandre Giron is introduced as a guest speaker, highlighting his academic background and expertise in post-quantum cryptography.
Overview of Post-Quantum Cryptography
- The focus of Professor Giron's lecture will be on the challenges associated with adopting post-quantum cryptography, which aims to secure data against both classical and quantum computing threats.
- The presentation aims to introduce key concepts related to post-quantum cryptography and discuss practical aspects regarding its implementation.
Presentation by Professor Alexandre Giron
Introduction by Professor Giron
- Professor Giron expresses gratitude for the invitation and hopes for an engaging session while inviting questions from attendees.
Challenges in Adopting Post-Quantum Cryptography
- He outlines that his talk will provide an overview of challenges faced during the transition to post-quantum cryptographic systems.
Background on Research Focus
Academic Credentials
- Professor Giron shares his educational background, including degrees from various universities, emphasizing his role as coordinator of a working group focused on blockchain security using post-quantum cryptography.
Funding and Research Goals
- His research group is funded by RNP's Iliada project, aiming for completion by October 2025.
Importance of Cybersecurity Awareness
Promoting Cybersecurity Culture
- Emphasizing the need for raising awareness about cybersecurity issues, he highlights efforts towards popularizing this culture within society.
Structure of the Lecture
Key Topics Covered
- The lecture is divided into three main points: defining post-quantum cryptography, discussing NIST's standardization process, and exploring practical challenges in its adoption.
Threat Landscape: Quantum Computers
Understanding Quantum Threat
- Discussion centers around how quantum computers pose a significant threat to traditional asymmetric encryption methods like RSA due to their ability to solve complex mathematical problems efficiently.
Vulnerabilities in Current Cryptographic Algorithms
Specific Examples
- RSA's reliance on integer factorization makes it vulnerable; quantum algorithms can potentially break these encryptions once sufficiently powerful quantum computers are available.
Solutions through Post-Quantum Cryptography
Definition and Purpose
- Post-quantic cryptography (also known as quantum-resistant or quantum-safe cryptography), aims at providing security against potential future quantum attacks while operating on current hardware architectures.
Transitioning Algorithms
Migration Strategy
- The goal is to replace existing algorithms with those designed to withstand quantum threats while ensuring compatibility with current systems.
Distinction Between Quantum Cryptography
Clarifying Concepts
- It’s important to differentiate between post-qubit encryption (which runs on classical hardware but resists quantum attacks), versus true quantum encryption that operates solely on quantum hardware.
Mathematical Foundations
Resistance Factors
- Post-qubit algorithms are based on mathematical problems without known efficient solutions via either classical or quantum means. This ensures their resilience against future computational advancements.
Current State of Quantum Computing Threat
Existing Limitations
- While there are theoretical vulnerabilities identified through Shor’s algorithm published in the mid-'90s, current technology lacks sufficient power for immediate exploitation.
Symmetric vs Asymmetric Encryption
Impact Assessment
- Although symmetric encryption faces some risk from Grover’s algorithm, experts believe its impact remains manageable compared to asymmetric methods which require urgent attention due to their vulnerabilities.
Recommendations for Security Enhancement
Practical Measures
- To mitigate risks posed by Grover’s algorithm against symmetric keys, doubling key lengths (e.g., moving from AES with128 bits security level up to256 bits).
Identifying Vulnerable Algorithms
List of Affected Systems
- Commonly used algorithms such as RSA, DSA (Digital Signature Algorithm), elliptic curve-based systems are considered broken under potential future threats posed by advanced computing capabilities.
Transition Challenges Ahead
Global Infrastructure Issues
- Transitioning globally requires replacing established asymmetric algorithms across diverse infrastructures—complicated further by public key infrastructure complexities inherent within different countries' regulations.
Trust Issues During Transition
Building Confidence
- Trust plays a crucial role; established algorithms have decades-long scrutiny whereas new ones lack similar historical validation leading concerns over reliability during migration phases.
Urgency Around Migration Timelines
Future Projections
- Experts debate when exactly we might see operationally relevant quantum computers capable enough threatening existing public-key infrastructures; estimates suggest significant advancements could occur before2035 based upon ongoing research trends observed today.
: Conclusion & Next Steps
Preparing For Change
- : Organizations must begin preparing now rather than waiting until imminent threats arise; proactive measures should include assessing current systems’ vulnerabilities alongside developing strategies aimed at transitioning smoothly toward more secure frameworks ahead!
Understanding Quantum Attacks on Cryptography
Capture and Decrypt Later Attack
- The "capture and decrypt later" attack involves an attacker capturing encrypted packets now and storing them for future decryption using quantum computers.
- This method poses a significant threat to sensitive data, as attackers could potentially decrypt communications exchanged today in the future when quantum computing becomes more advanced.
Urgency of Addressing Quantum Threats
- There is an urgent need to protect current communications against potential future attacks, especially concerning long-term security data traversing networks.
- Over 90% of TLS/HTTPS connections utilize ephemeral keys generated through asymmetric cryptography, which are vulnerable to future quantum attacks.
Emergence of Post-Quantum Cryptography (PQC)
Adoption of PQC Standards
- As of August 2024, Google Chrome has begun implementing post-quantum cryptography for key exchange processes.
- Various platforms like iMessage and OpenSSH have also integrated PQC into their systems, indicating a shift towards enhanced security measures.
Current State of PQC Implementation
- While PQC is becoming a reality, issues regarding authenticity remain unresolved; practical applications are still developing.
- The standardization process led by NIST is ongoing, with submissions from the scientific community aimed at establishing robust post-quantum algorithms.
NIST Standardization Process
Progress in Algorithm Selection
- In 2018, out of 69 submissions for post-quantum algorithms, many were quickly broken or merged due to similarities.
- By 2019, the selection narrowed down to 26 candidates after initial evaluations revealed vulnerabilities in several algorithms.
Finalizing Standards
- The first set of post-quantum standards was announced in August 2022 by NIST after extensive evaluation phases.
Key Algorithms and Their Characteristics
Overview of Selected Algorithms
- ML-KEM (Key Encapsulation Mechanism), designed for key exchange using lattice-based cryptography, has been established as a primary standard by NIST.
Size Implications
- Compared to traditional public keys that range around 64 bytes, ML-KEM's public keys can be significantly larger (800+ bytes), impacting storage and transmission efficiency.
Future Directions in Post-Quantum Cryptography
Ongoing Developments
- The fourth round of algorithm selection focuses on digital signatures known as the "on-ramp" process for new signature algorithms under consideration.
Challenges Ahead
- Guidelines for implementation are still being developed; existing recommendations lack finalization but aim to address migration strategies effectively.
Mathematical Foundations Behind PQC
Types of Cryptographic Problems
- Current standards primarily rely on lattice-based problems while exploring other mathematical frameworks such as code-based cryptography and multivariate problems.
Lattice-Based Cryptography Insights
- Lattice structures involve multidimensional algebraic constructs where solving specific vector problems becomes computationally challenging for large dimensions.
Implementing Post Quantum Cryptography
Migration Strategies
- Organizations looking to adopt PQC should consider hybrid modes that combine classical and post-quantic methods ensuring gradual transition without compromising security.
Tools Available
- Open Quantum Safe project provides libraries compatible with various programming languages facilitating easier integration into existing systems.
Key Takeaways on Post-Quantum Cryptography
Importance of Risk Analysis
- Utilizing post-quantum cryptography is essential for protection, but it’s not a standalone solution; risk analysis must accompany its implementation.
- Example: When accessing online banking, encrypted passwords are transmitted to servers, highlighting the need for long-term security measures in cryptographic assets.
Long-Term Information Security
- Long-term information requires migration policies; using the same password for years poses significant risks.
- Brazilian civil registry proposes using encryption for birth certificates, raising questions about long-term data management and algorithm updates.
Popularization of Cybersecurity Awareness
- Contributing to the popularization of cybersecurity knowledge is crucial; understanding threats is the first step toward effective migration to secure systems.
- Emphasizing the importance of updating to post-quantum cryptography before quantum computers become prevalent ensures better protection against future threats.
Audience Engagement and Questions
Addressing Audience Queries
- The speaker acknowledges audience engagement and invites questions regarding post-quantum cryptography and its implications.
Current State of Quantum Computing
- Quantum computing remains limited due to high costs and infrastructure requirements; however, some access exists through platforms like IBM's quantum computers.
Future Implications of Quantum Computing
Accessibility Challenges
- Initial access to quantum computing will likely be restricted to large organizations rather than smaller entities due to resource constraints.
User Impact from Post-Quantum Cryptography
- For everyday users, asymmetric cryptography operates transparently; users can verify if they are utilizing post-quantum encryption through browser settings.
Preparing for Quantum Threat Mitigation
Anticipating Quantum Day (Q-Day)
- The concept of "Q-Day" refers to when quantum computing could realistically threaten current encryption methods; proactive security measures are recommended.
Shortening Certificate Validity Period
- Reducing certificate validity periods enhances security by limiting potential attack windows as technology evolves towards quantum capabilities.
Transitioning Financial Systems
Prioritizing Financial Applications
- Financial institutions should prioritize adopting post-quantum cryptography due to their reliance on vulnerable algorithms like DES and Triple DES.
Cost Considerations in Algorithm Updates
- Concerns exist regarding whether financial sectors will update algorithms effectively or face challenges similar to those seen with IPv6 adoption.
Criteria for Secure Post-Quantum Algorithms
Defining Security Standards
- A secure post-quarantine algorithm must rely on mathematical problems resistant to both classical and quantum solutions, ensuring robust security against attacks.
Implementation Vulnerabilities
- Even secure algorithms can be compromised through poor implementations that leak sensitive information via side-channel attacks.
Relationship Between Current Hash Functions and Post-QC
Hash Function Resilience
- SHA256 remains relatively safe against quantum threats compared to RSA or ECC but may require adjustments such as increasing bit lengths for enhanced security.
Recommendations for Developers
- Developers should adopt hybrid approaches combining traditional algorithms with post-quarantine alternatives during transitions.
Urgency in Migration Strategies
Application vs Infrastructure Challenges
- While infrastructure changes are complex, immediate attention should focus on applications handling sensitive data requiring urgent migration strategies.
Conclusion on Data Sensitivity
- Protecting sensitive communications from potential future attackers emphasizes the urgency in transitioning towards more secure systems.
Viability of Post-Quantum Algorithms
Current Applications and Limitations
- Some scenarios indicate that post-quantum algorithms are already viable for use, particularly with low costs and faster verification than current algorithms.
- The short-term effects of enabling post-quantum algorithms depend on the specific cryptographic assets involved.
- An example is given of a cryptocurrency aiming to be post-quantum but faced a classic attack that compromised its algorithm within a year.
Risks in Migration
- Migrating to a new algorithm without proper hybrid solutions can lead to vulnerabilities, as demonstrated by the cryptocurrency's failure after an attack on its chosen algorithm.
- Careful migration is essential; choosing the right algorithm is crucial to avoid significant losses.
Short-Term Changes After Migration
Impact on Performance
- Transitioning to larger signature sizes (e.g., from 200 bytes to 7 KB) can have noticeable impacts on application performance.
Hybrid Cryptography for Transition
Importance of Hybrid Solutions
- The concept of hybrid cryptography is favored for easing transitions from classical systems to post-quantum systems, primarily due to trust issues.
- A real-world example illustrates the risks associated with moving solely to post-quantum solutions without hybrid approaches.
Mitigating Risks
- Hybrid solutions provide additional time for migration if one part becomes compromised, thus enhancing security during transitions.
Role of Truly Random Numbers in Security
Generating Secure Keys
- Truly random numbers are critical for generating secure keys against quantum attacks; however, current sources may not be cryptographically secure.
Quantum Random Number Generators
- Quantum devices can produce truly random numbers differently than traditional methods, which could enhance security.
Companies Experimenting with Post-Quantum Algorithms
Industry Adoption
- Major companies like Cloudflare, Amazon, Microsoft, and Google are actively experimenting with post-qubit encryption technologies.
Accessibility of Quantum Computers
Future Availability
- Initially, quantum computers will likely be accessible only to large entities such as governments and major corporations before reaching smaller businesses and individual users.
Research Activity in Post-Quantum Cryptography
National Initiatives
- The field of research in post-qubit cryptography is active globally with numerous publications emerging regularly.
Brazilian Efforts
- In Brazil, institutions like ITI are conducting studies related to post-qubit cryptography while also integrating these algorithms into hardware produced locally.
Promising Post-Qubit Algorithms
Algorithm Selection Criteria
- When selecting promising algorithms for replacing current standards, compliance with regulations and performance metrics must be considered.
Benchmarking Approaches
- Conducting benchmarks while adopting hybrid models cautiously allows organizations urgent needs without compromising security standards.
Understanding Attack Scenarios
Record Now Decrypt Later Attack
- This attack scenario highlights vulnerabilities when asymmetric encryption is used for symmetric key exchange; it poses risks under certain conditions.
Cryptographic Agility and Its Implications
Addressing Vulnerabilities
- Cryptographic agility aims at reducing attack surfaces through clear API definitions rather than introducing new vulnerabilities.
Implementation Considerations
- Effective implementation relies heavily on how well these principles are executed in practice.
Importance of Cybersecurity Education
Building Awareness
- Cultivating a culture around cybersecurity awareness is vital not just for post-qubit cryptography but across all digital interactions.
Professional Training Initiatives
- Programs like Hackers do Bem aim at training professionals in cybersecurity amidst growing demand within this field.
Turn any video into a summary like this
YouTube links, meetings, lectures. With transcripts, search, and chat.