Does Office365 user enumeration based on correlated HTTP response analysis, as shown at Way West Hackin' Fest 2022
Process:
- Submit 5 requests for invalid users (random strings), create a baseline of what indicates an invalid user response
- Submit a request for a known valid user (point of contact, etc)
- Compare the response to the invalid responses and determine a baseline for what indicates a valid user response
- Submit test user responses, compare with known valid/invalid responses to determine the status of the user
python3 o365fedenum.py --testfile unknown_user_list.txt --valid known_valid_username --domain tenant_domain.com --verbose
A few notes:
- This does make an authentication request against the username tested (RNG password), keep this in mind
- This does appear to be generally consistent across environments, but if not please let me know. This also does work for Managed environments, but there are far better methods of achieving better results without authentication requests
- The users in the
testfile
and thevalid
flags don't need the@domain.com
in them, but they can if they want. Script will check if the domain is attached and append if it isn't