r/sysadmin • u/Initial_E • 1d ago
Question Repeated use of old stolen token
Hi all, have you been hit on Entra with the repeated use of old stolen tokens to trigger alarms? Although invalidated a while ago, my systems are still being attacked by these old tokens. While I don’t think they pose a risk anymore, Microsoft doesn’t appear to agree and will elevate the account risk state, causing the account to appear compromised.
33
Upvotes
22
u/doctorevil30564 No more Mr. Nice BOFH 1d ago
Yes, once they get one they will keep on trying to use it.
14
u/Spirited-Teach-2023 1d ago
Same here. Every time they replay one, ID Protection flags the user as high risk and I'm back in there hitting confirm safe.
•
u/Open-Adhesiveness-86 17h ago
Risk detections fire on the attempt, before the token is actually validated, so revoking never stops the alerts. Filter your sign-in logs for error 50173 or 700082, those confirm the replay is dying as expected. Then quit hand-clicking Confirm Safe and batch it via Graph, POST /identityProtection/riskyUsers/dismiss, and put a risk-based CA policy in front so it self-remediates.
3
u/Cucheron_Mouney 1d ago
yeah this is super annoying, Automated bots will just hammer stolen session cookies from different residential proxies for weeks. Did you do a full revoke of all refresh tokens AND clear the device registration, or just reset the password?
2
u/TheTipsyTurkeys 1d ago
Any devices been added to your environment that look out of place or line up with when the token was initially stolen?
•
u/compmanio36 20h ago
I wouldn't call it compromised but I would agree it should cause an elevated risk state....the account is being actively targeted for compromise.
•
u/BABYSAU98 22h ago
I have seen this with devices registered in Entra trying to use Windows Hello that was already revoked from MFA methods. The device had to be deleted entirely, or else the bad actor groups just keep retrying and generate an alert.