Try it

Stop a suspicious sign-in

These are sign-in rules I designed and ran, often called conditional access: should this person be allowed in from this device and this place? A new sign-in has to come from a company-managed device in an approved country, and administrators also need an approved network. A failed check stops the attempt. One example here starts after sign-in instead, when monitoring spots an existing session being misused. The incidents are made up to show the rules working.

  1. A sign-in arrives and the password is checked.
  2. Policy checks: is it a managed device, is the country on the approved list or covered by an approved travel window, and do the network and session look normal? Administrators also have to match an approved network.
  3. The decision: allow, ask for the security key again, or block.
  4. What happens next depends on why: a traveller can ask for approval for the dates of the trip, an administrator can reconnect through the company’s private network (VPN), and signs of stolen credentials start a security response that ends sessions, resets the password and reviews what the account did.
  5. Everything is logged so the next review can see it.

Why it’s built this way

Putting every app behind one sign-in makes that sign-in worth stealing. A password and a session cookie will let someone in from anywhere, so the policy looks at where the sign-in comes from, not only what was typed.

The second factor is a hardware security key. It only answers the real sign-in page, so a look-alike page can’t relay it, and there is no push notification for an attacker to wear someone down with. That’s what phishing-resistant means.

A correct password on an unknown device is bad news. The policy blocks it, but the password is now known to someone else, so it gets reset and the account is checked. A legitimate block, like a trip with no travel window or an administrator off the VPN, gets an explanation and a way to fix it instead.

Travel isn’t a blanket exception. A trip outside the approved countries is reviewed against the person’s role and what they can reach, and approved for a fixed window or not at all.

Before and after

The problem
Putting every app behind one login makes that login worth stealing. On its own, a password or a stolen session cookie works from anywhere in the world.
After
Signing in needed a company-managed device, a country on the approved list, and the employee’s physical security key, with a fresh sign-in every day. The accounts that could reach the most also had to come from a known network.
The catch, and the fix
Rules this strict block anyone who travels outside the approved countries. Trips outside the approved list went through a review of the person’s role and the data they touch, and ended in an approval or a time-limited window.

What it’s based on

These are the rules I designed and ran: sign-in only from managed devices in approved countries, sessions capped at 24 hours before signing in again with a security key, a security key for every employee, device, country and network all required to match for high-privilege accounts, and a travel review instead of blanket exceptions. The response steps are standard practice from these sources: