Important news about HackSpace

We have some important news to share about HackSpace: Issue 81 was the last issue of HackSpace as a standalone magazine, and HackSpace has become part of The MagPi, the official Raspberry Pi magazine. Starting with issue 145, We’ll be adding pages to The MagPi to make room for the stories and tutorials you’ve come to expect from HackSpace.

Lock-picking robot

By Ben Everard. Posted

We’ve had a little look at lock-picking back in a past issue of HackSpace (Issue 48). The most important thing we remember from that tutorial is that you must never pick a lock that isn’t yours. The next most important thing is that a Yale-style lock has several pins that must be pushed into place before you turn the lock. Normally you’d do this with a key – the irregular surface of a key is like that because each pin has a different amount of travel before it clicks into place and the barrel of the lock can turn. To open a lock without a key, you need to apply some gentle rotational force to the barrel (usually with a thin piece of springy metal called a tension wrench), and some way of pushing the pins of the lock upwards. The more pins, the harder the lock is to pick. Oh, and many, many locks are trivially easy to pick.

With the basics established, and a thriving community of security-aware hackers out there sharing tips (all in the name of hardening security, of course), it was only a matter of time until someone produced a lock-picking robot. And what a robot! This beauty uses a hollow 3D-printed key blade with five wires running through it, which pop out where you’d expect to find the teeth of a regular key. These push the lock’s pins up while another motor rotates the key blade. There are only so many combinations that are possible, and the robot’s software just cycles through all of these combinations in a physical brute-force attack.

We don’t think many readers will want to replicate this machine – the plastic will most probably fail before the robot has cycled through all the possible pin combinations – but there is one aspect of it that we think all robot makers should think about, and that’s the way it controls rotation. To ensure the machine doesn’t try to rotate the machine while the lock is still closed, which would break the key blade, Sparks and Code has used an optical encoder to give feedback to the stepper motor, which will tell it to stop turning if the lock doesn’t move.


https://hsmag.cc

From HackSpace magazine store

Subscribe to our newsletter