Lock-Picking Robot

(github.com)

139 points | by p44v9n 4 days ago

12 comments

  • cush 2 hours ago
    The number of comments in here slandering the developer’s morality for picking locks is actually pretty surprising for a site literally called Hacker News. Every day there’s a story on the front page of some grey/white-hat showing off an exploit they found to infiltrate a site we all use. It’s an odd double standard.
    • charcircuit 6 minutes ago
      >Every day there’s a story on the front page of some grey/white-hat showing off an exploit they found to infiltrate a site we all use.

      This is not true.

    • raincole 1 hour ago
      > the number of comments

      Two of them in total, if I counted right.

      • dormento 32 minutes ago
        Still astounding in a place where "hackers" congregate.
        • stackghost 25 minutes ago
          This place lost its hacker lustre at least 10 years ago.

          I registered my first account in 2011 or so and even then it had plenty of "pro-big corporate" energy here.

          • daveguy 5 minutes ago
            It's a site that was founded and run by venture capitalists. It always had "pro-big corporate" energy. If for nothing else, because that's one of the potential exit strategies.
    • pixl97 1 hour ago
      I mean, you tend to see this everywhere.

      Hopefully these people do realize that a lock is a promise saying "you belong to a society, be nice". They do very little beyond that, especially these days with small, powerful powertools.

    • keybored 1 hour ago
      The title of this website is literally in another sense than white/grey/black hacker.
      • ghurtado 40 minutes ago
        Originally the word "hacker" made no distinction between the two meanings. This site is pretty old, so you're right, it was intended in the original "Kevin Mitnik" sense (the original hacker, who ironically would fall outside of the modern definition)

        The modern acception focused on online computer security came much later. That meaning is neither the one used in the name of this site nor the one that would be relevant to this conversation.

        To summarize: today's hackers are also yesterday's hackers, but yesterday's hackers may or may not be modern hackers.

      • Rebelgecko 1 hour ago
        Lock picking falls under jargon files definition of "hack" imo
      • f1shy 1 hour ago
        Lockpicking can also be in that colors, AFAIK.
      • wat10000 52 minutes ago
        Definition 7 from the Jargon File:

        "One who enjoys the intellectual challenge of creatively overcoming or circumventing limitations."

  • gattilorenz 17 minutes ago
    It’s the same principle of a safe-cracking robot, but for regular keys. Smart!

    But… does it do commentary like “one is binding”, and does it try twice to see if it was a fluke? :)

    • gpderetta 2 minutes ago
      Well no, as it doesn't rely on force feedback.

      It could do the "what I have for you today ..."routine though!

  • omoikane 30 minutes ago
    Be sure to also check out some of the MP4 files in the images directory:

    https://github.com/etinaude/Lock-Picking-Robot/tree/main/ima...

    I am surprised that those thin copper wires can actually push the pins up, I thought they would slide off to the side or compress themselves against the more solid/rigid pins.

  • hvs 2 hours ago
    I'm a strong supporter of the "I did it because I wanted to see if I could do it" ethos. So this isn't a criticism of the project itself, but I'm pretty sure a snap gun will beat this almost every time.
    • nycdatasci 1 hour ago
      I don't think this is a relevant comparison. Snap guns break pins, which isn't the case with this robot.
  • mrexroad 33 minutes ago
    I reread Neuromancer last month and there was a line about how the AI had to recruit a human for its plan b/c the final step had a mechanical lock that needed to be picked by feel. I’m glad to see this is a brute force approach and that us humans still have some use for a while more (not sure if my comment is /s or not).
  • 3eb7988a1663 2 hours ago
    There is also a Safe Cracking Robot

    [0] Blog about it: https://joeleb.com/safe-cracking-robot-defcon/

    [1] Defcon video: https://www.youtube.com/watch?v=v9vIcfLrmiA

    • mmcwilliams 34 minutes ago
      This is a class of device usually called an "auto dialer" and have been around for quite some time. This one appears to be fairly low-featured. Newer devices will automatically send a text when a safe has been opened and the better ones are programmed with knowledge of the internal plate schematics so they can shorten the brute force process.
  • showerst 3 hours ago
    What a fun project! The use of wires to get around the corner is such a clever idea, although I see that goes back to the 90s. I'm surprised the idea isn't older.

    I wonder what makes it take a minimum of 0.7s per combo, it seems like it could be sped up substantially.

  • JKCalhoun 3 hours ago
    There is a link to AliExpress in the README that is broken. Another comment though suggests something like the "Sputnik Pickling Tool".

    Maybe like this wild machine: https://youtu.be/CLcOZhq2GjQ?si=LJktKRzeHPRyXcXR&t=155

  • d--b 17 minutes ago
    Cause the world needs more tech to erode common people’s privacy.
  • kittywantsbacon 2 hours ago
    I'm surprised this doesn't use the lishi tools
    • bmitch3020 1 hour ago
      It's not picking, it's brute forcing every combination. Lishi and other lockpicks require tension and feedback, often one pin at a time, which is the opposite of what this tool is doing.
  • IshKebab 2 hours ago
    > brute force all possible combinations

    Somewhat less impressive than I was expecting. The wire idea is neat though.

    • dpark 1 hour ago
      I felt the opposite. Sometimes figuring out a clever way to make the “dumb” thing possible is very impressive.
    • kalavan 1 hour ago
      Human lockpickers use feedback when picking. I'm wondering if a bot could do the same - e.g. measuring the travel distance to find a binding pin, or the resistance to moving the wire?
    • moffkalast 54 minutes ago
      The next step is to train an ML model on all videos of the lockpicking lawyer and it'll get a click out of one, three is binding every time.
  • MarkusQ 3 hours ago
    Cool idea but I'm not buying the justification. There are many cases where the correct response to "but law enforcement needs a way in" is "we have a system for that, it's called a warrant."

    Further, while standing somewhere for five minutes may be obvious in some situations, there are many cases in which it wouldn't be obvious at all, or the response time would be great enough that this could still be quite useful to bad guys.

    Finally, "security through counting on slow hardware" is probably even worse than security through obscurity.

    • observationist 2 hours ago
      Locks are not security, in the sense that you're using. A sledgehammer goes right through 90% of them, or the hasps or latches secured by them. A competent lockpicking enthusiast will take two or three minutes to go through almost any of them. Someone motivated to get in with foreknowledge of the lock type can simply use a $200 camera and photograph your keyring from a couple blocks away, then 3d print all the keys on the ring and walk right in.

      Law enforcement can use pick guns, which will open a large majority of door locks, if they don't want to just use a battering ram for some reason.

      There are a ton of legitimate reasons to use lock picks, though - being able to use a pair of paperclips, or office supplies, can get you into network cabinets in a pinch, or if you lock your keys in your house or car and have a pick kit in your wallet. If a friend has an emergency and they know you can do it, it can save locksmith fees. Kids can lose keys in astonishing ways.

      And the hobby is fun - it's manual dexterity, skill, obscure technical knowledge, and you gain an appreciation for all the lockpicking content out there, and get to see the brazen plot devices when movies portray lockpicking in ridiculous ways. There are engineering attempts at creating unpickable locks with some awesome youtube videos, with engineering geeks creating elaborate locks and shipping them to the lockpickinglawyer or other content creators.

      It's also important from an educational standpoint. Knowing how secure you are is important, because assumptions can lead to tragic results. If you have a glass door, it doesn't matter if you've got a million dollar unpickable lock. If you know how trivial it is to open most padlocks, and what form factors of locks are most susceptible, you can make better decisions about securing storage units, trailers, outdoor gates, bikes, and so forth.

      A device like this is a novelty, not a serious security threat, and I'd argue the threshold for building it exceeds the threshold for which there are a thousand other trivially accessible ways of bypassing a given lock. There are tools similar to this device in spirit, in which you set pins for a key type manually with the key inserted, and with a little practice, will get you through a door in under a minute.

      Start here and enjoy! https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ

      • 05 1 hour ago
        > use a $200 camera and photograph your keyring from a couple blocks away

        Rayleigh criterion: to resolve an angle of 4E-6 rad (key bitting step is 0.015inch =~0.4mm , two blocks is 2 * 200ft =~100m), you'd need a ~140mm aperture lens. Can you really buy one (with a camera no less) for $200?

        • observationist 57 minutes ago
          Well, TIL I'm shitty at the private eye thing, lol. You'd need to get up close, then, or have really good cameras. You're not going to need .4mm precision so long as you can see the differential pattern, though. Memorizing a 5 digit number, each digit between 1-6, and you can remember any kwikset key at a glance, and so on. At most you'd need to print 10 possible solutions if you can't find an absolute difference between lowest and highest points, but most of the time the pattern will have 4-6 potential keys it could be.

          Anyway, locks and keys are inconveniences that keep people from casually abusing civil boundaries, is the point, and not all reasons for overcoming those are nefarious.

          • 05 38 minutes ago
            Yeah, seeing how better and cheaper cameras are sold every day I thought that it might be plausible.. and then it apparently isn't.. yet. Maybe with a cheap telescope :)

            A covert camera placed near the keyhole is probably a better solution anyway, because most people don't flash their keys when just walking on the street (maybe when unlocking a car, but with keyless that's becoming rare).

      • Edman274 2 hours ago
        The thing about a sledgehammer is that if you're asleep in your house, you, your dog, your SO, or your neighbors might be startled awake by the sound of metal splitting and cracking open. Your security system might be designed to alert on something like a window being smashed. The person attempting to enter the house may be trying to enter undetected, because they know that a broken lock and/or a replaced lock will alert the people they're trying to ambush or steal from. Imagine something like industrial espionage, where a person breaks in undetected, steals an item, and then leaves. The occupant only realizes the item is gone a week later, and wonders if they could've misplaced it. In your scenario, they'd see the sledgehammered lock and immediately call the cops.

        I see comments like these all the time on Reddit and Hackernews. Hackers are like, "locks aren't security, a sledgehammer breaks them" and it appears to betray a mental threat model of "what if the cops want my thing" and never "what if someone wishes to do me harm while I am in my house" or "what if a criminal wants to not get caught taking my things" or "what if someone wants to lie in wait in my house", which are not risks to these commenters. They are to a lot of people though.

        • cush 2 hours ago
          > Imagine something like industrial espionage..

          This isn’t the movies. 99% of the time people need their own lock picked because they lost they key

          • Edman274 2 hours ago
            People don't buy locks so that they can lose their keys and require the lock to be picked. They buy locks to secure access to items or places. The parent I was replying to is saying that locks aren't security because a sledgehammer breaks them. I argue that a sledgehammer is only important for certain threat models. I am quite aware that most lock picking is for lost keys. However, I am describing threat models for which locks are important security. Do you understand?
            • raincole 2 hours ago
              The parent you were replying to mentioned at least three things:

              - lock picking hobbist

              - snap gun

              - sledgehammer

              And you simplified their comment to "locks aren't security because a sledgehammer breaks them" then proceeded to describe threat models where a sledgehammer doesn't work in detail. It's not a very constructive discussion.

            • nemomarx 1 hour ago
              Even without the sledge hammer your locks probably aren't good enough to stop a thief with a set of picks. A robot that brute forces it is more expensive and slower than any of the existing tools, so it shouldn't change your threat model.
              • pixl97 1 hour ago
                "I broke this masterlock with a masterlock"

                Lock companies put out a lot of advertising to make it seem like their products work far better than they actually do.

            • prmoustache 1 hour ago
              Locks are only really here to prevent "opportunistic" theft, not fully motivated ones.

              You need more than that to prevent theft. They are like the first layer of an onion.

        • observationist 50 minutes ago
          Locks and keys are usually more an inconvenience to prevent casual abuse of your boundaries. People who want access, nefarious or otherwise, will gain access, whether it's cops, ninja assassins, or junkies looking to strip your house of copper.

          Ninja assassins are low on the list of possible threats, but never zero.

          The biggest risk to me personally is the junkies and porch pirates, so signs and out of reach and very visible cameras have gone up to make them uncomfortable and feel too paranoid to mess with the locks.

        • prmoustache 1 hour ago
          Opening the door, even without the key, would totally trigger my alarm (if I cared enough to activate it) at night.
        • pixl97 1 hour ago
          Locks are not security.

          They keep honest people honest and give a few moments more work to those that are dishonest. It's a promise to society that you'll act decent. Needless to say they mean nothing to those that break promises.

          In almost all cases, with a lock or not, by the time you figure out the lock is broken (10 minutes or 10 days) your shit is long gone and you better have your security onion setup with multiple layers if you want the foggiest idea what happened.

          If you have an above average risk of having your shit stole or becoming under attack you better have a whole shit load more layers in your defense or you're screwed.

          • observationist 29 minutes ago
            It's a lot like turn signals - social communication that goes beyond the practical benefit. If you're using your turn signals, you're saying "I'm aware of the environment and a good participant in the game we're playing because I'm following the rules". If you don't use signals, you're telling people that you're not following the rules, and that makes you suspect in all the other social games. Kinda funny to do some people watching with that perspective, and to start to see how many assumptions are based on society being high trust - the exploitable vulnerabilities are endless, and people communicate a lot about themselves in the rules they choose to follow or break.
          • wat10000 45 minutes ago
            Locks raise the cost of bad behavior, which makes it less likely. They can still be quite meaningful to someone who breaks those promises, if that person doesn't have the tools or time to defeat the lock, or is just plain lazy.

            I live in a pretty low-crime area. From time to time, residents complain about things being stolen from their cars. Every single time that I've seen, the cars have been unlocked. A thief certainly could smash a window to steal from a locked car, but the thieves around here seem to be opportunistic and won't go that far.

            • pixl97 31 minutes ago
              And a larger lock pick tool does pretty much zero in the case you listed as that is not opportunistic. Those are pretty much the open up and steal when they see an unlocked car kind of people.

              It does nothing for the type of criminals that work in groups and steal tires of 50 cars at once, or whatever soup de jour of automobile parts they want at that moment.

              • wat10000 5 minutes ago
                My point is, locks do more than just keep honest people honest, and they are meaningful to some people who are up to no good.

                I wasn't addressing picks at all. My opinion there is that it's the lock maker and lock owner's responsibility to resist picking, and the rest of us have no obligation to keep it more difficult by not making tools.

    • showerst 3 hours ago
      I don't think even the non-3d printed commercial ones are for law enforcement purposes.

      Besides being for fun, the main draw seems to be that it picks the lock _and_ gives you the bitting. So if you lose all your keys, your locksmith is now in and can easily remake keys without swapping out the lock core.

      There may be cases were it's (much) cheaper to pay a locksmith to stand there for ten minutes and spend a few minutes at a key machine, rather than pick a lock in 30 seconds and spend 10 minutes installing a $100 high end lock cylinder.

    • JKCalhoun 2 hours ago
      Given that the locks are so pickable anyway (any causal perusal of YouTube will reveal as much) I think lock picking is something of a community service to let people know that locks are, and probably have always been, to keep honest people honest.
      • tialaramex 2 hours ago
        They also allow you to distinguish legitimate operations. Maybe that armed guard isn't sophisticated enough to realise that your ID is fake, but they do know that you're supposed to use a key to open these lock, you were not supposed to turn up and smash one open -- which means that maybe you're not who you say you are after all and best you stay right there while they call somebody.

        Easy picks can mess with that. If I can open this with my tools in two shakes of a lamb's tail because the tolerances are far too big probably that guard doesn't notice, whereas if I'm there heaving and grimacing for ten minutes, or I need a sledgehammer or an angle grinder, they'd have to be completely moronic not to realise I'm not on the up-and-up.

    • jabroni_salad 3 hours ago
      I can kinda buy the justification but I dont think the solution will get adoption. The TSA will cut the TSA-compliant locks if it will take the agent longer to find the key than it will to find the cutter. Or at least that's what the airline employee told me when I asked why my compliant lock had been removed. Law enforcement are not going to settle for a 5 minute skeleton key.
    • phantom784 3 hours ago
      I don't see how this would bypass the need for a warrant. It'd allow for picking the lock rather than breaking it when you _do_ have a warrant (and whoever has the key isn't available or isn't cooperating).
      • dec0dedab0de 2 hours ago
        I have seen cops use lockpicking guns while serving warrants. I would much rather them do that then break the door down. Hopefully projects like this can make this better. Even though it’s cool enough on its own to exist just because

        Even if the person is stone guilty I don’t think the police should be willy nilly destroying property in the process of serving a warrant.

        I know much of the focus is rightly on increasing accountability for the damage done to humans, but I always cringe at the thought of how much damage they can cause while performing a search. Imagine if your kid, or roommate had a warrant and they came in, smashed all your drywall and left you with the bill.

        • dylan604 2 hours ago
          > I would much rather them do that then break the door down

          The fact that law enforcement isn't responsible for damages during a search is problematic. When it's done somewhere when they've screwed up the address is even worse. "oops, sorry" should not be enough.

          • dec0dedab0de 2 hours ago
            Especially with body cameras becoming ubiquitous, it should be easy enough to distinguish between necessary and excessive damage.
            • ImPostingOnHN 1 hour ago
              And once the distinction is made?
              • dec0dedab0de 32 minutes ago
                pay people who are victims of excessive damage, and punish the people responsible.
          • chuckadams 1 hour ago
            > The fact that law enforcement isn't responsible ... is problematic

            FTFY

    • cush 2 hours ago
      The creator doesn’t mention anything about helping law enforcement. They mention cheap off-the-shelf tools that could do a better and faster job than this robot. There are many reasons pick locks, including it being a hobby.
    • raincole 2 hours ago
      > security through counting on slow hardware

      Security through locks doesn't work in the first place. At least not locks that can be picked by this robot. Pick gun is a thing.

      • petsfed 1 hour ago
        Eh, its more that any one security tactic will almost certainly not cover the entire threat space.

        Locks are very good at discouraging honest people and lazy, opportunistic people. They are not very good at discouraging generally skilled and motivated people, or people who are specifically interested in what's behind a specific door.

        Locks are no obstacle if the intruder is willing to use social engineering. But if all they're trying to do is get into my garden shed, they're going to have to manipulate me or my spouse. Or somehow get past my dog. Meanwhile, my dog has absolutely no bearing on a bad actor getting access to my bank account. But similarly, bringing the full might of the best electronic security to bear to protect a chainsaw and a rake seems a bit excessive. And sort of beside the point, since I've not built my garden shed to withstand creation of an additional door (by e.g. a sawzall or a fireaxe).