If someone gets into your email account, changing the password should happen immediately. But once that’s done, the account still needs a full check because other forms of access may remain.
Changing a password will block someone from signing in with the old one – but that doesn’t help if they don’t have to go through the login process to access your account.
What many people don’t realise, is that there could still be an active session, a forwarding rule, access through a connected app, mailbox permissions, or an accessible recovery method that can still let hackers in.
Email deserves particular care because it is connected to so many other services. Password-reset messages for accounting software, cloud storage, social media, and other business systems often arrive by email and anyone who can still read the inbox may be able to reach those accounts.
This is why current recovery guidance from Microsoft, Google, and the UK National Cyber Security Centre includes several checks beyond changing the password.
Why a new password might not remove every form of access
Email services use ‘sessions; – so you don’t have to enter your password every time you open a message.
After you sign in, the service gives your browser or email application a cookie or token that confirms the login has already been approved.
The service can continue accepting that session until it expires or is revoked. This means someone who signed in before the password changed may stay connected for a period of time, depending on the provider and the type of session.
The providers handle password changes differently. Google says that changing a password signs the user out in most places, but it lists exceptions that can include some devices and third-party applications.
Google Workspace administrators also have separate controls for suspending an account and resetting its sign-in cookies. Microsoft takes a similar approach for business accounts. Its guidance tells administrators to disable the affected account during the investigation and revoke active sessions separately.
The password change also leaves mailbox settings in place. A forwarding rule, delegate, or recovery method added while the account was compromised will remain until someone finds and removes it.
During the time they had access, attackers can have created any of these, or approved a connected app, added a sign-in method, or granted access to another account. They may also have a browser or email app that’s still signed in.
An existing session may still work
An active session is one of the first things your IT provider should check.
If the attacker signed in through a browser or email application, that session may still hold a valid token.
Malware on an employee’s computer can also steal a session cookie and send it to someone else and a stolen cookie can allow the attacker to use a session that has already passed the normal login checks. In that situation, they may not need to enter the new password.
The administrator should use the email provider’s tools to revoke the account’s active sessions and tokens. The exact name of the control varies between services. It may appear as “revoke sessions,” “reset sign-in cookies,” “sign out everywhere,” or “log out of all devices.”
If malware might be present on the employee’s computer, use another device to begin the recovery process and the affected computer needs to be checked before the employee signs in again.
Forwarding rules can keep sending out your email
After closing the active sessions, check what was changed inside the mailbox. An attacker can create a forwarding rule that sends a copy of every new email to another address. They might also use a filter that only forwards messages containing certain terms; such as “invoice,” “payment,” “bank,” or “password reset.”
More selective rules are harder to notice because most email continues arriving normally and the attacker only receives the few messages they’re interested in. Rules can also hide activity. For example, a rule may move security warnings, customer replies, or questions about a payment request into a folder the employee rarely checks.
Both Microsoft and Google tell users and administrators to check forwarding settings and mailbox rules after a suspected compromise. Microsoft 365 administrators should perform this check through the administration tools, not just from the employee’s Outlook settings. Microsoft specifically recommends reviewing all inbox rules, including hidden ones.
A connected app might have permission to read the mailbox
Forwarding rules are one way to keep receiving email but a connected application provides another. Businesses commonly connect email accounts to scheduling tools, customer management systems, mobile email apps, document services, and browser extensions. These connections often use OAuth.
When a user approves an OAuth request, the application receives permission to access certain parts of the account and doesn’t need to store the user’s password. Attackers can misuse this process by creating an application that looks genuine and asking the user to approve it.
Microsoft explains that a harmful app consent grant can provide access to email, files, contacts, and forwarding rules.
Some app connections may stop after a password reset, while others need to be removed separately. Review every application connected to the account and remove anything the business does not recognise, use, or approve. An application’s name and logo do not confirm who created it. Your administrator should check the company behind it and the exact permissions it received.
Someone else might have mailbox permissions
Business email platforms allow one person to access another person’s mailbox. An executive may give an assistant access, for example, or several employees may work through a shared mailbox.
This type of access is called delegation. A delegate signs in with their own account, so changing the mailbox owner’s password won’t automatically remove the delegate.
Exchange Online supports Full Access, Send As, and Send on Behalf permissions. Gmail also supports delegated mailbox access.
Check every person and group with access to the mailbox. Confirm why they need it and remove any permission that the account owner or administrator can’t explain.
Sending permissions need attention too. Someone with “Send As” access may be able to send messages that appear to come directly from the mailbox, even if they can’t read its contents.
Check recovery and sign-in methods
An attacker may have added a phone number, recovery email address, authenticator app, passkey, or security key whilst they controlled the account.
A recovery methods could help them regain access later. An authentication method might also allow them to approve another sign-in without knowing the new password.
Microsoft tells administrators responding to a compromised mailbox to review the user’s registered Multi Factor Authorisation (MFA) devices and remove anything suspicious. Google also advises users to check recovery details, recent security activity, devices, and sign-in methods.
Compare every entry with the account owner and remove anything that neither the employee nor the administrator recognises.
How to secure a compromised email account
Some of the settings involved are only visible through the business administration tools. If you can’t sort it onsite, contact your IT provider or email administrator rather than asking the employee to handle the entire clean-up from their inbox.
Things to do:
Disable or suspend the account
The administrator can temporarily disable or suspend the account while checking it. They should also revoke active sessions and tokens, so the attacker is signed out.
The employee may lose access for a short time, but leaving the account active gives the attacker more time to read, send, or delete email.
Change the password
Set a password that hasn’t been used for another account. If the employee reused the old password elsewhere, those accounts need new passwords too.
Don’t send the new password to the affected mailbox. Use a phone call, an approved password manager, or another method your organisation trusts.
Some older applications use separate app passwords. Microsoft’s current guidance notes that these are not automatically revoked when the main password changes, so your administrator should remove or replace them if they’re present.
Review the mailbox and account settings
Check forwarding addresses, inbox rules, filters, blocked addresses, delegates, sending permissions, signatures, automatic replies, and connected applications. Then review the registered devices, phone numbers, recovery addresses, authenticator apps, passkeys, and security keys. POP and IMAP access should also be checked.
Some businesses still use these settings for approved email applications, so confirm how the account is used before disabling them.
Find out what happened
Once access has been removed, work out what the attacker did while they were inside.
Check the Sent, Deleted, Drafts, Junk, and Archive folders. Look for messages the employee didn’t write, replies they didn’t see, password-reset emails, and changes to payment instructions.
The administrator should review sign-in logs, audit records, email traces, and security alerts. Start the search before the first known warning because the original compromise may have happened earlier.
A login from an unfamiliar location does not prove that someone else used the account as mobile networks, VPNs, and internet providers can affect location data. The device, time, IP address, application, and activity around the login provide more useful context when considered together.
Contact anyone who might have received a fraudulent message
If the account sent false messages, contact the recipients through a trusted channel. Tell them which messages weren’t genuine and whether they need to change a password, delete a file, or ignore a payment request.
Pay particular attention to messages involving bank details, invoices, payroll, gift cards, or password resets. If money may have been sent to the wrong account, contact the bank or payment provider immediately but use a phone number from its official website or your existing records rather than one found in an email conversation.
Secure the account before returning it to the employee
Once the unknown access, settings, and permissions have been removed, the administrator can return the account to the employee.
Require MFA before the employee signs in again. Where the email platform supports them, passkeys and physical security keys provide better protection against phishing than codes that can be entered into a fake login page.
MFA helps prevent another login with a stolen password but the earlier checks are still required because MFA doesn’t remove existing forwarding rules, delegates, connected apps, or recovery methods.
How to reduce the risk of another compromise
Ask your tea or IT provider to block automatic forwarding to outside addresses unless your business has a reason to allow it. Microsoft 365 and Google Workspace also provide controls for limiting which third-party applications employees can connect.
Require MFA for every email account, especially administrators and employees who handle payments or sensitive information. Use passkeys or physical security keys where the platform supports them.
Train employees too. Staff should report any unexpected MFA prompts, unfamiliar login alerts, mailbox changes, and messages sent from their account they don’t recognise as soon as they appear.
Sources and further reading
Microsoft: Respond to a compromised email account in Microsoft 365
Microsoft: App consent grant investigation
Google Workspace: Identify and secure compromised accounts
UK National Cyber Security Centre: Hacked accounts
If you think someone still has access to your business email, contact your IT provider immediately.
If you’d like some support
If you need further advice, more information, or could just do with a little help, get in touch.
You can reach us on 01223 903 800, [email protected], or book a time for a call online with our top techs at: https://calendly.com/hello-gsl/mtg-25min.
We’re here to help.
Article used with permission from The Technology Press.