Snooping On SIM Cards

[Nils Pipenbrinck] has been working on a very interesting problem. The SIM card in your cellphone talks to the contactless near-field communication (NFC) chip through a cool protocol that we’d never hear of until reading his blog: single wire protocol (SWP).

The SIM card in your cellphone has only a limited number of physical connections — and by the time NFC technology came on the scene all but one of them was in use. But the NFC controller and the SIM need full-duplex communications. So the SWP works bi-directionally on just one wire; one device modulates the voltage on the line, while the other modulates the current, essentially by switching a load in and out.

This signalling protocol makes snooping on this data line tricky. So to start off his explorations with SWP, [Nils] built his own transceiver. That lead [Nils] to some very sensitive analog sniffer circuit design that he’s just come up with.

If you get interested in SWP, you’ll find the slides from this fantastic presentation (PDF) helpful, and they propose a solution very similar to the one that [Nils] ended up implementing. That’s not taking anything away from [Nils]’s amazing work: with tricky high-speed analog circuitry like this, the implementation can be more than half of the battle! And we’ll surely be following [Nils]’s blog to see where he takes this.

Banner image: An old version and a new version of the transceiver prototype.

Thanks to [Tim Riemann] for the tip!

Cramming A Pi Zero Into A USB Hub

We kinda feel bad posting all these awesome hacks you can do with a Raspberry Pi Zero when we know most of our audience here probably doesn’t have one due to the backlog of orders… but regardless — here’s another one you can try — if you have one anyway. A Raspberry Pi USB Hub!

In case you didn’t know, Amazon has a series of electronics accessories called Amazon Basics — and they’re actually pretty good quality accessories. One of them is a 7-port, 4A USB hub. Looking at this [gittenlucky] figured he might just have enough room to fit a Pi Zero inside… and as it turns out. He did.

Continue reading “Cramming A Pi Zero Into A USB Hub”

Build Your Swarm: Control Cockroaches For Under $30!

Have you ever wanted to control an army of cockroaches? We’ve all seen remote control cockroaches before — and they really are quite a fascinating specimen to work with — but did you know you can control one for about $30 worth of components, with a Arduino Micro?

It’s actually pretty simple. By stimulating a cockroaches antenna with variable frequencies (to mimic neural signals) you can convince the cockroach that they’ve hit a wall and should turn the other way. What results is a remote-controlled roach. How cool is that!

Continue reading “Build Your Swarm: Control Cockroaches For Under $30!”

Vacuum? No, Tonight We Go To War Against The Dust Mite

For those of us lucky enough to own a Roomba, it makes taking care of dust in your house a breeze — but it could be better. Which is why [Marcel] spent his weekend upgrading his Roomba — or should we say, Doomba.

He started out with modest intentions. What’s stopping his Roomba from going a bit faster? He was pretty sure he could crank up the output a little bit. Donning his white lab coat and safety glasses, he set out do upgrade this little bot into something much more formidable.

Continue reading “Vacuum? No, Tonight We Go To War Against The Dust Mite”

Flip Your Desktop Over To Boot Linux

[Andy France] built his computer into a Windows XP box. (Yes, this is from the past.) He needed to run windows most of the time, but it was nice to boot into Linux every now and then. That’s where the problem lay. If he was running Linux on his Windows XP case mod, he’d get made fun of. The only solution was to make a Linux sleeve for his computer. He would slide the sleeve over the case whenever he ran Linux, and hide his shame from wandering eyes. Once his plan was fully formed, he went an extra step and modified the computer so that if the sleeve was on, it would automatically boot Linux, and if it was off it would boot Windows.

The Linux sleeve could only slide on if the computer was flipped upside down. So he needed to detect when it was in this state. To do this he wired a switch into one of the com ports of his computer, and attached it to the top of the case mod. He modified the assembly code in the MBR to read the state of the switch. When the Linux sleeve is on (and therefore the computer is flipped over) it boots Linux. When the sleeve is off, Windows. Neat. It would be cool to put a small computer in a cube and have it boot different operating systems with this trick. Or maybe a computer that boots into guest mode in one orientation, and the full system in another.

Continue reading “Flip Your Desktop Over To Boot Linux”

FTDI Drivers Break Fake Chips, Again

Just over a year ago, FTDI, manufacturers of the most popular USB to serial conversion chip on the market, released an update to their drivers that bricked FTDI clones. Copies of FTDI chips abound in the world of cheap consumer electronics, and if you’ve bought an Arduino for $3 from a random online seller from China, you probably have one of these fake chips somewhere in your personal stash of electronics.

After a year, we have the latest update to FTDI gate. Instead of bricking fake chips, the latest FTDI drivers will inject garbage data into a circuit. Connecting a fake FTDI serial chip to a computer running the latest Windows driver will output “NON GENUINE DEVICE FOUND!”, an undocumented functionality that may break some products.

FTDI gate mk. 1 merely bricked fake and clone chips, rendering them inoperable. Because fakes and clones of these chips are extremely common in the supply chain, and because it’s very difficult to both tell them apart and ensure you’re getting genuine chips, this driver update had the possibility to break any device using one of these chips. Cooler heads eventually prevailed, FTDI backed down from their ‘intentional bricking’ stance, and Microsoft removed the driver responsible with a Windows update. Still, the potential for medical and industrial devices to fail because of a random driver update was very real.

The newest functionality to the FTDI driver released through a Windows update merely injects unwanted but predictable data into the serial stream. Having a device spit out “NON GENUINE DEVICE FOUND!” won’t necessarily break a device, but it is an undocumented feature that could cause some devices to behave oddly. Because no one really knows if they have genuine FTDI chips or not – this undocumented feature could cause problems in everything from industrial equipment to medical devices, and of course in Arduinos whose only purpose is to blink a LED.

Right now, the only option to avoid this undocumented feature is to either use Linux or turn off Windows Update. Since the latter isn’t really a great idea, be prepared constantly roll back the FTDI driver to a known good version.

One Hoss Shay And Our Society Of Obsolescence

Legend has it that Henry Ford would send engineers out to junkyards all over the US looking for Fords. They were supposed to study each one they found and make note of any parts that had not failed. But it wasn’t so that he could start making all of those parts stronger. Instead, Ford allegedly used this data to determine where he could cut corners in future production runs so as not to waste money by making any part last longer than any other part.

Most things tend to break down rather than completely giving out. Usually it’s only one or two components that stop working and the rest of it is still serviceable. And this is a good thing. It’s what lets us repair PCBs or scavenge parts off them, drive our cars longer, and help save each other’s lives through organ donor programs. Can you imagine how different life would be if each part of every thing failed at the same time?

Continue reading “One Hoss Shay And Our Society Of Obsolescence”