DEV Community

Serguey Shinder
Serguey Shinder

Posted on

Our Door Fobs Could Be Copied Through a Pocket and the Access Log Named a Man Who Was in Spain

Our largest depot keeps its most valuable stock in a caged area: cordless power tools, generators and similar goods, worth about four hundred thousand pounds on a normal day. The cage has one door, controlled by the same fob system as the rest of the building, and only eleven people are allowed through it.

In August the stock counts for the cage started coming up short. Over five weeks about thirty eight thousand pounds of tools disappeared, always overnight. When security pulled the door records, every night it happened the cage had been opened between two and four in the morning by the fob of one of the warehouse supervisors. He had been on holiday in Spain for the whole of the second fortnight.

His fob had not left his kitchen drawer. It had been copied.

Our access system dated from 2012 and used the commonest type of proximity fob. When it is held near a reader, a fob of that kind simply announces a serial number, unencrypted, and the reader checks the number against a list. Devices that read and write those fobs cost about thirty pounds online. Held within a few centimetres of a lanyard, in a queue for the canteen or a busy corridor, one can copy the number in under a second, and the copy is indistinguishable from the original.

We never found out who did it. We changed what we could. The cage now needs a fob and a PIN, and the PIN is not stored on anything that can be read from a distance. Every site is moving to encrypted cards that answer a challenge from the reader rather than reciting a number, at a cost of about sixty thousand pounds across fourteen sites, starting with the doors that protect stock and server rooms. And the door records are now compared each night with the shift rota and HR leave, so a fob used by someone who is not working raises an alert before the morning.

I had treated the door system as a facilities matter and the door log as evidence. It was neither. The log told us which number had been presented, and we had read it as telling us which person had been at the door.

A credential that only recites a number can be copied by anyone who gets close enough to hear it.

– Serguey Shinder

Top comments (0)