Quick answer
Yahoo suffered two separate thefts. The August 2013 one eventually covered all 3 billion accounts, and the late 2014 one hit at least 500 million. US prosecutors charged two FSB officers and two hackers over 2014. The bigger failure was delay: staff spotted the 2014 intrusion that year, but the public learned in 2016.
Key takeaways
- • Yahoo had two separate breaches: August 2013 (all 3 billion accounts) and late 2014 (at least 500 million).
- • In 2014, a stolen database backup and an internal admin tool let attackers forge login cookies and skip passwords.
- • Two FSB officers and two hackers were charged in 2017; only Karim Baratov has been sentenced.
- • The SEC fined Altaba $35 million because Yahoo told investors nothing for about two years.
- • Old Yahoo addresses still used for account recovery are a real risk for users in Pakistan today.
Table of contents 15 sections
- What Was the Yahoo Data Breach?
- Yahoo Data Breach Timeline, 2013 to 2020
- How Did the Attackers Get Into Yahoo?
- The 2013 and 2014 Breaches Side by Side
- What Was Taken, and What Did It Cost?
- Who Is Responsible, and What Proof Exists?
- Confirmed in Court
- Charged but Never Tried
- Not Publicly Attributed
- Why Did Disclosure Take Almost Two Years?
- What Happened After the Disclosures?
- Why Does a 2013 Breach Still Matter to You in Pakistan?
- Seven Data Breach Lessons From the Yahoo Case
- Tracing Breach Timelines in PSTA's Cyber Security Classes
- Clean Up One Old Email Account This Weekend
The first public word of the Yahoo data breach came on September 22, 2016, two months after Verizon agreed to buy Yahoo's web business for $4.8 billion, Al Jazeera reported. Yahoo said a "state-sponsored actor" had taken data from at least 500 million accounts in late 2014. It was not the whole story. Over the next 12 months, the company found an older theft from 2013, and the count for that one finally reached every account it had.
This case study follows the story in date order, because the dates are the lesson. The sections below cover:
- A full timeline, from the first theft in 2013 to the court-approved user settlement in 2020
- How the attackers turned a stolen database copy into account access without passwords
- What was taken, what it cost Yahoo, and who has been charged
- Why the security team's early warning never reached investors
- Seven defensive lessons you can apply to your own accounts or your company's systems
What Was the Yahoo Data Breach?
The name covers two separate thefts. The first, which this article calls the Yahoo hack 2013, happened in August 2013. The second, the Yahoo 2014 breach, happened in late 2014. Yahoo itself said in its December 14, 2016 statement that the two incidents were likely separate.
Both thefts took account records rather than money. A typical record held a name, email address, phone number, date of birth, a protected form of the password and, for many users, a security question and answer. Yahoo said card numbers and bank details were not in the affected systems.
What makes the case unusual is not one clever trick. It is the gap between what happened and what the public learned. The 2014 theft was disclosed almost two years later. The 2013 theft was disclosed three years later, and its size was revised upward twice.
Yahoo Data Breach Timeline, 2013 to 2020
The dates below are US dates as given in the sources. Pakistan runs 9 to 10 hours ahead of California, so news released on a US afternoon usually reached Pakistani readers overnight or the next morning.
| Date | What happened | Source |
|---|---|---|
| August 2013 | An unknown party steals data linked to Yahoo user accounts. The scale is not known for years. | Yahoo statement, Dec 2016 |
| Nov to Dec 2014 | An intruder copies part of Yahoo's user database from a backup and reaches an internal account management tool. | US indictment, via Dark Reading |
| Late 2014 | Yahoo's security team spots the intrusion, tells legal staff, and believes only 26 accounts are affected. | Board committee findings, via TechCrunch |
| 2015 to 2016 | Forged login cookies are used or taken for about 32 million accounts. | Yahoo's outside experts, via TechCrunch |
| July 2016 | Verizon announces it will buy Yahoo's core business. | Reuters, via VOA |
| Sept 22, 2016 | Yahoo discloses the 2014 theft: at least 500 million accounts, blamed on a state-sponsored actor. | Al Jazeera |
| Dec 14, 2016 | Yahoo discloses the 2013 theft: more than 1 billion accounts. | Yahoo statement |
| Feb 2017 | Verizon cuts its offer by $350 million. | Reuters, via VOA |
| Mar 1, 2017 | The board's committee blames failures in communication and inquiry. The general counsel resigns. | TechCrunch |
| Mar 15, 2017 | US prosecutors charge two Russian FSB officers and two hackers over the 2014 theft. | Dark Reading |
| June 2017 | Verizon completes the purchase. The remaining company becomes Altaba. | SEC |
| Oct 3, 2017 | Yahoo says all 3 billion accounts were affected in 2013. | Reuters, via VOA |
| Apr 24, 2018 | The SEC fines Altaba $35 million for not telling investors. | SEC |
| May 29, 2018 | Karim Baratov is sentenced to five years in a US prison. | KTVU |
| June 12, 2018 | The UK regulator fines Yahoo UK Services £250,000. | The Register |
| July 2020 | A US federal court approves a $117.5 million settlement for users. | National Law Review |
Read the table from top to bottom and one pattern stands out. Each public update arrived later, and was larger, than the one before. That is the core of this case.
How Did the Attackers Get Into Yahoo?
For the 2013 theft, nobody has published an answer. Yahoo said in December 2016 that it had not identified how that intrusion happened. Any detailed story you read about the 2013 entry point is guesswork.
The 2014 theft is better documented, because US prosecutors described it in their charges. According to the indictment, as summarized by Dark Reading, the intrusion had three parts:
- A copy of the user database. The intruder took a backup copy of part of Yahoo's user database. It held usernames, recovery emails, phone numbers and the data needed to build login cookies.
- An internal admin tool. The intruder also reached Yahoo's Account Management Tool, an internal system staff used to manage accounts.
- Forged cookies. With those two pieces, the group created cookies for chosen accounts. A cookie is the small token your browser keeps after you sign in. A valid one lets you skip the password screen, so a forged one does the same for an intruder.
That third step is why forged cookies matter so much in this case. A password change does not help if the attacker never needs the password. Yahoo said in December 2016 that someone had studied its proprietary code to learn how to forge cookies, and that it had since invalidated them.
Notice what the attackers did with this power. Prosecutors said cookies were made for about 6,500 targeted accounts, not hundreds of millions. The mass theft provided the map. The forged cookies were used to open specific doors.
The 2013 and 2014 Breaches Side by Side
The two incidents are often blurred together in news coverage. The comparison below keeps them apart, because the evidence behind each one is very different.
The password column deserves a closer look. Yahoo said the 2013 records held passwords hashed with MD5. Hashing turns a password into a fixed string that should not be reversible. MD5, however, is old and fast, so weak passwords protected with it can be guessed quickly. Academic experts told Reuters, as reported by VOA, that the stolen data was protected by outdated, easy-to-crack encryption.
What Was Taken, and What Did It Cost?
The Yahoo 3 billion accounts figure is the part of the Yahoo data breach most people remember. Yahoo itself noted that this count includes many accounts that were opened but rarely or never used, so the number of real people affected is lower. Nobody has published a precise figure for people rather than accounts.
The money side is easier to pin down:
- Deal price. Verizon cut its offer by $350 million in February 2017 because of the breaches, and paid $4.48 billion for the core business, Reuters reported.
- US securities penalty. The SEC fined Altaba $35 million in April 2018. Altaba neither admitted nor denied the findings.
- UK penalty. The Information Commissioner's Office fined Yahoo UK Services £250,000 over 515,121 UK accounts, according to The Register. The old UK law capped such fines at £500,000.
- User settlement. A $117.5 million class settlement covered about 194 million class members, the National Law Review reported. That works out to roughly 60 cents per member.
The hidden cost was trust. Users who reused a Yahoo password, or used the same security answer elsewhere, carried that risk into other accounts for years.
Who Is Responsible, and What Proof Exists?
When you read about blame for the Yahoo data breach, separate three levels of certainty.
Confirmed in Court
Karim Baratov, a Canadian and Kazakh national arrested in Canada in March 2017, pleaded guilty to nine charges. A judge in San Francisco sentenced him to five years in prison on May 29, 2018, KTVU reported. Prosecutors said he hacked webmail accounts, including dozens outside Yahoo, for an FSB officer in exchange for money. Reports on his fine differ. KTVU gave a figure of $250,000, while Dark Reading described the fine as equal to his remaining assets. The gap may reflect different stages of the case, so treat the exact amount with care.
Charged but Never Tried
The March 2017 indictment named two officers of Russia's FSB intelligence service, Dmitry Dokuchaev and Igor Sushchin, and a hacker named Alexsey Belan. All three are believed to be in Russia and have not faced a US court. Under US law they are accused, not convicted. These are allegations from prosecutors, however detailed.
Not Publicly Attributed
No government or company has publicly named who carried out the 2013 theft. Yahoo linked some forged-cookie activity to the same state-sponsored actor behind the 2014 incident, but it did not say that actor stole the 2013 database. Be wary of any source that treats both breaches as the work of the same people. That link has not been shown publicly. If you want to compare how attribution was handled in other state-linked cases, the PSTA case study on the SolarWinds hack is a useful contrast.
Why Did Disclosure Take Almost Two Years?
This is the core lesson of the Yahoo data breach, and it has little to do with hacking skill.
According to Yahoo's board committee, as reported by TechCrunch, the security team found the 2014 intrusion in late 2014 and informed legal staff. The team believed only 26 accounts were involved and did not dig further. By December 2014 it knew that database backup files had been taken. The committee said the legal team had enough information to demand a deeper investigation but did not do so.
The SEC reached a similar view from the investor side. Its order said Yahoo learned of the theft within days and reported it to senior management and the legal department. Yet for two years its public reports mentioned only the general risk of breaches. The SEC also found Yahoo had no controls to make sure security reports were assessed for disclosure.
Two things followed in March 2017. The general counsel resigned without severance, and the board decided the chief executive would not receive her annual bonus. In short, a technical team saw part of the problem, and the organization failed to ask how big it was.
What Happened After the Disclosures?
Yahoo's own response, described in its December 2016 statement, focused on account safety:
- It required password changes for affected users.
- It cancelled unencrypted security questions and answers so they could no longer unlock accounts.
- It invalidated the forged cookies.
- It worked with law enforcement, which had provided the 2013 data files to Yahoo in the first place.
That last detail is easy to miss. Yahoo did not find the 2013 theft through its own monitoring. Data files reached it through law enforcement. Organizations that rely on outsiders to spot their breaches will always learn late, and the Yahoo data breach shows how late that can be.
The legal fallout ran for years. Yahoo faced at least 41 consumer class actions by mid-2017, Reuters reported. The SEC penalty came in 2018, the UK fine the same year, and the user settlement in 2020. Students who have read our Equifax data breach case study will see the same slow legal tail.
Why Does a 2013 Breach Still Matter to You in Pakistan?
Many people in Pakistan opened a Yahoo Mail address in the 2000s and early 2010s, for school, a first job or a social media sign-up. Some of those addresses are still the recovery email for bank, Facebook or freelancing accounts. That is the real risk today.
Old breach data, including records from the Yahoo data breach, does not expire. A date of birth, an old phone number and a security answer such as a mother's maiden name do not change. Scammers can combine such details with newer leaks, like the card data covered in our post on the Pakistan bank data breach, to sound convincing on a phone call.
Here is a quick self-check you can do today:
- List every account that uses an old Yahoo address for recovery.
- Replace that recovery address with one you check every week.
- Turn on two-step verification on the email account you keep.
- Change any security answer that matches a real fact others could know.
If something already feels wrong with a linked account, our guide to recovering a hacked WhatsApp account walks you through the next steps.
For businesses, the lesson is about process. A local software house, bank or hospital may not hold 3 billion records, but the same gap can open between a technical alert and a management decision.
Seven Data Breach Lessons From the Yahoo Case
These data breach lessons apply whether you run a home office or a security team. The card below summarizes them, and the list explains each one.
- Measure the scope before closing an incident. Yahoo's team settled on 26 accounts. Ask what else the intruder could have reached, not only what you saw.
- Treat backups as production data. The 2014 theft started with a backup copy. Encrypt backups and watch who copies them.
- Flag large data transfers. The UK regulator said huge transfers of personal data should have been flagged for investigation.
- Guard admin tools as tightly as the database. An internal account tool gave the attackers a second route in. Limit who can use such tools and log every action.
- Retire weak hashing. MD5 was outdated for passwords. Use modern, slow password hashing and plan upgrades before an incident forces them.
- Build a path from security to the boardroom. The SEC found Yahoo lacked controls to assess security reports for disclosure. Write down who must hear about an incident, and by when.
- Stop trusting security questions. Answers like a birthplace can be found or stolen. For your own accounts, use two-step verification instead, or give a random answer you store in a password manager.
Tracing Breach Timelines in PSTA's Cyber Security Classes
Building a timeline like the one above is a real skill. Incident responders do it after every serious event, and it is one of the tasks students practice at PSTA.
Over 12 weeks, PSTA's beginner cyber security course assumes no security background at all. The modules move from the CIA triad and risk into common attacks, basic ethical hacking and network security, and later reach digital forensics, cyber law, malware analysis and spotting threats early. In one lab you investigate an incident, preserve the evidence and write up its timeline, the same kind of work this Yahoo case needed. You can attend on campus in Abbottabad or join online classes from anywhere in Pakistan.
Once the foundations feel solid, learners interested in authorized attack testing can continue with PSTA's penetration testing course. Planning exams too? Our list of beginner cyber security certifications explains where to start. For a recent case that unfolded over hours rather than years, compare this story with our Binance hack analysis.
Not sure which track suits your level? Ask the PSTA team through the course page before you enroll, and they can suggest where to start.
Clean Up One Old Email Account This Weekend
You do not need to fix everything at once. Pick the oldest email address you still own, sign in, turn on two-step verification and check which accounts use it for recovery. If you no longer need it, move those recoveries to your main inbox first. That one small task closes the kind of door the Yahoo data breach left open for millions of people.
Frequently asked questions
Was my Yahoo account affected by the breach?
If you had a Yahoo account in 2013, almost certainly yes. Yahoo said in October 2017 that all 3 billion accounts existing then were affected, including ones that were rarely used. Card and bank details were not in the stolen systems, but names, birth dates, phone numbers and some security answers were. Change any password or security answer you have reused elsewhere.
Were Yahoo passwords stolen in plain text?
No. Yahoo said passwords were not taken in clear text. The 2013 records held passwords hashed with MD5, an old and fast method, and experts quoted by Reuters called the protection easy to crack. That means a weak or common password could still be recovered from the hash, so anyone who reused an old Yahoo password should treat it as exposed.
What are forged cookies in the Yahoo case?
A cookie is the small token your browser keeps after you sign in, so you do not type the password again. In the 2014 intrusion, US prosecutors said the attackers used a stolen database copy and an internal admin tool to create these tokens themselves. That let them open about 6,500 chosen accounts without knowing any password.
Who was behind the Yahoo hack?
For the 2014 theft, US prosecutors charged two officers of Russia's FSB, a hacker named Alexsey Belan and a Canadian hacker-for-hire, Karim Baratov, in March 2017. Only Baratov has been sentenced, and the other three are believed to be in Russia. Nobody has publicly named who carried out the separate 2013 theft.
How much did the Yahoo breaches cost the company?
Verizon cut its purchase price by $350 million in 2017. The SEC fined Altaba, the company left after the sale, $35 million in 2018 for not telling investors. The UK regulator fined Yahoo UK Services 250,000 pounds, and a US court approved a $117.5 million settlement for users in 2020.
Why did Yahoo take so long to disclose the 2014 breach?
Yahoo's board committee found that the security team spotted the intrusion in late 2014 but believed only 26 accounts were affected and did not dig deeper. The legal team did not push for a fuller investigation. The SEC added that Yahoo lacked controls to make sure security reports were assessed for disclosure to investors.
Is an old Yahoo account still a risk today?
It can be. Stolen birth dates, phone numbers and security answers do not change, and scammers can combine them with newer leaks. The bigger risk is an old Yahoo address that is still the recovery email for your bank, social media or freelancing accounts. Move those recoveries to an inbox you check and protect with two-step verification.
Where can I learn to investigate breaches like this in Pakistan?
PSTA runs a 12-week beginner course in cyber security and ethical hacking. It moves from basic attack types and network defense to malware, forensics and cyber law, and one lab has you document an incident timeline step by step. You can attend on campus in Abbottabad or join the online classes from anywhere in Pakistan.
Sources & references
- SEC: Altaba, Formerly Known as Yahoo!, Charged With Failing to Disclose Massive Cybersecurity Breach sec.gov
- Yahoo Security Statement, December 14, 2016 (SEC filing) sec.gov
- Al Jazeera: Hackers steal personal data from 500m Yahoo accounts aljazeera.com
- VOA (Reuters): Yahoo Says All Three Billion Accounts Hacked in 2013 Data Theft voanews.com
- Dark Reading: DoJ Indicts Russian FSB Officers and Cybercriminals in Yahoo Breach darkreading.com
- TechCrunch: Marissa Mayer forgoes bonus and equity in wake of Yahoo security incidents techcrunch.com
- The Register: Yahoo fined £250,000 by UK ICO theregister.com
- National Law Review: Court Approves Yahoo Customer Data Breach Settlement natlawreview.com
Last reviewed & updated on by Umar Qureshi. Written by the PSTA team in Abbottabad, Pakistan.
Cyber Security & Ethical Hacking Course in Abbottabad - PSTA
Turn this guide into a career: hands-on training with real projects, online across Pakistan or on-campus in Abbottabad · 12 Weeks.
Comments
No comments yet — ask a question or share your experience.