CrackMapExec icon indicating copy to clipboard operation
CrackMapExec copied to clipboard

How to authenticate with AzureAD

Open mk7120 opened this issue 1 year ago • 1 comments

Is it possible to authenticate with an AzureAD (Microsoft Entra ID) credential? I have a PC with AzureAD joined, any account I created on Azure Portal can log in to the PC normally but I can't use CrackMapExec to log in.

crackmapexec --verbose smb <ib> -u "localadmin@<random>.onmicrosoft.com" -p "<password>"

I also tried 'AzureAD\localadmin@.onmicrosoft.com' but not work

mk7120 avatar Nov 07 '23 12:11 mk7120

I found a way to RDP to the target by this tutorial "https://bradleyschacht.com/remote-desktop-to-azure-ad-joined-computer/", but don't know how to be done with the tool.

mk7120 avatar Nov 07 '23 12:11 mk7120