Microcorruption Embedded CTF

The folks at Matasano Security and Square have teamed up to build an online capture the flag (CTF) competition. The Microcorruption CTF focuses on embedded security and challenges players to reverse engineer a fictional “Lockitall LockIT Pro” lock system.

Each level places you in a debugging environment with a disassembly listing, live memory view, register view, and debugging console. You can set breakpoints, step through code, and modify registers like in a real debugging environment. Your goal is to figure out how to bypass the lock to collect bearer bonds.

While the device and motive may be fictional, the assembly is actual MSP430 code. The debugger is similar to GDB connected to a remote target using OpenOCD. There’s even a manual (PDF) to help you get up to speed with writing MSP430 code for the device.

This CTF looks like a great introduction to embedded security, and doesn’t require buying real hardware. It even includes a full tutorial to get you started.

Debugging The Stellaris With OpenOCD

It looks as though Texas Instruments are really reaching out to the hacker community with their new ARM-powered Stellaris dev board. On the Stellarisiti forums, a member asked about the debugging options for the Stellaris board. The Stellaris already features an In-Circuit Debug Interface (ICDI), but unfortunately it’s a little hard to get working in Linux-ey environments.

One of the devs for the Open On-Chip Debugger was already talking with TI to get the ICDI spec released for the Stellaris board. TI released the info, and after quite a bit of work, everything is open for all to see.

Right now, OpenOCD support for the Stellaris is still incomplete, but there is an project up on the Gits that allows for multi-platform development for TI’s new board.

Needless to say, getting everything up and running is still a chore. That’s not really a concern, though; the Stellaris has only been around for a few months and it takes devs time to put all the required tools into nice, neat packages. We’re just glad TI is being so forthcoming with the relevant documentation, lest development becomes a million times harder.

Help Create A Universal ARM Programmer

The new crop of ARM Cortex M0/M3/M4 microcontrollers have a lot of interesting features for developers. In addition to supporting drag and drop programming via USB, the same hardware can also be used as a debugger. Setting breakpoints and inspecting memory at any point in the code is a wonderful feature, but not all the new ARM dev boards we’ve seen support this feature.

The folks over on SimpleCortex have a solution to this problem, but they need your help. To get their CMSIS-DAP hardware working with Open Source tools, they’re looking for a few good programmers and hardware developers to build a toolchain.

Right now, the hardware only works with Keil development tools. A closed source development environment is no good to anyone, so if you have some experience writing drivers and such, send the guys at SimpleCortex an email. They’ll give you a free board in return for a contribution to building an open source ARM toolchain.

Common sense requires us to mention that you should probably only send these guys an email if you actually plan on working on this problem. Still, it’s a great opportunity to contribute to open hardware.

Odroid: All The Open, None Of The Contract

The Odroid derives its name from the combination of Open and Android. The hardware is aimed at the portable gaming market and runs Android. The specs are amazing, the device is open and begging you to develop for the platform.

The Samsung S5PC100 System-On-A-Chip provides the device with an ARM Cortex-A8 processor running at 833MHz. The usual suspects are all here, a capacitive touchscreen, accelerometer, SDHC slot, and WiFi. What you usually don’t expect to see is a serial debugger and 720p HD output. But the best part, we get all of this without a 2 year contract or the hardware being locked down as we’re used to with and Android based cell phone.

[Thanks Stillbourne via LinuxDevices]

STM8S-Discovery: Microcontrollers Reach A New Low

A complete microcontroller development kit for little more than the cost of a bare chip? That’s what STMicroelectronics is promising with their STM8S-Discoveryseven dollars gets you not only a board-mounted 8-bit microcontroller with an decent range of GPIO pins and functions, but the USB programmer/debugger as well.

The STM8S microcontroller is in a similar class as the ATmega328 chip on latest-generation Arduinos: an 8-bit 16 MHz core, 32K flash and 2K RAM, UART, SPI, I2C, 10-bit analog-to-digital inputs, timers and interrupts and all the usual goodness. The Discovery board features a small prototyping area and throws in a touch-sense button for fun as well. The ST-LINK USB programmer/debugger comes attached, but it’s easy to crack one off and use this for future STMicro-compatible projects; clearly a plan of giving away the razor and selling the blades.

The development tools are for Windows only, and novice programmers won’t get the same touchy-feely community of support that surrounds Arduino. But for cost-conscious hackers and for educators needing to equip a whole classroom (or if you’re just looking for a stocking stuffer for your geeky nephew), it’s hard to argue with seven bucks for a full plug-and-play setup.

[thanks Billy]

C64 Visual Debugger

c64ICU

Root Labs wrote about ICU64, a Commodore 64 emulator with a couple unusual features. The most special of these is the ability to show the entire working RAM of the system. Each RAM address lights up when accessed. The user can also zoom in or change the values at each address if they want. This sounds complicated, but the demo videos demonstrate the power of these abilities. This would also serve as a great primer on lower-level code’s memory management. Unfortunately [mathfigure], the author of ICU64, hasn’t released this out to the public yet, but should be released soon.

ICU64 has been released!

[thanks to mathfigure for following up with this]

Videos after the jump.

Continue reading “C64 Visual Debugger”

Ninja Networks Party Badge

ninjabadge

UPDATE: The director’s cut of the story

While coverage of the official Defcon badge has been pretty heavy, there was a badge that was far more exclusive and talked about way more. For the last ten years at Defcon a group of hackers known as Ninja Networks hosted an invitation-only party for selected attendees. For the 2009 event, [cstone] and [w0z] created an electronic badge which acted as the ticket to the party. The badge is based around an 8-bit Freescale microcontroller (MC9S08QE8) which drives 10 individual 16-segment HIOX-format LED displays. Continue reading “Ninja Networks Party Badge”