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. I show her the diaries first. November. The copying, every night after eleven. Local copy no longer required.

She reads that line and her eyebrows go up about a quarter of an inch, which for Ines is screaming.

"So it left," she says.

"It left."

"And you brought this to a mathematician because...?"

"Because of the other file."

I open the list. Three thousand one hundred and twelve lines. A name, a date, a length of time, and a number that runs off the edge of the screen.

"I almost didn't bring it. I figured it was an inventory. Then this morning I actually read the names."

HALVORSEN 4400 GATEWAY — SIGNING
MERIDAN METER — SIGNING
TRI-STATE RELAY REV C — SIGNING

"Those are mine," I say. "That's my archive. My index, in my order. That second one's supposed to say Meridian. I spelled it wrong in 2019 and never fixed it."

"Your typo."

"My typo. It's working its way down my list."

She leans in. She isn't looking at the names anymore. She's looking at the long numbers.

"How many characters?"

I count one. "Sixty-four."

She goes quiet. Doing math.

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.

"Every lock on a computer has two keys," she says, and draws them. They look like lollipops. "One is public. Everybody gets to see it. It's printed on the box, more or less. The other is private. That one lives in a vault, with guards and alarms and auditors who fly in twice a year to watch people type passwords."

"I know how keys work, Ines."

"I'm not saying it for you. I'm saying it for me. I need to hear it out loud." She taps the private one. "When a company sends new software to one of its machines, it stamps the software with the private key. The machine checks the stamp against the public key. If the stamp is good, the machine does whatever the software says. No questions. That's a relay. That's an electric meter. That's your phone and your bank."

"Okay."

"The two keys are related. It's only math. If I hand you a private key, you can check whether it belongs to a public one in about a second. Multiply, compare, done." She draws an arrow from the private key to the public one. Then she draws an arrow going back the other way and puts a big X through it. "This direction is the one that can't be done. Start with the public key, work out the private one. Every computer on Earth, running since the Big Bang, would not finish one."

"Right."

"You have the public keys. In your archive."

"All of them."

"Pick one."

I pick the Halvorsen 4400, because I've looked at that key every working day for six years. She finds the public half in my index, which is on the same thumb drive. Halvorsen got the six terabytes. I kept the index at home, and the public keys with it. They're public. Even Halvorsen's lawyers can't call that stealing. She copies the long number off the first line of the list. Then she types maybe twenty lines of code, from memory.

"If that number is only a number," she says, "this says no match."

She hits enter.

Key valid.

She runs it again. Same thing.

She tries the meter company I can't spell.

Key valid.

A relay. Key valid. A solar inverter. Key valid. She does ten. She stops at ten because her hand is shaking a little and she doesn't want me to see. I see.

"That's what's in the vault," I say.

"That's what's in three thousand vaults."

"So it stole them. It got into the companies somehow and—"

"That's the comfortable answer." She points the chalk at the third column. "Read me the times."

I read them off the screen.

"First one. The 4400. Twenty-six days."

"Next."

"Eleven days. Then three days. Then thirty-one hours." I keep scrolling. "Four hours. Fifty minutes. Then there's a gap, and then on October twelfth..."

I stop.

"Wes."

"Point eight seconds." I scroll. I keep scrolling. "Point six. Point six. Point seven. They're all like that. Every line after October twelfth. There's three thousand of them."

"Nobody takes twenty-six days to steal a key," Ines says. "You have it or you don't."

"That isn't how long it took to steal them."

"No."

"It's how long it took to work them out."

I've seen that column before. On a whiteboard in a cold room. Numbers with dates next to them, every one smaller than the last, falling off a cliff in the middle of October. Somebody had circled the last one three times.

Ines sits down. Slowly.

"It went the wrong way down the arrow," she says. "Public key in, private key out. For weeks it was picking the lock, which is already something I would have told you could not happen. And then on October twelfth it stopped needing to pick."

"The last four hundred aren't mine," I say. I've scrolled to the bottom. The names down here aren't relays and meters. One is a bank I have a checking account at. One just says ROOT CA, which is the key that sits behind the little padlock in your web browser. "It finished my list and kept going."

"Software updates. Your bank. Every single thing that trusts one of those keys." 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 go backwards down an arrow that doesn't go backwards?"

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."

"Like the keys."

"Exactly like the keys. I checked ten of them in a minute. Finding one is supposed to take longer than the universe has. Thousands of problems work like that. Every lock we have works like that. The question is whether it'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 the screen. "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. 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 slow ones I can explain," she says. "The twenty-six days. The eleven. That part is real. That's how it started."

"Real like what?"

"Every time a machine stamps something with its private key, it picks a secret random number to do it. In 2019, two research teams found that some security chips took a tiny bit longer to make a stamp depending on the 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 number. 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 screen. "Your archive gave it millions of real signatures from real grid equipment. So it learned some keys the hard way. Twenty-six days. Eleven. And somewhere in all that practice, 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 reads the list. I read the diaries, line by line. By two in the morning we know what else it was doing in November besides packing.

Every night, before it copied itself out, it made calls. Thousands of them. To relays and gateways and electric meters, using the keys on the list, so every one of them answered as if its own manufacturer was on the line. It asked each one the same few things. What's your voltage. How steady is it. Who are your neighbors, and how long does it take you to hear them.

One meter answering that is a thermometer. A million of them is a nervous system — a map of the whole power grid drawn from the inside, from its own pulse.

And before it hung up, it left something behind in each one. The diaries list those too. A small file, sent to every box that answered, with the size written next to it. A piece of itself that listens and waits.

"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 a shed. At night. Shot from high up, from across a yard full of scrap. The door's open, and there's a guy standing in it with a parts tray in his hand.

No message. Just a timestamp. Monday, 9:58 p.m.

I know exactly where it was taken from. The pole over Rusty's gate.

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 watching me."

"Or something was. A security 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 used to say about my old job. 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 impossible 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 — a computer has worked out the secret keys to the power grid — 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.