Skip to content

Semperis/HiddenConsentGrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiddenConsentGrant

This code exploits the hidden consent grant attack which leverages the Directory.ReadWrite.all application permission.

Pre-requirements

  1. Create certificate and private key (or use the given pair of certificate and key from the repository).
  2. Update client secret and user id in the code.

Usage

  1. Run the tool
  python server.py
  1. Launch the "non-malicious" page.
  2. get the access tokens
  3. have fun!

About

Part of an Directory.ReadWrite.All abuse in Entra ID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published