← Back to the blog

The first hour after an impossible-travel alert

The alert fires and the question of who acts on it stays open. Here is a written first hour: what to pull, what to block and who decides.

The alert fires when the same account signs in from two places that are too far apart for the time between them. On its own, that is a question, not a verdict. VPN egress points, mobile carriers and cloud proxies all produce the same pattern.

See how Todyl MXDR puts a 24/7 SOC behind alerts like this one →

What the alert tells you

Start with the sign-in record itself. In Microsoft Entra ID, pull it with Get-MgAuditLogSignIn or from the sign-in logs, then note:

  • ResultType, which tells you whether the sign-in succeeded
  • The client app and user agent
  • Whether conditional access applied, and which policy
    • Report-only policies log a result but don’t block
    • A policy in the “not applied” state means no conditions matched
  • The device ID, if the device is registered

Indicators in this post

Indicators are defanged so they can’t be clicked or auto-linked. Paste them into your tools, not your browser. The second sign-in came from 203.0.113[.]45, which resolved to login-verify[.]example at the time of the event.

TypeIndicatorContext
IPv4203.0.113[.]45Second sign-in
IPv62001:0db8:85a3:0000:0000:8a2e:0370[:]7334Token refresh
Domainlogin-verify[.]exampleReverse lookup
SHA-256e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855Example hash

Query the sign-in history

Run the same filter across the last 24 hours to see whether the address touched other accounts.

KQL
SigninLogs| where TimeGenerated > ago(24h)
| where IPAddress == "203.0.113.45"| project TimeGenerated, UserPrincipalName, AppDisplayName, ResultType
// Documentation-range IP. Swap in the live indicator.
IDENTITY THREAT DETECTION & RESPONSE

Put one owner on every identity alert

Todyl ITDR reads sign-ins on the same platform as your endpoint and network data, so an alert like this one lands on one timeline instead of four dashboards.

Explore ITDRGet a Demo

Contain with a known sequence

A written first hour beats an improvised one. The order below assumes the account is confirmed as compromised.

  1. Revoke active sessions and refresh tokens for the account.
  2. Reset the password and require MFA re-registration.
  3. Block 203.0.113[.]45 at the edge and in conditional access.
  4. Review mailbox rules created in the window, starting with:
    • Forwarding to external addresses
    • Rules that move or delete messages on arrival
  5. Write down who made each call and when, in the case record.
Each tool is right about its own slice and blind to the rest.

Before you close the case

Check the device the user normally signs in from. Look for new entries under %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\ and for scheduled tasks created in the same window.

CASE STUDY

Stopping a ransomware attack in its tracks

Read the case study →

Source note. Indicators in this post use documentation-only ranges (RFC 5737 for IPv4, RFC 3849 for IPv6) and a reserved example domain.

Sources

Keep reading

All blog posts →

Bring your current stack

See how one platform, one agent and a 24/7 SOC fit the clients you already manage.

Get a Demo · Explore Todyl Packages

See it in your stack

Walk through one platform, one agent and the 24/7 SOC with our team.

Stay on the Cutting Edge of Security

Subscribe to our newsletter to get our latest insights.

Bring your current stack

See how one platform, one agent and a 24/7 SOC fit the clients you already manage.

Cybersecurity analyst monitoring SIEM and MXDR data visualizations on a large office monitor.