Points A (Australia) through to Q - R (Quantum-Resistance)

Stewart Walters (Managing Director and Security Architect · Bespoke IT)

BSides Canberra VII (2024) · Day 2 · Main Track

Overview

In his compelling BSides Canberra talk, "Points A (Australia) through to Q - R (Quantum-Resistance)," Stewart Walters, Managing Director and Principal Consultant at Bespoke IT, delivered a critical examination of the state of cryptography and key management within Australian organizations. Walters argues that many entities fundamentally misunderstand and mismanage their cryptographic systems, often operating in a state of assumed security without factual basis. The presentation transcends mere technical discussion, delving into the philosophical underpinnings of "security" itself, emphasizing that it is a value judgment rather than a verifiable fact.

Watch on YouTube

Visual summary for Points A (Australia) through to Q - R (Quantum-Resistance) by Stewart Walters
Visual summary for Points A (Australia) through to Q - R (Quantum-Resistance) by Stewart Walters

Key moments

  1. 0:00 Introduction and speaker's unique background
  2. 6:00 Philosophy of security: proving insecurity, not security
  3. 22:00 Foundational cryptography: Secrets must remain secret
  4. 34:00 RSA 2048 deprecation and modern key sizes
  5. 38:00 Demystifying quantum computers and their cryptographic threat
  6. 56:00 Urgency of quantum resistance: Harvest now, decrypt later
  7. 62:00 Two-phase organizational strategy for quantum resistance
  8. 72:00 Critical key management: Use FIPS 140 certified HSMs

Points A (Australia) through to Q - R (Quantum-Resistance)

Speakers: Stewart Walters, Managing Director and Security Architect, Bespoke IT

Conference: BSides Canberra

YouTube: https://www.youtube.com/watch?v=ZD7uzysDJDA

Overview

In his compelling BSides Canberra talk, "Points A (Australia) through to Q - R (Quantum-Resistance)," Stewart Walters, Managing Director and Principal Consultant at Bespoke IT, delivered a critical examination of the state of cryptography and key management within Australian organizations. Walters argues that many entities fundamentally misunderstand and mismanage their cryptographic systems, often operating in a state of assumed security without factual basis. The presentation transcends mere technical discussion, delving into the philosophical underpinnings of "security" itself, emphasizing that it is a value judgment rather than a verifiable fact.

Walters highlights the urgent need for organizations to address foundational issues in their cryptographic practices, from outdated algorithms like RSA 2048 to the pervasive lack of Hardware Security Modules (HSMs). He then pivots to the looming threat of quantum computing, demystifying its implications for current cryptographic standards and outlining a pragmatic, two-phased strategy for achieving quantum resistance. This talk is essential for anyone involved in information security, risk management, or organizational leadership, as it provides a stark reality check on current practices and a clear roadmap for navigating the complex cryptographic landscape of the coming decades.

Background

▶ Watch: Introduction and speaker's unique background (0:00)

Stewart Walters brings a wealth of experience to this topic, drawing from a diverse career spanning roles as a Unix administrator (specializing in DNS and LDAP), Windows administrator (Active Directory design), cryptography specialist (TLS and PKI design, implementation, and audit), and ultimately a Solutions, Security, and Enterprise architect. He notes a common thread across these roles: a deep understanding of hierarchies and how they can fail, a perspective particularly salient in the context of Public Key Infrastructure (PKI). This extensive background informs his critical assessment of why Australian organizations frequently "get cryptography and key management wrong."

Walters posits that the prevailing issues stem from a fundamental lack of due care and skill within organizations, coupled with a pervasive misunderstanding of what "secure" truly means. To address this, he introduces philosophical concepts from David Hume. Hume's is-ought problem and fact-value distinction are central to his argument: "secure" is a value judgment, not an objective fact. Consequently, it's impossible to prove 100% security, but it is entirely possible to prove insecurity. Karl Popper's work on falsifiability further reinforces this, differentiating scientific (disprovable) from pseudoscientific (constantly reinterpreted) approaches. This philosophical grounding informs Walters' auditing methodology, where the burden of proof for security rests squarely on the organization, rather than on the auditor to prove a breach.

The talk also revisits foundational cryptographic principles: Kerkhoff's Principle (1883) and Shannon's Maxim (1949), both essentially stating that "secrets must remain secret" even if the entire system, except for the keys, falls into enemy hands. This principle underpins all modern cryptographic design. Walters also touches upon the People, Process, and Technology model, observing that many organizations mistakenly try to solve people or process problems with technology solutions, leading to ineffective and costly implementations in cryptography and key management.

Key Findings

▶ Watch: Foundational cryptography: Secrets must remain secret (22:00)

Walters presents several critical findings regarding the current state of cryptography and the impending shifts:

  • Pervasive Insecurity: Walters candidly states he "can't genuinely remember the last time I didn't break a PKI" during audits, highlighting a widespread lack of due care and skill in cryptographic operations across Australian organizations. He emphasizes that if an organization cannot provide factual evidence of due care, he operates on an "assumed breach" position.
  • RSA 2048 Obsolescence: A significant finding is the urgent need to deprecate RSA 2048-bit keys. Based on NIST SP 800-57 Part 1 Rev 5, RSA 2048 has reached its sunset phase, having been inappropriate for new PKI trust chains since 2021 for systems requiring 10 years of protection, and will be unsuitable for any system requiring 5 years of protection beyond 2025. Many organizations mistakenly believe they are safe until December 2030, failing to account for the required protection period.
  • The Quantum Threat is Real (and Now): While fully functional, large-scale quantum computers capable of breaking current asymmetric cryptography are still speculative (estimated 15-45 years away, or possibly never), the threat of retrospective decryption (also known as "harvest now, decrypt later") is immediate. Nation-states are currently capable of recording encrypted traffic, storing it, and waiting for the advent of quantum computers to decrypt it. This necessitates starting quantum resistance planning now.
  • Distinction Between Quantum Resistance and Quantum Cryptography: Walters clarifies that Quantum Resistant Cryptography (QRC) involves mathematical algorithms designed to run on classical CPUs to withstand quantum attacks. This is distinct from Quantum Cryptography (QC), which uses quantum physics principles (like entangled photons) for encryption, a technology not yet practical for widespread adoption. The focus for organizations should be on QRC.
  • HSMs are Non-Negotiable: A critical finding is the absolute necessity of FIPS 140-2 or FIPS 140-3 certified Hardware Security Modules (HSMs) for protecting sensitive cryptographic keys. Walters asserts that without an HSM, organizations are not operating safely, as general-purpose operating systems (Windows, Linux, macOS) are inherently unsuitable for secure key storage due to their reliance on discretionary access controls (DACs) and the existence of superuser accounts, making key theft relatively straightforward.
  • Supply Chain as a Major Vulnerability: The transition to quantum resistance is heavily dependent on the supply chain. Many vendors currently lack QRC roadmaps or supporting technology, presenting a significant challenge for organizations needing to procure compliant systems.
  • Organizational Inertia: Critical Infrastructure (CI) organizations, in particular, are noted for their slow pace in adopting new technologies and implementing significant changes, underscoring the urgency of starting the QRC journey well in advance of the actual quantum threat.

Technical Deep Dive

▶ Watch: Demystifying quantum computers and their cryptographic threat (38:00)

Walters' talk is rich with technical detail, grounded in a unique philosophical framework for understanding security.

At the core of his auditing philosophy is Hume's fact-value distinction. Walters argues that "secure" is a value judgment, not a fact. You cannot empirically prove 100% security, as security is a state of being, an opinion. However, you can prove insecurity by demonstrating flaws or vulnerabilities. This leads to his "assumed breach" position: if an organization cannot provide factual evidence of operating a crypto system with due care and skill, then it is assumed to be compromised. This approach leverages business language (negligence, due care) to effectively communicate cryptographic risks to management.

The foundational principles of modern cryptography, Kerkhoff's Principle and Shannon's Maxim, are distilled into the imperative: "Secrets must remain secret." This means a crypto system should be secure even if everything about it, except its critical components, is public knowledge. These critical components include private keys, initialization vectors (IVs), nonces (numbers used once, which must never be reused), and truly random numbers (not pseudo-random or predictable). Walters stresses that cryptography is an "all or nothing" proposition; a break in any of these components renders the entire system insecure. When a secret is compromised, the only viable option is rekeying, a "hugely disruptive" process that might involve untrusting an entire root CA and reissuing every certificate in an organization.

The impact of Moore's Law on cryptography is highlighted. As CPU speeds continually increase (doubling roughly every two years), the computational cost for adversaries to break cryptographic algorithms decreases. To maintain an acceptable security margin, key sizes must periodically increase. Walters points directly to NIST Special Publication 800-57 Part 1 Revision 5 as the authoritative source for cryptographic key management guidance. Specifically, Tables 2 and 4, combined with Figure 2, dictate the algorithm security life based on the required protection period. For instance, while RSA 2048 is listed as acceptable until December 2030, this is only for systems requiring zero years of future protection. For systems needing 5 years of protection, RSA 2048 should have been retired by 2025, and for 10 years, by 2021. Walters recommends moving to RSA 4096 for Microsoft ADCS environments, as it offers a more robust step-up from 2048 than 3072, which is not directly supported by ADCS's bitwise scaling.

Regarding quantum computing, Walters provides an accessible, albeit simplified, overview. He distinguishes between Quantum Annealing processors (like those from D-Wave), which are irrelevant for cryptographic attacks, and Quantum CPUs (from IBM, Google), which pose the threat. Quantum CPUs utilize qubits, which can exist in states of 0, 1, or a superposition of both simultaneously, enabling faster computation for specific problems. These chips are highly error-prone and require extreme cooling (down to approximately -270°C, or 2 degrees colder than the vacuum of space) using superconducting circuits, making handheld quantum devices an impossibility for the foreseeable future.

The two main quantum algorithms threatening classical cryptography are:

  • Shor's algorithm: A full break of widely used asymmetric mathematics, including integer factorization (affecting RSA) and discrete logarithm (affecting DSA and ECDSA). This is a mathematical proof, requiring only a sufficiently large quantum CPU to execute.
  • Grover's algorithm: A partial break of symmetric algorithms like AES. It provides a quadratic improvement in speed, effectively halving the key space, meaning an AES 256-bit key would offer the security of an AES 128-bit key against a Grover's attack. The current countermeasure for AES is to double its key size.

The path to quantum resistance involves adopting new algorithms. Walters references the NSA Commercial National Security Algorithm (CNSA) Suite, noting the evolution from Suite B (2005, deprecated 2018) to CNSA 1.0 (which surprisingly reintroduced RSA 3072 or larger, alongside ECDSA, SHA-2, and AES) and now CNSA 2.0. CNSA 2.0, now largely aligned with NIST FIPS 203, 204, and 205 (with FIPS 206 in public comment), includes Crystals-Dilithium for PKI and code signing, LMS/XMSS for code signing, increased SHA-2 hash sizes, and doubled AES key sizes.

A major technical recommendation is the mandatory use of FIPS 140-2/3 certified HSMs. Walters argues that general-purpose operating systems are fundamentally insecure for key storage due to discretionary access controls (DACs) and the inherent power of superuser/root accounts. An adversary gaining elevated privileges can simply "take what they want" from the file system. HSMs provide physically separate, hardened storage, effectively eradicating key theft or making it "extremely hard" by imposing a significant cost on the adversary. Sensitive keys, such as root CAs, Key Archival Process (KAP) devices, keys issued by KAPs, administrator certificates for authentication, and code signing keys, must be protected by HSMs.

Finally, for user-based certificate authentication, Walters advocates for requiring a physical touch (e.g., pressing a button on a YubiKey, inserting a USB key or smart card). This simple physical action significantly impedes remote key theft, as it ensures an adversary cannot access the key without direct, physical interaction with the device.

Demo / Proof of Concept

▶ Watch: Urgency of quantum resistance: Harvest now, decrypt later (56:00)

While the speaker frequently refers to his professional experience in auditing cryptographic systems, stating, "I can't genuinely remember the last time I didn't break a PKI," this talk did not include a live demonstration or proof-of-concept of a cryptographic attack. Instead, it focused on the theoretical and practical implications of known vulnerabilities and misconfigurations observed in real-world environments.

Defensive Implications

▶ Watch: Critical key management: Use FIPS 140 certified HSMs (72:00)

Walters outlines a clear, two-phased strategic approach for organizations, particularly critical infrastructure (CI), to enhance their cryptographic posture and prepare for quantum resistance.

Phase 1: Fix the Basics (Next 5 Years)

This phase focuses on establishing a robust foundation in classical cryptography, addressing existing deficiencies in people, process, and technology:

  1. Clarify Management Intent (Policy and Governance):
  • Develop policy documents that use clear policy language, not technical or training jargon.
  • Ensure C-suite buy-in and regular updates.
  • Link policies directly to operational processes.
  • Define procedures for handling non-conformances and mandating their inclusion in a risk register for mitigation.
  • Foster active communication between management and staff on cryptography issues.
  1. Increase Oversight and Compliance (Audit and Inventory):
  • Establish a strong audit function capable of collecting high-quality evidence to assess the state of the environment.
  • Implement scheduled and random audits of all trusted root CA and intermediate CA stores on all endpoint devices to identify unauthorized trust.
  • Automate or manually determine the location of trusted root stores and private keys on any given device.
  • Ensure non-conformances are immediately remediated or formally managed through a risk register, preventing them from being ignored.
  • Crucially, create a comprehensive inventory of all cryptographic algorithms, trust chains, PKIs, and private keys across every device in the organization—including network devices, desktop/mobile OS, browsers, and critical infrastructure systems (PLCs, SCADAs, HMIs, HVAC, IoT). This is a common organizational failing but essential for future transitions.
  1. Upgrade Algorithms and Key Sizes:
  • Immediately discontinue the use of RSA 2048 for new PKI deployments and plan its rapid replacement in existing systems.
  • Align with CNSA 1.0 (and corresponding ISM/NIST standards) by moving to RSA 3072 or, preferably, RSA 4096 for Microsoft ADCS environments.
  1. Mandate FIPS 140-Certified HSMs:
  • Implement FIPS 140-2 or FIPS 140-3 certified Hardware Security Modules (HSMs) for the protection of all sensitive keys. This includes private keys of root CAs, Key Archival Process (KAP) devices, keys issued by KAP devices, administrator certificates used for authentication, and code signing keys. Walters asserts this is non-negotiable for operating safely.
  1. Enforce Physical Touch for Authentication:
  • For user-based certificate authentication (e.g., using YubiKeys), require a physical action (like a button press or device insertion) to access the key. This significantly increases the adversary's cost by preventing remote key theft.

Phase 2: Move Towards Quantum Resistance (10 Years After Phase 1)

Once the foundational issues are addressed, organizations can strategically pivot to quantum resistance:

  1. Manage the Supply Chain:
  • Embed quantum resistance requirements into all procurement processes, tenders, and contracts.
  • Communicate to vendors that their QRC roadmaps and product compliance with future QRC standards (e.g., CNSA 2.0+) will be a decisive factor in purchasing decisions.
  • Set hard timelines for vendor compliance, stating that non-compliant products will not be purchased after a specified date. This proactively drives vendors to develop and integrate QRC solutions.
  1. Implement CNSA 2.0+ Algorithms:
  • Begin planning for the adoption of CNSA 2.0 algorithms (e.g., Crystals-Dilithium for PKI and code signing, LMS/XMSS for code signing, increased SHA-2 sizes, and doubled AES key sizes) as they become standardized (NIST FIPS 203, 204, 205, 206) and commercially available. This will require significant effort due to the slow pace of technology acquisition in CI organizations.
  1. Proactive Planning to Avoid "Y2K Panic":
  • Start the quantum resistance journey now to avoid a last-minute, hugely expensive, and disruptive scramble akin to the Y2K efforts. The long lead times for technology acquisition, vendor engagement, and organizational change necessitate early action.

Key Takeaways

  • Security is a Value, Not a Fact: Organizations must shift from subjective feelings of security to a mindset focused on verifiable facts and provable due care and skill. If factual evidence of proper cryptographic operation is lacking, assume a breach.
  • RSA 2048 is Obsolete: The continued use of RSA 2048-bit keys is no longer safe for most applications, especially those requiring long-term protection. Immediate migration to stronger algorithms like RSA 4096 (or 3072+) is critical, aligning with NIST SP 800-57 Part 1 Rev 5.
  • Quantum Threat is Imminent (Harvest Now, Decrypt Later): While fully functional quantum computers are speculative, the threat of nation-states capturing and storing currently encrypted data for future decryption by Shor's or Grover's algorithms is a present danger. This necessitates starting quantum resistance planning and implementation without delay.
  • HSMs are Essential for Key Protection: Relying on general-purpose operating systems for sensitive key storage is fundamentally insecure. FIPS 140-2/3 certified Hardware Security Modules (HSMs) are a mandatory control for protecting critical cryptographic assets like root CAs, admin certificates, and code signing keys.
  • Comprehensive Inventory is Foundational: Organizations must gain a complete understanding of all cryptographic algorithms, trust chains, PKIs, and private keys deployed across their entire environment (including IT and OT systems) before any meaningful transition to quantum resistance can occur.
  • Strategic, Phased Approach is Required: The journey to quantum resistance is a multi-decade undertaking. Organizations must first fix their foundational cryptographic hygiene (people, process, technology) and then proactively engage their supply chain and plan for the adoption of new quantum-resistant algorithms to avoid future crisis and expense.

About the Speaker(s)

Stewart Walters is the Managing Director and Principal Consultant at Bespoke IT, a boutique consultancy based in Western Australia that operates nationwide. He is also a casual lecturer, the President-elect of the ISC2 WA chapter, and a co-administrator of the .au club. Walters specializes in solving problems related to confidentiality and integrity, with a particular focus on cryptography, authentication, and application control. His extensive career history includes roles as a Unix administrator, Windows administrator (with expertise in Active Directory design), cryptography specialist (TLS and PKI design, implementation, and audit), and Solutions/Security/Enterprise architect. This diverse background has provided him with a deep understanding of hierarchical systems and their failure modes, which he applies to his work in securing complex information systems.

Reviews

  • Heather Calloway (CISO) — MUST SEE ★★★★★

→ Top-rated talks at BSides Canberra VII (2024)

All talks from BSides Canberra VII (2024)