How attackers bypassed Gmail 2FA with app passwords, and how to protect yourself

In a highly targeted campaign, Russian APT group APT29 tricked victims into creating Google App Passwords, allowing hackers to bypass Gmail’s 2FA security and gain long-term access to emails. Learn how this cyberattack unfolded, the dangers of app passwords, and expert tips to secure your account in 2026.

Jun 23, 2025 - 10:26
Updated: 1 month ago
105.3k
How attackers bypassed Gmail 2FA with app passwords, and how to protect yourself

Quick answer: In a campaign reported by Google's threat intelligence team in June 2025, attackers built rapport with targets, then persuaded them to create a Google app-specific password and share it. App passwords sign in without a second factor, so the attacker gained mailbox access. Defences: avoid app passwords, enrol high-risk accounts in Advanced Protection, and verify unusual requests.

Key takeaways

  • App-specific passwords let legacy apps sign in without a second factor, so tricking someone into sharing one bypasses 2-step verification.
  • Google's threat intelligence team reported the campaign in June 2025; attribution to APT29 was low-confidence overlap, so read the primary report.
  • The attack was social engineering, not a flaw in Gmail.
  • High-risk users should use Google's Advanced Protection Program.
  • Never create or share an app password because someone asks.

What happened?

In June 2025 Google's threat intelligence team described a targeted phishing campaign that they tracked as a separate cluster and linked, with low confidence, to activity associated with Russian state-backed actors, including the group known as APT29. The targets were reported to be prominent academics and critics of Russia. Read the primary report on the Google Cloud threat intelligence blog. Details below follow that reporting. The editor should check them against the report itself.

How did the attack work?

It was patient social engineering, not a software exploit.

  1. The attacker contacted the target while posing as an official, building trust over several messages.
  2. The message invited the target to a private discussion and included a believable reason to set up a special access step.
  3. The target was guided to create an app-specific password in their Google account and send it to the attacker.
  4. The attacker then used that password to sign in to the target's mailbox, and could read mail without a one-time code.

What is an app-specific password?

It is a 16-character password that lets an older app or device that cannot handle modern 2-step verification sign in to your account. It works instead of your normal password and does not ask for a second factor. That makes it useful for legacy software and dangerous if a criminal gets it.

Was this a Gmail vulnerability?

No. The service worked as designed. The attacker persuaded the user to hand over a credential that is meant to bypass the second step. This is why technical controls alone do not stop skilled social engineering.

How do you protect yourself?

  1. Do not create an app password at anyone's request, especially not to "join a secure meeting" or "view a document".
  2. Check whether you need app passwords at all. Most modern apps use sign-in with Google. Revoke unused app passwords in your Google Account security page.
  3. Enrol high-risk accounts in Google's Advanced Protection Program, which uses security keys or passkeys and does not allow this kind of access.
  4. Use passkeys or hardware keys for important accounts.
  5. Verify by another channel when a stranger or an unexpected official asks you to set something up.
  6. Review account activity and signed-in devices regularly.

What should organisations do?

  • Let Workspace admins restrict app passwords where policy allows.
  • Train high-risk staff, such as executives, journalists and researchers, on this specific pattern.
  • Alert on new app-password creation and unusual sign-ins.
  • Have a clear reporting path. See github device-code phishing for a similar consent-abuse pattern.

What does it teach?

Attackers choose the easiest route to a human. A good second factor can be bypassed if the process offers a side door. The related post on bypassing 2FA through OAuth misconfiguration shows another side door.

Next steps

To study how analysts investigate and respond to account takeover, see our SOC analyst course. For a related consent-abuse case, read GitHub device-code phishing explained.

Related reading

Frequently Asked Questions

It is a 16-character password that lets an older app or device sign in to your Google account without 2-step verification prompts. Because it skips the second factor, it should be treated like a master key and rarely used.

They built trust with targets by posing as officials, then persuaded them to create an app-specific password and send it. The attacker could then sign in to the mailbox without needing a one-time code.

No. Reports describe it as social engineering. Gmail worked as designed. The attacker tricked users into handing over a credential that is intended to bypass the second step.

Google's report linked the campaign to the cluster with low confidence and noted overlap with activity associated with Russian state-backed actors. Attribution is an assessment, so read the primary report before repeating it.

Never create an app password because someone asks, revoke unused ones, use passkeys or security keys, and enrol high-risk accounts in Advanced Protection. Verify unusual requests through another channel.

It is a stronger protection mode for high-risk users that requires security keys or passkeys and restricts risky access. It is designed for people such as journalists, activists and researchers who are likely targets.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.