Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for graph.microsoft.com #35

Open
mgeeky opened this issue Jan 19, 2022 · 4 comments
Open

Support for graph.microsoft.com #35

mgeeky opened this issue Jan 19, 2022 · 4 comments

Comments

@mgeeky
Copy link

mgeeky commented Jan 19, 2022

Yet another question (or maybe issue while running roadrecon) - sorry for being a bother! :)

Are there any plans for adding support for https://graph.microsoft.com based enumeration?

My use case is that I came in possession of access token scoped precisely for that client with User.Read User.ReadBasic.All scope and found that ROADtools are not able to help me pull data using this token.
Ultimately I guess I need to poke around manually?

(Invoke-RestMethod @{Uri="https://graph.microsoft.com";Headers=@{'Authorization'="Bearer $token"}; Method='GET'}).value

Regards,
Mariusz.

@dirkjanm
Copy link
Owner

I may at some point, but the Microsoft graph has a completely different API schema, so the entire setup of the database/collection/api/frontend would have to change as well.
Note that the token you have only allows to read info of the current user, so you couldn't really enumerate anything beyond the current user.

@mgeeky
Copy link
Author

mgeeky commented Jan 20, 2022

Yes, I'm aware of my permission limitations. It would be cool if that was added.

Using the occassion, can I somehow make roadrecon add new records to the existing database, rather than wiping it and starting from scratch during gather? I would like to collect recon data using multiple access tokens collected from various prinicipals and have all results collected to the same database.

Is this even possible?

@dirkjanm
Copy link
Owner

Not without editing the code. You could comment out various tasks in gather.py and modify it to not wipe the database. Duplicate data will cause errors in that case though.

@FuzzySecurity
Copy link

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

No branches or pull requests

3 participants