News for hackers. Stuff that matters.
Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @06:22AM (#14880490)
Last month I had the disappointing surprise of finding a lock on my bike. I forgot I put it (it's been years since I last used it). And it's not a key lock.. so I'm screwed. Not willing to cut the cable.. I decided to brute force it. 999 space is fun. Luckily you quickly find similar tips than the alignment one to speed up the process. And since it's not a full rotary lock, I could also "DDR" the tests by testing when going from 0 to 9 then from 9 to 0. 5 minutes later and 800 attempts I was lifting my bike like a king. Until I realize the rear tire was dead. TL;DR; do not succomb to the seductive power of cryptanalysis.. check rubber first !
Re:Robot cracks open safe live on Def Con's stage by slau on Saturday July 29, 2017 @07:51AM (#14880723)
It probably would have been faster to apply tension to the lock, and then rotate the rows of digits until you find the "binder" (the one that the lock is resting on under tension).

Once you have found the binder, rotate it until you feel the lock open slightly and the digit ring falls into the gate. The digit ring will move freely for about 1.5 digits until it starts to seize again.

Repeat until you've found all the digits. I've done this one a number of occasions to help friends unlock their bikes, or to troll them by changing the combination on their bike.

tl;dr: combination locks suck. Don't use them, ever.

Case in point: https://youtu.be/uMvx0GtfEOk

Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @09:45AM (#14881192)
That's exactly what I did.
Re:Robot cracks open safe live on Def Con's stage by tiziano88 on Saturday July 29, 2017 @12:01PM (#14881783)
Then it should not have taken you 800 attempts?
Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @12:33PM (#14881930)
In reality there are other issues:

- mechanism is rusty

- has backlash/play

you're never sure you isolated the empty slot, so you assume so, go deeper, then backtrack when you reached the leaf of that exploration tree. Also, the double scan thing made it quick enough to avoid trying to probe too long for the right slot, hence the hybrid solution.

Re:Robot cracks open safe live on Def Con's stage by saagarjha on Sunday July 30, 2017 @03:18AM (#14884838)
800/999 is worse than brute force at that point…
Re:Robot cracks open safe live on Def Con's stage by agumonkey on Sunday July 30, 2017 @08:28AM (#14885654)
How so ?
Re:Robot cracks open safe live on Def Con's stage by saagarjha on Sunday July 30, 2017 @07:44PM (#14888517)
On average it would take around 500 guesses. One would have expected that with your "method" you could have reduced this by an order of magnitude (i.e. not 800) at least. Otherwise you're really just wasting time with additional steps for each trial.
Re:Robot cracks open safe live on Def Con's stage by palunon on Sunday July 30, 2017 @11:08AM (#14886246)
By bruteforcing randomly, you'll find the combination in 500 attempts on average.

To have to make 800 guesses, you need to have pretty bad luck, or a strategy worse than bruteforce.

Re:Robot cracks open safe live on Def Con's stage by vanderZwan on Sunday July 30, 2017 @01:34PM (#14886957)
Average says nothing about how often you'd expect to take more than 800 attempts or more unlock, which I guess is 199/999 or one in five times
Re:Robot cracks open safe live on Def Con's stage by agumonkey on Sunday July 30, 2017 @07:43PM (#14888514)
bruh... you think I can remember all the random attempts in my head ?
Re:Robot cracks open safe live on Def Con's stage by grogenaut on Saturday July 29, 2017 @12:09PM (#14881828)
Without hyperbole stories are not as fun.
Re:Robot cracks open safe live on Def Con's stage by adekok on Saturday July 29, 2017 @09:21AM (#14881091)
When I was 10, I found a rotary bicycle lock + connected chain, locked alone to a post in a park. Having read up on locks even then (god knows how), I tried the method of "pull on it and spin the dials".

About 30 seconds later, it was unlocked.

I used that lock for about 10 years, until I went to University, where the thieves were a bit smarter.

Re:Robot cracks open safe live on Def Con's stage by shasheene on Saturday July 29, 2017 @09:39AM (#14881168)
Just a note that the lock you found may have not been abandoned.

Many bike posts in my university's undercover bike shed often had several locks without a bike in sight. It turned out many people leaving bike locks on posts they often use (it doesn't take up much space or prevent someone from using the post).

It saves those cyclists the hassle of carrying the the lock with them (only the key), which is particularly an issue with those very heavy bike U-locks and D-locks.

Re:Robot cracks open safe live on Def Con's stage by grogenaut on Saturday July 29, 2017 @12:11PM (#14881835)
Agreed. I have a lock on the work bike lockers I use. Everyone seems to do this. Means you can have a very hefty lock but not carry it. Speaking of we moved buildings I need to snag it.
Re:Robot cracks open safe live on Def Con's stage by dunham on Saturday July 29, 2017 @02:30PM (#14882410)
At university, I had someone accidentally lock their bike to mine with one of those. So I just unlocked and relocked it, using a similar process. (There was a lot of play in the wheels - it was a fairly cheap one.)
Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @09:48AM (#14881202)
hehe nice story.

My cherished (and uber low grade) bike was stolen in Paris. The robber didn't bother to find the code, they ripped that tiny cable apart. They were nice enough to leave the bits in a McDonald's bag where the bike was attached (and of course, the McDonald's was just in front of me). Anyway I know have a 2kg keylock chain on my new bike.

Re:Robot cracks open safe live on Def Con's stage by Theodores on Saturday July 29, 2017 @01:36PM (#14882202)
In a bike workshop you frequently remove locks. It always takes seconds.

It is a bit like taking on a project and not knowing the admin password, it takes seconds if you know the codebase to fix it.

Re:Robot cracks open safe live on Def Con's stage by losteverything on Saturday July 29, 2017 @12:28PM (#14881912)
After taking assembler my freshman year (1970's) i wrote the combination lock code in the octal representation of 1-9. I wrote it on the bottom if the storage unit rented to?store furniture between terms..

When i returned to unlock it, the numbers were faded and unreadbale.

Got lock pliers from the office

Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @12:36PM (#14881949)
lol. Funny someone suggested to engrave similar encoding into the frame.

And since I was eyeing on CNC milling machines .. that might be a nice project. I am thinking about stealing the correction scheme used on CD to be scratch resistant.

Re:Robot cracks open safe live on Def Con's stage by AYBABTME on Saturday July 29, 2017 @12:13PM (#14881845)
For 1000 possible combinations, wouldn't you expect to have to try ~500 combinations on average to find solutions? Since you found it in 800 attempts, this suggests that whatever method you used may have actually made your odds of success worst.
Re:Robot cracks open safe live on Def Con's stage by babuskov on Saturday July 29, 2017 @05:33PM (#14883095)
> on average

You can "expect" but if you only have one lock to unlock, it can be anything from 1 to 1000 attempts.

If you had 1000 locks, you can expect that the average would be 500 (if the numbers were truly random), but it still means that you might need one try for some locks, and 999 tries for some other lock.

Re:Robot cracks open safe live on Def Con's stage by agumonkey on Saturday July 29, 2017 @12:34PM (#14881935)
Well if you enumerate in order and your code is 800 then you have to try 800 cases.
Re:Robot cracks open safe live on Def Con's stage by SomeStupidPoint on Saturday July 29, 2017 @02:50PM (#14882492)
I'm not sure how you make that inference. Could you explain your logic?