Accent colour
 
Shortcuts: press ?
 

Data Breaches Explained — How Stolen Data Ends Up for Sale Online

Muhammad Tahir November 26, 2026

Introduction

You get the email on a Tuesday evening. A company you barely remember signing up for is writing to tell you that some of your personal information "may have been accessed by an unauthorized party." They are sorry. They are taking the matter seriously. They are offering you a year of free credit monitoring, which is a bit like being handed a bucket after your house has already flooded.

By then, your name and password have already been copied and sold to someone you will never meet. That is what a data breach is, stripped of the corporate language: someone got into a system they were not supposed to be in, and walked out with information that was not theirs.

Breaches happen so often now that the announcements blur together. A hotel chain here, a credit agency there, a social network next week. But the details matter, because the same handful of mistakes keeps causing them, and the same handful of habits keeps the damage down. This article walks through how breaches happen, what happens to the stolen data, what the big ones cost, and what you can do about it.

What a Data Breach Actually Is

A data breach is any incident where private information is seen, copied, or taken by someone who has no right to it. It could be a hacker breaking into a database. It could be an employee emailing a spreadsheet to the wrong address. It could be a laptop left on a train, or a cloud storage bucket left open to the whole internet with no password at all.

It helps to separate two things people often mix up. A breach is not the same as a hack that breaks something. When ransomware locks a hospital's computers, that is an attack. When the attackers also copy patient records before locking them — which they often do now — that copying is the breach. The lock is the noise; the theft is the point. Ransomware gangs learned years ago that threatening to publish stolen data is a better way to get paid than just encrypting files, and that is why breaches and ransomware now show up in the same story so often.

The data itself is the prize, and some kinds are worth far more than others. A list of email addresses is worth a little. Add passwords, and it is worth more, because people reuse passwords across sites. Add full names, home addresses, dates of birth, and national ID numbers, and you have the raw material for identity theft: opening accounts and taking out loans in someone else's name.

How Attackers Get In

Real break-ins are usually duller than the films suggest, and that is what makes them hard to stop. Most of the time, the attacker walks through a door somebody left open.

Phishing is still the most common door. An employee gets an email that looks like it came from their boss, or from IT, asking them to log in or open an attachment. The page it leads to looks right. They type in their username and password, and the attacker now has both. No firewall was defeated. A person was fooled, and that was enough. This is why security teams spend so much time talking about social engineering: the weakest point in most systems is not the software, it is the person using it.

Stolen or guessed passwords are the second door, and they are closely related. People reuse passwords. A breach at one site hands attackers a list of email addresses and passwords, and they try the same combinations on banking sites, email accounts, and shopping sites, in an automated spray called credential stuffing. A single password, used in five places, can unlock all five.

Then there are the unpatched flaws. Software has bugs, and some of those bugs let an attacker run their own code on a server. When a serious flaw becomes public, the vendor usually releases a fix within days. But fixing a server takes time and testing, and many companies put it off. Equifax, as we will see below, was breached through a flaw in a piece of web software for which a fix had been available for months. The patch existed. Nobody applied it in time.

Misconfigured cloud storage is a newer door, and an embarrassing one. Companies move data to cloud services, and somebody sets the permissions wrong, so a database or a storage bucket that was meant to be private is readable by anyone on the internet. No password is needed at all. Attackers run automated scans that probe the internet for open databases, day and night.

Finally, there are insiders. Sometimes an employee takes data on purpose, usually when they are leaving a job or are being paid to do it. More often, the inside help is accidental: someone emails a customer list to their personal account so they can work from home, and that account gets breached instead. Either way, the data leaves.

The Big Ones: Equifax, Target, Yahoo, and Marriott

The history of data breaches is a list of household names, and it is worth looking at a few closely, because each one failed in a different way.

Start with Equifax, in 2017. Equifax is one of the three big credit reporting agencies in the United States. It holds detailed financial records on almost every adult in the country — names, Social Security numbers, birth dates, addresses, driving licence numbers. In 2017, attackers got in through a known flaw in Apache Struts, a piece of software Equifax used on its website. A fix for the flaw had been released in March. The breach was discovered in July. By then, the data of about 147 million people had been taken — close to half the population of the United States. The company agreed to pay hundreds of millions of dollars in settlements, and its chief executive resigned. The worst part was that most of the people affected had never chosen to give Equifax their data in the first place.

Target, in 2013, failed differently. Attackers got in through a small heating and ventilation contractor that had access to Target's network for billing purposes. From there, they moved across the network until they reached the payment systems in the stores. Over the holiday shopping season, they collected card details from about 40 million customers, swiping the data straight from the card readers as people paid. The lesson was about trust: a company is only as secure as the least secure supplier it lets through the door.

Yahoo's breach is the biggest by raw numbers. In 2013 and 2014, attackers broke into Yahoo's systems and took data from user accounts. For years, Yahoo said the number affected was about 500 million. In 2017, after Verizon bought the company, the number was revised: about 3 billion accounts — essentially every Yahoo account that existed. Names, email addresses, phone numbers, dates of birth, and hashed passwords were taken. It remains the largest breach ever disclosed, and it is a reminder that breaches are often far bigger than the first announcement says.

Marriott, in 2018, is the slow-motion version. Attackers had been inside the Starwood hotel reservation system since 2014 — four years before anyone noticed. When Marriott bought Starwood in 2016, it inherited the compromised system along with the hotels. About 383 million guest records were exposed, including passport numbers for millions of guests. The breach showed how long an attacker can sit quietly in a system, collecting data a little at a time, and how buying another company means buying its security problems too.

The pattern is the same each time: a known weakness, left open long enough, found by someone patient.

What Happens to the Data Next

So the data is stolen. Then what? Most people picture a hooded figure selling it in a dark corner of the internet, and that is not far off — except the corner is more like a market, with reviews, prices, and customer service.

Stolen data usually ends up on dark web marketplaces, sites that run on the Tor network and can only be reached with special software. They work a lot like ordinary online shops: sellers list what they have, buyers leave ratings, and the marketplace takes a cut. A batch of credit card numbers might sell for a few dollars each. A full identity — name, address, date of birth, Social Security number — costs more, because it can be used to open accounts and take out loans.

Not all stolen data is sold. Sometimes it is used directly: the thieves run credential stuffing attacks, trying the email and password pairs from one breach on other sites, automatically, thousands at a time. It works because people reuse passwords.

Sometimes the data is held back for months or years. A clever thief does not flood the market the week after a breach, when everyone is watching. They wait until the news cycle moves on, then sell quietly. That is why a breach from years ago can still cause trouble: the data does not expire. Your date of birth will be the same in ten years. Your Social Security number does not change.

And sometimes the data is never sold at all. Governments steal data too, and they keep it. The breach of the US Office of Personnel Management in 2015 took detailed background-check files on more than 20 million federal employees and their families, including fingerprints. Nobody has ever seen that data for sale. It was taken for intelligence, not profit.

How Much a Breach Costs

Breaches are expensive, and the bill is bigger than most people imagine. IBM publishes an annual Cost of a Data Breach report, based on hundreds of real incidents around the world. Its 2024 report put the average cost of a single breach at $4.88 million — the highest the report had ever recorded. That figure includes the obvious costs, like hiring forensic investigators and lawyers, and the less obvious ones: notifying millions of customers, offering credit monitoring, paying fines, and losing business when customers walk away.

The costs split into a few buckets. Detection and escalation is the first: figuring out what happened, how the attackers got in, and what they took. That means outside investigators, because most companies do not have that expertise in-house. Notification is the second: the letters, emails, and call centres to tell affected people, which regulators in most countries now require. Lost business is the third, and often the largest: customers who cancel, deals that fall through, a share price that drops and takes months to recover. And then there are the fines. Under Europe's GDPR, regulators can fine a company up to 4 per cent of its global revenue. British Airways was fined £20 million over a 2018 breach.

The numbers get much worse when the breach is discovered late. IBM's report found that breaches taking more than 200 days to find and contain cost substantially more than ones caught quickly, which makes sense: the longer an attacker is inside, the more they take, and the more systems need rebuilding. The Equifax attackers were inside for months. The Marriott attackers were inside for four years. Time is the attacker's friend and the company's enemy, which is why detection matters as much as prevention.

What Companies Do When It Happens

When a company discovers a breach, the first hours matter, and they are usually chaotic. Someone in IT notices something odd — a server talking to an unfamiliar address, a database being copied at three in the morning — and a chain of calls begins. The people who handle this have a name for the process: incident response, and the good companies have practised it before they need it.

Next comes the hard part: working out the scope. Which systems were touched? Which records were copied? How long were the attackers inside? This is slow, detailed work, and it is why the first public statement after a breach is often vague. The company genuinely does not know yet. When Yahoo first disclosed its breach, it said 500 million accounts; the real number, 3 billion, only emerged years later.

Notification follows, and this is where the law steps in. In Europe, GDPR gives companies 72 hours to tell the regulator once they know a breach happened. In the United States, the rules vary by state, but most require telling affected people "without unreasonable delay." The letters that follow are famously wooden — "we take your privacy seriously" appears in almost all of them — but the substance matters: what was taken, what the company is doing, and what you should do.

After that comes the long tail: lawsuits, regulatory investigations, fines, and rebuilding. Security teams patch the hole, reset passwords, rebuild compromised systems, and usually hire outside firms to check their work. The whole process can take years. The breach ends quickly for the attacker. For the company, it goes on and on.

What Actually Stops Breaches

No company can stop every breach. But the breaches above share a pattern: they were not clever, unstoppable attacks. They were known weaknesses, left open, found by someone patient. That means the defences that work are mostly unglamorous — the security equivalent of locking the doors and fixing the broken window.

  • Multi-factor authentication. A password on its own is a single lock. Multi-factor adds a second one: a code from your phone, a fingerprint, a hardware key. Even if an attacker steals the password, they still cannot get in without the second factor. It is the single most effective change most companies can make.
  • Patching, on time. When a vendor releases a security fix, apply it promptly, especially for software facing the internet. Equifax had the fix for months and never applied it. A patching schedule that nobody follows is the same as no schedule.
  • Least privilege. Give people and systems only the access they need to do their job, and nothing more. The Target attackers got in through a heating contractor; they should never have been able to reach the payment systems from there. Good identity and access management is mostly about drawing these lines and keeping them drawn.
  • Encryption. Data that is properly encrypted is much less useful to a thief. It can still be stolen, but it cannot be read without the key. That does not help if the attacker also steals the key — which is why keys are stored separately — but it turns many breaches from a disaster into an embarrassment.
  • Backups and monitoring. Keep copies of important data that attackers cannot reach, and watch for odd behaviour: logins at strange hours, large amounts of data leaving the network, a server talking to an address it has never contacted before. The Marriott attackers were inside for four years. Better monitoring might have caught them in four weeks.

What You Can Do as a Person

Most of this is the company's job, but your data is yours, and there are a few things that genuinely help.

Use a password manager, and give every site its own password. That single change kills credential stuffing dead: a password stolen from one site will not work anywhere else. Turn on multi-factor authentication wherever it is offered, especially on your email — your email account is the key to everything else, because password resets go there. Change passwords promptly when a company tells you it has been breached.

Check whether your details have appeared in a known breach. The site Have I Been Pwned, run by security researcher Troy Hunt, lets you search your email address against hundreds of public breach datasets. It is free, and it is startling: most people find their address in at least one breach they never heard about.

Freeze your credit file. In the United States, you can freeze your credit reports with Equifax, Experian, and TransUnion for free, which stops anyone opening accounts in your name — including you, until you unfreeze it. In the UK, the equivalent is a protective registration with CIFAS. It is a small hassle when you apply for credit yourself, and a large obstacle for anyone trying to impersonate you.

Frequently Asked Questions

How do I know if my data was in a breach?

Usually a company emails you, but those emails are easy to miss, and some companies are slow to send them. The faster check is Have I Been Pwned: type in your email address and it will show which public breaches it appeared in, and what kind of data was exposed. If a site you use announces a breach, assume your data was involved.

Why do companies take so long to tell people about a breach?

Because finding out what was taken is slow work. Investigators have to trace the attacker's path through the systems, work out which databases were touched, and confirm what was copied versus what was merely seen. Companies also need to be sure the attacker is actually out before they announce anything. The law sets deadlines — 72 hours to the regulator under GDPR, for example — but the full picture often takes weeks.

Is my data less valuable once a breach is a few years old?

Not as much as you would hope. Passwords go stale once you change them, and card numbers die when the card is replaced. But your name, date of birth, address history, and national ID number do not change, and those are the pieces used for identity theft. Stolen data is also often held back and sold months or years after the breach.

Can a company be punished for a data breach?

Yes, in several ways. Regulators can fine companies under laws like GDPR, which allows fines of up to 4 per cent of global revenue. Affected people can sue, and in the United States, class-action lawsuits after big breaches regularly settle for hundreds of millions of dollars. Executives can lose their jobs — Equifax's chief executive resigned weeks after its breach became public.

The Bottom Line

A data breach is not a freak accident. It is what happens when a known weakness meets a patient attacker — an unpatched server, a reused password, a supplier with too much access, a storage bucket left open to the world. The big breaches of the last decade were not caused by genius hackers. They were caused by ordinary mistakes, repeated at scale.

The damage is real, and it lands on ordinary people: a loan taken out in your name, a tax refund claimed before you filed, a card charged for things you never bought. The data does not expire, and it does not come back. Once it is out, it is out — sold, resold, tried against every site you have ever used.

That sounds bleak, but the defences work. Multi-factor authentication, prompt patching, least privilege, encryption, and watching the network would have stopped or shortened most of the breaches in this article. The companies that survive breaches best are the ones that do the boring things properly, and practise what to do when something goes wrong anyway.

For you, the answer is smaller and simpler: different passwords everywhere, multi-factor on your email, a credit freeze, and a habit of checking whether your address has shown up in a breach. None of it is glamorous. But it is the difference between being a name on a list for sale, and being a name on a list that is no use to anyone.

Was this article helpful?

Muhammad Tahir

Author

 

Get new articles by email

 

Comments