Most door readers still send card numbers to the controller in clear text over Wiegand, and many sites that bought OSDP readers never switched Secure Channel on. This guide explains why the reader to controller link matters, how OSDP Secure Channel encrypts and authenticates it, and where installs go wrong: the default install key, keys that are never diversified, and controllers that quietly fall back to unencrypted or Wiegand operation. It is written for physical security and converged security managers, integrators and the IT security teams who now own access control risk. Specification facts come from the Security Industry Association (SIA) and IEC; the protocol is compared, never vendors.
Key takeaways
- Wiegand is a clear-text, one-way link. The controller cannot supervise the reader, so a tap on the wire or a swapped reader goes unseen without extra wiring.
- OSDP alone is not encryption. OSDP gives two-way, supervised RS-485 communication; only Secure Channel adds AES-128 encryption and message authentication, and it must be enabled and enforced.
- Install mode is the weakest moment. During install mode the reader accepts the published default key (SCBK-D) and a new base key sent on the wire, so keep it short, local and observed.
- One unique key per reader. Each reader needs its own Secure Channel Base Key (SCBK); a shared or sample key turns one compromised reader into a site-wide problem.
- Enforce and alert on downgrade. Configure controllers to refuse plaintext or Wiegand fallback on Secure Channel ports, and treat loss of Secure Channel or a capability change as a security event.
Wiegand limitations
Wiegand dates from the era of proximity cards. The reader pulses the card number down two data lines (D0 and D1) to the access control unit (ACU), with separate conductors for LED, buzzer and tamper. Axis Communications' OSDP white paper summarises the problem: the data is transmitted in plain text, the link is one way, and the reader is unsupervised, so tampering or replacement cannot be detected without extra wiring. Typical Wiegand runs are limited to about 150 metres (500 feet).
- No confidentiality: anyone with access to the cable behind the reader, in a ceiling void or at the panel can read and replay card numbers. This is why a secure card technology on the front of the reader does not protect the back of it. See the Access Card Cloning.
- No integrity or origin check: the controller accepts whatever bits arrive on D0 and D1. It cannot tell a genuine reader from a device injected on the line.
- No supervision: a disconnected or replaced reader looks the same as an idle one unless a separate tamper loop is wired and monitored.
- No management channel: reader firmware and configuration need a site visit, so readers drift out of date.
In ATT&CK terms an implant on the reader line is a form of Hardware Additions (T1200) and the interception of credentials in transit is Adversary-in-the-Middle (T1557). The defensive answer is the same as on IT networks: authenticate the endpoint and encrypt the link.
What OSDP is
The Open Supervised Device Protocol (OSDP) is the SIA standard for communication between the ACU and peripheral devices such as readers and I/O modules. SIA states that OSDP was approved by the IEC as an international standard in 2020 and published as IEC 60839-11-5:2020. The IEC webstore lists IEC 60839-11-5 as edition 1.0, published 8 July 2020, with a stability date of 2029, covering communication settings, commands and replies between the ACU and peripheral devices. SIA's own line has moved on since: version 2.2 (December 2020) aligned with the IEC text and fixed errata, and version 2.2.2 (announced 31 October 2024) corrected errors from the short-lived 2.2.1 and introduced proper supervised input states. SIA's OSDP page names 2.2.2 as the current version (checked November 2026). Specify OSDP 2.2 or later in tenders and ask suppliers which revision their firmware implements.
| Property | Wiegand | OSDP without Secure Channel | OSDP with Secure Channel |
|---|---|---|---|
| Direction | One way, reader to ACU | Two way, ACU polls readers | Two way, ACU polls readers |
| Physical layer | Separate data, LED, buzzer and tamper conductors | RS-485 twisted pair plus power, multidrop | RS-485 twisted pair plus power, multidrop |
| Typical maximum run | About 150 m (500 ft) | Up to about 1,200 m (4,000 ft) | Up to about 1,200 m (4,000 ft) |
| Confidentiality of card data | None | None, card data readable on the wire | AES-128 encryption of message data |
| Message authentication | None | Checksum or CRC only | MAC on each message, chained per session |
| Reader supervision | Only with a separate tamper loop | Yes, missed polls raise an offline event | Yes, plus failed handshakes and MAC errors |
| Remote management | No | LED, buzzer, configuration, file transfer | Same, over the encrypted session |
| Device conformance testing | None | SIA OSDP Verified profiles | SIA OSDP Verified, Secure profile |
SIA's guidance for integrators notes that RS-485 runs at 9,600 to 230,400 baud and that each reader needs a polling address and baud rate for basic operation, plus a unique encryption key for Secure Channel. SIA OSDP Verified, introduced in April 2020, is third-party conformance testing against defined profiles: Basic, Secure, Smart Card and Biometric.
Secure Channel and install mode
Secure Channel is the OSDP mode that encrypts and authenticates traffic between the ACU (the control panel, CP) and the reader (the peripheral device, PD). SIA's OSDP page describes it as AES-128 encryption. The open-source LibOSDP project documents how sessions are built: each side holds a Secure Channel Base Key (SCBK), a challenge and response handshake proves both sides know it, and three session keys are derived for the session, S-ENC for encryption and S-MAC1 and S-MAC2 for message authentication. Each encrypted message carries a MAC, and the MACs chain from one message to the next.
The install mode problem
A new reader has no unique key. The specification therefore defines a published default key, SCBK-D, used only in install mode. LibOSDP describes install mode as a provisioning-time, insecure mode in which the reader accepts SCBK-D and lets the controller set a new SCBK with a key set command; the reader leaves install mode once it receives the new key. Three risks follow:
- The key travels on the wire: the new SCBK is sent under a session built from a key everyone knows. Anyone recording the bus during commissioning can recover it.
- Install mode left open: research presented by Bishop Fox at Black Hat USA 2023, and acknowledged by SIA, showed that devices left in, or able to re-enter, install mode can be made to accept or disclose keys. SIA attributed the findings to product design and to devices not installed and administered to manufacturer procedures.
- Default keys in production: readers that never leave SCBK-D, or that ship with sample keys from development kits, give encryption with no secrecy.
Treat commissioning as a key ceremony. Provision keys on a bench or isolated bus where possible, confirm the reader has left install mode, and disable any controller setting that keeps ports permanently in install or "auto-learn" mode.
Encryption optional is encryption off
The same research found that Secure Channel is optional in the protocol and that some controllers accept a reader that reports no encryption capability. A reader swapped for a plaintext OSDP reader, or a device that alters the capability reply, can then run without encryption. The fix is configuration, not hardware: set every reader port to "Secure Channel required" and alarm when a session is not secure.
Key management for readers
OSDP keys are long-lived symmetric keys stored in field devices you do not fully control, so manage them like any other machine credential. See the Cryptographic Key Management Guide.
| Approach | How it works | Risk | When to use |
|---|---|---|---|
| Single shared SCBK | One key loaded into every reader | One extracted key decrypts every reader link | Never |
| Master key diversification | A controller master key derives a unique SCBK per reader | Master key compromise exposes all readers on that controller; LibOSDP notes recent specification versions discourage it | Legacy estates only, with the master key in secure hardware |
| Unique random SCBK per reader, stored by the controller | Each SCBK generated randomly and held in the controller's key store | Controller key store becomes the target | Default choice for new installs |
- Generation: use the controller or management server's random generator, not keys typed by an installer or copied from a manual.
- Storage: Axis recommends holding Secure Channel keys in secure hardware such as secure elements in both controller and reader. Ask suppliers where the SCBK is stored and whether it can be read back.
- Backup and recovery: controller replacement must not force every reader back into install mode. Keep encrypted key backups with restricted access and record who can export them.
- Rotation: rekey readers after a suspected compromise, after a controller is replaced or disposed of, and when installers leave a contract. Rekeying sends the new key under the current session, never under SCBK-D.
- Ownership: integrators often keep the keys. Contracts should state that keys belong to the site owner and must be handed over at completion.
Migration planning
Most estates are mixed: Wiegand readers on older doors, OSDP readers running plaintext, and a few with Secure Channel. Plan by risk, not by building.
- Inventory: list every reader, its interface (Wiegand, OSDP plaintext, OSDP Secure Channel), controller model and firmware, OSDP revision, cable type and run length, and who holds the keys.
- Rank doors: start with server rooms, plant rooms, perimeter doors and doors where readers are mounted outside the secure side, where the cable is reachable from the public side.
- Check the controller: the panel must support OSDP and Secure Channel enforcement per port. Upgrade controller firmware first.
- Check the cable: OSDP needs true twisted pair for data. SIA notes existing Wiegand cable may work within its distance and signalling limits, but replacing it is the future-proof option.
- Choose the reader path: replace Wiegand readers with OSDP Verified readers, or as an interim step use a Wiegand to OSDP converter at the reader so the long run is encrypted. A converter leaves a short clear-text segment inside the reader housing, so mount it on the secure side.
- Bench test: set address, baud rate and keys on a bench with the target controller firmware, as SIA recommends, then confirm Secure Channel is active before field install.
- Cut over and enforce: after each door is converted, switch the port to Secure Channel required and remove any Wiegand input configuration so the port cannot fall back.
- Roll back safely: keep a tested procedure to restore a failed reader, using a spare pre-keyed reader rather than re-enabling install mode on a live door.
Small sites with one controller can often convert in one visit. Large estates should run a pilot of a few doors per controller type, measure offline events and handshake failures for two weeks, then roll out in waves.
Testing and supervision
Encryption that is configured but not verified is common. Test and then monitor.
- Acceptance test: for each reader, the controller or management software should show Secure Channel active. An authorised tester with an RS-485 analyser can confirm that card reads are not readable on the bus; keep that test equipment controlled.
- Install mode check: confirm no controller port is configured to stay in install or learn mode after commissioning.
- Downgrade test: in a test window, connect a plaintext reader to an enforced port and confirm the controller refuses it and raises an alarm.
- Supervision events: forward reader offline, communication loss, tamper, Secure Channel handshake failure, MAC error and key set events from the access control system to the SIEM. See the MITRE D3FEND Physical Access Monitoring Implementation Guide.
- Correlation: a reader that drops offline then returns with a different capability set, serial number or firmware is a reader swap until proven otherwise.
| Metric | Target | Why it matters |
|---|---|---|
| Readers on OSDP Secure Channel, by risk tier | 100% of tier 1 doors | Tracks migration away from clear-text links |
| Ports configured as Secure Channel required | Equal to readers on Secure Channel | Shows downgrade is blocked, not just possible to avoid |
| Readers still on SCBK-D or a shared key | Zero | Default or shared keys give no secrecy |
| Unexplained Secure Channel failures per month | Each investigated within 24 hours | Failures can signal tampering or a swapped device |
| Ports left in install mode | Zero outside a change window | Install mode is when keys are exposed |
Framework mapping
| Framework | Reference | How OSDP Secure Channel helps |
|---|---|---|
| NIST SP 800-53 Rev. 5 | PE-3 Physical Access Control, PE-6 Monitoring Physical Access | Protects the authorisation decision path and gives supervision events |
| NIST SP 800-53 Rev. 5 | SC-8 Transmission Confidentiality and Integrity, SC-23 Session Authenticity | Encrypts and authenticates reader traffic per session |
| NIST SP 800-53 Rev. 5 | SC-12 Cryptographic Key Establishment and Management, IA-3 Device Identification and Authentication | Unique SCBK per reader, controlled key loading |
| NIST CSF 2.0 | PR.AA-06, PR.DS-02, DE.CM-02 | Physical access enforced, data in transit protected, physical environment monitored |
| ISO/IEC 27001:2022 Annex A | A.7.2 Physical entry, A.8.24 Use of cryptography | Entry controls rely on a trusted reader link and managed keys |
| MITRE ATT&CK | T1200 Hardware Additions, T1557 Adversary-in-the-Middle | Encryption, MACs and supervision blunt implants on the reader line |
For federal PIV deployments, NIST SP 800-116 Rev. 1 sets out risk-based selection of PIV authentication mechanisms for facility access; a strong card mechanism still depends on a protected link from reader to panel. See the NIST SP 800-53 PE Physical and Environmental Protection.
Where identity fits
Readers and controllers are non-human identities: each has a key, a firmware version, an owner and a lifecycle. The same discipline used for service accounts applies, an inventory, unique credentials, rotation on staff or supplier change, and evidence that nobody shares keys. Integrator accounts on the access control server, which can push keys and firmware to every reader, deserve privileged access controls. See the Physical Access Control Systems Security Guide.
Common failure patterns
- OSDP bought, Secure Channel never enabled: readers run plaintext OSDP, which is no more confidential than Wiegand.
- Secure Channel enabled but not required: the controller accepts a plaintext reader, so one swap removes encryption without an alarm.
- Install mode as a permanent setting: ports left in learn mode so replacement readers "just work", exposing every new key.
- One key everywhere: installers reuse a single SCBK across the estate, or sample keys from a development kit reach production.
- Converters on the public side: a Wiegand to OSDP converter in an outside enclosure leaves the clear-text segment reachable.
- Supervision events ignored: reader offline alarms are treated as maintenance noise and never reach security monitoring.
Practitioner checklist
- Inventory every reader by interface, OSDP revision, controller firmware and key holder.
- Specify OSDP 2.2 or later and SIA OSDP Verified (Secure profile) readers in procurement.
- Set every converted port to Secure Channel required and remove Wiegand fallback.
- Generate a unique random SCBK per reader; remove shared, sample and default keys.
- Commission on a bench or isolated bus, and confirm each reader has left install mode.
- Store keys in secure hardware where supported, back them up encrypted, and own them contractually.
- Rekey after controller replacement, suspected compromise or integrator change.
- Send offline, tamper, handshake failure, MAC error and key set events to the SIEM and investigate them.
- Run a downgrade test on a sample of ports each year and after controller firmware updates.
Standards and references
- Security Industry Association: Open Supervised Device Protocol (OSDP)
- IEC: IEC 60839-11-5:2020 Electronic access control systems, Open supervised device protocol
- Security Industry Association: Version 2.2.2 of SIA OSDP Standard
- NIST: SP 800-116 Rev. 1 Guidelines for the Use of PIV Credentials in Facility Access
- Security Industry Association: Black Hat 2023 Session Underscores Importance of Implementing OSDP Properly
- Security Industry Association: Don't Be Intimidated by OSDP
- Axis Communications: Why choose OSDP over Wiegand in access control
Related NHI Mgmt Group resources: Physical Access Control Systems Security Guide · Access Card Cloning · Physical Access Control Systems Buyer's Guide · Cryptographic Key Management Guide