Changed the Password After a Hack? The Hacker May Still Be in Your Email

Changing the password after a hacked email doesn't always lock the hacker out. Check sessions, forwarding rules and app access. Plain-English steps.

2026-12-03 · Chris Coulson

Changed the password? They may still be in. A new green padlock on a door, next to an open window with a key hanging on the latch.

Here's how it often goes. Someone on your team clicks a fake sign-in page. A day later, customers say they got strange emails. You call your IT person, the password gets changed, and everybody takes a deep breath.

Then a week later the strange emails start again.

That's not bad luck. A new password locks the front door. But if the hacker already slipped something else in while they were inside, they can come right back through a side door. Here are the places to check, in plain English, and what to do about each one.

Why doesn't a new password lock the hacker out?

Because a password is only one way into a mailbox. Microsoft's own clean-up guide for a hacked Microsoft 365 email account lists several separate steps, because attackers use "known methods that might allow the attacker to maintain persistence and regain control of the account later." In other words, they leave themselves a way back.

A new password closes one door. These can stay open: signed-in sessions, forwarding and inbox rules, app access, added sign-in methods, and app passwords.
A password reset fixes one door. These five can stay open if nobody checks them.

1. Signed-in sessions

When you sign in to Microsoft 365, your phone or laptop gets a pass that keeps it signed in, so you don't type your password every ten minutes. Microsoft says its sign-in passes last one hour by default, and apps can quietly get a fresh one without asking you again. Some web apps also keep their own sign-in, which Microsoft can't cancel for them.

So when the password changes, a device that was already signed in doesn't always notice right away. That's why Microsoft's guide has a separate step called revoking sessions. It signs the account out everywhere and cancels those quiet "stay signed in" passes.

2. Forwarding and inbox rules

This is the most common leftover. A hacker creates a rule inside the mailbox, like "send a copy of anything with the word invoice to this outside address," or "move replies from our bookkeeper into a folder nobody checks."

A rule lives in the mailbox. It doesn't care what the password is. Microsoft lists these as warning signs of a hacked account: rules that forward email to unknown addresses, rules that move messages to the Notes, Junk Email or RSS Subscriptions folders, and recently added external forwarding.

An example of a sneaky inbox rule (made-up illustration, not a real screenshot): a rule named Cleanup forwards messages containing invoice, payment or wire to an unknown outside address and moves them to the RSS Subscriptions folder. Red flags are listed beside it.
A made-up example of what a sneaky rule can look like. Not a real screenshot.

Two things worth knowing. Some rules are hidden from the normal list, so your IT person has to check with admin tools. And Microsoft lets admins block automatic forwarding to outside addresses for the whole company, which is worth turning on if nobody legitimately needs it.

3. App access (the "Allow" button)

You've seen the pop-up: "This app wants to read your mail. Allow?" Attackers build fake apps with innocent names, then trick someone into clicking Allow. Microsoft calls this an illicit consent grant.

Once someone clicks Allow, that app can reach the person's data without needing their password at all. Microsoft is blunt about it: "Normal remediation steps (for example, resetting passwords or requiring multifactor authentication (MFA)) aren't effective against this type of attack, because these apps are external to the organization."

The fix is to find the app and remove its access. Your IT person can review which apps each user has allowed. Staff can also look at their own at myapps.microsoft.com and remove anything they don't recognize.

4. Sign-in methods the hacker added

If a hacker gets into an account, they may add their own phone number or authenticator app so they can approve future sign-ins. Microsoft's guide says to review the account's registered sign-in methods and remove any you don't recognize.

5. App passwords

Some older programs can't use the normal sign-in, so the account has a special "app password" for them. Microsoft says plainly that app passwords aren't automatically revoked when you reset the password. Delete them and create new ones.

How can you tell it might still be going on?

Microsoft lists these signs of a hacked Microsoft 365 mailbox:

If you see any of these after a password change, treat it as still open.

What to do, in order

Hacked email? Do these in order: reset the password, sign out everywhere, check forwarding and rules, check sign-in methods, check app access, check roles and app passwords, and tell the people who got mail.
Seven steps, in order. Call your IT provider first if you aren't sure how.
  1. Reset the password. Make it new and unique. Don't email the new password to the user, because the hacker may still be reading that mailbox. That's Microsoft's advice too.
  2. Sign the account out everywhere. Ask your IT person to revoke all sessions for the user.
  3. Check forwarding and inbox rules. Remove anything the user didn't create, including hidden rules.
  4. Check the sign-in methods. Remove phones or apps nobody recognizes. Turn on MFA if it isn't on yet. Microsoft calls it essential for admin accounts.
  5. Check app access. Remove apps nobody should have allowed.
  6. Check admin roles and app passwords. Remove any role the user shouldn't have, and replace old app passwords.
  7. Tell the people who got the fake emails. If the hacker sent mail from that account, call your customers and vendors, and use a phone number you already have. Never use a number from the email. If a fake invoice or a change of bank details is involved, our guide on vendor bank-change scams covers the phone-check rule, and this guide on email spoofing explains how to tell a hacked mailbox from a faked sender.

Microsoft also says that disabling the account while you investigate is the preferred approach, and resetting the password is the next best step if you can't disable it. If you're not sure what's been touched, disable first and investigate second.

For your IT lead: the three checks

These come straight from Microsoft's documentation. Replace the placeholder with the user's address.

# 1. Sign the user out everywhere (revoke sessions and refresh tokens)
Connect-MgGraph -Scopes User.RevokeSessions.All
Revoke-MgUserSignInSession -UserId <UPN>

# 2. Check forwarding set on the mailbox
Get-Mailbox -Identity <UPN> | Format-List Forwarding*Address,DeliverTo*

# 3. List every inbox rule, including hidden ones
Get-InboxRule -Mailbox <UPN> -IncludeHidden | Format-List Name,Enabled,RedirectTo,Forward*,Identity

For app access, open the Microsoft Entra admin center, go to Users, select the person, and open Applications. Microsoft's illicit consent guide also recommends reviewing consent grants regularly in larger organizations, and notes that the audit log needs auditing turned on before an incident to show what happened afterward.

Questions owners ask

I changed my email password after being hacked. Am I safe?

Not necessarily. A new password doesn't remove forwarding rules, apps the user already allowed, or sign-in methods the hacker added, and it doesn't always end sessions that were already signed in. Check each one, or have your IT provider do it.

How do I sign out all sessions in Microsoft 365?

An admin can open the user in the Microsoft Entra admin center and select Revoke sessions, or run Microsoft's Revoke-MgUserSignInSession command. Microsoft notes some apps take a little time to catch up.

How do I find a hidden forwarding rule?

Your IT person can list every inbox rule, including hidden ones, with admin tools. They should also check the mailbox's own forwarding setting, which is separate from inbox rules.

Does multi-factor sign-in stop all of this?

It helps a lot, and Microsoft recommends it, but it doesn't undo an app the user already allowed or a rule already created. Microsoft says MFA isn't effective against illicit consent grants.

Should I disable the account first?

Microsoft says disabling the affected account during the investigation is preferred. If you can't, reset the password and work through the other steps right away.

Not sure it's really fixed?

If you've had a hacked mailbox and you're not sure everything was cleaned up, let's talk.

At Coulson Technologies, we manage and protect our clients from phishing and scams. We keep their networks running and take care of the tech so they don't have to.

We work with businesses across York, Lancaster, Harrisburg and South Central PA. More on our cybersecurity and Microsoft 365 support.

Sources

Coulson Technologies. Improving the way you work.