-
Notifications
You must be signed in to change notification settings - Fork 577
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
Advice on succeeding with Invoke-DomainHarvestOWA? #52
Comments
Hey Brian! Thanks for the note. I have heard some mixed results with that module. I modified it so it should just get the domain from a response header. If you just run Invoke-DomainHarvestOWA -ExchHostname mail.whatever.com it will try that method first. Let me know if that part isn't working for the server you are hitting as well. Do you happen to know what version of Exchange the server is running? -Beau |
Hey there, Ok so I found out it's an Exchange 2010 box (no specific version info known, but I can get that if it would be helpful). I had been running Per your note above, it sounds like you wanted me to run just Brian |
Oh sorry, maybe you were saying you made changes and that I should pull latest version? I was just going to send you a ping that the tool says |
Yeah it's been updated to have different functionality. Go grab the latest and try with just "Invoke-DomainHarvestOWA -ExchHostname customers.owa.portal.com". It should try to automatically grab the domain from an http header returned from the server. |
Hiya Beau, Happy Friday. Pardon the delay, but I did try running the latest MailSniper and what got returned was:
I then tried:
Also tried the same thing but with Still, even with legit users in my I'm actually done with this current project but could certainly test other things if you want. And I've got some new assessments coming in the next week and will try MailSniper there as well. Thanks! |
Piggybacking on this issue. I seem to be experiencing the same response time issue in my test lab. All usernames regardless if they are "real" or not are receiving the same response time back from OWA.
Response Times for Case 1 Typical response for this case was between 202 to 219 ms Response Times for Case 2 Using command Using -debug and -verbose I was able to see the following output |
For anyone still experiencing this, try this method instead: https://grimhacker.com/2017/07/24/office365-activesync-username-enumeration/ |
Thanks @Boberttt ! |
Hey Beau,
Finally got a chance to use MailSniper on an engagement this week, and tried out the
Invoke-DomainHarvest
module with a list of about 8 domain names I thought would be possibly valid for the customer's environment. The module returned no valid domains, but later the customer confirmed that the valid domain was indeed one in my "guess" list. Are you aware of any tuning/protections/patches/etc. that could be in place from preventing MailSniper from identifying the valid domain through timing?Also, I went one step further and tried the
Invoke-UsernameHarvestOWA
with a valid user (as well as a bunch of invalid users in the same file) and it was not identified as valid.Thanks!
Brian / @7MinSec
The text was updated successfully, but these errors were encountered: