Office badges
The badge you tap at work is usually just a number. Everything interesting happens in a box in a closet.
Every morning, millions of people wave a bit of plastic at a grey box by a door. Here's what's actually going on.
#Four parts, one door
- The badge carries a credential, ranging from a bare number to a proper cryptographic key.
- The reader on the wall reads it and passes what it got down a cable. Most readers don't decide anything.
- The controller, usually in a locked room somewhere, checks the credential against its list ("is badge 4021 allowed through this door at this time?") and decides.
- The lock does what it's told.
The cable between reader and controller has its own story: the old Wiegand interface sends everything one way and in the clear, and OSDP replaces it with a supervised, encrypted link.
#What's in the badge?
Depending on when the building's system was installed, a badge is usually one of these:
| Technology | Band | In short |
|---|---|---|
| HID Prox and other 125 kHz cards | LF | a fixed number, the oldest and weakest option |
| iCLASS (legacy) | HF | HID's first secure card; its older versions are long outdated |
| iCLASS SE / Seos | HF | HID's current secure credentials |
| MIFARE DESFire | HF | AES-based smart card, common outside North America |
| Phone or watch | HF + Bluetooth/UWB | the badge lives in a wallet or an app |
Lots of buildings run multi-technology readers that accept several of these at once, so old and new badges work side by side during a migration. That's convenient, and it also means the door is only as strong as the oldest badge it still accepts.
#If you look after the doors
The usual advice, roughly in order:
- Retire 125 kHz credentials. They repeat a fixed number (see Why old cards are a bad idea).
- Use a modern secure credential (DESFire EV2/EV3, Seos, or mobile credentials), with keys set up for your site, not left at defaults.
- Upgrade the wire. Move readers to OSDP with Secure Channel turned on.
- Turn off what you don't use. Once the old badges are gone, stop the readers accepting them.