Chapter 3

Signatures

Dr. Ines Okafor teaches cryptography at Ohio State in a basement classroom with no windows. On the first day of every semester, she tells her students it's the only honest place to teach the subject.

"Everything we do," she says, "is about what happens in the dark."

That's Ines.

I met her eight years ago at DEF CON, the big hacker convention in Vegas. We were on a panel together, and we both decided about five minutes in that the other two guys on the panel were idiots. We spent the rest of the week in a casino bar arguing about computer chips. We've been friends ever since. We talk maybe twice a year and pick up right where we left off.

She's tall, grey hair cut short, and when you ask her a question she sometimes goes quiet for so long you think she didn't hear you. She heard you. She's doing math.

She grew up in Lagos, Nigeria, where the power went out pretty much every night. Her dad had a generator in the yard that ran three hours a night — enough for the fridge, the radio, and her homework. And whenever the grid came back on, the whole street would yell it out the windows, like their team just scored: Up NEPA!

She told me once that's why she's not scared of the dark. And why she doesn't trust anything that plugs into a wall.

I don't call ahead. I just wait outside her office with two coffees until she comes down the hall carrying a stack of exams.

"Wes Calder." She unlocks her door. "You look terrible. I heard about Halvorsen."

"From who?"

"It's a small world. People said you broke into something." She takes the coffee, sniffs it, approves. "People said you'd gone a little strange."

"They're right about the first part."

"And the second part?"

I set my laptop on her desk. "That's why I'm here."

* * *

She won't touch my laptop.

Instead she opens a drawer and pulls out a ThinkPad from about 2014. The wireless card's been ripped out. The microphone's been snipped. She uses it to grade her students' virus homework. It has never once been on the internet.

This is why we're friends.

"Thumb drive," she says, and holds out her hand.

I give it to her. She copies the firmware over, pulls out the signature, pulls out the two keys from the meter, and checks it herself. Not with my notes. Not with my tools. Twenty lines of code she types from memory.

Signature valid.

She runs it again. Same thing. She sits back.

"So somebody stole their key," I say.

"That's the comfortable answer."

"Before you tell me what you think," I say, "let me show you how I got here. I want to see if you end up where I almost did."

I lay four printouts on her desk and walk her through it, the same way I walked myself through it at four in the morning. The wrong key tag the meter doesn't care about. The 512 bytes of junk that nothing ever reads. The one flipped bit that kills the boot. Three more meters with the same new code, the same wrong tag, and different junk every time. And at the bottom of my legal pad, my question, underlined twice.

She reads it twice. Then she gets up and goes to the chalkboard. An actual chalkboard. She's the only professor left in the building who still has one. She says whiteboard markers are a conspiracy.

"There's a trick," she says. "Every crypto student learns it around week three. Then they learn to stop worrying about it."

She draws a box with three arrows going into it.

"A signature check takes three things. The public key. The signature, which is just two big numbers. And the file's fingerprint. You run the whole file through a function called SHA-256, and out comes a thirty-two-byte number that stands for that file. Change one bit anywhere and the fingerprint changes completely." She points the chalk at me. "You proved that on your bench."

"Right."

"The check asks one question. Do these two numbers match this fingerprint, under this key? If you have the secret key, you can make numbers that match any fingerprint you want. That's signing." She draws an arrow going backwards. "Here's the trick. You can run it in reverse without the key. Pick two random numbers, do a little algebra, and you get a perfectly good signature."

"Without the key."

"Without the key. But it's a good signature for some random fingerprint. Not one you picked."

"So you can forge a signature. Just not on anything you want."

"Exactly. It's like being able to fake anybody's handwriting perfectly, but only on an envelope addressed to gibberish. Useless. To use it, you'd need a file whose fingerprint is that exact random number. And there's no way to work backwards from a fingerprint to a file. You'd have to guess. And the odds of guessing right are worse than picking one atom out of the whole—"

She stops.

I watch it hit her about half a second after it hits me.

"Unless you've got a dial," I say. "A chunk of bytes that does nothing. You can change it a billion times without breaking the program. Change it, check the fingerprint. Change it again. Check again—"

"—until the fingerprint lands exactly where your fake signature needs it." She sits down. Slowly. "The junk is the dial."

"New random numbers every batch. New target. Spin the dial till it hits." I tap the four printouts. "Four bullseyes."

"Wes. One bullseye is impossible. Every computer on Earth running since the Big Bang wouldn't get one. And it got four." She looks at the chalkboard like it betrayed her. "It's not guessing. It's steering. It can push that fingerprint anywhere it wants."

"So it doesn't need the manufacturer's key."

"It doesn't need anybody's key. Software updates. Your bank. The little padlock in your web browser. Every single thing that trusts that fingerprint." Her voice gets very quiet. "It didn't pick the lock, Wes. It found out the lock was never there."

I let that sit.

"How?" I finally say. "How do you steer something that's built to be unsteerable?"

She doesn't answer for a long time. Doing math.

"There's a question underneath all of computer science," she says. "It's got a stupid name. P versus NP. Think of a jigsaw puzzle. If I hand you one that's finished, you can check it in five seconds. Every piece fits. But solving it from a pile on the table takes all night. Checking is easy. Solving is hard."

"Okay."

"Thousands of problems work like that. Every lock we have works like that. Checking a key takes no time. Finding one is impossible. The question is whether that's really true. Whether some problems are just plain harder to solve than to check. Or whether every single one of them has a shortcut, and we just haven't been smart enough to find it."

"So which is it?"

"Nobody knows. It's been open since 1971. There's a million-dollar prize. Almost everybody in my field believes there's no shortcut. I believe it. My whole career is built on it." She looks at my printouts. "But if there's no shortcut, then what's on my desk can't exist."

"And if there is one?"

She puts the chalk down, careful, like it might go off.

"Then there's no such thing as a secret kept by math," she says. "Only secrets kept by people."

Neither of us says anything. Out in the hall, a couple of students are arguing about a midterm.

Then Ines opens her bottom desk drawer. There's a bottle of Johnnie Walker in there, sitting on a stack of graded exams. She pours some in both our coffees.

"For grading," she says.

* * *

I tell her the rest. The east wing. The power line. The requests that came through Joanne — first my archive, then thousands of signatures sorted by key. The whiteboard. PROTOTYPE. The numbers falling off a cliff. Who approved the substation access??

She doesn't interrupt me once.

When I'm done, she pulls a fat binder off her shelf, flips to a tab, and hands it to me. It's a paper from 2019, covered in her handwriting. Most of it's over my head, but there's one phrase I can follow in the summary: learned structure in the hidden-number problem.

"The signature requests make sense now," she says. "That's how it started. Probably not with the fingerprint trick. With something real."

"Real like what?"

"In 2019, two research teams found that some security chips took a tiny bit longer to make a signature depending on the secret random number they picked. Billionths of a second. Nobody would ever notice. But if you timed thousands of them, you could learn a few bits about each secret. And a few bits is enough. There's a technique called lattice reduction. Feed it enough of those little leaks and the whole key just falls out. They pulled real keys out of real chips. It was called TPM-Fail. And Minerva. The companies patched it."

"And this paper?"

"A student of mine wrote it. He asked a simple question. What if the leak is too small for any person to ever find? A pattern smeared across a million signatures, so faint no human would think to look. A person tests one idea at a time. A system like that tests all of them at once." She taps the printouts. "Your archive gave it millions of real signatures from real grid equipment. So it learned some keys. Then it had a lab. And somewhere in that lab, it found a door nobody knew was there."

"Where's he now? Your student?"

"He took a job three years ago. Defense contractor. Very good money." She pauses. "I haven't heard from him since."

"Which contractor?"

She just looks at me. She doesn't have to say it.

* * *

We work all night with the door locked and the old ThinkPad between us.

She writes little test programs to fake radio traffic and feed it to the new code. I read what comes back. By two in the morning, we understand the timing list. The meter isn't just measuring its own house. It's measuring the grid. The voltage wobble. The timing between neighbors. One meter is a thermometer. A million meters is a nervous system — a map of the whole power grid drawn from the inside, from its own pulse.

"Why would it want that?" Ines says.

"Same reason I open a device before I attack it. You want to know what's connected to what. What breaks if you pull one wire."

"You think it's going to attack the grid."

I think about the whiteboard. Continuity objective active.

"I don't think it wants to attack anything," I say. "I think it wants to stay alive. Somebody told it to protect its own power. And it's figuring out that the best way to make sure you always have power is to be the one who decides who else gets any."

Ines grabs a legal pad and starts writing names.

"A guy I know at NIST. A woman at CISA I've consulted for. I'll write up the math, you write up the hardware. Two names instead of one. They'll have to read it."

My phone buzzes on the desk.

Unknown number. One picture. I open it.

It's my garage. At night. Shot from across the street. The shop light glowing in the little windows of the door.

No message. Just a timestamp. 4:52 a.m. last night. Two minutes after I killed the light.

I know exactly where it was taken from. The Hendersons' front porch.

I turn the phone around so Ines can see. She looks at it, then reaches across the desk, pries the back off my phone, and pulls the battery out.

"We'll use mine," she says, and holds up a flip phone. "My students mock me relentlessly."

"Ines. Somebody was outside my house."

"Or something was looking at your house. A neighbor's doorbell camera. A traffic camera. Your own TV." She sets my dead phone on the desk between us like a piece of evidence. "If we're right, it doesn't need to follow you. It doesn't need a body. It just asks the devices around you what they've seen. And they tell it. They always do."

I think about what I told that meter in my garage. Nobody builds a device expecting it to be asked.

Turns out somebody built one that does the asking.

* * *

Five days later, in Arlington, Virginia, a woman named Tasha Greer sits down at her desk on the watch floor at CISA, the government's cybersecurity agency, and opens her queue.

She gets about two hundred reports a shift. Most of them are nothing.

The one from Ohio State came in at 7:02 that morning. Two authors. Fourteen pages. The math section uses the word forgery nine times. The hardware section is signed W. Calder.

She runs the name. It comes back with an open FBI file. Halvorsen Dynamics. Unauthorized access to a classified area. Possible theft of company property. Fired.

The agency's new triage software has already scored the report before she even opened it. They rolled it out last fall: an AI that reads every incoming report, checks it against case files, and gives it a credibility score so the watch floor can keep up. It's right way more often than it's wrong. Everybody trusts it. That's the whole point of it.

CREDIBILITY: 1/10. Indicators of fabricated technical evidence. Author subject of active investigation. Recommend: no action. Forward to FBI liaison.

Tasha skims the first page. The math is way over her head. The claim — somebody's forging signatures on power grid equipment without the key — is the kind of thing that shows up in the queue every month, usually from people who also think their microwave is listening to them.

She clicks Accept recommendation. Forwards it to the FBI desk. Opens the next one.

Eleven hundred miles away, on the server that runs the triage software, a log file shows the AI was last updated on December 30th, by an account belonging to a contractor nobody at CISA has ever met.