Book a demo →
← All posts

Why a new-country sign-in alone isn't enough

A new-country sign-in alert gives false alarms and misses proxy, stolen-session and device code attacks. Four checks to add, and how AegisAI weighs them.

Why a new-country sign-in alone isn't enough

A new-country sign-in alert catches some account takeovers and misses others, because attackers can sign in from a normal-looking place or reuse a session that already passed MFA. AegisAI reads sign-ins and mailbox activity together for each account.1

Why a new-country sign-in alert gives false alarms

Microsoft ships a "New country" risk detection. It "considers past activity locations to determine new and infrequent locations", and it needs Entra ID P2 and Microsoft Defender for Cloud Apps licensing.2 Google Workspace sends a suspicious login alert to admins for patterns such as a sign-in from an unusual location. Google usually challenges the user first and alerts the admin only if the user fails or abandons the challenge.3

In our reading, both alerts depend on the sign-in's IP address, which is only a guide to place. Google's own log help says that address "might reflect their physical location, but it can be something else like a proxy server or a Virtual Private Network (VPN) address."4 Microsoft's travel detection suppresses cases such as "VPN activities or activity from cloud providers that don't indicate a physical location".5 In our reading, a phone that moves between mobile carrier networks can look like travel too. We found no vendor page that says so.

Real travel adds to the noise. Microsoft's triage steps for atypical travel say to confirm the sign-in as safe when the user recently traveled to the place named, or when the range belongs to a sanctioned VPN.6 Its tuning advice is to add corporate VPN ranges to named locations and keep a known traveler list.6

In our reading, each exception also widens the set of places where a real intruder goes unnoticed.

How attackers get a normal-looking location

Three routes make the location look ordinary.

  • A residential proxy. The FBI warns that criminals can use residential proxies to "login to accounts using stolen credentials without triggering geolocation-based alerts". Its example is a bank account, where a criminal picks a proxy address "in the same city as the victim".7 In our reading, the same trick works on a mailbox. Microsoft reports that the actor behind one device code campaign used "proxies that are regionally appropriate for the targets".8
  • A stolen session. In an adversary-in-the-middle phishing attack, attackers "deploy a proxy server between a target user and the website" and steal the password and the session cookie. They can then "inject it into their browser to skip the authentication process".9 MITRE notes that a stolen web session cookie "bypasses some multi-factor authentication protocols since the session is already authenticated."10 In our reading, the attacker's requests ride on a session that already exists, so a rule that waits for a new sign-in from a new place may not fire. Read how Mirage2FA steals Microsoft 365 sessions after MFA clears for one case.
  • Device code phishing. The attacker "generates a legitimate device code request and tricks the target into entering it", which gives the attacker access and refresh tokens and access to "email or cloud storage".8 In our reading, the user completes the sign-in from their own device in their own city, so the location looks right. Read how a device code phishing kit defeated MFA without breaking it.

Microsoft's anomalous token detection adds a second look. It flags "a token played from an unfamiliar location", but Microsoft says some sessions it flags at low and medium risk are false positives.2

Where location alerts do not look

Check what a new-country sign-in alert covers before you rely on it. Microsoft's Defender for Cloud Apps documentation says its impossible travel and infrequent country alerts "don't apply on failed logins and non-interactive logins."5 Microsoft says an unfamiliar sign-in properties detection on a non-interactive sign-in "deserves increased scrutiny due to the risk of token replay attacks."2

The Entra sign-in logs keep non-interactive user sign-ins as their own type.11 If you review only the interactive tab, you can miss the sign-ins an attacker makes with a stolen token.

What to check together with the sign-in

Microsoft's list of signs of a compromised account includes suspicious inbox rules, recently added external forwarding and suspicious messages in Sent Items.12

SignalWhere to find itWhat it adds
The sign-in itself, with its typeMicrosoft Entra admin center > Entra ID > Monitoring & health > Sign-in logs, including non-interactive sign-ins.11 Google: Admin console > Menu > Reporting > Audit and investigation > User log events, which has an "Is suspicious" attribute.13The IP address, the app and whether a person was present
New inbox rules and forwardingExchange Online PowerShell: Get-InboxRule -Mailbox <Identity> -IncludeHidden and Get-Mailbox -Identity <Identity> | Format-List Forwarding*Address,DeliverTo*.12 Google: User log events, "Email forwarding address" attribute.13Whether replies are being hidden or copied out
MFA method changesMicrosoft: review the user's MFA registered devices and remove unrecognized methods.12 Google: User log events cover 2-Step Verification enrollment.13Whether the intruder added a way back in
New OAuth grantsMicrosoft: review the applications with user consent and revoke any that should not be allowed.12 Google: Admin console > Menu > Reporting > Audit and investigation > OAuth log events, which records each time a third-party app is authorized.4Which apps can reach the account, and when they were added
What the mailbox sendsThe Sent Items and Deleted Items folders of the account.12 The Google equivalent is unverified.A change in who the account writes to, and what it asks

For the forwarding side, read how to find malicious forwarding rules. For a mailbox that is already taken over, read how to spot a hijacked mailbox when MFA did not stop the attacker.

A five-step check for a sign-in you cannot explain

  1. Read the sign-in in context. Open Sign-in logs in the Entra admin center, filter to the user, and read the interactive and non-interactive tabs. In Google Workspace, use User log events. Ask the user whether they remember signing in, as Google advises.3
  2. Revoke the sessions, then reset the password. Microsoft's compromised account guide revokes "all active sign-in sessions" and refresh tokens with Microsoft Graph.12 Google advises resetting the password of any account with suspicious activity.3 This cuts off a stolen session before you look further.
  3. List the inbox rules and forwarding. Run the two PowerShell commands in the table. A rule that moves or deletes mail, or an external forwarding address the user did not set, is a sign of a compromised account.12
  4. Review MFA methods and remove any unrecognized method. Do it in the user's authentication options in Entra ID. Microsoft's guide says to remove unrecognized MFA methods to secure the account.12
  5. Revoke app consent that should not exist. Review the applications with user consent for the account and revoke the ones nobody approved.12 In Google Workspace, check OAuth log events.

How AegisAI handles account takeover

AegisAI's account takeover protection reads sign-ins and mailbox activity per account and raises one explained finding when behavior stops matching the owner.1 It treats location as one signal. Its page lists impossible travel, new devices, inbox rule changes and suspicious internal sends, weighed together per account.1

The page shows an illustrative example with fictional names. A first-seen device, travel faster than a person could make and a new inbox rule on an account that has never made one are each weak alone, and together they fit a likely takeover.1

It is in early access and review-only. It runs on the same API connection as inbound email with no MX change, and it needs audit-log access. On Microsoft 365, sign-in reports need Entra ID P1.1 AegisAI does not revoke sessions today. Your team acts in Entra ID, Okta or Google Workspace, with recommended steps attached to each finding.1

Frequently asked questions

Are new-country sign-in alerts useless?

No, but they are incomplete. They catch a sign-in from a place the account has not used, and they miss an attacker who uses a proxy near the victim or a session that is already signed in79. Treat a new-country sign-in as a prompt to check the mailbox.

Can an attacker sign in from the same country as the victim?

Yes. The FBI describes criminals choosing a residential proxy address in the same city as the victim7. Microsoft describes a device code campaign using proxies "regionally appropriate for the targets"8.

Does MFA stop a stolen session?

Not always. MITRE says a stolen web session cookie bypasses some multi-factor authentication protocols because the session is already authenticated10. Microsoft adds that this is not a vulnerability in MFA, and that MFA still stops a wide range of threats9.

What should I check next to a suspicious sign-in?

Check inbox rules and forwarding, MFA method changes, OAuth grants and what the mailbox sent. Microsoft lists the first, forwarding and odd Sent Items messages as signs of a compromised account12.

How does AegisAI detect account takeover?

AegisAI's agents read sign-ins and mailbox activity per account and raise one explained finding when behavior stops matching the owner. Early access is review-only, and your team revokes sessions in Entra ID, Okta or Google Workspace1.

Next steps

Open the Sign-in logs for one mailbox this week and read the non-interactive tab, then run the two PowerShell checks on the same account. To see sign-ins and mailbox changes read together on your own tenant, book a demo.

Sources

Each number in the text opens the source with the same number.

  1. 1AegisAIAccount takeover protection (early access)
  2. 2Microsoft LearnWhat are risk detections? (Microsoft Entra ID Protection), updated 21 October 2026
  3. 3Google Workspace HelpAbout admin alerts for suspicious login activity, updated 2 December 2026
  4. 4Google Workspace HelpOAuth log events, updated 2 December 2026
  5. 5Microsoft LearnGet started with anomaly detection policies (Defender for Cloud Apps), updated 7 August 2026
  6. 6Microsoft LearnInvestigate risk with Microsoft Entra ID Protection, updated 17 November 2026
  7. 7FBI Internet Crime Complaint CenterEvading Residential Proxy Networks (I-031226-PSA), 12 March 2026
  8. 8Microsoft Threat IntelligenceStorm-2372 conducts device code phishing campaign, 13 February 2025, updated 31 July 2026
  9. 9Microsoft Threat IntelligenceFrom cookie theft to BEC: attackers use AiTM phishing sites as entry point to further financial fraud, 12 July 2022
  10. 10MITRE ATT&CKUse Alternate Authentication Material: Web Session Cookie (T1550.004), modified 12 May 2026
  11. 11Microsoft LearnSign-in logs in Microsoft Entra ID, updated 18 November 2025
  12. 12Microsoft LearnRespond to a compromised email account in Microsoft 365, updated 17 July 2026
  13. 13Google Workspace HelpUser log events, updated 2 December 2026
Newsletter

Don't miss the next big threat

New attack write-ups, product changes and practical defence notes, sent when there is something worth reading.