A programmable logic controller is a small computer that runs an industrial process. It reads sensors, executes a control loop written in ladder logic or structured text, and drives actuators. PLCs run electric motors, chemical reactors, water treatment plants, oil pipelines, and the assembly lines that build cars and phones. They are the silent infrastructure of the modern world.
For most of their history, PLCs lived on isolated networks. Communication used proprietary protocols over serial links. Cybersecurity was not a design goal because there was no internet to defend against. That changed slowly through the 2000s as Modbus over TCP, EtherNet/IP, PROFINET, and OPC UA brought standard internet protocols into the factory. Stuxnet in 2010 made the threat unmistakable. Today, every industrial automation vendor has a security program, and IEC 62443 is the framework that defines what that program should look like.
Adding post-quantum cryptography to PLCs is the next chapter. The harvest-now-decrypt-later threat applies to industrial control. Engineering files, recipes, and process data have long shelf lives. PLC firmware updates are signed today with classical algorithms that quantum computers will eventually break. This article walks through the practical path forward.
What IEC 62443 actually requires
IEC 62443 is a series of standards from the International Electrotechnical Commission. It covers cybersecurity for industrial automation and control systems, abbreviated IACS. The series has multiple parts addressing different audiences: operators, integrators, and component manufacturers.
IEC 62443-3-3 defines system security requirements and security levels. Security Level 1 protects against casual or coincidental violation. Level 2 protects against intentional violation by attackers with simple means. Level 3 protects against attackers with sophisticated means and moderate resources. Level 4 protects against attackers with extended resources, such as nation-states.
For each security level, the standard lists specific requirements. SR 3.1 covers communication integrity, SR 3.4 covers software and information integrity, and SR 4.1 covers information confidentiality. Cryptography is the standard mechanism for these requirements. As post-quantum algorithms enter mainstream availability, manufacturers can use them to meet existing IEC 62443 requirements with stronger guarantees.
IEC 62443-4-2 specifies component-level requirements, including for embedded devices like PLCs. Network components must support cryptographic protection of sensitive data both at rest and in transit. The standard does not mandate specific algorithms, but it requires that algorithms be appropriate for the risk and that they be replaceable as standards evolve. This algorithm agility requirement aligns naturally with the migration to post-quantum cryptography.
PLC processor and memory constraints
A typical mid-range PLC has a microcontroller running at hundreds of megahertz with a few megabytes of program memory and tens to hundreds of kilobytes of working memory. High-end PLCs have more powerful processors but still operate in tight power budgets. Real-time scan times of one millisecond or less are common, with hard deadlines on every cycle.
Cryptographic operations must fit within this budget. ML-KEM-768 encapsulation runs in low milliseconds on a typical PLC processor. ML-DSA-65 signing takes longer, on the order of tens of milliseconds. Verification is faster, in low milliseconds. These numbers are tractable for cryptographic operations that happen at session establishment or at firmware update time, but not for every scan cycle.
The good news is that PLCs do not need to do crypto every cycle. A typical pattern is to establish a TLS-protected session at startup, then exchange operational data over that session for hours or days without further key agreement. The crypto cost is a one-time hit at session start. For firmware updates, signature verification happens once per update, with the result cached in flash memory.
Memory consumption is more constraining. ML-KEM-768 needs roughly 2400 bytes for the public key, 770 bytes for the ciphertext, and a few kilobytes of stack space during operation. ML-DSA-65 has larger keys and signatures, with the secret key around 4000 bytes. Adding both algorithms to a PLC firmware adds tens of kilobytes of code and similar amounts of working memory. Modern PLCs have the headroom, but older deployed devices may not.
Modbus, EtherNet/IP, and PROFINET security
Modbus is the workhorse industrial protocol, dating back to 1979. The original Modbus over serial had no security at all. Modbus over TCP, defined by Modbus Organization specifications, added the network layer but kept Modbus's plaintext nature. Modbus Security, defined in the 2018 specification by Modbus Organization, adds TLS-based authentication and confidentiality.
For Modbus Security, the TLS layer can use any TLS 1.3 cipher suite. As post-quantum cipher suites become available in TLS implementations, Modbus Security inherits them. The IETF working group on TLS and the corresponding IETF draft on hybrid post-quantum key exchange in TLS provide a path forward. PLC vendors who already support Modbus Security can adopt hybrid post-quantum cipher suites with firmware updates.
EtherNet/IP and PROFINET have similar security extensions. CIP Security for EtherNet/IP adds TLS to the existing protocol stack. PROFINET Security uses IPsec-style protection. Both can adopt post-quantum cipher suites as the underlying TLS or IPsec libraries gain support.
OPC UA, the more modern industrial protocol, has cryptographic protection built into its core. OPC UA Part 6 defines the security model, including the negotiation of cryptographic algorithms. The OPC Foundation has been actively tracking post-quantum standardization and has published guidance on planning for the migration. New OPC UA deployments can specify hybrid algorithms today, with support expanding through 2025 and beyond.
Firmware update signing
PLC firmware is critical infrastructure. A malicious firmware update can take down a chemical plant, damage a centrifuge, or open spillway gates. Vendors have long protected firmware with digital signatures, traditionally using RSA or ECDSA. Migration to post-quantum signatures is the logical next step.
ML-DSA is the natural choice for firmware signing because it is a stateless lattice-based signature with reasonable performance. SLH-DSA, the hash-based signature in NIST FIPS 205, is also an option, particularly for firmware that needs the long-term security guarantee of hash-based cryptography. Hash-based signatures have a clean security argument that does not depend on lattice assumptions, providing diversification.
The signature verification happens on the PLC at update time. ML-DSA-65 verification runs in low milliseconds even on modest processors. SLH-DSA verification is comparably fast. The signing happens at the vendor's secure facility on more powerful hardware, so signing speed is not a constraint.
The hybrid pattern, signing with both ML-DSA and ECDSA, gives defense-in-depth. If the post-quantum algorithm is later found to have a flaw, the classical algorithm still provides security against current attackers. If quantum computers eventually break the classical algorithm, the post-quantum algorithm still holds. QNSQY offers this hybrid pattern for file signatures on Pro and Business, pairing ML-DSA with Ed25519 rather than ECDSA, and the same logic applies to firmware updates.
Hybrid encryption covers the construction in detail.
Engineering files and project archives
Engineering files for PLC projects often have long retention requirements. A petrochemical plant might keep its control system documentation and ladder logic source for the life of the facility, often thirty years or more. These files frequently contain proprietary recipes, process know-how, and intellectual property that is valuable to competitors and adversaries.
Engineering files at rest are vulnerable to harvest-now-decrypt-later attacks. An adversary who exfiltrates encrypted project archives today can store them indefinitely, then decrypt when quantum computers become capable enough. Migrating to post-quantum encryption now prevents this.
QNSQY can encrypt PLC project files with hybrid ML-KEM plus X25519. The encrypted file is portable across operating systems and can be archived on any storage system. Recovery requires the private key, which can be held by a small number of authorized engineers. This is a practical step that industrial operators can take today, independent of PLC vendor support for in-protocol post-quantum algorithms.
Harvest now decrypt later explains the threat in more detail.
OT and IT convergence
Operational technology, OT, and information technology, IT, were historically separate domains. OT cared about availability and safety. IT cared about confidentiality and integrity. The two worlds had different priorities, different protocols, and different staff.
Modern industrial environments increasingly blend OT and IT. Manufacturing execution systems, MES, pull data from PLCs into enterprise databases. Predictive maintenance pushes machine learning models from cloud platforms back to edge devices on the factory floor. Digital twin technology requires constant data flow between the physical plant and its virtual representation.
This convergence brings IT-style security threats into OT environments. Phishing emails that compromise an engineer's laptop now have a path to PLC firmware. Ransomware that encrypts plant historians can disrupt operations. Post-quantum cryptography needs to follow the same path. The PLC at the edge and the data warehouse in the cloud both need protection that will hold up against future quantum attacks.
The Cybersecurity and Infrastructure Security Agency, CISA, publishes industrial control systems advisories that track vulnerabilities in OT environments. CISA guidance increasingly includes cryptographic recommendations, with post-quantum migration appearing in long-term planning documents.
Safety integrity levels and crypto
IEC 61508 defines safety integrity levels, SIL, for industrial control systems. SIL 1 is the lowest assurance, SIL 4 is the highest. Each level has corresponding requirements for hardware fault tolerance, software design, and verification rigor.
Cryptographic operations interact with SIL requirements when they affect safety functions. A safety-instrumented system that uses cryptographically signed setpoints needs to verify those signatures within the safety function's response time budget. ML-DSA verification is fast enough that this works for SIL 1 through SIL 3 systems. SIL 4 systems with sub-millisecond response time budgets may need to precompute verifications or use certificate-based delegation.
The IEC 61784-3 series defines functional safety communication profiles for industrial networks. PROFIsafe, openSAFETY, and CIP Safety all extend their respective protocols with safety integrity. Cryptographic protection of these safety messages is increasingly required for SIL 3 and above. Post-quantum algorithms can fit, with attention to the timing budget.
Algorithm agility and lifecycle planning
PLCs deployed today might run for fifteen to twenty years. The cryptographic algorithms shipped today need to either stay secure for that long or be updateable. NIST FIPS 203, 204, and 205 are designed for the long term, but cryptanalytic advances could weaken specific parameter sets earlier than expected.
Algorithm agility means designing the device so that algorithms can be updated through firmware patches. The cryptographic interface should be abstract enough that swapping ML-KEM-768 for ML-KEM-1024, or replacing ML-DSA with FN-DSA, requires only firmware changes, not silicon changes. This requires a software architecture where crypto is a clearly defined module rather than scattered through the codebase.
QNSQY's design embraces algorithm agility. The file format includes an algorithm identifier so that the same software can handle multiple cryptographic constructions. Pro and Business expose more algorithm choices, and Business adds HQC for organizations that want diversification away from lattice-based KEMs and FN-DSA for those who prefer Falcon-style signatures, both still pre-standard. As NIST publishes new standards, the format extends naturally.
Frequently asked questions
Does IEC 62443 mandate post-quantum cryptography? Not yet. IEC 62443 requires that algorithms be appropriate for the risk and replaceable as standards evolve. As post-quantum algorithms become standard, manufacturers will use them to meet existing requirements with stronger guarantees.
Can existing PLCs be retrofitted with post-quantum support? Many can through firmware updates if the processor has enough headroom. Older devices with locked silicon or tight memory budgets may not. New deployments should specify post-quantum capability as a requirement.
Which post-quantum algorithm is best for PLCs? ML-KEM-768 plus X25519 for key agreement and ML-DSA-65 plus Ed25519 for signatures, in a hybrid construction. SLH-DSA is an option for firmware signing where hash-based security guarantees are valuable.
Does post-quantum cryptography fit in a PLC scan cycle? Not for every scan cycle, but yes for session establishment and firmware update. PLCs typically establish secure sessions once and then exchange data over those sessions for extended periods.
What is the migration path for industrial control systems? Start with engineering files at rest using QNSQY or similar file-level tools. Add hybrid post-quantum cipher suites to TLS-based protocols like Modbus Security. Migrate firmware signing to hybrid signatures. Plan a longer arc for in-protocol changes to less common protocols.
Sources
- IEC 62443 Series Industrial Communication Networks Network and System Security, https://www.iec.ch/dyn/www/f?p=103:38:::::FSP_ORG_ID,FSP_APEX_PAGE,FSP_PROJECT_ID:1273,23,7029
- IEC 61508 Functional Safety of Electrical Electronic Programmable Electronic Safety-related Systems, https://www.iec.ch/functionalsafety
- NIST FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, https://csrc.nist.gov/pubs/fips/203/final
- NIST FIPS 204, Module-Lattice-Based Digital Signature Standard, https://csrc.nist.gov/pubs/fips/204/final
- NIST FIPS 205, Stateless Hash-Based Digital Signature Standard, https://csrc.nist.gov/pubs/fips/205/final
- CISA Industrial Control Systems Advisories, https://www.cisa.gov/topics/industrial-control-systems
- Modbus Organization Specifications, https://modbus.org/specs.php
Related Articles
- What is post-quantum cryptography
- Hybrid encryption
- Harvest now decrypt later
- ML-KEM explained
- NIST FIPS guide
- 6G Research and PQC: ITU-T and 3GPP Direction
- PQC on Automotive ECUs: AUTOSAR and ISO 21434
- ACH Transfers and Post-Quantum Cryptography
- POS Systems and PQC: P2PE Roadmap
Protect Your Data Before Q-Day Arrives
QNSQY's NIST-standardized post-quantum encryption protects files against both current and quantum-era threats.