Hacking Is Hacking

Tom Nardi and I had a good laugh this week on the Podcast when he compared the ECU hacks that enabled turning a VW with steering assist into a self-driver to a hack last week that modified a water cooler to fill a particular cup. But it’s actually no joke — some of the very same techniques are used in both efforts, although the outcome of one is life-and-death, and the other is just some spilled ice-cold water.

This reminded me of Travis Goodspeed’s now-classic talk “In Praise of Junk Hacking” from way back in 2016. For background, this was a time when IoT devices and their security were in their relative infancy, and some members of the security community were throwing shade on the dissection of “mere” commercial crap. (Looked back on from today, where every other member of a Botnet is an IP camera, that argument didn’t age well.)

Travis’ response was that hacking on junk lets us focus on the process — the hack itself — rather than getting distracted by the outcome. Emotions run high when a security flaw affects millions of individuals, but when it’s a Tamagotchi or a pocket calculator, well, it doesn’t really matter, so you focus on the actual techniques. And as Travis points out, many of these techniques learned on junk will be useful when it counts. He learned about methods to defeat address-space randomization, for instance, from an old hack on the TI-85 calculator, which garbage-collected the variables that needed to be overwritten.

So I had junk hacking in the back of my mind when I was re-watching Hash Salehi’s great talk on his work reverse engineering smart meters. Funnily enough, he started off his reverse engineering journey eleven years ago with work on a robot vacuum cleaner’s LIDAR module. Junk hacking, for sure, but the same techniques taught him to work on devices that are significantly more serious. And in the craziest of Hackaday synergies, he even hat-tipped Travis’ talk in his video! Hacking is hacking!

The Year Of Owning It

Talking over the year in review on the Podcast, Tom Nardi and I were brainstorming what we thought was the single overarching trend in 2021, and we came up with many different topics: victories in the right to repair, increasingly dystopian service contracts, a flourishing of cyberdecks, and even greater prevalence of reverse engineering style hacks. And then we realized: they are all different faces of the same beast — people just want to own the devices that they own.

Like Dr. Jekyll and Mr. Hyde, our modern Internet-connected-everythings have two sides. On one side, we get so much additional functionality from having everything on the net. But on the other, if your car is always connected, it gives Toyota a means to make you pay a monthly fee to use a car fob, and if you have to use Cricut’s free online service to upload designs to the cutter, they can suddenly decide to start charging you. It allows Samsung to not only spy on whatever you’re currently watching on your smart TV, but to also brick it if they want to. More and more, we don’t actually own (in the sense of control) the devices that we own (in the sense of having purchased).

We don’t have to take it lying down. On the one hand, consumer protest made Cricut walk back their plans, and may do the same with Toyota. We can achieve a lot, collectively, by just talking about our grievances, and letting the firms in question know how we feel — naturally also with our wallets. But as hackers and all-around techie types, we can do even more. When something is broken because of a bad service, we can often fix it with firmware or by standing up our own version of the service. We can pwn them.

But there’s even more to the cyberdeck and the extreme DIY movements of the last few years than just the defense against lock-in or the liberating of hardware. There’s also the pride of truly owning something because you made it. Not just owning it because you bought it, or owning it because you control it, but owning it because you understand it and because you gave birth to it.

Whichever way you’re into owning your own, I think that’s the single overarching trend of 2021 — both on the positive and proactive side and the negative and reactive. Talking about it, reverse engineering it, or building it yourself, 2021 was the year of owning it.

Hackaday Podcast Wishes You Happy New Year

Our two-week-long winter hibernation continues on the Podcast, but we’ll be coming at you next week with guest host Tom Nardi. We’ve got two weeks full of hacks to cover, and Tom is working on a Best Hacks of 2021 piece, so we’ll be starting off 2022 with a bang.

Happy New Year!

Direct download (5 MB)

Continue reading “Hackaday Podcast Wishes You Happy New Year”

Remoticon 2021: Uri Shaked Reverses The ESP32 WiFi

You know how when you’re working on a project, other side quests pop up left and right? You can choose to handle them briefly and summarily, or you can dive into them as projects in their own right. Well, Uri Shaked is the author of Wokwi, an online Arduino simulator that allows you to test our your code on emulated hardware. (It’s very, very cool.) Back in the day, Arduino meant AVR, and he put in some awesome effort on reverse engineering that chip in order to emulate it successfully. But then “Arduino” means so much more than just AVR these days, so Uri had to tackle the STM32 ARM chips and even the recent RP2040.

Arduino runs on the ESP32, too, so Uri put on his reverse engineering hat (literally) and took aim at that chip as well. But the ESP32 is a ton more complicated than any of these other microcontrollers, being based not only on the slightly niche Xtensa chip, but also having onboard WiFi and its associated binary firmware. Reverse engineering the ESP32’s WiFi is the side-quest that Uri embarks on, totally crushes, and documents for us in this standout Remoticon 2021 talk. Continue reading “Remoticon 2021: Uri Shaked Reverses The ESP32 WiFi”

RC3 2021: Now Here, Nowhere

The annual meeting of the Chaos Computer Club, Germany’s giant hacker group, is online again this year. While those of us here are sad that we don’t get to see our hacker friends in person, our loss is your gain — the whole thing is online for the entire world to enjoy.

This year’s Congress has gone entirely decentralized, with many local clubs hosting their own video streams and “stages”. Instead of four tracks, there are now six or seven tracks of talks going on simultaneously, so prepare to be overwhelmed by choice. You can find the overall schedule here, so if you see anything you’d like to watch, you’ll know when to tune in.

Like last year, there is also a parallel 2D simulation world, like Zelda with videoconferencing, but for which you’ll need a ticket, and they’re sold out. (Check out the demo video if you want to see what that’s about.) And what would a conference be without t-shirts, armbands, and even a sticker exchange? Or course, it all has to be done by mail, but you do what you can.

We’ll be keeping our eyes on the talks, and let you know if we see anything good. If you do the same, let us know in the comments!

Blender? No, Grinder

[Leandro Felipe] is no stranger to the dirty hack, and this video of his conversion of a blender into a handheld rotary grinding tool is no exception. (Embedded below.) But the end result is something pretty useful — a lighter and more maneuverable rotary grinder that’s got a lot more grunt to boot.

(The video is in Portuguese, but the captions work pretty well, once you get over the fact that the robots translate “grinding tool” as “rectifier” a lot of the time. And anyway, you’re here for the hacks.)

The highlights are a handmade coupling that mates the blender motor with the flexible shaft and chuck, purchased separately. And the flattened-out PVC pipe used as a mounting bracket. And him using the motor itself against a file to “lathe” down the drive shaft. And…

The tip of the day comes when he holds the blender motor in a metal vise to test it out. Metal and spinning magnets — what’s the worst that could happen?  Sparks, smoke, and a trip to the thrift store for another used blender.

If you just want to see the finished piece, you can jump ahead to the end. But it’s basically, get yourself a speed-adjustable blender, couple it to the shaft of an off-the shelf grinder, and you’re set.

It’s an idea so conceptually easy, you might wonder if Hackaday has ever showcased a blender dr3mel before. We have. What else can you power with a blender motor?

Thanks [Danjovic] for the tip!

Continue reading “Blender? No, Grinder”

Do You Need A Cycloidal Drive?

A cycloidal gear drive is one of the most mesmerizing reduction gears to watch when it is running, but it’s not all just eye-candy. Cycloidals give decent gearing, are relatively compact and back-drivable, and have low backlash and high efficiency. You probably want one in the shoulder of your robot arm, for instance.

But designing and building one isn’t exactly straightforward. Thanks, then, to [How To Mechatronics] for the lovely explanation of how it works in detail, and a nice walkthrough of designing and building a cycloidal gear reducer out of 3D printed parts and a ton of bearings. If you just want to watch it go, check out the video embedded below.

The video is partly an ad for SolidWorks, and spends a lot of time on the mechanics of designing the parts for 3D printing using that software. Still, if you’re using any other graphical CAD tool, you should be able to translate what you learned.

It’s amazing that 3D printing has made sophisticated gearbox designs like this possible to fabricate at home. This stuff used to be confined to the high-end machine shops of fancy robotics firms, and now you can make one yourself this weekend. Not exotic or unreliable enough for you? Well, then, buy yourself some flexible filament and step on up to the strain wave, aka “harmonic drive”, gearbox.

Thanks to serial tipster [Keith] for the tip!

Continue reading “Do You Need A Cycloidal Drive?”