dirkjanm / dirkjanm/ROADtools

Browser core PRT injection not working

Open
#80 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.7k
Forks
395
PR merge metrics
No merged PRs in 30d

Description

Trying to use the browsercore method of PRT injection isn't working for me. The bctest.py works fine, but when the login loads, it still prompts for a username and password. After a bit of troubleshooting, I was thinking maybe it has to do with the PRT without a nonce update mentioned in the article here: https://dirkjanm.io/abusing-azure-ad-sso-with-the-primary-refresh-token/.

Similarly, PRT injection methods like the one listed in this stealthbits article don't appear to be working.

Noteworthy though, the selenium PRT browserauth method in roadtools still works!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with bctest.py and the browsercore PRT injection flow, then compare it with the selenium PRT browserauth method, which the report says still works. Review the linked PRT injection references while reproducing the login behavior. Done means browser login accepts the injected PRT instead of prompting for credentials.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.