Blog/How-to guides

How to Investigate a Compromised Google Workspace Account

A timed runbook for a hijacked Workspace account: contain with suspend, read the user and OAuth log events, find the hidden filters, then restore access safely.

CyberWatch AI24 November 2026 · 6 min read
A person sitting at a desk late in the evening looking at two computer monitors showing text

The call usually comes in as something small. A supplier says they received an odd payment request. Someone cannot find an email they definitely received. A customer replies to a thread nobody in your company started. By the time you hear about it, the attacker has normally been in the mailbox for days and has already done the three things that matter: read enough to understand your invoicing, set a filter so the replies never reach the real owner, and granted an application access so a password change does not evict them.

This is the runbook for that. It is ordered by time rather than by topic, because the first ten minutes genuinely decide how much of the rest you can do.

First ten minutes: contain

Resist the urge to investigate first. You cannot read a crime scene the attacker is still editing.

  1. Suspend the account. Go to Menu > Directory > Users, open the person, and suspend them. This matters more than a password reset, because suspending a user resets their sign-in cookies and OAuth tokens. A stolen session cookie survives a password change; it does not survive this.
  2. Tell the account owner, by phone. Not by email to the mailbox you are investigating. Ask them to stop using the account and to write down, while it is fresh, what they clicked, when, and what the page looked like.
  3. Start a written timeline. One document, in a place the compromised account cannot reach. Every entry gets a timestamp with a time zone. This document is the thing you will be grateful for in three days, and it is what any insurer, regulator or client will eventually ask to see.
  4. If the user signs in through a third-party identity provider, end their session there too before you reset cookies in Workspace, otherwise the provider will hand them straight back in.
  5. If the account held an admin role, remove it now and tell your other super admin what is happening.

One thing you deliberately do not do yet: delete anything. Our guidance on preserving evidence explains why the clean-up instinct costs you the investigation.

First hour: establish the window

Everything else depends on one number: when did the attacker first get in? Go to Reporting > Audit and investigation and open User log events.

Filter to the affected account and widen the date range well past the first reported symptom. The log shows successful and unsuccessful web sign-ins, and suspicious sign-ins are flagged with a warning icon. What you are reading for:

  • The first sign-in that does not fit. Unfamiliar country, unfamiliar IP, a device or browser the user does not own, or a time of day the user does not work.
  • Successful sign-ins without a corresponding 2-Step Verification challenge, which points to a stolen session rather than a stolen password.
  • A run of failures followed by a success, which points to credential stuffing or password spraying. Our article on credential stuffing covers that pattern.
  • Concurrent sessions from two places at once, which is often the clearest single piece of evidence you will get.

Write the earliest suspicious sign-in into your timeline and call it the start of the window. Treat everything that happened to that account from that moment onwards as potentially the attacker's work, including things that look like the user's own activity.

First hour: find the persistence

Attackers do not rely on the password they stole. Check all four of the usual footholds.

OAuth grants. In the audit and investigation tool, open OAuth log events and filter to the account and the window. An authorization minutes after the first bad sign-in is persistence, not coincidence. Then open the user's Security page in Directory > Users and look at Connected applications. Remove anything from the window. Be aware this removal is temporary in Google's own words: the user regains access if they sign in to the app again, so block the application in Security > Access and data control > API controls as well. The third-party app access review covers that page in detail.

Application-specific passwords. Same Security page. These bypass the interactive sign-in entirely. Revoke every one you cannot account for.

Mail filters and forwarding. These live in the user's own Gmail settings rather than in the Admin console, which is exactly why they get missed. Either sit with the user or arrange delegated access, then read Settings > See all settings > Filters and Blocked Addresses and Settings > See all settings > Forwarding and POP/IMAP. Look for filters that forward to an outside address, filters that skip the inbox or apply an obscure label, filters that delete mail matching words such as invoice, payment, remittance, bank or the name of your finance system, and any filter with a blank or single-character name. Also check whether POP or IMAP has been switched on. Our article on malicious email rules catalogues the variants.

Linked devices. Review the mobile devices associated with the account and wipe any you do not recognize. A device enrolled during the window is a standing copy of the mailbox.

Same day: work out what they did

Now you can answer the question everyone will ask, which is not "how did they get in" but "what did they see and what did they send".

  1. Email Log Search in the Admin console shows message delivery and transit to and from the account. Search the window for mail sent to external domains, and for anything sent to your finance team or your customers. This is how you find out whether a fraudulent payment request went out under your domain.
  2. Drive log events tell you what was opened, downloaded and shared. Look specifically for new external sharing created during the window.
  3. Groups log events and Calendar log events are worth a glance, because mailing list membership and calendar access are quiet ways to keep reading.
  4. If the account was an administrator, read Admin log events for the whole window. Who performed each task, and from which IP address. New users, new admin role assignments, changed authentication settings, new Gmail routing or compliance rules. Any of those extends the incident beyond one mailbox.

Where the mailbox discussed payments, assume supplier fraud is the goal and warn the counterparties directly, by phone. Business email compromise explains what the attacker is usually working toward and why speed with suppliers matters more than tidiness.

Same day: restore access properly

Order matters here too. Unsuspending first undoes your containment.

  1. Reset the password and set it to require a change at next sign-in.
  2. Reset sign-in cookies from the user's Security page if you have not already. Gmail sessions can take up to an hour to end.
  3. Confirm the app grants and app passwords are gone, and that the attacker's filters and forwarding have been deleted rather than just disabled.
  4. Check and fix the recovery options. Attackers change the recovery phone and recovery email so they can come back later. This is one of the most frequently missed steps.
  5. Enroll the user on a stronger second factor. If this account was protected by SMS codes, that is part of the story. Google's own compromised-account guidance recommends security keys over verification codes. See security keys and moving a team to passkeys.
  6. Unsuspend the account, then have the user work through their own Gmail security checkup: recovery options, unusual activity, missing messages, filters and forwarding.

Need a second opinion on the message that started it? Paste the message or link into CyberWatch AI Scan for a free check.

Within the week: close the gap

One compromised account is a data point about your tenant, not about that person. Three questions are worth answering in writing while the detail is fresh, in the spirit of the NIST incident response guidance on learning from events.

Was 2-Step Verification enforced, and on which method? If the attacker got in with a password alone, enforcement is the fix. If they got in despite a code, the method is the fix. Would you have found this without the supplier's phone call? If not, the alert center and a monthly log review are the fix. And did the attacker reach anything beyond the mailbox, because that answer determines whether this was an account incident or a tenant incident.

Write it up and keep it short. Our template for a post-incident review is deliberately a single page. The wider plan this slots into is in our incident response guide, and the preventive work is in how to secure a Google Workspace tenant.

Frequently asked questions

What is the single first action?

Suspend the account in the Admin console. Suspending a user resets their sign-in cookies and OAuth tokens, which ends live sessions rather than just changing a password the attacker may no longer need.

Why not just reset the password?

A password reset does not end an existing browser session or revoke an app authorization. If the attacker stole a session token or granted themselves an app, they keep access after the reset. Suspend first, then reset, then revoke app grants explicitly.

Where do I look for the sign-ins?

Reporting then Audit and investigation then User log events. It shows successful and unsuccessful web sign-ins for several months, and suspicious sign-ins carry a warning icon. Filter to the account and widen the window to before the first reported symptom.

How do I find a malicious mail filter?

Filters live in the user's own Gmail settings, not in the Admin console, so sit with the user or use delegated access and read Settings then Filters and Blocked Addresses, plus Settings then Forwarding and POP/IMAP. Look for filters that forward externally, skip the inbox, or delete mail matching words like invoice or payment.

How far back should I search?

Further than the first symptom. Start at the earliest unusual sign-in you can find and work forward. User log events cover roughly six months, which is usually enough, but it is a reason to confirm your retention before you need it.

Do I have to tell anyone outside the company?

It depends where you operate and what data was in the mailbox. Decide this early rather than at the end, because notification clocks in several jurisdictions start when you become aware, not when you finish investigating. Put the decision point in your incident response plan.

When is it safe to give the account back?

After you have reset the password, revoked app authorizations and app passwords, removed the attacker's filters and forwarding, checked recovery options, confirmed no unexpected devices are linked, and enrolled the user on a stronger second factor. Unsuspend last, not first.

What if the compromised account was an administrator?

Treat the whole tenant as in scope. Review Admin log events for configuration changes made during the attacker's window, check for new admin role assignments, new users, changed authentication settings and new Gmail routing rules, and have a second super admin verify your findings.

Sources

  1. Identify and secure compromised accounts, Google Workspace Admin Help
  2. Suspend a user temporarily, Google Workspace Admin Help
  3. Manage a user's security settings, Google Workspace Admin Help
  4. User log events, Google Workspace Admin Help
  5. Admin log events, Google Workspace Admin Help
  6. Find messages with Email Log Search, Google Workspace Admin Help
  7. SP 800-61 Rev. 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management, NIST
  8. Steal Web Session Cookie (T1539), MITRE ATT&CK
  9. Email Collection (T1114), MITRE ATT&CK
Share this article
LinkedIn WhatsApp X
For organizations

Your people get these messages at work too.

CyberWatch AI sends your staff realistic practice attacks, trains the gaps it finds, and shows management exactly where the organization stands.