IOTOPS P. Liu, Ed. Internet-Draft R. Yang, Ed. Intended status: Standards Track Y. Zhang, Ed. Expires: 28 May 2027 X. Zhong, Ed. Pengcheng Laboratory Y. Gong, Ed. Schneider Electric 24 November 2026 Post-Quantum Authentication and Lifecycle Operations for IoT Deployments Using DNP3 SAv5 draft-liu-iotops-pqc-dnp-sav5-02 Abstract This document addresses post-quantum authentication migration for Internet of Things (IoT) deployments that already use DNP3 Secure Authentication version 5 (SAv5), including fleets of networked outstations and industrial gateways with limited local user interfaces. It describes identity provisioning, admission to authenticated operation, credential and session replacement, failure recovery, quarantine, and retirement under an operator's existing authorization policy. A cryptographic profile supports these lifecycle operations using an ML-KEM-768 and ML-DSA exchange, HKDF-SHA-256 session keys, canonical DNP3 application protocol data unit (APDU) encoding, transport segmentation, and HMAC-SHA-256 application authentication. The profile does not encrypt DNP3 payloads or replace application control authorization. This individual submission proposes Standards Track publication and requests IOTOPS review of its IoT operational requirements. The appropriate venue for new protocol work requires separate determination. DNP3 object variations and externally allocated algorithm identifiers require coordination with the responsible DNP3 standards authority. The local experimental selector is limited to explicitly configured laboratory use and is not an IEEE or IEC assignment. Discussion Status This note is to be removed before publishing as an RFC. This is an individual contribution for IOTOPS discussion of IoT onboarding, lifecycle management, remediation, and operational security. Its intended status remains Standards Track. That Liu, et al. Expires 28 May 2027 [Page 1] Internet-Draft IoT PQ DNP3 Operations November 2026 proposal does not establish working-group adoption, charter authority for a new DNP3 cryptographic extension, or endorsement by the DNP3 standards authority. The operational scope and protocol review boundaries are described in Section 5. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 28 May 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions and Requirements Language . . . . . . . . . . . . 4 3. Scope and Relationship to DNP3 SAv5 . . . . . . . . . . . . . 4 4. IoT Deployment and Lifecycle Operations . . . . . . . . . . . 5 4.1. Managed Outstations and Industrial Gateways . . . . . . . 5 4.2. Provisioning, Admission, Remediation, and Retirement . . 5 4.3. Fleet Scheduling and Operational Evidence . . . . . . . . 6 5. Relationship to the IOTOPS Charter and Protocol Review . . . 7 6. Threat Model and Goals . . . . . . . . . . . . . . . . . . . 8 7. Profile and Algorithm Suite . . . . . . . . . . . . . . . . . 8 Liu, et al. Expires 28 May 2027 [Page 2] Internet-Draft IoT PQ DNP3 Operations November 2026 8. Identity Provisioning and Binding . . . . . . . . . . . . . . 9 9. Authentication and Key Establishment . . . . . . . . . . . . 10 10. Session Activation, Replacement, and Recovery . . . . . . . . 11 10.1. Preparation and Control Quiescence . . . . . . . . . . . 12 10.2. Local Selection and Irreversible Retirement . . . . . . 12 10.3. Confirmation and Operational Enablement . . . . . . . . 13 10.4. Failure, Timeout, and Restart . . . . . . . . . . . . . 14 11. DNP3 APDU and Authentication Object Encoding . . . . . . . . 15 12. Transport Segmentation and Link Encoding . . . . . . . . . . 17 13. Session Key Derivation . . . . . . . . . . . . . . . . . . . 17 14. DNP3 Frame Authentication . . . . . . . . . . . . . . . . . . 18 15. Failure Handling and Downgrade Protection . . . . . . . . . . 18 16. Conformance Requirements . . . . . . . . . . . . . . . . . . 19 17. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 19 18. DNP3 Standards Coordination . . . . . . . . . . . . . . . . . 19 19. Interoperability and Validation Considerations . . . . . . . 20 19.1. Test Vectors . . . . . . . . . . . . . . . . . . . . . . 20 19.2. Security Review and Integration Testing . . . . . . . . 20 19.3. IoT Fleet and Lifecycle Evaluation . . . . . . . . . . . 21 20. Security Considerations . . . . . . . . . . . . . . . . . . . 21 21. References . . . . . . . . . . . . . . . . . . . . . . . . . 22 21.1. Normative References . . . . . . . . . . . . . . . . . . 22 21.2. Informative References . . . . . . . . . . . . . . . . . 23 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 23 1. Introduction Operators of networked industrial outstations and site gateways need to provision identity bindings, admit authorized devices to supervisory service, replace credentials, and recover failed authentication without visiting each site. Where a fleet has limited local user interfaces and cannot be managed manually at its deployed scale, these are IoT onboarding and lifecycle-management problems. DNP3 provides the existing supervisory control and data acquisition communication; Secure Authentication version 5 adds application authentication. Long device service lives motivate planning for post-quantum authentication migration. This document relates that migration to explicit inventory, admission, session replacement, recovery, and retirement procedures in Section 4. It also defines a post-quantum authentication exchange and binary carrier for ML-KEM-768, ML-DSA, and authenticated application messages. Authentication success is one input to operational admission; it does not grant permission to operate physical equipment. Liu, et al. Expires 28 May 2027 [Page 3] Internet-Draft IoT PQ DNP3 Operations November 2026 The IOTOPS charter covers requirements, device onboarding and lifecycle management, isolation, remediation, and operational security [IOTOPS-CHARTER]. Section 5 identifies how this document addresses those topics and distinguishes them from the new protocol and external standards work. The applicability is an operator- managed IoT deployment using DNP3, rather than every DNP3 installation or every constrained device. The application and link syntax follows DNP3 [IEEE1815]. This draft defines the additional post-quantum payload and its processing. It does not amend IEEE 1815 or IEC 62351-5 [IEC62351-5]. Standards coordination is described in Section 18. Session activation, replacement, and recovery are specified in Section 10. Interoperability and validation guidance are provided in Section 19. 2. Conventions and Requirements Language The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in BCP 14 [RFC2119] and [RFC8174] when, and only when, they appear in all capitals. In this document, Master is the initiating DNP3 endpoint and Outstation is the responding endpoint. The octet-string operator || denotes concatenation. Unless stated otherwise, lengths are in octets and integers use the encoding explicitly named for the field. 3. Scope and Relationship to DNP3 SAv5 The deployment scope is a fleet of capable IoT outstations or gateways that already uses DNP3 in an IP-connected or otherwise networked administrative domain. The operator supplies inventory, initial trust, role authorization, and a way to recover authentication when the affected relationship is unavailable. The profile is a step within onboarding and lifecycle management after initial trust provisioning; it is not a complete device-ownership or zero-touch enrollment system. The profile specifies authentication APDUs, a post-quantum authentication object, cryptographic transcripts, session activation, and authenticated application-message delivery. It retains the DNP3 user and authorization model. The 32-bit profile user field below is an identity index within this object; it MUST NOT be substituted into a standard SAv5 field with a different width or meaning. The Group 120 variation selector 240 (0xF0) is specified only as a configurable local laboratory value. This document does not assert that it is a reserved or available standards allocation. A standards Liu, et al. Expires 28 May 2027 [Page 4] Internet-Draft IoT PQ DNP3 Operations November 2026 deployment requires an object variation and any algorithm identifiers assigned by the responsible DNP3 authority. Existing Group 120 variations MUST NOT be reinterpreted to contain these fields. 4. IoT Deployment and Lifecycle Operations 4.1. Managed Outstations and Industrial Gateways The intended devices are networked within the Internet or a limited administrative domain, offer little or no end-user interface, and are deployed in numbers that make manual provisioning and maintenance impractical. A utility or industrial operator can manage many capable outstations from authorized Masters, or terminate this profile at a managed site gateway. These are illustrative deployment models; no measured field deployment or universal suitability claim is made. If a gateway terminates authentication, the authenticated peer is the gateway. This does not establish the identities or integrity of downstream sensors, serial devices, or controllers. Their local communication and application authorization remain separate. This document does not define a new IP mapping for serial-only devices or require replacing their existing protocols. Devices need sufficient resources for ML-KEM, ML-DSA, protected credentials, and the larger segmented authentication messages. Resource-constrained device classes are discussed in [RFC7228]. Operators SHOULD evaluate memory, cryptographic execution time, link capacity, and the fixed authentication deadlines before selecting endpoints or a gateway termination model. 4.2. Provisioning, Admission, Remediation, and Retirement Before authentication, the operator SHOULD maintain an authoritative mapping of inventory identity, expected Master and Outstation roles, DNP3 user and address configuration, approved suite, and the credential binding in Section 8. Factory provisioning or an authorized enrollment system supplies initial trust. A device address, user number, valid signature, or successful exchange MUST NOT create an ownership or role authorization by itself. Onboarding to authenticated DNP3 operation follows initial enrollment: install the authorized binding, perform Section 9, complete the non-actuating confirmation in Section 10.3, and then permit only operations allowed by the existing application and site policy. An authentication failure keeps control delivery disabled for the unconfirmed session. Network admission and application authorization remain separate decisions. Liu, et al. Expires 28 May 2027 [Page 5] Internet-Draft IoT PQ DNP3 Operations November 2026 Credential replacement and scheduled reauthentication use Section 10. Operators SHOULD stage fleet changes, identify the affected control relationships, and allow for control quiescence and an interrupted transition. Failure recovery MUST preserve the specified session retirement and fresh-exchange rules; it MUST NOT reactivate a retired session or automatically repeat a control with an unknown execution outcome. A recovery management path needs to remain usable when DNP3 authentication fails. Restoring configuration from backup can restore authorized policy and credential references, subject to current validity and revocation checks. It MUST NOT restore a retired or expired session, reset replay counters under a retained session key, or reauthorize a replaced device. After restart or loss of session state, the endpoint follows Section 10.4 and establishes fresh authentication. Required software support is installed through the deployment's separately authorized update mechanism; this profile defines neither firmware discovery nor distribution. For quarantine, revocation, or retirement, operators SHOULD cancel pending exchanges, invalidate affected sessions and credential bindings, and deny the device's operational access at the reachable Master or network enforcement point. Actions need to cover existing sessions as well as new authentication. An unreachable device remains revoked in inventory; its silence is not evidence of erasure. Replacement or ownership transfer requires a new authorization decision, and obsolete secrets are removed from stores under the operator's control. Isolation is coordinated with independent site safety procedures. 4.3. Fleet Scheduling and Operational Evidence Operators SHOULD limit concurrent authentication and remote signing workloads, stagger credential changes, and use bounded retries with backoff and scheduling jitter. Fleet scheduling MUST NOT extend a per-exchange or session-confirmation deadline. Dependence on time, credential-status services, management connectivity, and signing services should be evaluated for remote or intermittently connected sites. Useful non-secret observations include the inventory relationship, authorization revision, selected suite, transaction and session identifiers, candidate or active lifecycle state, confirmation outcome, failure category, and whether a control outcome is unknown. Reports SHOULD distinguish an authenticated session from a device admitted to operational control. Private keys, KEM shared secrets, session keys, and complete secret-bearing configurations MUST NOT be logged. Access to identity and topology metadata should be limited. Liu, et al. Expires 28 May 2027 [Page 6] Internet-Draft IoT PQ DNP3 Operations November 2026 5. Relationship to the IOTOPS Charter and Protocol Review The requested IOTOPS contribution is the operational treatment of provisioning and onboarding, administrative control, access control, quarantine, remediation, and end-of-life management for a fleet that already uses DNP3. These subjects appear in the charter's Informational and BCP scope [IOTOPS-CHARTER]. The device-lifecycle security issues discussed in [RFC8576] provide additional context. +======================+===========================================+ | Charter topic | Operational contribution | +======================+===========================================+ | Factory provisioning | Pre-authorized identity bindings, a fresh | | and onboarding | exchange, and non-actuating confirmation | | | before operational admission. | +----------------------+-------------------------------------------+ | Administrative and | Inventory and role policy remain | | access control | authoritative across credential and | | | session replacement. | +----------------------+-------------------------------------------+ | Remediation and | Fresh authentication after lost state, | | configuration | bounded retries, and preservation of | | recovery | unknown control outcomes. | +----------------------+-------------------------------------------+ | Isolation and end of | Cancellation of pending work, session | | life | invalidation, access denial, and removal | | | of obsolete secrets. | +----------------------+-------------------------------------------+ | Operational security | Resource evaluation, staged migration, | | guidance | non-secret observability, and fleet | | | failure testing. | +----------------------+-------------------------------------------+ Table 1: IoT Operational Concerns Addressed by This Document The current charter lists MUD, configuration backup and recovery, and software or firmware upgrade solutions as Standards Track and BCP work. A new DNP3 authentication protocol does not become a chartered Standards Track item merely because it supports IoT operations or includes recovery guidance. This individual submission retains its proposed Standards Track status; working-group chairs and the responsible Area Directors need to determine an appropriate venue and review path for that protocol work. The operational requirements can be developed separately if needed. No working-group adoption or external standards endorsement is asserted. Liu, et al. Expires 28 May 2027 [Page 7] Internet-Draft IoT PQ DNP3 Operations November 2026 DNP3 protocol and identifier changes require the coordination in Section 18; IOTOPS discussion does not transfer that authority. Where an existing IETF enrollment or management mechanism is selected, its extensions belong in its responsible working group. This document relies on deployment-provided initial trust and management without defining an integration with any particular enrollment or network-access mechanism. 6. Threat Model and Goals The network adversary can observe, inject, modify, delay, reorder, and replay traffic and can retain recorded traffic for later analysis. The adversary can submit malformed public keys, KEM ciphertexts, signatures, frame fields, and counters. The profile aims to provide post-quantum endpoint authentication, a fresh shared secret, integrity of authenticated DNP3 frames, and replay detection. The profile does not protect a compromised Master, Outstation, PKI, trust anchor, or signing service. It does not address denial of service, physical access, traffic analysis, safety authorization, cryptographic side channels, or availability of an external PKI. It provides no confidentiality for the DNP3 payload; HMAC authenticates data but does not encrypt it. 7. Profile and Algorithm Suite The profile identifier for this draft is dnp3-sa-v5-pqc-00. It is a local configuration name and is not a DNP3, IANA, IEEE, or IEC registration. +=====================+===========+====================+ | Function | Algorithm | Profile value | +=====================+===========+====================+ | Key encapsulation | ML-KEM | ML-KEM-768 | +---------------------+-----------+--------------------+ | Endpoint signatures | ML-DSA | ML-DSA-44, ML-DSA- | | | | 65, or ML-DSA-87 | +---------------------+-----------+--------------------+ | Key derivation | HKDF | HKDF-SHA-256 | +---------------------+-----------+--------------------+ | Application | HMAC | HMAC-SHA-256, | | authentication | | leftmost 16 octets | +---------------------+-----------+--------------------+ | Random challenges | CSPRNG | 32-octet nonces | +---------------------+-----------+--------------------+ Table 2 Liu, et al. Expires 28 May 2027 [Page 8] Internet-Draft IoT PQ DNP3 Operations November 2026 Implementations MUST implement ML-KEM-768, ML-DSA-65, HKDF-SHA-256, and HMAC-SHA-256 as the common interoperability baseline. ML-DSA-44 and ML-DSA-87 MAY additionally be supported. ML-KEM and ML-DSA use the algorithm definitions in FIPS 203 and FIPS 204 [FIPS203][FIPS204]. This requirement does not assert cryptographic- module validation. ML-KEM-768 public keys are 1184 octets, ciphertexts are 1088 octets, and shared secrets are 32 octets. The ML-DSA parameter set is selected by authenticated local trust configuration; both peers MUST agree on it and MUST reject a signature or key encoded for a different parameter set. The profile does not negotiate the ML-DSA level on the wire. Suite support alone does not authorize a peer or override the configured suite. 8. Identity Provisioning and Binding Each endpoint MUST have an active ML-DSA signing identity and a configured trust path or equivalent authenticated trust relationship. The choice of PKI provider and signing API is an implementation detail and is not part of the wire protocol. The Master and Outstation MUST bind the DNP3 user number, the expected peer role, and the ML-DSA public key to the locally configured endpoint identity. A user number alone MUST NOT select an arbitrary public key. The verifier MUST validate the peer's certificate or configured key binding, validity, revocation status where available, and authorization for the requested DNP3 role before accepting a signature. Implementations MUST support an authenticated local binding of user number, peer identity, role, ML-DSA parameter set, and exact FIPS 204 public-key octets. The binding MUST be provisioned and updated through an authorized configuration channel; an authentication record MUST NOT create or replace it. A separately specified certificate mechanism MAY additionally supply the same authenticated binding. Signatures use ML-DSA, rather than HashML-DSA, with the exact ASCII context string dnp3-sa-v5-pqc and the role-specific transcript below. An implementation MUST use the exact transcript bytes and context; it MUST NOT add a trailing zero to the context, prehash the message through an implementation-specific API, or treat a different serialization as equivalent. Liu, et al. Expires 28 May 2027 [Page 9] Internet-Draft IoT PQ DNP3 Operations November 2026 9. Authentication and Key Establishment The exchange consists of three encoded authentication records. Their type values are scoped to the object defined in Section 11. The Master selects a configured ML-DSA suite and a peer identity authorized for the profile user and Outstation role. The Outstation applies the corresponding Master identity policy. 1. The Master generates CN (32 random octets) and an ML-KEM-768 pair (PK_M, SK_M). It sets transaction-id = CN[0:16] and sends AUTH_CHALLENGE, type 1, containing CN || PK_M. 2. The Outstation generates SN (32 random octets), computes (CT, SS_S) = Encaps(PK_M), constructs TR below, and signs the Outstation-role input. AUTH_REPLY, type 2, contains SN || CT || signature. 3. The Master reconstructs TR and verifies the Outstation identity and signature before decapsulation. It computes SS_M = Decaps(SK_M, CT), derives K, and sends AUTH_CONFIRM, type 3, containing its role signature and the 32-octet key-confirmation value below. The Outstation verifies the signature, independently derives K, and verifies key confirmation before selecting the new session for the confirmation procedure in Section 10. TR = ASCII("DNP3-SA-v5-PQC") || 0x00 || LE32(user) || CN || SN || PK_M || CT S_input = ASCII("DNP3-SA-v5-SERVER") || 0x00 || TR M_input = ASCII("DNP3-SA-v5-CLIENT") || 0x00 || TR confirm = HMAC-SHA-256(K, ASCII("DNP3-SA-v5-CONFIRM") || 0x00 || SHA-256(TR)) Both signatures use the ML-DSA context dnp3-sa-v5-pqc. The user, suite, and transaction identifier MUST match the pending exchange. Receivers MUST require the expected record type and MUST NOT accept a duplicate confirmation to reinitialize session counters. Only one pending exchange per configured user/peer is permitted; its lifetime MUST be bounded to at most 30 seconds, measured locally from sending or receiving AUTH_CHALLENGE. An endpoint MUST enforce this deadline even if no further message arrives. A timeout discards the pending exchange. Any subsequent attempt MUST use a fresh CN and KEM key pair; handling of an existing session is specified in Section 10.4. Successful AUTH_CONFIRM validation selects the new session at the Outstation, but initially permits only the non-actuating confirmation procedure in Section 10.3. The Master selects the new session locally when it submits AUTH_CONFIRM for transmission and obtains Liu, et al. Expires 28 May 2027 [Page 10] Internet-Draft IoT PQ DNP3 Operations November 2026 confirmation of the Outstation's possession of K from the corresponding valid authenticated response. Application delivery under an unconfirmed candidate MUST remain disabled, except for that restricted procedure. A failed KEM operation, signature, credential, or confirmation MUST NOT activate the candidate. ML-KEM implicit rejection can produce an unrelated secret for an altered ciphertext; the confirmation check MUST detect this case rather than relying solely on a decapsulation exception. Before sending the first operational command, the Master MUST obtain that confirmation using an authenticated READ or another explicitly configured non-actuating request. It MUST NOT use a control operation or DIRECT_OPERATE_NO_ACK as the confirmation probe. The response MUST pass the session, direction, counter, MAC, and application-response checks in Section 10.3. A confirmation timeout disables local use of the new session and requires a fresh authentication exchange; it MUST NOT restore a retired session. Session state includes the authenticated user and peer bindings, suite, transaction-id, SID, key, and separate send and receive counters. An endpoint MUST NOT restore a key after restart without its complete replay state; this profile instead requires a fresh exchange after state loss. A duplicate AUTH_CONFIRM MUST NOT reactivate an expired session or reset counters. Credential invalidation and locally configured session expiry MUST disable further application delivery under that session. 10. Session Activation, Replacement, and Recovery This section specifies the lifecycle of sessions established by the post-quantum object in this document. It does not reinterpret an existing SAv5 object or permit an in-band change to the configured user, peer, role, or algorithm authorization. The coordination requirements in Section 18 continue to apply. For each configured user and peer, an endpoint MUST maintain at most one selected session and at most one pending authentication exchange. A selected session is either restricted to confirmation or enabled for authorized operational traffic. A pending exchange is a candidate, not a second operational session. The candidate MUST have a fresh key and SID, its own transcript and transaction binding, and independent send and receive counters. Candidate creation MUST NOT reset the selected session's counters or extend its lifetime. Liu, et al. Expires 28 May 2027 [Page 11] Internet-Draft IoT PQ DNP3 Operations November 2026 10.1. Preparation and Control Quiescence An existing session MAY continue to carry authorized traffic during preparation of a replacement, provided its credentials, authorization, lifetime, and counters remain valid. Receiving AUTH_CHALLENGE, allocating candidate state, or rejecting an invalid candidate record MUST NOT by itself suspend, retire, or replace that session. Implementations MUST bound candidate resource use and SHOULD rate limit authentication attempts. An unauthenticated request MUST NOT overwrite an existing pending exchange or change a selected session's identity or authorization. Before submitting AUTH_CONFIRM for transmission, the Master MUST stop issuing new operational commands under the old session and resolve outstanding operations where possible. A finite local deadline MUST bound this quiescence. An operation whose result cannot be established MUST be reported as having an unknown outcome; replacement MUST NOT cause its automatic replay under the new session. Local application policy determines whether a later, separately authorized action is appropriate. SELECT and its corresponding OPERATE MUST use the same SID. Pending selections under the old session MUST be completed, cancelled, or allowed to expire before the Master submits AUTH_CONFIRM. The Outstation MUST invalidate any remaining old-session selections at retirement. An OPERATE under the new session MUST NOT rely on an old-session SELECT; it requires a new selection when the application operation requires one. DIRECT_OPERATE_NO_ACK provides no application response and MUST NOT be treated as evidence that an operation executed or as a safe basis for an automatic retry. 10.2. Local Selection and Irreversible Retirement The Master MUST NOT submit AUTH_CONFIRM after its pending-exchange deadline. It MUST serialize AUTH_CONFIRM submission with old-session traffic. Immediately before handing AUTH_CONFIRM to the transport, it MUST retire the old session locally and select the new session in the confirmation-only state. If transmission fails or delivery is uncertain after that handoff, the Master MUST assume that the Outstation might have committed the replacement. It MUST NOT resume use of the old session. The Outstation commits the replacement only after AUTH_CONFIRM has been matched to its live pending exchange and its signature, current identity and role authorization, and key-confirmation value have all been verified. It MUST atomically retire the old session, invalidate its remaining selections and undispatched requests, select the candidate in the confirmation-only state, and remove the pending Liu, et al. Expires 28 May 2027 [Page 12] Internet-Draft IoT PQ DNP3 Operations November 2026 exchange. These changes MUST be serialized with application dispatch so that no old-session request can be newly dispatched after retirement. An operation already dispatched is not undone by retirement; uncertainty about its result is handled as specified in Section 10.1. A retired SID MUST NOT be used for subsequent application traffic or selected again. Late records for that SID MUST be rejected without altering the replacement session or its counters. Old key material MUST be erased when no longer required to finish processing already dispatched work; retaining such material MUST NOT authorize further old-session traffic. Duplicate or stale AUTH_CONFIRM records MUST NOT replace a selected session, reset counters, extend a deadline, or reactivate retired state. The initial exchange, for which no old session exists, uses the same confirmation-only states. Selection and retirement are local transitions, not a distributed atomic commit. The Master cannot infer remote commitment from sending AUTH_CONFIRM, and the Outstation cannot infer receipt of its confirmation response from submitting that response to the transport. 10.3. Confirmation and Operational Enablement While confirmation-only, the Master MUST send only an authenticated READ or another explicitly configured non-actuating confirmation request under the new SID. The Outstation MUST reject operational commands under that SID until it has validated an authorized confirmation request and submitted the corresponding authenticated response for transmission. Ordinary authorization and application- object validation apply to this restricted procedure. The Master MUST verify the response's SID, user, transaction binding, direction, replay counter, and MAC, and MUST match its authenticated inner APDU to the outstanding request. Checks MUST include the application sequence, response function, IIN, and requested object and index as applicable. The unauthenticated outer control or IIN fields MUST NOT substitute for these checks. Only a successful response permits the Master to enable operational commands under the new session. Each endpoint MUST bound its local confirmation-only phase to at most 30 seconds: at the Master from AUTH_CONFIRM submission, and at the Outstation from successful AUTH_CONFIRM validation. Receipt of duplicates, partial records, or a retry MUST NOT extend that deadline. The deadline MUST be enforced even if no further message arrives. The Master completes its phase only after validating the response; the Outstation completes its phase only after validating Liu, et al. Expires 28 May 2027 [Page 13] Internet-Draft IoT PQ DNP3 Operations November 2026 the request and submitting its authenticated response. A retry within the deadline MUST be a new authenticated non-actuating request with a fresh send counter and ordinary request-response matching. The probe and subsequent application traffic MUST use the same new session state. The first protected request and response use counter 1 in their respective directions unless an earlier protected message has already consumed that counter; the counters then continue without reset. No additional authentication record type is introduced by this procedure. 10.4. Failure, Timeout, and Restart Before the Master has submitted AUTH_CONFIRM, failure or timeout of a replacement exchange MUST discard its candidate state. The old session MAY remain usable only while its own credentials, authorization, lifetime, and counters remain valid. Any resumption after control quiescence MUST preserve those counters and MUST NOT automatically repeat an operation whose outcome is unknown. At the Outstation, a failed or timed-out pending exchange MUST NOT change an otherwise valid selected session. After the Master has submitted AUTH_CONFIRM, a transmission error, invalid confirmation response, or confirmation timeout MUST disable local application use of the new session. The Master MUST NOT roll back to the old session and MUST complete a fresh authentication exchange and confirmation procedure before sending further operational commands. At the Outstation, failure or timeout in the new session's confirmation-only phase MUST disable that session without restoring the retired one. Recovery attempts use new nonces, KEM material, transaction state, and counters. A failure is handled according to the state of the affected endpoint. One endpoint's timeout does not establish that the other endpoint timed out, retired the same state, or received a response. A subsequent fresh exchange MAY replace a still-selected session at the other endpoint using these same rules. Local recovery MUST NOT depend on an unauthenticated claim about the other endpoint's state. Locally established credential invalidation, authorization removal, suspected compromise, session expiry, or counter exhaustion MUST disable further operational use of the affected session, irrespective of replacement progress. Each endpoint MUST check current local authorization before selecting the new session and before enabling operational use. Candidate authentication MUST use currently authorized credentials; possession of an old session key MUST NOT override revocation or authorize a replacement identity. Liu, et al. Expires 28 May 2027 [Page 14] Internet-Draft IoT PQ DNP3 Operations November 2026 On restart or loss of the required session and replay state, an endpoint MUST discard pending exchanges, disable application delivery, and require a fresh authentication exchange and confirmation procedure. It MUST NOT restore an old key with reset counters, nor reactivate a session retired before the restart. 11. DNP3 APDU and Authentication Object Encoding All multi-octet integers in this section are unsigned little-endian unless an application object explicitly specifies a signed value. An application fragment begins with one control octet, followed by its function octet. This profile requires FIR=1, FIN=1, CON=0, UNS=0; the low four bits carry the application sequence. AUTHENTICATE_REQ uses function 0x20. AUTHENTICATE_RESP uses function 0x83 and MUST include the two-octet IIN field immediately after the function. The response uses the corresponding request application sequence modulo 16. A standalone Master AUTH_CONFIRM uses the next request sequence. Application fragments in this profile are at most 8192 octets. Request = AppControl(1) || 0x20 || Object Response = AppControl(1) || 0x83 || IIN(2) || Object Object = 0x78 || variation(1) || 0x5B || 0x01 || LE16(body_length) || Body Body = ASCII("DPQ1") || type(1) || suite(1) || LE16(0) || LE32(user) || transaction-id(16) || Payload The variation field carries the value agreed for this profile by the responsible DNP3 authority; that allocation is pending. The value 0xF0 is restricted to explicitly configured local laboratory use and is not an assigned or reserved value. Peers MUST be configured for the same selector and MUST reject an unexpected selector. Qualifier 0x5B denotes a one-octet object count with a two-octet size prefix for each free-format object. This profile requires exactly one object; the count is 0x01. The size counts Body alone, including its 28-octet common header. No bytes may follow the object. The two reserved octets MUST be zero. The profile magic and suite MUST be checked before cryptographic processing. Liu, et al. Expires 28 May 2027 [Page 15] Internet-Draft IoT PQ DNP3 Operations November 2026 +================+==========+=========================+============+ | Type | Function | Payload, in order | Payload | | | | | octets | +================+==========+=========================+============+ | 1 | 0x20 | CN; PK_M | 32 + 1184 | | AUTH_CHALLENGE | | | | +----------------+----------+-------------------------+------------+ | 2 AUTH_REPLY | 0x83 | SN; CT; signature | 32 + 1088 | | | | | + Lsig | +----------------+----------+-------------------------+------------+ | 3 AUTH_CONFIRM | 0x20 | signature; confirm | Lsig + 32 | +----------------+----------+-------------------------+------------+ | 4 AUTH_DATA | 0x20 or | SID; direction; q; | 55 + inner | | | 0x83 | length; inner APDU; tag | length | +----------------+----------+-------------------------+------------+ Table 3 Suite values are decimal 44, 65, and 87 (hexadecimal 2C, 41, and 57) for ML-DSA-44, ML-DSA-65, and ML-DSA-87. Lsig is respectively 2420, 3309, or 4627 octets. These are signature lengths, distinct from signing-key lengths. The selected suite MUST equal local trust configuration; this field does not authorize algorithm negotiation. Truncation, extra bytes, an unknown type, a different suite, nonzero reserved bits, or a function inconsistent with the type/direction MUST abort processing. For AUTH_DATA, SID is SHA-256(TR) (32 octets), direction is one octet (0 for Master to Outstation, 1 for Outstation to Master), q is LE32, and length is LE16 and counts only the inner APDU. The tag is 16 octets. Direction 0 uses 0x20; direction 1 uses 0x83. The outer IIN is transport metadata and MUST NOT drive authenticated control decisions; such decisions use the protected inner response IIN only. The application example encodes a READ of G30V1 with qualifier 0x01 and equal 16-bit start/stop indices. A G30V1 response includes IIN, flags, and a signed 32-bit value. The control example uses G41V1 with a signed 32-bit output value and status; DIRECT_OPERATE_NO_ACK produces no application response. WRITE and other object mappings require a separately specified application object schema and are rejected by this example. READ G30V1 index 3: c0 01 1e 01 01 03 00 03 00 Response, IIN=0, flags=ONLINE, value=-2: c0 81 00 00 1e 01 01 03 00 03 00 01 fe ff ff ff Liu, et al. Expires 28 May 2027 [Page 16] Internet-Draft IoT PQ DNP3 Operations November 2026 12. Transport Segmentation and Link Encoding The complete APDU is segmented into at most 249-octet pieces. Each piece has a one-octet DNP3 transport header: FIN is bit 7, FIR is bit 6, and bits 0..5 are the transport sequence. FIR is set only on the first piece and FIN only on the last. Sequence increases modulo 64, including within a large post-quantum record. Application sequence and transport sequence are separate counters. Each link frame starts with 05 64, length, link control, destination LE16, and source LE16, followed by a two-octet header CRC. Length is 5 plus the number of transport-header and user-data octets and is at most 255. CRC-16/DNP covers the complete first eight header octets, including the sync and length bytes. Its reflected polynomial is 0xA6BC, initial register 0x0000, and final XOR 0xFFFF; CRC bytes are transmitted little-endian. Every block of at most 16 user-data octets has its own CRC. CRC bytes are excluded from Length. The check value for ASCII "123456789" is 0xEA82. A receiver validates lengths and all CRCs before transport reassembly. It MUST bound a reassembly to 8192 APDU octets and 33 transport segments, require consistent source, destination, and link- control fields, reject missing, duplicate, or reordered segments, and require the correct FIR/FIN placement. It MUST bound incomplete reassembly to at most 30 seconds. The receiver MUST enforce that deadline even when no further segment arrives. A failed or incomplete transfer is discarded. A retry uses a fresh exchange, or a fresh authenticated data counter under an active session; received data MUST NOT be delivered twice. Link CRCs detect transmission errors and provide no cryptographic authentication. 13. Session Key Derivation For key confirmation and subsequent authenticated application data, both endpoints derive a 32-octet key K from their local ML-KEM shared secret SS and the exact transcript TR. Define: salt = SHA-256(ASCII("DNP3-SA-v5-salt") || TR[0..47]) K = HKDF-Expand(HKDF-Extract(salt, SS), info, 32) where info = ASCII("DNP3-SA-v5-PQC-session") || SHA-256(TR). HKDF is instantiated with SHA-256 as defined in [RFC5869]. The substring TR[0..47] is the first 48 octets of the exact transcript, starting with the domain label. Implementations MUST use the same byte sequence and MUST NOT apply text normalization or field re-encoding before hashing. Liu, et al. Expires 28 May 2027 [Page 17] Internet-Draft IoT PQ DNP3 Operations November 2026 The key is used only for the authenticated session associated with this exchange. Implementations MUST erase the ML-KEM private key and temporary shared secret as soon as they are no longer required. A new authentication exchange MUST derive a new session key. 14. DNP3 Frame Authentication The profile authenticates the exact inner application APDU, before transport segmentation and link CRC insertion. Authenticating the APDU avoids a circular dependence between a carried tag and link- frame CRCs, and permits a single post-quantum object to span multiple link frames. SID = SHA-256(TR) tag = HMAC-SHA-256(K, ASCII("DNP3-SA-v5-APDU-MAC") || 0x00 || direction || SID || LE32(q) || inner-APDU)[0:16] The direction is a single binary octet 0 or 1. Each direction starts q at 1 and increments it for every new message. Receivers maintain separate highest accepted counters, reject q=0, duplicates and lower counters, check SID, user, transaction-id, and direction, and compare tags in constant time before updating counters or delivering data. No counter may wrap; a fresh exchange is required before reuse. Reordered data is rejected by this strictly increasing-counter profile. A failed tag MUST NOT advance a receive counter. The inner response includes its IIN and application object data, so they are authenticated. The outer APDU control and IIN are framing metadata; an implementation MUST NOT interpret them as authenticated application results. Local authorization and object validation remain necessary after successful MAC verification. 15. Failure Handling and Downgrade Protection An implementation MUST reject an invalid ML-KEM length, malformed ciphertext, mismatched signature algorithm, invalid signature, unknown peer identity, expired or revoked credential, transcript mismatch, failed tag, or replayed sequence value before application delivery. An authentication or cryptographic failure MUST NOT activate the affected candidate; failure while processing an established session MUST disable application delivery under that session. The candidate, selected, and retired states MUST be distinguished as specified in Section 10. In particular, a rejected candidate record or a record for a retired or unknown SID MUST NOT disable an unrelated valid selected session. Replacement failures MUST follow the stage-specific recovery rules in Section 10.4. Liu, et al. Expires 28 May 2027 [Page 18] Internet-Draft IoT PQ DNP3 Operations November 2026 An implementation supporting classical and post-quantum profiles MUST NOT silently fall back to a classical profile after a post-quantum authentication or key-establishment failure. Any permitted fallback MUST be an explicit local policy decision, visibly reported to the operator, and bound to a separately selected profile. An attacker- controlled message MUST NOT cause fallback. Detailed cryptographic errors MAY be recorded locally, but responses to unauthenticated peers SHOULD avoid distinguishing KEM, signature, trust, and tag failures. Logs MUST NOT include private keys, KEM secrets, session keys, bearer tokens, or unredacted secret-bearing records. 16. Conformance Requirements Implementations MUST implement the common suite, exact record and transcript encodings, peer binding checks, key confirmation, bounded reassembly, replay processing, and failure rules in this document. They MUST enforce the session-selection, retirement, confirmation, timeout, and recovery requirements in Section 10. A new exchange MUST be completed before counter exhaustion or reuse after loss of session state. The confirmation procedure MUST also complete before using a replacement for operational traffic. Counters MUST NOT wrap. 17. IANA Considerations This document makes no request of IANA. DNP3 object variations and algorithm identifiers are not allocated by IANA. The message type and suite values in this document are scoped to the proposed authentication object; they do not allocate or redefine identifiers in an existing IEEE, IEC, or DNP3 registry. The local profile name is not a registered identifier. 18. DNP3 Standards Coordination The Group 120 object variation and any external algorithm identifiers require agreement with the responsible DNP3 standards authority. The value 240 (0xF0) has no allocation asserted by this document and MUST remain restricted to explicitly configured laboratory use until an appropriate assignment is agreed. Coordination with the responsible DNP3 authority covers use of the authentication functions, object variation, any externally allocated algorithm identifiers, and compatibility with the SAv5 user and key- management model. Before Proposed Standard publication, this draft needs to record the agreed object mapping, assigned identifiers, relationship to those procedures, and migration from the laboratory selector. If coordination requires a different object group, Liu, et al. Expires 28 May 2027 [Page 19] Internet-Draft IoT PQ DNP3 Operations November 2026 qualifier, or payload encoding, the draft and its test vectors must be revised together. Existing SAv5 objects MUST NOT be silently reinterpreted. 19. Interoperability and Validation Considerations This section provides guidance for validating the profile. The protocol requirements are specified in the preceding sections; test coverage does not replace those requirements or establish independent interoperability. 19.1. Test Vectors A set of test vectors should cover the required ML-KEM-768 and ML- DSA-65 suite and any optional signature parameter sets being evaluated. It should include the exact authentication records and signature inputs, KEM values, derived session key, confirmation value, authentication APDUs, segmented link frames, authenticated application requests and responses, and CRC check values. Positive and negative cases should exercise decapsulation, signature verification, key derivation, confirmation, link reassembly, and application authentication. Negative cases should include malformed lengths, a different suite or peer binding, incorrect direction, replay, and counter exhaustion. Published test vectors should identify the covered draft revision, object mapping, parameter sets, and expected results. Any included private keys or shared secrets must be clearly designated as public test material and must not be used in operational deployments. 19.2. Security Review and Integration Testing Security review should examine the transcript and identity bindings, role separation, key confirmation, KEM rejection handling, key derivation, and the use of truncated MACs. Review of the 16-octet tag should account for session traffic, counter limits, key lifetime, and permitted verification attempts. Integration testing should cover authentication and application processing, including link segmentation, credential change, loss and duplication, restart, session expiry, and local command authorization. Before an operational command is permitted, testing should verify the non-actuating confirmation procedure in Section 9 using the same session and replay state as the subsequent command. Invalid, missing, replayed, or late responses must not authorize command delivery. DIRECT_OPERATE_NO_ACK must not bypass that gate. Reauthentication tests should cover Section 10: candidate failure Liu, et al. Expires 28 May 2027 [Page 20] Internet-Draft IoT PQ DNP3 Operations November 2026 without disruption of a valid old session; quiescence and unknown control outcomes; SELECT/OPERATE separation; AUTH_CONFIRM loss, duplication, and invalidation; rejection of retired-SID traffic; confirmation request or response loss; fixed deadlines; credential invalidation; restart; and a fresh recovery exchange when only one endpoint has committed. Tests should also check that queued old- session requests cannot be dispatched after retirement and that retries neither reset counters nor reactivate an old session. Independent interoperability reports should identify the implementations, draft revision and identifier mapping, algorithm suite, tested operations, and failure cases. Resource and timing measurements should identify the device, link, and workload being evaluated. Agreement on test vectors alone does not establish interoperability of the complete protocol. 19.3. IoT Fleet and Lifecycle Evaluation Operators evaluating Section 4 should identify a representative device cohort, authorized peer and role inventory, admission evidence, maintenance window, and escalation path. Cases should include initial provisioning, confirmed admission, scheduled reauthentication, changed credentials, restored configuration, loss of management connectivity, offline revocation, quarantine, replacement, and retirement. Operational acceptance should distinguish a completed exchange, an active confirmed session, application permission, and a known control outcome. Relevant observations include failed or unknown relationships, time to restore authorized service, rejected stale sessions, continued denial of revoked peers, resource use, and control interruption. Resource measurements should identify the device, link, workload, cohort size, and failure conditions; they cannot be inferred from cryptographic test vectors alone. 20. Security Considerations The profile depends on the security of ML-KEM-768, ML-DSA, HKDF-SHA- 256, and HMAC-SHA-256 and on correct identity and role authorization. It uses a post-quantum KEM secret alone and makes no hybrid-combiner security claim. HMAC authenticates the inner application message; payload confidentiality requires a separate reviewed encryption mechanism. Receivers MUST reject messages outside the configured suite, identity, user, transaction, session, or direction and MUST NOT activate a session on a signature alone. Key confirmation detects disagreement caused by an invalid KEM ciphertext. Fresh nonces and Liu, et al. Expires 28 May 2027 [Page 21] Internet-Draft IoT PQ DNP3 Operations November 2026 KEM keys are required on every restarted exchange; pending exchanges MUST be time bounded and duplicate confirmations MUST NOT reset counters. The replacement rules in Section 10 prevent a failed candidate exchange from retiring an unrelated valid session and prohibit rollback after the Master has submitted AUTH_CONFIRM. They do not guarantee uninterrupted operation or simultaneous state transitions. Loss of a confirmation response may require a fresh exchange, and cryptographic authentication does not establish that an earlier control executed or make its automatic retry safe. Length checks, reassembly bounds, finite timeouts, and credential validation precede application delivery. Interoperability and validation considerations are discussed in Section 19. The experimental object selector requires coordination with the responsible DNP3 standards authority as described in Section 18. Fleet management adds dependencies on authoritative inventory, trusted provisioning, current authorization, and reachable recovery services. The procedures in Section 4 keep those decisions separate from cryptographic success. A compromised management system can authorize incorrect bindings, and a gateway does not extend authentication to its downstream devices. Operators need restricted management access and site-specific controls in addition to this profile. 21. References 21.1. Normative References [FIPS203] NIST, N., "Module-Lattice-Based Key-Encapsulation Mechanism Standard", FIPS 203, August 2024, . [FIPS204] NIST, N., "Module-Lattice-Based Digital Signature Standard", FIPS 204, August 2024, . [IEEE1815] IEEE, I., "IEEE Standard for Electric Power Systems Communications - Distributed Network Protocol (DNP3)", IEEE 1815, 2012, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, . [RFC5869] Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 5869, May 2010, . Liu, et al. Expires 28 May 2027 [Page 22] Internet-Draft IoT PQ DNP3 Operations November 2026 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, May 2017, . 21.2. Informative References [IEC62351-5] IEC, I., "Power systems management and associated information exchange - Data and communications security - Part 5: Security for IEC 60870-5 and derivatives", IEC 62351-5, 2023, . [IOTOPS-CHARTER] Internet Engineering Task Force, "IOT Operations Working Group Charter", Charter charter-ietf-iotops-02, 18 April 2025, . [RFC7228] Bormann, C., Ersue, M., and A. Keranen, "Terminology for Constrained-Node Networks", RFC 7228, DOI 10.17487/RFC7228, May 2014, . [RFC8576] Garcia-Morchon, O., Kumar, S., and M. Sethi, "Internet of Things (IoT) Security: State of the Art and Challenges", RFC 8576, DOI 10.17487/RFC8576, April 2019, . Authors' Addresses Penghui Liu (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: liuph@pcl.ac.cn Rongwei Yang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: yangrw@pcl.ac.cn Liu, et al. Expires 28 May 2027 [Page 23] Internet-Draft IoT PQ DNP3 Operations November 2026 Yu Zhang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: zhangy08@pcl.ac.cn Xiaoxiong Zhong (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: zhongxx@pcl.ac.cn Yanjie Gong (editor) Schneider Electric Building A, No. 6 Wangjing East Road, Chaoyang District Beijing 100102 China Email: garrett.gong@se.com Liu, et al. Expires 28 May 2027 [Page 24]