Short answer: Do the whole list from a device you trust. Change the password. Turn on two-factor authentication. Sign out other sessions. Check mail forwarding and the recovery options. Tell contacts if someone may be impersonating you.
Microsoft’s account-recovery page puts a scan first for a reason. Clear malware off the computer before you change the password. A program on that machine can capture the new one as you type it. If you are not sure the computer in front of you is clean, use another device, or run the full scan Microsoft describes before you type the new password. The steps below assume that device.
If you cannot sign in at all, use the provider’s account-recovery page. Google’s help page sends you there when someone else has changed the password or the recovery phone, or when the account will not let you in. Open that page yourself. CISA’s phishing guidance is not to trust the link, the phone number, or the address printed on the message you are doubting.
The sequence
1. Change the password
Google’s page for a hacked account says to change the password immediately if you think someone else is signed in. Change it on that account, and change it anywhere you used the same password: other sites, accounts that write to you at that address, and accounts where you sign in with that address. The UK National Cyber Security Centre makes the same point. People try a stolen password on other accounts, because reuse is common.
Type the new password on the provider’s own site, the one you opened yourself. Do not follow a reset link from the message that made you suspicious. CISA’s instruction for a doubtful request is to use contact information you already had.
2. Turn on two-factor authentication
Google tells you to turn on 2-Step Verification after a compromise. You sign in with something you know, the password, and something you have, such as your phone, a security key, or a set of printed codes. A stolen password is then not enough.
3. Sign out other sessions
Google tells you to open the list of devices on the account and sign out of any device you do not recognize.
Microsoft has a single control, “Sign out everywhere,” on the account security page. Microsoft says the sign-out can take up to 24 hours, and that it signs you out of browsers and apps. The same page says it does not sign out an Xbox console. If you use one, sign that out separately. Do not assume the button finished the moment you pressed it.
4. Check mail forwarding and recovery options
A forwarding rule can keep a copy of your mail after the password changes. CISA’s incident guidance says people who have taken over a mailbox add auto-forward rules for that reason: to keep collecting mail, or to keep a way back in, after the credentials are reset. Google tells you to remove Gmail labels, filters, and forwarding you did not set up. The National Cyber Security Centre says to check filters and forwarding because a hidden copy of the mail can be used to reset passwords again.
Look at the recovery address and the recovery phone in the same pass. Google lists a changed recovery phone among the signs that someone else has the account. Remove a number or an address you did not add. A recovery option you do not control is another way in, even after the password is new.
5. Tell contacts if someone may be impersonating you
The National Cyber Security Centre says to tell friends, followers, and other people who hear from the account. Say that it was taken over, and ask them to treat recent messages from it with suspicion. Do that from a channel you still control, not from the account while you are unsure the session is yours alone.
If the account holds bank details, or documents such as tax or passport information, or you think someone is using your identity, Google says to contact your bank or local authorities. That is a separate call from the note to friends. It matters when the account was a store of money or of identity documents, not only of mail.
Sources
- Microsoft Support, How to recover a hacked or compromised Microsoft account: scan the PC for malware before you change the password, then change the password and review forwarding.https://support.microsoft.com/en-us/accounts-billing/manage/how-to-recover-a-hacked-or-compromised-microsoft-account
- Microsoft Support, How to sign out of your Microsoft account everywhere: the control can take up to 24 hours and does not sign out an Xbox console.https://support.microsoft.com/en-us/accounts-billing/manage/how-to-sign-out-of-your-microsoft-account-everywhere
- Google Account Help, Secure a hacked or compromised Google Account: change the password, including where it was reused; turn on 2-Step Verification; review devices; remove forwarding you did not set up; contact a bank or local authorities if someone may be impersonating you.https://support.google.com/accounts/answer/6294825
- UK National Cyber Security Centre, Recovering a hacked account: check forwarding, change reused passwords, and tell contacts to treat recent messages with suspicion.https://www.ncsc.gov.uk/guidance/recovering-a-hacked-account
- CISA, countermeasure CM0082, suspicious email forwarding rules: a forwarding rule can keep collecting mail after a password reset.https://www.cisa.gov/eviction-strategies-tool/info-countermeasures/CM0082
- CISA, Avoiding Social Engineering and Phishing Attacks (1 February 2021): confirm a request through contact information you already had, not through the message you are doubting.https://www.cisa.gov/news-events/news/avoiding-social-engineering-and-phishing-attacks