6c690a0778 | ||
---|---|---|
.. | ||
images | ||
README.md | ||
azuredeploy.json |
README.md
Affected Key Credentials
This Playbook scans all key credentials in all apps/serviceprincipals in the specified tenant for credentials with property hasExtendedValue == true
by calling Microsoft Graph and adds to Azure Sentinel Watchlist
Author: Sreedhar Ande, Chi Nguyen, Ajeet Prakash
Register an application in Azure AD
- Go to Azure Active Directory / App Registrations
- Create New Registration
- Call it "GraphAPItoAzureSentinel". Click Register.
- Click API Permissions Blade.
- Click Add a Permission.
- Click Microsoft Graph.
- Click Delegated Permissions
- Check Application.Read.All, Application.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Directory.AccessAsUser.All.
- Click Application Permissions
- Check Application.Read.All, Application.ReadWrite.All, Directory.Read.All
- Click Add permissions.
- Click Certificates and Secrets blade.
- Click New Client Secret.
- Enter a description, select never. Click Add.
- IMPORTANT. Click copy next to the new secret and paste it somewhere temporaily. You can not come back to get the secret once you leave the blade.
- Copy the client Id from the application properties and paste it somewhere.
- Also copy the tenant Id from the AAD directory properties blade.