ROADtools icon indicating copy to clipboard operation
ROADtools copied to clipboard

Support for graph.microsoft.com

Open mgeeky opened this issue 3 years ago • 4 comments

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.

mgeeky avatar Jan 19 '22 16:01 mgeeky

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.

dirkjanm avatar Jan 19 '22 20:01 dirkjanm

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?

mgeeky avatar Jan 20 '22 11:01 mgeeky

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.

dirkjanm avatar Jan 24 '22 11:01 dirkjanm

FuzzySecurity avatar Dec 13 '23 18:12 FuzzySecurity