CredMaster icon indicating copy to clipboard operation
CredMaster copied to clipboard

o365 plugin does not work anymore

Open TwistedSim opened this issue 1 year ago • 5 comments

Hello,

I recently found out the the o365 module uses the autodiscover login (https://autodiscover-s.outlook.com) with BasicAuth to do the spraying. Recently, Microsoft have block Basic Auth authentication on all tenant (see https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online).

Is there plans to change the login method used by the module to fix this ?

Thanks

TwistedSim avatar Oct 12 '23 15:10 TwistedSim

Interesting. I opened a similar issue: https://github.com/knavesec/CredMaster/issues/67. Do you think what I am seeing is because of what actually Microsoft implemented?

alecmoran1 avatar Oct 13 '23 00:10 alecmoran1

Confirming here that with valid creds Credmaster still says authentication failed using the o365 plugin.

kpomeroy1979 avatar Nov 03 '23 16:11 kpomeroy1979

I think the best alternative is to use the MSOL plugin.

TwistedSim avatar Nov 03 '23 16:11 TwistedSim

The MSOL and AzureSSO plugins still work. However, both trigger Smart Lockout after about 10 failed logins, which the o365 plugin did not. It's a shame; it appears the era of easy Microsoft spraying are over (unless anyone else has found a way to bypass Smart Lockout that I've missed).

LukeLauterbach avatar Nov 07 '23 18:11 LukeLauterbach

Hey everyone, you're all correct, it does appear that the o365 plugin is dead, may it rest in peace. I'll update the docs and plugin details to reflect this and close this issue when complete

knavesec avatar Nov 15 '23 19:11 knavesec

Tagging all those above: @TwistedSim @alecmoran1 @LukeLauterbach @kpomeroy1979 @TheToddLuci0

Would the community prefer this plugin be simply removed, have a big "WARNING" sign upon running (but still running as usual), or just run with an error message stating "this plugin is no longer supported, see MS docs: here"

knavesec avatar Feb 07 '24 17:02 knavesec

According to Microsoft, no one can enable the Basic Authentication on any tenant:

Now no one (you or Microsoft support) can re-enable Basic authentication in your tenant

Not sure it's worth keeping since it should not work on any tenant.

TwistedSim avatar Feb 07 '24 18:02 TwistedSim

Repo updated to remove the o365 plugin. o365enum still works so nothing touched there cf21775 https://github.com/knavesec/CredMaster/wiki/O365

knavesec avatar Feb 08 '24 19:02 knavesec