CrackMapExec
CrackMapExec copied to clipboard
How to authenticate with AzureAD
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@
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.