Sixty Pages of Code, Printed After Hours

As a KGB spy inside MetLife I took software with nothing but my normal access, a few late evenings and a printer. Nothing I did looked unusual. That is economic espionage from the inside.

By Jack Barsky7 min read

Jack Barsky seated at a desk with papers and a pen

The most valuable thing I ever gave the KGB did not come out of a safe or a secret meeting.

It came out of a printer at MetLife, after hours.

In 1986 I made one of my regular trips to Moscow. On that visit, for the first time, I was introduced to someone from a different part of the KGB: industrial espionage. He explained why his request was urgent. The economy at home was struggling, and he blamed the arms race around Reagan’s “Star Wars” program and the war in Afghanistan. That was his assessment, and I took it as the reason for the hurry. His request was simple. I was in IT, so I should use my access to collect useful software or hardware.

When I came back to New York, I started working late. To anyone walking past, it was overtime. In fact I was searching the company’s electronic libraries, which were not protected, for something worth taking. It took many evenings.

I settled on a popular industrial software package. I won’t name it. I told 60 Minutes only that it was “a very prominent piece of industrial software still in use today.” The next night I stayed late again and printed sixty pages of code. At home I photographed the pages one by one, and the pictures went to Moscow through a dead drop on Staten Island.

What I sent was raw hexadecimal with no documentation: the code the machine executes, not the source code a programmer writes. Making it useful would have meant reverse engineering it, which was tedious but possible. Whether anyone in Moscow was ever able to make use of the code is unclear. I have my doubts, because the infrastructure to run it may simply not have been there.

What is clear is how easy it was.

Nothing looked unusual

I did not break into anything. I did not need a password I had not been given. I used my normal access, at hours that looked like dedication, on a printer every programmer used. If anyone had looked, they would have seen a hard-working employee.

And people did see a hard-working employee, because that is what I also was. I wrote a great deal of code at MetLife, and I was good at it. When the company split its data centers, I had about three months to work out what had to move: roughly a thousand online programs and a thousand batch jobs, with their files. Instead of doing it by hand, I wrote a program that analyzed everything and translated it into what had to go over to the other side. That is the colleague my managers knew. The man printing sixty pages at night was the same man.

The rest of my secret work had become just as ordinary. My job and the KGB were competing for my time, so I cut corners. I wrote secret letters on Sunday afternoons and held them overnight, which was forbidden. I skipped the three-hour surveillance-detection route and dropped the letters into the mail chutes of older office buildings. An insider who has a busy day job does not act like a movie spy. He acts like a busy man.

Smithsonian Magazine lists my tasks for the KGB with no romance at all: identifying people who might be good recruits, filing reports on Americans’ reactions to current events, and transferring U.S. computer programs. For TAG Infosphere I recorded the story of sending U.S. software to Moscow in my own words.

That is the insider problem in a single paragraph: a trusted person with legitimate access, behaving in a way that looks like commitment. A firewall is irrelevant, because the threat is already inside. Your biggest risk already has a badge.

The bigger danger nobody asked for

There is a second part to this story, and it worries me more than the first.

At one point I worked in a department that processed group insurance. The customers included companies in the military-industrial complex, and through my ordinary job I had access to the health records of about fifteen million Americans, many of them working for arms makers. To an intelligence service that is a treasure. A health record can show a weakness or a need for help, and both can be exploited. A senior executive at a weapons maker treated for substance abuse is a blackmail target.

I offered Moscow access to this information. They did not bite. I never learned why, and the best explanation I have is stupidity inside the KGB. The CIA’s journal Studies in Intelligence, reviewing my memoir, points out “some surprising errors the KGB made.” I would put this one on the list. Looking back, I am glad they never told me to collect those records, given the damage I could have done.

Think about what that means for a company. The sixty pages were the theft that happened. The records were a far bigger theft that was possible, sitting in the reach of one programmer, and the only thing that prevented it was a lack of interest in Moscow. You cannot build a security program on the hope that your adversary is lazy.

What is economic espionage, and how does it happen inside a company?

Economic espionage is the theft of a company’s secrets for the benefit of a foreign government, and much of it goes through people who already have access. American federal law has a section with that name: 18 U.S. Code § 1831 covers anyone who, “intending or knowing that the offense will benefit any foreign government, foreign instrumentality, or foreign agent,” steals a trade secret, or without authorization copies, downloads or photographs one. Whether a given piece of software counts as a trade secret is a question for lawyers. I am not one. But I notice that the verbs in that statute read like a description of my evenings at MetLife.

The U.S. Cybersecurity and Infrastructure Security Agency defines an insider threat as “the potential for an insider to use their authorized access or understanding of an organization to harm that organization.” Authorized access is the important part. The espionage I did needed no hacking. It needed a job.

This is also why I say compliance is not security. In my column for ClearanceJobs, Compliance and Security Are Not the Same Thing, I wrote: “At best compliance and security overlap.” I have met CIOs who told me they would rather be compliant than secure. A checklist is passed once a year. An insider works every day.

What helps, and what doesn’t

What helps is not suspicion of your hardest workers. Treat every late night as a crime and your best people will leave, and the deliberate insider will simply adjust his hours. I would have.

What helps is access that matches the job rather than the person’s seniority or history. I was a programmer working on medical claims. An industrial software package was not part of that job. The libraries were unprotected, so the question of whether I needed them never came up.

Protect your libraries from your own people as well as from strangers. Most companies put the strongest locks on the front door and leave the internal shelves open, because everyone inside is trusted. I was inside.

Know what your crown jewels are. A board should be able to name, in one sentence each, the five things a foreign competitor would most like to take from the company: designs, code, customer data, pricing, health records. Then ask who can reach each one today, and whether every one of those people needs to.

Make someone responsible for noticing when work wanders into places the job does not need. Logs are worthless if nobody reads them. A named person who looks at unusual access, and who is allowed to ask a friendly question, would have made my evenings much less comfortable.

Listen to the people who sense something. A very sharp programmer I had worked with at MetLife once came into my office years later, closed the door and told me that something about me didn’t make sense. He said he was not going to dig any further. He was right, and he chose silence. I wrote about him in Jack, There’s Something About You That Doesn’t Make Sense. A company where people like him can raise a doubt without accusing anyone will hear things its logs never show.

And remember that the insider is not always the one doing the stealing. In my health records story the insider offered, and his handlers failed to act. Your next adversary may not be so careless.

The same scene, with a machine in my chair

I think about the same scene today with an AI agent in my chair. It has access, it works all night, nobody finds that unusual, and it can copy far more than sixty pages before morning. Every AI agent is a new insider. Give it access like one. I wrote about what that means in I Argued With an AI.

The insider who costs you the most will not look suspicious. He will look like someone working late.

Where the firm comes in

Insider risk and economic espionage are two of the eight areas in which Barsky Intelligence advises boards and owners, and I know both from the inside: for ten years I was the insider no one suspected, and later, as a CIO, I was responsible for the systems an insider would target. Beside me the firm brings together former leaders of intelligence and FBI counterintelligence. We work with companies in technology and artificial intelligence, energy, financial services, and defence and aerospace, in the United States, Western Europe and the Middle East, and we look at your company the way someone like me once did.

Jack Barsky in a grey scarf by a stone column

Jack BarskyKGB Spy. FBI Advisor. Fortune 500 CIO. Interviews: 60 Minutes, Lex Fridman. Today: Managing Partner, Barsky Intelligence.

Keynote Inquiries

Request Jack for your event.

Jack makes a select number of appearances each year. Tell us about yours, and we will confirm his availability.

Portrait of Julia Marczewska

Julia Marczewska Executive Liaison julia.marczewska@barskyintelligence.com