mgeeky-Penetration-Testing-.../clouds/azure
mgeeky 7a2598eedc Updated AzureRT 2022-01-26 02:29:37 +01:00
..
Azure Roles Dump-AzureRoles.ps1 2022-01-25 21:53:51 +01:00
AzureRT@3ba36f9ed7 Updated AzureRT 2022-01-26 02:29:37 +01:00
README.md Updated AzureRT 2022-01-25 23:21:22 +01:00

README.md

  • Azure Roles - All Azure RBAC and Azure AD Role Definitions, along with their permissions associated listed in a handy markdown report.

  • 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:

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

    Recon and Situational Awareness:

    • Get-ARTAccess
    • Get-ARTADAccess
    • Get-ARTDangerousPermissions
    • Get-ARTResource
    • Get-ARTRolePermissions
    • Get-ARTADRolePermissions
    • Get-ARTRoleAssignment
    • Get-ARTKeyVaultSecrets
    • Get-ARTAutomationRunbookCode
    • Get-ARTAzureVMPublicIP

    Privilege Escalation:

    • Add-ARTUserToGroup
    • Add-ARTUserToRole
    • Add-ARTADAppSecret

    Lateral Movement:

    • Invoke-ARTAutomationRunbook
    • Invoke-ARTRunCommand

    Misc:

    • Get-ARTUserId
    • Get-ARTSubscriptionId
    • Parse-JWTtokenRT
    • Invoke-ARTGETRequest