deniz.in

Markets

Weather

Loading weather

· via dev.to (home feed)

Claude-driven power analysis recovers AES keys from an nRF52840 board in about nine hours

Colin O'Flynn handed Claude one prompt and drove the session from his phone; about nine hours later the agent had fully recovered one AES key and nearly recovered a second from an nRF52840 board.

Claude-driven power analysis recovers AES keys from an nRF52840 board in about nine hours

A single prompt, a phone, and a chip on a bench

Colin O'Flynn, the creator of the ChipWhisperer side-channel analysis platform, has documented an experiment in which Anthropic's Claude carried out a power-analysis attack against a real microcontroller with almost no technical input from him. The write-up, titled "BeachWhisperer," was published on November 22, 2026; a summary post on dev.to, which attributes all figures to O'Flynn's article, is the source of the details below.

The setup paired a ChipWhisperer-Husky capture board with a target board built around Nordic's nRF52840. O'Flynn opened with a single instruction — get the chip's hardware AES working and attack it through its power consumption — then stepped away from the desk, dog included, and kept steering the session from his phone via Claude's remote-control feature.

What the agent achieved

According to the dev.to summary, about nine hours passed between the first prompt and a successful attack, and the whole run took 13 prompts. Most were single lines, and only two contained any technical content.

Claude targeted both of the chip's hardware AES accelerators. Against the NRF_ECB peripheral it recovered the full key using a filtered correlation attack on roughly 90 seconds of captured traces. Against the Arm CryptoCell CC310 it processed 14 minutes of capture and reduced the key rank to roughly 2^8.9 — on the order of a few hundred surviving candidates, a space small enough to exhaust offline.

The agent also handled hardware debugging on its own. When the serial link to the target died, it probed the pins, read the board schematic, identified an open circuit on one GPIO line, and retargeted the firmware's UART receive function to a different pin. It then rewrote the capture pipeline into a batched mode that took throughput from 40 encryptions per second to 36,000 traces per second.

The write-up's accounting puts the day's model cost at an estimated $99.40, charged against a subscription. By the end, 306 shell commands had been executed and 36 scripts were left on disk.

The human's contribution

O'Flynn's part, as listed in the summary, was small: pointing the agent at the right submodule, removing a few capacitors with a soldering iron, and offering a handful of loosely technical remarks. The dev.to author also notes that the original article mentions two corrections were needed along the way — the agent's output had to be checked, not simply accepted.

The caveats

The write-up is deliberately narrow about what the result means. The caveats, relayed through the summary, are that this is not a remote attack: the board had to be physically modified and sitting on a bench, with the ChipWhisperer clocking the target, and nothing in the experiment touches Bluetooth or any radio link. Neither the nRF52840 nor the CryptoCell 310 claims side-channel protection, so a side-channel break is the expected outcome rather than a surprise. A prior disclosure against this device was also already public.

Why it matters

Side-channel attacks have historically demanded a scarce mix of skills: instrument setup, trace capture, signal processing, and the statistics behind correlation attacks. In this run, that expertise was largely delegated to the agent, and the scarce resources became physical ones — a capture board, a modified target, and a person willing to solder.

That shift cuts both ways. Defenders can no longer treat DPA-style attacks as a niche capability confined to well-equipped labs; a capable agent plus commodity bench hardware may now be enough. And for researchers, O'Flynn's own conclusion, as relayed by the summary, is that the field may need to raise its expectations for what counts as notable work.

Verification is the open question. Two corrections were required mid-run, and the headline results — a recovered key and a narrowed key rank — are exactly the kind of claims that deserve independent reproduction before anyone relies on them. As agents take on longer, more autonomous technical workflows, checking their output becomes part of the job rather than an afterthought.

  • #ai-agents
  • #claude
  • #hardware-security
  • #side-channel-attacks
  • #aes

Related posts