mgeeky-Penetration-Testing-.../clouds/azure/README.md

976 B

  • AzureRT - Powershell module implementing various cmdlets to interact with Azure and Azure AD from an offensive perspective. Helpful utilities dealing with access token based authentication, easily switching from Az to AzureAD and az cli interfaces, easy to use pre-made attacks such as Runbook-based command execution and more.

Authentication & Token mechanics:

  • Connect-ART
  • Connect-ARTAD
  • Connect-ARTADServicePrincipal
  • Get-ARTAccessTokenAzCli
  • Get-ARTAccessTokenAz
  • Get-ARTAccessTokenAzureAD
  • Parse-JWTtokenRT
  • Remove-ARTServicePrincipalKey

Recon and Situational Awareness:

  • Get-ARTResource
  • Get-ARTRolePermissions
  • Get-ARTADRolePermissions
  • Get-ARTAzRoleAssignment
  • Get-ARTKeyVaultSecrets

Privilege Escalation:

  • Add-ARTUserToGroup
  • Add-ARTUserToRole

Lateral Movement:

  • Invoke-ARTAutomationRunbook