nicolonsky / AzureAiTMFunction

Azure AiTM Function PoC to phish Entra ID Credentials
https://nicolasuter.medium.com
18 stars 5 forks source link

Inconsistent behaviour #1

Open codeitch opened 6 months ago

codeitch commented 6 months ago

Great tool indeed! I however noticed, that some of my users get signed in, but the phishing function proceeds with only the first two request, namely:

and

Don't you know what makes it stop there, instead of proxying remaining requests (i.e. https://login.microsoftonline.com//common/login, https://login.microsoftonline.com//common/SAS/BeginAuth, https://login.microsoftonline.com//common/SAS/EndAuth,https://login.microsoftonline.com//common/SAS/ProcessAuth, etc.)

nicolonsky commented 6 months ago

@codeitch have you adjusted the user-agent header in the code? Depending on the registered authentication methods for the user Entra ID will upgrade the connection to websockets for capable browsers. Otherwise I couldn't repro this