Research Lab
Twitter (X) hacks: the big incidents and how to secure your account
Twitter's most famous hack, in July 2020, didn't involve breaking any encryption. Attackers talked employees into handing over access. For your own account, the main risks are phishing and SIM swapping, and the fix is strong two-factor login.
The July 2020 bitcoin scam hack
On July 15, 2020, verified accounts belonging to well-known people and companies, including politicians, executives and celebrities, posted messages promising to double any bitcoin sent to an address. Twitter later said the attackers targeted about 130 accounts, tweeted from 45, reached the direct messages of up to 36, and downloaded data from 7.
Twitter said the attackers used a phone spear-phishing attack on a small number of employees to get their credentials and reach internal account-management tools. In other words, they tricked people, not software.
Who was prosecuted
| Person | Outcome |
|---|---|
| Graham Ivan Clark (Florida) | Charged by Florida prosecutors; pleaded guilty in March 2021 and was sentenced as a youthful offender to three years in prison, followed by probation |
| Mason Sheppard (UK) and Nima Fazeli (Florida) | Charged by US federal prosecutors in July 2020 with roles in the scheme |
| Joseph James O’Connor, "PlugwalkJoe" (UK) | Extradited from Spain; pleaded guilty and was sentenced in June 2023 to five years in federal prison for the Twitter hack and other cybercrimes |
Clark, who was 17 at the time of the hack, was described by prosecutors as its leader. Because he was sentenced as a youthful offender, he avoided a longer adult sentence. O’Connor was also ordered to forfeit about $794,000.
The 2022 API leak of 5.4 million accounts
In January 2022 Twitter received a report through its bug bounty program about a flaw in its API, the interface apps use to talk to Twitter. The flaw let anyone who submitted an email address or phone number find out which Twitter account it belonged to, even if the user had hidden that in their privacy settings. Twitter fixed it, but attackers had already used it.
In July 2022 a dataset of about 5.4 million account profiles built with the flaw was offered for sale on a hacking forum, and later released for free. In December 2022 Twitter confirmed that the leaked data matched the vulnerability it had fixed. The main danger was to pseudonymous accounts, since the leak could link them to a real email address or phone number.
In January 2023 Twitter said a separate, larger set of about 200 million email addresses circulating online could not be linked to a new breach of its systems and appeared to be a collection of data already public.
The FTC case over phone numbers (2022)
In May 2022 the FTC said Twitter had used phone numbers and email addresses that people gave it for account security, such as two-factor login, to target ads. Twitter agreed to pay a $150 million penalty and to stop using that data for ads. It is a useful reminder that a phone number given for security can be used in other ways.
How X accounts get taken over today
- Phishing, including fake "copyright violation," "verification" or "account suspended" messages that lead to a fake login page.
- Reused passwords leaked from other sites.
- SIM swapping, so login codes sent by text go to the attacker.
- Malicious third-party apps you have given access to your account.
How to protect your X account
- Use a unique password Store it in a password manager.
- Turn on two-factor authentication with an app or security key Since 2023, X has limited text-message two-factor login to paid subscribers. Authenticator apps and security keys are available to everyone and are safer against SIM swapping.
- Turn on password reset protection So that resetting your password requires your email address or phone number.
- Review connected apps and sessions Remove apps you don't use and log out of sessions you don't recognize.
- Ignore urgent messages about your account Go to the app or site yourself instead of clicking links in emails or DMs.
See also Facebook account security, WhatsApp security and our George Hotz profile, which covers his brief 2022 Twitter internship.
Questions people ask
Who hacked Twitter in 2020?
Prosecutors said the scheme was led by Graham Ivan Clark, then 17, of Florida. Others charged included Mason Sheppard, Nima Fazeli and Joseph James O’Connor, who was sentenced to five years in federal prison in 2023.
How did the 2020 Twitter hackers get in?
Twitter said they used a phone spear-phishing attack to get employees' credentials and reach internal tools.
Was my account in the 2022 Twitter leak?
About 5.4 million profiles were in the leaked set. Breach-checking services such as Have I Been Pwned list email addresses from it.
Is SMS two-factor still available on X?
Since 2023, X has offered text-message two-factor login only to paid subscribers. Authenticator apps and security keys are available to all users.
Sources
- Twitter: An update on our security incident (July 2020) (blog.x.com) · read November 13, 2026
- US Attorney NDCA: Three individuals charged for alleged roles in Twitter hack (2020) (justice.gov) · read November 13, 2026
- The Record: Teenage Twitter hacker pleads guilty, will serve 3 years in prison (2021) (therecord.media) · read November 13, 2026
- US Attorney NDCA: U.K. citizen sentenced to five years for cybercrime offenses (2023) (justice.gov) · read November 13, 2026
- Twitter Privacy Center: An update about an alleged incident impacting some accounts on Twitter (2022) (privacy.x.com) · read November 13, 2026
- BleepingComputer: Twitter confirms recent user data leak is from August breach (2022) (bleepingcomputer.com) · read November 13, 2026
- X Privacy Center: Update about an alleged incident regarding Twitter user data being sold online (2023) (privacy.x.com) · read November 13, 2026
- FTC: FTC Charges Twitter with Deceptively Using Account Security Data to Sell Targeted Ads (2022) (ftc.gov) · read November 13, 2026
- X: An update on two-factor authentication using SMS on Twitter (2023) (blog.x.com) · read November 13, 2026
- X Help Center: How to use two-factor authentication (help.x.com) · read November 13, 2026