Skip to content

Adding TRR for Authorization Code Phishing#21

Open
azotheblue wants to merge 10 commits into
tired-labs:mainfrom
azotheblue:trr-oauth-authcode-phishing
Open

Adding TRR for Authorization Code Phishing#21
azotheblue wants to merge 10 commits into
tired-labs:mainfrom
azotheblue:trr-oauth-authcode-phishing

Conversation

@azotheblue
Copy link
Copy Markdown

Hello,

This pull request adds a Technique Research Report (TRR) covering OAuth Authorization Code Phishing, including documentation of the ConsentFix procedure within Microsoft Entra ID environments. The report outlines the mechanics of the authorization code flow and describes how attackers can abuse redirect behavior to obtain authorization codes and redeem them for access tokens.

This is my first contribution to the repository, so please let me know if there are any formatting issues or changes that would improve the submission. I appreciate any feedback from the maintainers.

@azotheblue azotheblue requested a review from a team March 11, 2026 18:31
@mjwhitta
Copy link
Copy Markdown
Contributor

Sorry for the delay. I approved the workflow and looks like there are some linter changes that need addressed. Looks mostly like line-wrapping and a few inline-urls.

Copy link
Copy Markdown
Contributor

@vanvleeta vanvleeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent first draft! Thank you for the submission!

Comment thread reports/trr0000/azr/README.md Outdated

### OAuth

OAuth is a foundational protocol used by modern identity platforms to enable **secure authorization between users and applications**. It allows a user to grant an application limited access to resources without sharing credentials directly with the application.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this related to Microsoft's "Malicious Application Consent" (AZT203 - https://microsoft.github.io/Azure-Threat-Research-Matrix/InitialAccess/AZT203/AZT203/)? Seems similar, but not sure if there is a distinction between them that I'm missing? Perhaps the use of first-party applications (rather than registering a new malicious one) is the distinction?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sort of! It’s similar in that it abuses the OAuth authorization flow. However, the “Malicious Application Consent” technique (illicit consent grant) relies on the user approving a malicious application and granting it permissions.

This technique does not depend on that approval step. Instead, it abuses the OAuth authorization flow directly, often leveraging first-party applications, to capture authorization tokens after authentication.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super helpful clarification! Would you mind including a summary of that in the scope statement?

Comment thread reports/trr0000/azr/README.md Outdated
Comment thread reports/trr0000/azr/README.md Outdated
Comment thread reports/trr0000/azr/README.md Outdated
Comment thread reports/trr0000/azr/README.md Outdated
Copy link
Copy Markdown
Contributor

@dumpst3rfir3 dumpst3rfir3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with other comments, great work! I'm not sure I had much to add to what's already been said, but I left a couple of comments in there.

Comment thread reports/trr0000/azr/README.md Outdated
Comment thread reports/trr0000/azr/README.md Outdated
@azotheblue
Copy link
Copy Markdown
Author

I think I fixed all of the issues with this new commit. If there are more issues please let me know and I will be happy to fix! Thanks again for the review!

Comment thread reports/trr0000/azr/README.md Outdated
Comment thread reports/trr0000/azr/README.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants