News for hackers. Stuff that matters.
Re:Tourist's lucky guess cracks safe code on first try by olalonde on Thursday June 27, 2019 @07:53AM (#20293589)
If the combination does allow for wiggle room and the 1 in 8000 figure is correct, the code could have been brute forced in a couple hours. Source: my wife has a habit of forgetting the combination to her 3 digit luggage lock and I had to brute force it a few times (it's surprisingly quick, about 15 minutes) :)
Re:Tourist's lucky guess cracks safe code on first try by bradknowles on Thursday June 27, 2019 @03:07PM (#20297508)
Did I ever tell you the story of how I had to break into the office of the Team Chief of the Logistics Readiness Center inside of the National Military Command Center in the Pentagon?

He had forgotten his briefing slides when he was about to go give an update on all logistics operations for the Chairman of the Joint Chiefs of staff, and he heard the door click behind him.

He had five minutes. He got there in time, with his briefing slides. I then told the Executive Officer of the Day what the combination was, and informed them that they probably needed to change that combo since I now knew what it was.

Ironically, I ended up going through all possible combinations without success. That's when I was told that I was turning the doorknob the wrong way, and I had to start over. It didn't take too long from there.

Re:Tourist's lucky guess cracks safe code on first try by smcl on Thursday June 27, 2019 @08:46AM (#20293885)
I had this in university - when I started some documents I needed were delivered to my uni mailbox which was guarded by a code, but we weren't due to get our code until we had completely "matriculated" (signed in, got our IDs, etc). So I just sat down with a couple of beers and set out out to try all 9999 combinations (it was thankfully in the 2000s or so).

Made me realise that my university mailbox wasn't actually that secure ...

Re:Tourist's lucky guess cracks safe code on first try by retro64 on Thursday June 27, 2019 @11:12AM (#20295114)
Ok, here’s one for you. This is almost too painful to repeat it’s so bad. When I went to college, the university implemented at 4 digit prefix that students would use when dialing from a campus phone so they could charge long distance calls directly to their university bill. With only 9999 numbers allocated to 6000 students, it was comically simple to use a random number and make that long overdue call to mom.

Right. It lasted a month before it was scrapped.

Re:Tourist's lucky guess cracks safe code on first try by larrywright on Thursday June 27, 2019 @02:12PM (#20297003)
In the town I live, there was an incident a few years ago with a teenager who got access to his mother’s handgun. She had the gun in a gun safe, with a four digit combo. The teen came home every day after school and started brute-forcing the password. 0000, 0001, and so on. He was determined and patient, and it worked.

https://www.pantagraph.com/news/local/crime-and-courts/teen-...

Re:Tourist's lucky guess cracks safe code on first try by stinos on Thursday June 27, 2019 @11:27AM (#20295258)
Some of these 3-digit locks are so simple/bad one can actually just see the open slot on each ring. After which you just have to align them. If that fails, some of them have just enough space so you can put something thin (like a needle with a bent end) and can feel where the slot is. Usually faster than brute forcing.
Re:Tourist's lucky guess cracks safe code on first try by toss1 on Thursday June 27, 2019 @12:01PM (#20295639)
We used to do this for amusement with each other's 3-5 tumbler ski locks on the rides to races. It wasn't even brute force, just exploiting weaknesses in the manufacturing

The most useful trick was to put a bit of tension on the lock cable while turning the tunblers. Once we got a feel for it, we could often open unfamiliar locks almost as fast as if we had the combination, and didn't even have to look. You could just feel the gap slip into place.

Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @08:08AM (#20293679)
The good thing about normal combination locks is that you can try all combinations sequentially with minimum movement.

  000 start
  001 1 move
  002 1 move
  ...
  008 1 move
  009 1 move
  019 1 move
  018 1 move
  ...
  011 1 move
  010 1 move
  020 1 move
  021 1 move
  ...
and so on.
Re:Tourist's lucky guess cracks safe code on first try by kozhevnikov on Thursday June 27, 2019 @08:18AM (#20293734)
I feel like saving 1 move in 10 (9 to 10 is 2 moves, 10 to 11 is back to 1 move) is not worth the mental capacity required to remember current up/down direction. Easier to let the muscles do the work and let your mind wonder.
Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @09:56AM (#20294356)
That's a good point, though I do think that it's not that big of a mental hurdle. Consider knitting, for example.
Re:Tourist's lucky guess cracks safe code on first try by rvdse on Thursday June 27, 2019 @09:40AM (#20294220)
That sounds similar to the concept of Gray code [0].

For electronic locks, there is a similar method that allows you to try a 4-digit code for each key press [1].

[0] https://en.wikipedia.org/wiki/Gray_code [1] http://alvaray.org/brute-forcing-pincode-keypads-using-combi...

Re:Tourist's lucky guess cracks safe code on first try by emilfihlman on Thursday June 27, 2019 @09:59AM (#20294386)
Yup, that's the general idea I also had in mind.

Those "try all n in shortest combination" sequences are called De Bruijn sequences in general.

https://en.wikipedia.org/wiki/De_Bruijn_sequence

Re:Tourist's lucky guess cracks safe code on first try by Ductapemaster on Thursday June 27, 2019 @02:17PM (#20297057)
These codes have been used to break wireless garage door openers in comically little time: https://samy.pl/opensesame/
Re:Tourist's lucky guess cracks safe code on first try by darkpuma on Thursday June 27, 2019 @02:27PM (#20297143)
In practice 009 to 010 is a single move, because your thumb can cover and turn two or more wheels at once.
Re:Tourist's lucky guess cracks safe code on first try by enriquto on Thursday June 27, 2019 @09:00AM (#20293964)
> Source: my wife has a habit of forgetting the combination to her 3 digit luggage lock

Luggage locks are notoriously easy to open just by listening to them carefully while you try to force them open and slowly turn each digit.

Re:Tourist's lucky guess cracks safe code on first try by emerongi on Thursday June 27, 2019 @08:06AM (#20293663)
I bruteforced a 4-digit 2FA in 2 days, of course with the help of a small script instead of trying it myself. It's always fun to see dumb solutions work.
Re:Tourist's lucky guess cracks safe code on first try by a11r on Thursday June 27, 2019 @10:35AM (#20294729)
I brute-forced a 32-bit random number generator in an internet worm, back in the day[1]. Brute force is underrated.

[1] http://www.icir.org/vern/papers/witty-imc05.pdf

Re:Tourist's lucky guess cracks safe code on first try by dontbenebby on Thursday June 27, 2019 @12:32PM (#20296010)
Did you vary your code, or just try the same code until it was the correct one?
Re:Tourist's lucky guess cracks safe code on first try by celticmusic on Thursday June 27, 2019 @08:45AM (#20293874)
if it works, it's not a dumb solution :)
Re:Tourist's lucky guess cracks safe code on first try by janders on Thursday June 27, 2019 @10:53AM (#20294926)
I took two things away from my AI class.

1) If brute force doesn't work, you're not using enough.

2) Do the stupid thing first.

Re:Tourist's lucky guess cracks safe code on first try by beat on Thursday June 27, 2019 @11:16AM (#20295154)
Reminds of things my dad would say about mechanical work...

"Use a bigger hammer". "If it jams, force it. If it breaks, it was going to break anyway".

Re:Tourist's lucky guess cracks safe code on first try by mcphage on Thursday June 27, 2019 @09:39AM (#20294210)
"If it's stupid and it works, then it's not stupid" — my motto
Re:Tourist's lucky guess cracks safe code on first try by ALittleLight on Thursday June 27, 2019 @11:10AM (#20295097)
Rephrasing for brevity: "Nothing stupid works."
Re:Tourist's lucky guess cracks safe code on first try by john-radio on Thursday June 27, 2019 @09:32AM (#20294174)
It is if olalonde doesn't want to have to break into his wife's luggage every couple of weeks...
Re:Tourist's lucky guess cracks safe code on first try by joekrill on Thursday June 27, 2019 @10:32AM (#20294709)
Would they have known about the wiggle room without opening the safe, though? I figured they found this out after inspecting the lock once the safe was open. So if they didn't know about this wiggle room -- or know what amount of wiggle was allowed -- could they have benefited in any way?
Re:Tourist's lucky guess cracks safe code on first try by lnanek2 on Thursday June 27, 2019 @11:30AM (#20295308)
Article said they looked up the default combos previously, so they must know the brand and model. That's probably all that's needed to lookup the wiggle room.
Re:Tourist's lucky guess cracks safe code on first try by bradhoffman on Thursday June 27, 2019 @07:55AM (#20293604)
Hahah I really appreciate the effort you put in with that
Re:Tourist's lucky guess cracks safe code on first try by m463 on Thursday June 27, 2019 @12:34PM (#20296026)
You are a statistically patient outlier. (however, maybe not on hacker news)