TheDefaced

thought dumps, stack dumps & the occasional core dump

About

TheDefaced has been my corner of the internet since around 2005. It's where I made lifelong friends, spent my teenage years communicating with other 'edgy hacker' teens, and learned a considerable amount of what would eventually become my profession.

These days, it's a personal blog, a reminder of times past, and a place for deep thoughts, info dumps, and the occasional technical write-up.

What you'll find here

Thought dumps, stack dumps and the occasional core dump. It isn't only a technical blog: some of it is code and exploits, and some of it is just me thinking out loud.

  • Thoughts: longer, more philosophical pieces. Lately a lot about the AI era: how we use it, what it changes about the craft, what it's doing to how we learn and work, and where it's all heading. Plus whatever else I can't stop thinking about.
  • Vulnerability research: bugs I've found, how I found them, and what they let you do.
  • Reverse engineering: native binaries, firmware, bootloaders and game engines, usually starting with no symbols and a lot of questions.
  • Embedded and hardware: Android and embedded Linux devices, BootROMs, UART and the other ways in.
  • Game hacking and modding: preservation, bringing multiplayer back to games that lost it (or adding it where it never was), and poking at engines for fun.
  • CTF write-ups: the challenges that were worth remembering.
  • Tooling: the scripts and tools I build along the way, lately including local LLM-assisted reverse engineering workflows.

And probably things that fit none of the above. It's a personal blog; it goes where my head does.

Some posts are marked recovered. They come from the original blog and have been reformatted for this one, but they're still the posts as I wrote them back then, so the tools and techniques reflect when they were written.

Who I am

I go by pnill. I've been doing offensive security and reverse engineering hands-on for over 20 years: paid security work since 2006–2008, and taking things apart for a lot longer than that.

Most of my career has been on the offensive side of product security: breaking embedded hardware, firmware, IoT and Android devices and the web and cloud systems behind them, auditing C and C++ by hand, and writing exploits and the tooling to find them faster. That work has taken me through aviation, aerospace, defense and financial services, places where the bugs matter.

Day to day that means x86/x64, PowerPC, ARM and MIPS; IDA Pro, Ghidra, Binary Ninja, WinDbg, GDB and Frida; secure boot, firmware signing and recovery interfaces on Allwinner, Rockchip and MediaTek SoCs; and C/C++, Python, C#, PHP and assembly when the right tool doesn't exist yet. For the alphabet soup: OSCP, OSCE and CISSP.

Games, mods and the constructive kind of hacking

Not all of it is security work. A lot of what I know about reverse engineering I learned from games, and I still spend a good part of my free time there, on the constructive side of game hacking: bringing things back, making them work together, and figuring out how they tick.

  • Ascend: Reborn. The biggest of them. In 2008 I reverse engineered the Ascend game client, rewrote its back-end server from scratch, and eventually assisted in re-releasing the game as Ascend: Reborn.
  • Multiplayer, back or for the first time. Project Cartographer set out to revive Halo 2 Vista, starting with its multiplayer, and T4MP was a multiplayer modification for Turok: Evolution on PC that a friend and I took on years ago. Both meant rebuilding the networking side of a game from the outside in.
  • Recovering the internals. Comparing related builds of a game to recover symbols, class layouts and engine behaviour that were never meant to be seen.
  • Live tinkering. Runtime analysis and instrumentation with Cheat Engine, ReClass and Frida, on PC and on Android.
  • Games meeting hardware. Reverse engineering a stripped simulation engine's collision handling and wiring its events to real, physical actuators over serial.

I've also given a talk on Constructive Game Hacking. If there's an old game whose servers went dark, I'm probably interested.

Research and community

  • CVE-2019-15715: post-authentication command injection in MantisBT.
  • OSSEC: SQL injection and other issues in the host-based IDS.
  • DNS rebinding: building an attack platform around rebinding before the technique hit the mainstream.
  • Allwinner H6 BootROM: a bare-metal BootROM analysis environment and firmware acquisition tooling, presented in 2022.

TheDefaced was also a CTF team I organised and played with from 2017 to 2021. Highlights: 4th in the 2020 Trend Micro Raimund Genes Cup online qualifier and 11th in the international finals, 43rd in Facebook CTF 2019 and 51st in the Google CTF 2019 qualifiers. I've also designed and run CTF events of my own, with more than 50 challenges across web, networking, IoT, forensics, binary exploitation and crypto.

Elsewhere

Opinions here are my own and don't represent any employer, past or present.