RockYou!

WikipediaVerified

Breach Date

December 4, 2009

Records Affected

32,000,000

Verified

Yes

Source

wikipedia

Summary

The RockYou data breach of December 2009 compromised 32 million user accounts from the social gaming and widget platform RockYou, a company that developed applications for MySpace, Facebook, and other social networks. While the breach itself was relatively straightforward — an SQL injection attack exploiting an unpatched vulnerability — its lasting significance lies in the discovery that RockYou stored all 32 million passwords in plaintext, with no hashing or encryption whatsoever.

The breach was discovered by a security researcher using the alias "igigi" who exploited a SQL injection vulnerability in RockYou's website and responsibly disclosed the issue. RockYou initially failed to respond, leading to public disclosure and widespread media coverage. The exposed database revealed not only catastrophic password storage practices but also provided the cybersecurity community with an unprecedented real-world password dataset.

The leaked passwords were compiled into what became known as the "RockYou wordlist" — a file containing 14.3 million unique passwords that remains one of the most widely used password cracking dictionaries in the world. It is included by default in penetration testing distributions like Kali Linux and is a standard tool in security audits globally. The FTC subsequently took action against RockYou for deceptive security practices, establishing important precedent for password security standards. The RockYou breach, while modest in scale compared to later mega-breaches, fundamentally shaped how the security industry understands and tests password security.

Breach Details

Breach Date
December 4, 2009
Records Affected
32,000,000
Source
Wikipedia
Verified
Verified
Industry
Technology
Type
Hacked

Impact Analysis

Scale of Impact

  • 32 million accounts compromised with credentials stored in plaintext
  • 14.3 million unique passwords extracted and compiled into the RockYou wordlist
  • Platform served widgets and games across major social networks (MySpace, Facebook, iGoogle)

Data Types Exposed

  • Email addresses
  • Usernames
  • Passwords (stored in plaintext — no hashing, salting, or encryption)

Password Analysis

The plaintext passwords provided an unprecedented window into real-world password habits:

RankPasswordCount
1123456290,731
21234579,078
312345678976,790
4password61,958
5iloveyou51,622
6princess35,231
7rockyou22,588
8123456721,726
91234567820,553
10abc12317,542
  • 30% of users chose passwords of 6 characters or fewer
  • 50% of passwords were common dictionary words, names, or trivial number sequences
  • Less than 4% of passwords contained special characters

Lasting Industry Impact

The RockYou wordlist became a foundational tool in cybersecurity:

  • Included by default in Kali Linux (/usr/share/wordlists/rockyou.txt)
  • Standard resource in penetration testing, security audits, and CTF competitions
  • Used in academic research on password security and user behavior
  • Spawned derivative lists (RockYou2021, rockyou2024) that expanded on the original
  • Remains in active use more than 15 years after the breach

Timeline

  • 2009 (exact date undisclosed): RockYou's database is compromised via SQL injection attack
  • December 4, 2009: Security researcher "igigi" discovers the SQL injection vulnerability and attempts responsible disclosure to RockYou
  • December 2009: RockYou fails to respond to the disclosure; the researcher goes public with findings
  • December 14, 2009: RockYou acknowledges the breach and begins notifying users
  • December 2009: The database dump circulates on hacker forums; security researchers begin analyzing the plaintext passwords
  • Early 2010: The RockYou wordlist is compiled from the breach data and begins circulating in security communities
  • 2010: RockYou faces multiple class action lawsuits for negligent data handling
  • March 27, 2012: FTC finalizes consent decree with RockYou for deceptive security practices; company required to implement a comprehensive information security program
  • 2012-2013: The RockYou wordlist becomes a standard tool in penetration testing distributions
  • 2013: RockYou wordlist is included by default in Kali Linux
  • 2016: RockYou ceases operations as a company
  • 2021: "RockYou2021" compilation released — an 8.4 billion entry password list named in homage to the original
  • 2024: "RockYou2024" compilation released with 9.9 billion entries; the original wordlist continues to be used in security testing worldwide

Lessons Learned

1. Plaintext Password Storage Is Inexcusable

The most glaring lesson from RockYou is that storing passwords in plaintext is a catastrophic security failure. Even in 2009, industry best practices dictated the use of one-way hash functions with salting. RockYou's complete lack of password protection exposed all 32 million users simultaneously and irrecoverably. There is no legitimate engineering reason to store passwords in plaintext.

2. SQL Injection Prevention Is a Basic Security Requirement

The attack exploited a SQL injection vulnerability — one of the most well-documented and preventable vulnerability classes. Parameterized queries, input validation, and web application firewalls were all available and well-understood in 2009. RockYou's failure to prevent SQL injection reflected a fundamental lack of secure development practices.

3. Responsible Disclosure Requires Responsive Companies

The researcher who discovered the vulnerability attempted responsible disclosure first. RockYou's failure to respond forced public disclosure, maximizing damage. Companies must have clear vulnerability disclosure processes and respond promptly to security reports.

4. Password Data Has Permanent Research Value

The RockYou wordlist demonstrated that breach data lives on indefinitely — not just as a criminal tool but as a legitimate security resource. The passwords revealed fundamental truths about human password behavior that continue to inform security policy: most people choose weak, predictable passwords.

5. Regulatory Action Establishes Industry Standards

The FTC's consent decree against RockYou was one of the early enforcement actions establishing that inadequate password security constitutes deceptive business practices. This helped establish the regulatory expectation that companies must implement reasonable security measures, including proper password hashing.

6. Scale Does Not Determine Impact

At 32 million accounts, the RockYou breach was large for its time but modest compared to the billion-record breaches that followed. Yet its impact on the security industry — through the wordlist alone — far exceeds breaches orders of magnitude larger. The quality and utility of breach data can matter more than its quantity.

Technical Details

Attack Vector: SQL Injection

The breach was carried out through a SQL injection attack against RockYou's web application. SQL injection occurs when user input is improperly incorporated into database queries, allowing attackers to execute arbitrary SQL commands.

Attack flow:

  1. Discovery: The attacker identified an input field on RockYou's website that was vulnerable to SQL injection
  2. Exploitation: Crafted SQL payloads were injected to extract data from the backend MySQL database
  3. Extraction: The attacker was able to dump the entire user credentials table, including 32 million email/password pairs
  4. No obstacles: Because passwords were stored in plaintext, no cracking or decryption was required — the raw passwords were immediately usable

Password Storage: Complete Failure

RockYou's password storage represented the worst possible implementation:

  • No hashing: Passwords were not processed through any hash function (not MD5, not SHA-1, nothing)
  • No salting: Without hashing, salting was moot, but the absence is notable
  • No encryption: Passwords were not encrypted at rest in the database
  • Plaintext storage: Passwords were stored as raw strings in a MySQL database column

For context, at the time of the breach:

  • bcrypt had been available since 1999
  • PBKDF2 had been standardized since 2000
  • MD5 (while flawed) would have at least required cracking effort
  • Industry guidance from OWASP and NIST explicitly recommended salted hashing

The RockYou Wordlist

The leaked passwords were compiled into a wordlist file:

  • Original entries: 32,603,388 passwords
  • Unique entries: 14,344,391 unique passwords (after deduplication)
  • File size: ~134 MB (compressed: ~53 MB)
  • Format: One password per line, sorted by frequency
  • Location in Kali Linux: /usr/share/wordlists/rockyou.txt.gz

The wordlist is used in:

  • Dictionary attacks: Testing whether users have chosen known-weak passwords
  • Rule-based attacks: Applying mutation rules (capitalization, leetspeak, appended numbers) to the base wordlist
  • Password auditing: Organizations test their own password databases against the list to identify weak passwords
  • Security research: Academic studies on password strength and user behavior

Derivatives

  • RockYou2021: 8.4 billion entries compiled from multiple breaches (named as a tribute to the original)
  • RockYou2024: 9.9 billion entries — the largest password compilation to date
  • Various filtered and specialized subsets for specific attack scenarios

Frequently Asked Questions

What was the RockYou breach?

RockYou was a social gaming and widget platform that developed applications for MySpace, Facebook, and other social networks. In December 2009, a security researcher discovered a SQL injection vulnerability that exposed the company's entire user database of 32 million accounts. The critical finding was that all passwords were stored in plaintext — no hashing or encryption was applied.

Why is the RockYou wordlist so important?

The RockYou wordlist is the most widely used password dictionary in cybersecurity. Compiled from the 32 million plaintext passwords leaked in the breach, it contains 14.3 million unique real-world passwords. It is included by default in Kali Linux, used in penetration testing, security audits, CTF competitions, and academic research. It provides the most comprehensive snapshot of real human password choices ever made publicly available.

Were the passwords really stored in plaintext?

Yes. RockYou stored all 32 million passwords as unencrypted, unhashed plain text strings in their MySQL database. This means anyone with database access — whether an attacker or a rogue employee — could read every user's password directly. This was a violation of security best practices that had been established years before the breach.

What happened to RockYou after the breach?

The FTC filed a complaint against RockYou for deceptive security practices. In 2012, the FTC finalized a consent decree requiring RockYou to implement a comprehensive information security program and undergo regular third-party security audits for 20 years. RockYou eventually ceased operations as a company around 2016.

What are RockYou2021 and RockYou2024?

These are massive password compilations named in homage to the original RockYou wordlist. RockYou2021 contains 8.4 billion password entries compiled from numerous breaches, and RockYou2024 contains 9.9 billion entries. Despite the name, they are not from the original RockYou breach but rather aggregations of passwords from many sources over many years.

What should users who had RockYou accounts do?

RockYou is no longer operational, so there is no account to secure. However, users should ensure they are not reusing the same password they had on RockYou on any other service. Since the passwords are in a widely distributed wordlist, any reused password is effectively public knowledge and will be tested in credential stuffing attacks.

Back to Breach Database
Breach data sourced from Wikipedia: List of data breaches, licensed under CC BY-SA 3.0.

Protect Your Organization From Data Breaches

Our security experts can help you identify vulnerabilities and strengthen your defenses.