How a contractor's password stole 40 million cards
A heating contractor's login. A payment network with no walls inside. 40 million cards gone over the holiday rush.
What the episode says, word for word.
Narration is AI-voiced from this script. Every figure on screen carries its source line; the list is below.
The myth
Black Friday weekend, 2013. The busiest shopping days of the year, and at most Target registers in the United States, something is quietly copying every card as it's swiped.
Forty million credit and debit cards. Then, a few weeks later, the names, addresses, phone numbers and emails of up to seventy million people.
If you remember this one at all, you probably remember the detail everyone repeated: the hackers got in through the store thermostats. They didn't. The way in was a login that belonged to a heating and refrigeration contractor, and that login was for sending invoices, not for controlling the air conditioning. The contractor says so. The Senate's investigators say so.
So how does a stolen password for a billing website end up inside the cash registers? And why, when Target's own alarm system went off, did nobody answer it?
The stakes
Every time you pay by card, the register reads the magnetic stripe, and for a moment the card number sits in the register's memory, unencrypted, before it's scrambled and sent on to the bank. Security people call the register a point of sale. Target had them in every store.
The theft ran from November 27th to December 15th, 2013. Two days before Black Friday to the middle of the Christmas rush.
What they took, first: data from about forty million credit and debit cards.
Then a second set: names, mailing addresses, phone numbers and email addresses for up to seventy million people. Some overlap. The Senate's staff put the total at as many as a hundred and ten million customers.
Target also confirmed that encrypted PIN numbers were taken. It says the key to unscramble them was never on its systems. That's Target's account, and we're labelling it that way.
Here's why card data is different from the data in our Equifax episode. A card can be cancelled. So the race is to sell it first. Within a day of Target's announcement, the cards were on sale in online card shops, sorted by bank and expiry date, with a money-back guarantee on any card cancelled before the buyer could use it.
Which is why the theft had to be fast. And why the alarm had to be answered fast.
The way in
Fazio Mechanical Services is a refrigeration and heating contractor in Sharpsburg, Pennsylvania. It did work for Target, and like Target's other suppliers it had a login to Target's vendor website, for sending invoices, submitting contracts and managing projects.
At least two months before the breach, according to the Senate report, someone sent Fazio emails carrying malicious software, and that software stole the password. Fazio says it was itself the victim of a sophisticated attack, and that its security was in line with industry practice. Investigators quoted by the Senate report say its protection was a free product meant for home use, with no real-time scanning.
A password alone is one factor. A code sent to a phone is a second. The card industry's security standard required a second factor for remote access to payment systems. The vendor website wasn't technically part of that system. But a former Target vendor manager told the reporter the Senate relied on that Target rarely asked its small contractors for a second factor at all.
One stolen password, and the door was open.
When did they walk through it? The New York Times and the states' attorneys general say November 12th. The reporter Brian Krebs, citing investigators, says November 15th. The Senate report prints both dates. So will we.
Inside
The vendor website should have been a dead end. A login for sending invoices has no business anywhere near a cash register. But a former member of Target's security team told Krebs the vendor portal wasn't fully isolated from the rest of the network. The Senate report puts it plainly: the attackers moved from the less sensitive parts of Target's network to the parts holding customer data.
Not fully isolated. Three words that turned a billing login into forty million cards.
Security people call those walls segmentation. A billing website on one side. The registers on the other. Nothing connecting them that doesn't have to.
And Target had been warned in general terms, too. According to a Reuters report cited by the Senate, the card network Visa had published two warnings that year, in April and in August, about exactly this kind of register malware being used against retailers.
Now, the part this episode is named for. Six months before the breach, Target had begun installing a malware detection system that cost about one point six million dollars. It had a team of security specialists in Bangalore, India, watching around the clock. If they saw something, they flagged it to Target's security operations centre in Minneapolis.
On November 30th, as the attackers installed the software that would carry the card data out, that system fired its alerts. Bangalore saw them and flagged Minneapolis. On December 2nd, when the attackers updated their software, it fired again. Nothing happened.
The system had an option to delete malware automatically the moment it was found. Target's team had switched that off. Which is common, and defensible: you want a human to make the final call. But then a human has to make it. In fairness, the alert carried a generic name, and the Senate's staff allow that a team flooded with alerts might have read it as a false alarm.
So let's level the second myth: that Target had no security. It had a one point six million dollar detection system. It had a round-the-clock team. Two months before the breach, an outside assessor had certified it compliant with the card industry's security standard. At the Senate hearing, Target's chief financial officer listed the layers: firewalls, malware detection, intrusion detection and prevention, data loss prevention. The tools worked. They saw the attack. What failed was the step after the alarm.
Starting December 2nd, the stolen card data left Target's network for a server in Russia, during business hours, presumably so it would blend in. Eleven gigabytes over two weeks.
And the alarm system had even decoded where the data was going. The Senate's staff concluded that acting on that one piece of information could have stopped the theft before the data left.
The alarm went off. Twice. And nobody picked up.
The response
Target learned about the breach the way you'd least want to: from the government. On the evening of December 12th, the Justice Department called about suspicious activity on cards used at Target. Three days later Target confirmed the malware and removed it from almost every register. On December 18th, Brian Krebs published the story. On December 19th, Target did. On January 10th, it added the seventy million.
The bill. Target's own filings put its breach costs at two hundred and ninety-two million dollars, about two hundred and two million after insurance.
In 2017 it paid eighteen and a half million dollars to forty-seven states and the District of Columbia. The settlement ordered Target to control access to its network and to require a second factor for certain accounts. The things the Senate report had asked for three years earlier.
In May 2014 the chief executive stepped down. In June, Target hired a chief information security officer.
Which brings us to the third myth: that chip cards would have prevented this. Not quite. The malware copied the card data as the card was swiped, before Target's systems encrypted it. A chip doesn't stop that copy. What a chip does, and the witnesses at the Senate hearing said this, Target's chief financial officer among them, is make a copied number far harder to turn into a counterfeit card. That's their assessment, not a measurement. Target said it was accelerating its own hundred-million-dollar move to chip readers, ahead of the card networks' October 2015 deadline.
What stops it
Four controls, each one named in the Senate report.
One. A second factor for every outside login. A stolen password is only half a key.
Two. Walls between the billing website and the registers.
The two had no business sharing a network. The route from one to the other is the breach.
Three. Act on the alarm. Either let the system delete what it finds, or make sure the person who gets the alert has the authority, and the duty, to act on it the same day. An alarm with no response is a decoration.
Four. Allow-lists. Registers that run only approved software, so anything unapproved can't start. And data that can leave only for approved destinations, so a server in Russia is blocked by default.
You can't rebuild Target's network. Here's what you can do.
Turn on your bank's transaction alerts, the text or the notification for every charge. Then, when one arrives that you don't recognise, answer it. Target had the alert. It had the team. The lesson of this story isn't buy a better alarm. It's pick up when it rings.
Check it against the documents.
- U.S. Senate Commerce Committee staff report, "A Kill Chain Analysis", Mar 26, 2014
- Target press release, Dec 19, 2013
- Target press release, Jan 10, 2014
- Target media update, Dec 27, 2013 (Target's own account)
- Senate Judiciary Committee hearing, Feb 4, 2014 (transcript)
- Nevada Attorney General, May 23, 2017 (47 states + D.C. settlement)
- Target Corp. Form 10-K, fiscal 2016, Mar 8, 2017
- Target Corp. Form 8-K, May 5, 2014
- Target press release, Jun 10, 2014
- Bloomberg Businessweek, "Missed Alarms", Mar 13, 2014
- Fazio Mechanical Services statement, Feb 2014
- KrebsOnSecurity, Feb 5, 2014