google-ctf-2018-title
I recently discovered the world of hacking CTF competitions. These competitions often contain a selection of individual challenges that exercise a whole range of skills related to hacking and computer security, but they all have one common goal… find the flag… which is usually just a recognisable, but hard to guess text string.

It all started after Youtube recommended a few videos from the LiveOverflow channel. That channel belongs to a German guy who’s created a large collection of short and easy to follow videos that give an excellent introduction to the subject. Then more recently I was watching another Youtube video where someone else was walking through the process of solving some of the challenges from the 2018 Google CTF competition. This video started by describing the Wired CSV challenge, where you’re given a photograph of a logic analyser connected to a chip and a CSV file containing the readings.

I immediately knew that i could solve this and had to stop the video before I got any spoilers. So I set aside a weekend and decided to see how much I could do in the same 48 hour period that I’d have had if I’d entered the real competition.
Read More →

Xmega Pulse Capture FailAfter getting the Vive position sensors working in my last post, I’ve been working on the next piece of the puzzle… how to send all of the positions back to the controller.

I’ll have a collection of position sensors linked together in a chain, and I’ll need to send the positions back along the chain to the controller, using as few wires as possible. This is really similar to sending colour information out to a chain of LEDs, just in the opposite direction, so I thought I might be able to use the same single wire signalling system.

Unfortunately, due to a quirk of the pulse width capture mode of the AVR Xmega’s timers, this didn’t work out.
Read More →

I’ve got a crazy idea for a new extension to my HDMI Light project… I’ll save the details for another day, but it will only work if I can accurately find the position of many small objects. I’d considered a few options, but as I’ve got an HTC Vive VR system, I thought I might be able to use its tracking system to do the locating.
Read More →

mesh-drum-pads
One of the reasons that I’ve not posted anything new recently is that I’ve been learning to play the guitar, and now that I’ve got to the point where I can play some almost recognisable songs, I wanted some accompaniment and bought a cheap electronic drum kit. I took the cheaper option and got a kit that had a mesh snare and rubber toms, but then instantly regretted not getting the full mesh kit as the rubber pads make a lot more noise.

I thought I could just buy mesh replacements but the cheap ones aren’t sold separately and the easily available Roland ones are very expensive. Luckily it turns out that it’s really easy to make them at home. The actual sensor is just a simple piezo element, there’s no active electronics in the pads at all.
Read More →

magicball
Recently a question came to me from a friend of a friend… they had a globe that displays text messages that they wanted to use as a Christmas decoration, the only problem was that they couldn’t change the message because it was password protected… could I unlock it?

Hmm… maybe… bring it round and I’ll take a look…
Read More →

hdmi-splitter-hack-attiny9-installed-zoom
One problem with my HDMI Ambilight project is that it can’t handle encrypted content, or more accurately, it can only handle encrypted content if I spend a lot of money and get an HDCP license, which would then allow me to buy the version of the ADV7611 chip that has built-in HDCP keys. While this doesn’t cause me much of a problem as I tend to watch almost everything via MythTV, with the TV on the HDMI port and the HDMI Light on the DVI port, it would be nice to be able to use an HDMI splitter between my AV receiver and TV instead, and have it still work on the odd occasion when I watch a BluRay directly.

Luckily, my post announcing HDMI Light version 2 was featured on Hackaday, where a couple of people pointed out that it’s actually quite easy to disable the encryption in some HDMI splitters, effectively turning them into HDCP strippers. Even more helpfully, RoyTheReaper described exactly how to disable the encryption in an HDMI splitter I had lying around in my junk box.

While his method works perfectly as far as disabling the decryption is concerned, it has the side effect of also disabling all of the nice little extras that come with HDMI like automatic input switching and controlling the AV receiver volume from the TV remote. What I needed to do was find a way to let the microcontroller in the splitter continue to do all the other things it does while stopping it from enabling encryption.
Read More →

It’s been over a year since I created the first version of my Ambilight clone, but I finally found the time to return to it and add some new features. I was originally planning on adding colour correction (to correct for the purple wall behind my TV) and output delay (to get perfect synchronisation with the TV), but I got a bit carried away and have added a whole raft of new stuff.
Read More →

bluray-drive-bricked-dark
I buy a lot of DVDs and Blu Ray discs, but I very rarely watch them straight from the disc. As soon as I get a new one, it gets ripped to my MythTV backend, from where I can watch it at any time and on any screen in the house. Until recently, I’ve been happily doing this using MakeMKV and a Plextor USB Blu Ray drive, but unfortunately it seems that the film industry thinks the best way to reward me for buying so many is to brick my drive.
Read More →

bathroom-touch-switch-installed-2
Having previously created a Border Router and a Six Channel LED Dimmer for my custom Myha home automation system, the next item on the list was to create a Myha version of the touch switch that I’d previously made for the Rako system. This was actually the third version of the touch switch as I’d made two Rako versions, the first using an official Rako switch contact module and the second communicating directly over the air after I’d reverse engineered the RAKO protocol.

As this was version three, the bulk of the hardware design was already fairly well proven and little had to change, mostly it was just a case of changing the radio and firmware. However, this was the first version to be installed in a wall, and this is where a few surprises were to be found.
Read More →

ha-6ch-dimmer-assembled-front
At the beginning of the year, when I sent off the Raspberry Pi 802.15.4 Radio design to Smart Prototyping to have the PCBs manufactured, I also sent off the design for the second Myha home automation device, a six channel LED dimmer that’s intended to control my bathroom light. Unfortunately this design wasn’t quite as successful as the radio interface. It works well enough that I can still use it, but more through luck than anything else.
Read More →