Opening Fixed-Code Garage Doors With a Toy In 10 Seconds
Trailrunner7 writes: It may be time to upgrade your garage door opener. Security researcher Samy Kamkar has developed a new technique that enables him to open almost any garage door that uses a fixed code–and he implemented it on a $12 child's toy. The attack Kamkar devised, known as OpenSesame, reduces the amount of time it takes to guess the fixed code for a garage door from several minutes down to less than 10 seconds. Most openers in commercially available garage door openers have a set of 12 dip switches, which are binary, and provide a total of 4,096 possible code combinations. This is a highly limited keyspace and is open to brute-force attacks. But even on such a small keyspace, those attacks take some time.
With a simple brute-force attack, that would take 29 minutes, Kamkar said. To begin reducing that time, he eliminated the retransmission of each code, bringing the time down to about six minutes. He then removed the wait period after each code is sent, which reduced the time even further, to about three minutes. Looking to further reduce the time, Kamkar discovered that many garage door openers use a technique known as a bit shift register. This means that when the opener receives a 12-bit code, it will test that code, and if it's incorrect, the opener will then shift out one bit and pull in one bit of the next code transmitted.
Kamkar implemented an algorithm known as the De Bruijn sequence to automate this process and then loaded his code onto a now-discontinued toy called the Mattel IM-ME. The toy was designed as a short-range texting device for kids, but Kamkar reprogrammed it using the GoodFET adapter built by Travis Goodspeed. Once that was done, Kamkar tested the device against a variety of garage door openers and discovered that the technique worked on systems manufactured by several companies, including Nortek and NSCD. It also works on older systems made by Chamberlain, Liftmaster, Stanley, Delta-3, and Moore-O-Matic.
With a simple brute-force attack, that would take 29 minutes, Kamkar said. To begin reducing that time, he eliminated the retransmission of each code, bringing the time down to about six minutes. He then removed the wait period after each code is sent, which reduced the time even further, to about three minutes. Looking to further reduce the time, Kamkar discovered that many garage door openers use a technique known as a bit shift register. This means that when the opener receives a 12-bit code, it will test that code, and if it's incorrect, the opener will then shift out one bit and pull in one bit of the next code transmitted.
Kamkar implemented an algorithm known as the De Bruijn sequence to automate this process and then loaded his code onto a now-discontinued toy called the Mattel IM-ME. The toy was designed as a short-range texting device for kids, but Kamkar reprogrammed it using the GoodFET adapter built by Travis Goodspeed. Once that was done, Kamkar tested the device against a variety of garage door openers and discovered that the technique worked on systems manufactured by several companies, including Nortek and NSCD. It also works on older systems made by Chamberlain, Liftmaster, Stanley, Delta-3, and Moore-O-Matic.
and an app on your phone that you can turn on/off via wifi. Not foolproof, but certainly better.
It's been several years since I bought an opener...and even then I can't remember seeing a major brand that wasn't a paired-system remote.
Is it just my observation, or are there way too many stupid people in the world?
Let's be honest, just check all on, all off, and alternating starting at 0 and 1.
The algorithm work is a good insight. The use of the toy is probably just for press coverage purposes, which may be a good strategy to get the word out and nudge social pressure to improve the industry.
All the hackers already know he probably could have build a transmitter with Sparkfun parts faster and for less money, so we should try to understand his methods rather than just dismissing them.
Not every security researcher is a PR genius, but the odds are much better than a Slashdot AC.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
Bad men with bad intentions could do bad things with this technology!
They could open your garage door and steal your car, or your power tools, or your bicycles, or your fishing equipment, or even your baseball bat and your baseball glove! Your golf clubs are not safe. The old IBM PC XT you keep in there would not be safe.
Please, people, be careful! Watch out for bad men with bad intentions that could do bad things with this technology!
The only thing remotely interesting is the bit about the openers trying all codes in a rolling window.
If you send 01010101010110101010100 it tests, 01010100, 101010100, 10101010, 0101010100, etc. It's essentially doing a find operation for the code (be it 8 bits, 12, or whatever) in the entire mess of shit that you send it.
Knowing this, the only work you need to do in the attack is work out the timing of sending a string that contains all 4096 combinations.
I remember the garage door opening and closing with every damn airliner flying overhead on finals.
“He’s not deformed, he’s just drunk!”
This really brings to mind the XKCD comic about the wrench and the password...
You could spend a lot of effort hacking an opener OR just break a window and go in to get the better stuff.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
I am not a "hacher" (nor a burglair!), but it was baffling for me why he used a toy and not build it himself, so: good points about the "press coverage purposes"!
Antisthenes: "Wisdom begins by examining the words/names." - excuse my English, i am (slightly...) better with my Greek!
Ah, I remember the old days. Driving around the neighborhood and keying up the mic on the CB radio. One of the channels would open dozens of doors around the neighborhood...
Pretty cute to house it in a child's toy when you can go to the hardware store and buy a universal garage door opener remote for $30 which already has all the codes you would need and instructions on how to open every brand. Then, to get the "loot" (broken things, my awesome gas-power mower, various motoring fluids, sweet Guitar Hero guitars and a drum set (that's got to be worth $8), other low-tech child's toys, a shitty ladder, a shitty mop, and some other really shitty stuff) you merely have to disguise your rape van to look like a laundry delivery service van(or NSA surveillance van, your choice) so you can do your nearby attack, in the middle of the daytime. Good luck with that!
There are some valuables inside the main house, but now you have to break in there too. Still, many folks consider this a viable option than to read some books, get some skills and make better money at a real job, but that's too hard. HAHAHAHAHA!!1! What dopes.
This is the NSA, we're gonna geet U h@x0r5! Also, what is a h@x0r5?
This is when you begin to understand how much better a dog is than a garage door.
Most garage door I've seen are secured with a simple latch. How about pry open the bottom of the door and pull it up. I'm sure it takes less than a few seconds. No?
So how long before he is arrested?
"To begin reducing that time, he eliminated the retransmission of each code" What? If you retransmit each code, it obviously will take twice as long as necessary. The article says "removing redundant transmissions", but that's rather vague And seriously, this malicious attention-seeker is in the news because he managed to defeat technology that was obsolete decades ago a bit faster than everyone who's done it before?
Because in 10 years, I can't be sure that a "hack-resistant" car lock on the 2015 car buy today will be any stronger than these garage-door openers are now.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
Of course it is for the press.
Build a universal garage door opener using basic parts: "Of course he could do that - he's an electronics wizard. We don't have to worry - the common thug can't do that."
Building it with a toy as base may actually be more work & more money, but: "He opens any garage door with a common toy! Panic! Soon, all burglars have that toy!"
I sincerely hope he didn't test it in a densely populated neighborhood. I imagine garage doors around the block opening and closing as he's standing there with his test unit, "Nope, let's try this... Nope, let's try this..."
The Daddy casts sleep on the Baby. The Baby resists!
A trip around the back side of the house and you can either force the door or a window in less time than this.
Open the damn garage from the inside if you want it opened so badly.
Yeah, we know fixed code is old and vulnerable. The doors and windows are even more so.
Go old school and put your garage power head on a timer that only gives it power certain times of day, or just go buy a new one. They're not all that expensive
I used to run a 100 watt linear amplifier on my CB radio, it would open garage doors, set off alarms, interfere (bleedover) TVs and radios, etc. Which is why I've unpluged my garage door opener.
Attach one of these with a directional booster antenna to the top of a slow moving google maps car, and we'll see what REALLY goes on in the garages of America!
Please remember to close it on the way out.
How is that a "new technique"?
Thieves just take some type of sharp blade, cut a "V" shape into the garage door, reach in (likely with a hooked tool), pull the manual T-shaped handle that's connected with a rope to the locking latch mechanism, tug it, door's unlocked.
I counted about 10 such damage marks between 49th and 54th Ave in one laneway.
Sounds like more trouble than just breaking into my garage.
Doesn't seem like time to upgrade anything.
https://myspace.com/householdh...
http://www.shomer-tec.com/inde...
use to sell one that would do any older door in under 2 mins
and a couple of other websites showing code transmit open/close errors etc etc
dude didnt have to alter-code this is been out there for around 12 years
I bought two of those IM-ME brand new a few years back for about $10. Time to pull them out and have some fun.
The DIP switches in the remotes I've seen have three positions - low, mid, and high.
Okay, so it's 3^12 instead of 2^12 combinations.
Hacking my garage door opener is the hard way in. The left garage door and side door are both unlocked and open much faster. It's detached from the house - all you could steal are rusty tools and flower pots.
yeah... fixed code. Otherwise your first task would be to weed out this kind of lame bruteforce attacks.
It's been several years since I bought an opener...and even then I can't remember seeing a major brand that wasn't a paired-system remote.
Argh, damn you Slashdot, get out of my Amazon purchase history!
http://www.amazon.com/gp/produ...
I guess 1993 was about when the garage door companies standardized on the the rolling-code thingy that has to be paired to each remote.
Though now I'm kicking myself for not just building my own https garage door opener using
http://www.instructables.com/i... so I can let the kids in remotely when they forget their keys.
I remember an episode of 'Bewitched' where low-flying aircraft triggered a garage door. Maybe these remotes have switched to digital since then but they're not treated as keys 'to the kingdom', like a car remote. Even that happened only after industry insiders showed that transmissions from car remotes could be recorded and then played to unlock a car. Once again, when security goes high-tech, the technology used is cheap and nasty.
I have two of those toys on my desk right now, they are useful dev kits for the TI CC1110 microcontroller - an 8051 based core with 32K flash and 4K RAM.
You also get a CC1111 part inside the wireless dongle which comes with it.
If you look at the PCB in the device, it is a hardware hackers dream. The debug port is broken out onto pads inside the battery compartment, and there are test pads all over.
The SPI screen is bitmap addressable and the keyboard is sanely wired up. You even get a piezo buzzer and 2 LEDs under software control.
It also runs at 2.5V on 3 AA cells, via a pretty nice LDO regulator that cuts out at 2.9V, so a set of NiMH cells will run down to 1V per cell, squeezing out almost every last drop of juice.
One of my IM-MEs cost £1, I forget what I paid for the other one, but it wasn't over a fiver.
This time I'll get a model with better suction, three holes and a more understanding attitude.
Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
2600 had a similar article that covers this called 'Brute forcing PIN Code keypads using combinational mathematics' in Spring 2014, uses the same technique to minimise the number of digits needed to crack an electronic pin lock.
See subject "Forrest" & this -> http://tech.slashdot.org/comme...