Reverse Engineering a Missile Launcher Toy's Interface 118
nitro writes "A fairly in-depth technical report by the security researchers at TippingPoint was released on how to reverse engineer the proprietary protocol for controlling a USB missile-launching toy system. They develop an iPhone application to control the device. 'The hardware is coupled with a simple GUI controller written in Delphi (MissileLauncher.exe) and a USB Human Interface Device (HID) interface written in C++ (USBHID.dll). The toys lost their allure within minutes of harassing my team with a barrage of soft missile shots. That same night I thought I would be able to extend the fun factor by coding up a programmatic interface to the launchers in Python. ... One interesting thing is that we have a lot more granular control of the turret movement now than we did with the original GUI. I wrote two simple loops to count the number of possible horizontal and vertical ticks and the results were 947 horizontal and 91 vertical versus 54 and 10 from the original GUI respectively. Granular control allows you to slowly and quietly reposition the turret for stealthy attacks.'"
Comment removed (Score:5, Funny)
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
The US munitions regulations that Zimmermann was arguing with were repealed many years ago.
Re:DIADS (Score:3, Funny)
Not such a joke. Look up DIADS, Digital integrated Air Defense (amazingly, not in Wikipedia!). This guy has just hacked the rudiments of Fire Control system. Which is approximately half of a DIADS. The other half being the radar and sensor integration. Which is handled by the many Open projects on sonar and video camera applications. Put them all together, and Our Sandbox Conquering Overlords will have all the tools they need to take them to Playground Domination.
Re: (Score:2)
Re: (Score:1)
Comment removed (Score:5, Funny)
Good work. (Score:5, Funny)
You could call it "Skynet".
Re:Good work. (Score:5, Insightful)
Actually, this seems like an almost ideal platform for sentry gun research. It's small, cheap, relatively harmless, can be operated in an office environment, and is probably wildly inaccurate which means that if you can make this work, actually shooting targets with some kind of accurate weapon will be trivial. I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.
Re:Good work. (Score:5, Insightful)
Why go for the complex solution?
A motion sensor connected to a air horn should do the trick.
Re:Good work. (Score:5, Funny)
That sounds fantastic. I'd love to jump out of bed at 3 am wondering where the iceberg is. And I won't need to squirt the deer with water, either; I just sleep on the porch, and when I fucking piss myself I can hose them down, too.
Re: (Score:1, Troll)
I'd love to jump out of bed at 3 am wondering where the iceberg is.
Thanks to global warming, there are no icebergs anymore. Oh, wait-
Re:Good work. (Score:5, Funny)
I'd love to jump out of bed at 3 am wondering where the iceberg is.
Thanks to global warming, there are no icebergs anymore. Oh, wait-
Shit, an iceberg got him!
Re: (Score:3, Interesting)
Wouldn't an ultrasonic loud speaker be more effective and less likely to miss?
Or perhaps a pop up scarecrow.
Problem is deer are usually smart enough to figure out what is and is not dangerous. If they get squired a few times they'll just assume they're setting off your sprinkler system. And I've seen deer walk right through sprinklers without a care in the world.
Re: (Score:3, Funny)
Who says the squirt gun has to use water?
Re: (Score:3, Funny)
I recommend tiger urine.
Squirting deer... (Score:3, Insightful)
It also depends on how hungry a deer is and the relative quality of the food. A stuffed deer can afford to be very, very skittish. One that hasn't eaten it's fill in a couple days/weeks is going to start taking chances - including eating the plants off your back porch, especially if they're tasty to the deer.
That's why we need hunters to actually reduce the deer population. If all everybody does is scare them off, eventually there will be so many deer that the non-scary food sources are exhausted and the
Re:Squirting deer... (Score:5, Funny)
Re: (Score:1)
Re: (Score:2)
Perhaps pepper spray sprayed a wide arc would work. Or maybe one could lob miniature tear gas canisters at the deer. Or just use VX nerve gas on them, those deer really do deserve it. If disposing of deer carcasses in order to avoid uncomfortable questions from game wardens, or even disposing of dead wardens is an issue, gas the deer with either Chlorine Trifluoride or Hydrogen Fluoride from lawn sprinklers. The deer will wander off, but will die in a couple of hours. Seal your house well and spraypain
Re: (Score:1)
Re:Good work. (Score:4, Interesting)
Aren't there more than a few "Paintball turrets" floating around on the 'net that basically do this already? I recall seeing one that was already for sale as a package.
I'd love to have one of these to get rid of the animals that poop in my backyard. Better biodegradable paint than cat shit.
And with a little hacking into an alarm system and replacing paintballs with ball bearings...
"Get the HELL out of my house! You have FIVE seconds to comply. FIVE. FOUR. ONE." *bam* *bam* *bam*
Re: (Score:2)
Re: (Score:1)
Wasn't that in a movie with a robot?
sigh Robocop.
Motiondetection, bionic arms, waving aluminium foil: wouldn't that scare the animals away?
Re: (Score:2)
Yes, but it'd be boring when I put the video up on YouTube.
And as for a counter to home invasion, what do you expect me to do? Hook up a bunch of cardboard cutouts to a model train set?
Re: (Score:1)
Re: (Score:2)
Do you have any idea what it costs to get hunting licenses in California? It's cheaper to buy meat.
Re: (Score:3, Funny)
Re: (Score:2)
http://www.aimergard.com/Products.aspx [aimergard.com]
Re: (Score:2)
I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.
You can get something like that here [contech-inc.com], although it's just a simple motion sensor rather than an active tracking platform.
Re: (Score:1, Redundant)
I'd very much like a sentry gun that would squirt the @#$%@#@ deer with water (at least) when they come to eat the plants on the front porch.
Like this? [contech-inc.com]
Re: (Score:2)
Re: (Score:1)
Go buy yourself a cheap, bulk container of cayenne pepper. Sprinkle liberally on plants. That may deter the deer as well as rabbits, etc).
Re:Good work. (Score:4, Funny)
I recommend landmines. Just don't forget where you put them :)
Re: (Score:2)
Your solution is called a compound bow.
Totally silent and you will solve the problem.
Re: (Score:1)
And knocking it down the speaker attached from it should say "I don't hate you".
Re: (Score:1)
You mean the automatic pellet turret [slashdot.org]?
Done that (Score:5, Interesting)
Get a 'Striker' laser-target-enabled missile launcher ($40, I think). Then get a webcam or IP-enabled camera (I got one of these from Ebay for ~$70).
Use the camera to detect motion and generate a centroid of motion; use the (high-intensity of red) laser-spot to detect where the missile is pointed (again from the camera image), and move the missile to make the centroid and laser-spot coincident.
It's actually pretty trivial, but it looks pretty cool to have people walk into the office and have two missile-launchers automatically track them.
I also have the think-geek big-red-button [thinkgeek.com] box, which I modified to allow the button to control a USB port. Now I can fire the (auto-targetting :) missiles by hitting the big-red-button :)
It's actually only slightly harder to get the system to track two independent targets... The next step is to build in target-recognition by accessing the company's person-directory (we all have pictures)... Don't shoot the VP. Only directors and below are valid targets :)
Simon
Re: (Score:2)
I've lost count of the number of times I've been asked that.... Hmmm....
For the record: not related to Simon T. Perhaps there's something in the name-thing though [grin] ...
Simon.
Cops and Robbers or Global Armageddon ? (Score:1)
Re: (Score:1)
Leader of a Rouge nation
Our kids want to play at being Communists? Or worse Canadians?
Mein Gott, who will think of the children?
Re:Cops and Robbers or Global Armageddon ? (Score:4, Funny)
I was thinking of some joke a little more limp-wristed, which is what I always thought when I saw some kid talking about "Rouge Squadron". They fly the pink X-Wings, right?
Re: (Score:1)
Re:Cops and Robbers or Global Armageddon ? (Score:5, Funny)
I was thinking of some joke a little more limp-wristed, which is what I always thought when I saw some kid talking about "Rouge Squadron". They fly the pink X-Wings, right?
Pink 5 standing by... And FABULOUS
Re: (Score:1)
Re: (Score:2)
Our kids want to play at being Communists? Or worse Canadians?
Nous sommes plutot mauve que rouge voyons.
Re: (Score:1)
What happens next.... (Score:2)
Nigan: He does fit the profile perfectly. He's intelligent, but an under-achiever; alienated from his parents; has few friends. Classic case for recruitment by the Soviets.
Arthur Cabot: Now what does this say about the state of our country, hmm? I mean have you got any insight as to why a bright boy like this would jeopardize the lives of millions.
[the General rolls his eyes]
Nigan: No sir. He says he does this sort of thing for fun.
Arthur Cabot: What!
Re: (Score:1, Redundant)
Re:Python? (Score:5, Informative)
His python code is here [tippingpoint.com]. It implements a HTTP web server (as well as a command line and direct socket server mode) that directly invokes a DLL to control the unit. And so in the video he can control the thing using the web browser in his cellphone.
All the code is only 283 lines and easy to understand. I don't see anything awkward about it.
In what way exactly would Lua be better at doing that?
Re: (Score:2)
283 lines for a web-based missile control system? I wonder how that compares to the average defense project.
Re: (Score:2)
Yeah, but this is Python. I'm sure they could cut at least 280 lines if they only used perl. As for the defense projects, I'm convinced they're all just a bunch of shell scripts.
Re:Python? (Score:5, Funny)
Oblig. [xkcd.com]
Re: (Score:2, Insightful)
283 lines... plus the Python runtime, including modules to implement the HTTP server.
...plus the various C libraries, video drivers, operating system, etc. Wtf? The point is that 283 lines of new code makes for a web controlled nerfgun where previously there was none.
You can't neglect the overhead of the runtime when you deploy something like this.
Yes, you can.
It's running on his desktop PC, which already has python on it. Just like my PC, which also has java, perl and various other languages sitting around. As far as he's concerned, an extra 9k of python script is all it took to make his pet project happen. And if I had one of those USB nerfguns, that same extra 9
Re: (Score:2)
Re: (Score:2)
Reverse engineering is fun and all, but I can't help think that it's a bit more of a challenge when you aren't reverse engineering something
Re: (Score:2)
That was my thought exactly.
Pft. (Score:5, Funny)
Rememer Robot Wars? (Score:5, Interesting)
Oh wow. I was one of the enthusiastic fans of Muse Software's Robot Wars for the Apple ][ [mobygames.com]. It sounds to me like Soulskill has invented a way to re-create Robot Wars in a more real and more fun way.
Here's a description of the original game.
Create code for a robot using the provided programing language, limited to 256 lines of code. Test your robot on the test bench by examining the code line by line and determining whether the bot performs as intended. Then put your finished robot in the arena with up to four other bots, set the number of battles, and watch them fight it out in a top-down view. Computer Gaming world had annual contests for several years in which readers could send their bots on disk to participate in the match, with results and prizes reported in the magazine.
Re: (Score:1)
I thought I was the only one that loved this game.
Re: (Score:2)
Me and a work mate have a battle every couple of months with Robocode [sourceforge.net]. Winner gets bragging rights.
It is as difficult or as easy as you want to make it. There are also world wide comps with 256 byte codes. Makes you also brush up on your high school trig. Awesome fun.
Re: (Score:2)
Sounds like this game [wikipedia.org] which I loved as a kid.
It is really a timeless concept - it could probably be successful if it were launched again on a more modern platform.
Re: (Score:1, Informative)
Looks like someone did launch it again on a more modern platform... :)
http://www.mindrover.com/ [mindrover.com]
Re: (Score:2)
I've tried it - haven't been impressed. It is a bit limited, and I don't like the fact that it doesn't really allow for procedural programming. It is more of a stimulus-response feedback loop design.
Re: (Score:2)
It sounds to me like Soulskill has invented a way to re-create Robot Wars in a more real and more fun way.
I was thinking of getting two launchers and recreating Scorched Earth. [wikipedia.org] To each his own.
iPhone this. iPhone that (Score:1, Funny)
I don't Phone anyone so I stopped reading at "iPhone"
Cheap Toys (Score:1, Funny)
I watch Woot on pretty much a daily basis and as a result I frequently end up purchasing toys that I really don't need. Most recently I picked up this silly pair of USB Missile Launchers for just under 40$ shipped.
Presumably this is how the guy ended up with an iPhone.
Hiring? (Score:1, Funny)
It must be fun to reverse engineer toys at a computer security company and get paid.
Hello? Hak5 (Score:1, Informative)
Hak5 [hak5.org] did this a while back. They also did a few videos about it [hak5.org]. The code [cynox.ch] has been around for a while.
You can even control it yourself from the web [hakhouse.com], if it's not Slashdotted, over at the Hak House [hakhouse.com].
*Warning!* (Score:2)
timestamp:Feb. 14 2009 14:47:32
sender:DOD
return: false
THIS THREAD HAS BEEN LOCKED BY THE UNITED STATES DEPARTMENT OF DEFENSE.stop
UNITED STATES LAW DOES NOT REQUIRE DISCLOSURE FOR THIS ACTION, AS SAID DISCLOSURE MAY BE A THREAT TO NATIONAL SECURITY.stop
REFER ALL ENQUIRIES REGARDING THIS ACTION TO:stop
http://www.defenselinks.mil/faq/comment.html [defenselinks.mil] stop
end
How about: (Score:1)
Alternatively (Score:5, Informative)
Re: (Score:2)
For continuos integration servers! (Score:3, Interesting)
I am seriously considering to hook up one of these USB Missile Launchers to our continuos integration server at work. When someone checks in code that doesn't compile or breaks tests the launcher targets the offending developer (using pre-determined login aiming mapping) and fires a couple of rounds at him. That'll certainly increase code quality!
I need help (Score:2)
One day the US gets an ICBM alert and they're going oh shit oh shit oh shit! Then it lands on the White House lawn and smashes a garden gnome or something. And then President Amjsnfsjfmed from Iran calls up Obama and tells him to look outside onto the front lawn, giggling, so Obama looks out, sees the nerf missile, replies with "ahhhhh you little terrorists!" with a big smile and maybe pointing a finger fonz-style.
Re:Hacking somethign that did not need a hack. (Score:5, Funny)
The code. Put up or shut up, AC.
Re:Hacking somethign that did not need a hack. (Score:5, Informative)
Re: (Score:1)
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)
Re: (Score:3, Insightful)
If we're going to argue about the meaning of the word...
When something is granular, it is made up of chunks.
When something is granular it is made of granules, or 'grains'. Typically something granular is made of numerous grains that form a larger unit.
When something is more granular, the chunks are larger, it has more of the characteristics of being grainy.
That doesn't really follow. The characteristic of being granular is that it has granules or grains. "More granular" is actually ambiguous.
It could mean:
Re: (Score:1, Redundant)
More granular control is ambiguous.
No, it is not. It means that the quanta of control are larger.
More granular means more grain like (not more grains), which means the grains are more evident. Because they are ... LARGER. You are making exactly the same mistake as the OP: more granular does not mean there are more grains, but it is more grain-like. For a fixed parameter range more granular means the quanta are larger, and higher resolution means they are smaller.
Granular and continuous are antonyms.
Re: (Score:2)
No, it is not. It means that the quanta of control are larger.
That's one meaning. Its not the only one.
More granular means more grain like (not more grains)
No. "granular" doesn't mean "grain like". So "more granular" doesn't mean "more 'grain like'"
Granular means "made up of grains"; so "more granular" means "more 'made up of grains'" and that's ambiguous. The more could refer to the number of grains, or it could refer to to more pronounced grains.
Same goes for "spikey". If I tell my stylist I want my hair
Re: (Score:2)
Nah. Haskell for high level stuff, Python for scripting, and Assembler instead of C.
Of course, written to disk with the butterfly-effect technique.
Re: (Score:2)