All field notes

AI · · 9 min read

For Decades, Skipping Device Security Was a Plausible Business Decision

In the world of AI, it’s a major liability.

A phone with its back cover taken off, showing the battery and circuit boards, on a dark surface in black and white

People in my line of work have told product companies the same things for decades. Use secure boot, encrypt the firmware and build a device PKI, so that you control what your products trust and what they talk to in the field.

Plenty of companies heard that advice and skipped it. They shipped anyway, and for most of them nothing happened. I can’t call that a mistake. Skipping the work was a liability, but security costs money, and the chance that anyone would come for their product was small.

I’ve always believed that anything engineered can be understood, but for a long time it took months of work from people with rare skills, and that was what kept most products safe.

The Before Times

About eighteen months ago, reverse engineering a product went something like this. For a device, you bought a few units, because you were going to break some. You found the debug pins or pulled the flash chip off the board to get the firmware out. If the firmware was encrypted, finding the key could take weeks or months on its own. Then, for a device or an app, you spent months in a decompiler, naming functions and structures until the code made sense.

Few people could do that work, and their time was expensive. So anyone who wanted to break a product had to do the math first. Was this target worth months of a skilled person’s time? For phones and browsers it was, because bugs there could sell for millions of dollars. For a home router or a building controller it wasn’t. Certain nation-state groups stayed interested in those products, and they could pay for the work. Against everyone else, that cost was the main protection.

What a bug was worth

Crowdfense price list · 2024iPhone$5 to $7 million
Crowdfense price list · 2024Android phoneUp to $5 million
Crowdfense price list · 2024Chrome browserUp to $3 million
Pwn2Own contest prize · 2022iPhone 13$200,000
Pwn2Own contest prize · 2022Home router$20,000

Each price is a public offer for one working attack. The top iPhone price is 350 times the router prize.

Sources: TechCrunch on the Crowdfense price list and Sophos on Pwn2Own Toronto.

No Going Back

This year, models got good enough to reverse engineer real products and make working copies of them. Reverse engineering is no longer cost-prohibitive for attackers. And it’s no longer just for people with rare skills.

Researchers at Claroty took a refrigeration controller’s firmware from the maker’s website, plus public descriptions of three bugs they had reported earlier. With a person steering, a model had a working exploit in about 28 minutes, for about $6. Another engineer had a model take apart five of his own devices in about 13 hours of agent time.

Both still needed someone who knew what they were doing, but only a fraction of the time the same work used to take.

We’ve seen where this is going in our own work. We helped build the tests that the UK’s AI Security Institute uses to measure how good new models are at hacking. One of ours is a reverse engineering task that took one of our own experts about 12 hours. In April, the Institute reported that a model had solved it on its own in under 11 minutes, for $1.73.

And the models only get better from here. We’ve opened this can of worms, and we can’t go back.

The New Landscape

None of this turns everyone into a hacker. Most people will never look inside your product. It takes one person who is curious enough to try, and that person no longer needs months or rare skills.

After that, nobody else needs any skill at all. The first person writes up what they found or posts a tool, and a community forms around the open product. Much of that community is harmless. Some of it copies your work, some of it gets around the features your customers pay for and some of it looks for bugs to use against the people who bought from you.

The copies don’t even need your code. A developer who was tired of Adobe’s cancellation fees used Claude to build PhotoCraft, an early look-alike of Photoshop, and gave it away for free. The developer says it uses none of Adobe’s code.

I don’t think goodwill protects anyone here. People who love a product will still take it for free when taking it is easy, and no company can build its revenue on the hope that they won’t. The cost shows up as revenue lost to copies and unlocked features, as bugs used against your customers and as damage to your brand.

Sony is in the middle of this now. Customers sued it over the “Buy Now” button on digital games. In August, Sony told the court:

It is “not plausible to allege that reasonable consumers believed they were obtaining ‘ownership.’”

About five weeks later, a public jailbreak for the PS5 was on GitHub, and people were comparing notes on which games it could run.

This changes what a product is to the people who buy it. For decades, a product was a closed box, and its maker alone decided what a customer could do with it. That control cost nothing, because nobody could afford to open the box. Now a company has to design that control on purpose, and pay for it.

Where the Model Stops

A model can only take apart what someone gives it. It needs the code, in a form it can read and run.

For the refrigeration controller, that was a download. The firmware sat on the maker’s public website with no encryption on it.

A cheap vape turned out to be harder. In June, researchers at Faraday took one apart and found a chip that runs an instruction set with no public documentation. Their pipeline, part model and part ordinary code, worked it out in about two and a half hours, for about $25. That job used to take months. But first they had to build a small circuit to get the firmware out of the chip, and that part was done by hand.

Once a model can run your code, what you hid inside it comes out. Quarkslab spent a couple of weeks handing models programs with more and more protection built in, and asking for the strings hidden inside.

“We never caught it defeating a protection. It routed around every one of them.”

When the code got too hard to read, the model ran it and watched what came out.

That leaves the work a model can’t do yet, which is the hands-on work on a physical unit.

What You Can Still Do

You can’t do much about how people behave once a product is open. What you can change is what they find when they open it, and what they can do with it.

The aim is to make breaking the product require hands-on hardware attacks, the kind that need a unit on a bench and equipment most people don’t own. Someone will still do that work. When they do, what they find on the one unit on their bench shouldn’t scale to every unit in the field.

How close you can get to that depends on where your product is in its life cycle.

Wherever you are, I’d start with the same questions. What are the assets you’re trying to protect? What are the threats to them? And what controls do you have to work with? That’s a threat model. The first two answers come from your business. The third depends on timing.

If You’ve Already Shipped

The hardware is in your customers’ hands, and so is every version of the firmware you’ve released. I ask two things first. One is what cryptographic primitives that hardware already has, because any new protection has to be built on them. The other is what the community around your product is doing, and whether anyone is already reading your updates.

If they are, how you ship a protection matters as much as the protection. Add it in steps, together with rollback prevention, so that a unit can’t be returned to older firmware without a hardware attack. Then give that firmware time to spread through the field before anyone has worked out what it’s for. You also need a number for what the open units cost you, because that number decides how much of this is worth doing.

If You’re Launching Today

Your bill of materials is final, so the hardware is what it is. What you still have is time. No unit is in the field on old firmware yet, and nobody outside the company has seen a release.

So encrypt or protect what you can on the hardware you already chose, starting with whatever would hurt the business most if it got out. There’s more room here than most teams expect. Launch day is the one moment when every unit runs firmware you picked.

If You’re 12 to 24 Months Out

This is the best place to be, because the hardware is still a choice. Start with a good threat model, and let it drive hardware selection. From there, a normal secure development lifecycle gives you control over how people will be able to interact with the product once it ships.

Every Product Is Different

I can’t give you a checklist, and I’d be wary of anyone who offers one. Sometimes secure boot isn’t possible on the hardware you have. Sometimes the economics of a product don’t justify what it costs. What makes sense for one product can be the wrong call for another.

Skipping security was a business decision, and what to do now is a business decision too. The difference is that it now has to be made on purpose, by people who know what your product is worth and what it takes to open it.

Our January post walks through the map we drew of one building controller. We took that controller apart by hand, and I’d bet a model would tear through the same firmware today. What a company does about that is different every time, which is why the first thing we do is start with a conversation.

People who love a product will still take it for free when taking it is easy.

For your engineers

Bring the build you ship today. We’ll talk about what a stranger can learn from it.

Anthony DeLorenzo

For leaders

Rather start with a conversation? You’ll talk to Anthony first.