├── LICENSE ├── README.md ├── chapter-2 └── pentest-vm-template │ ├── Readme.md │ ├── azuredeploy-with-linux.json │ ├── azuredeploy.json │ ├── azuredeploy.parameters.json │ ├── installscript.ps1 │ ├── linuxpostinstall.sh │ └── metadata.json ├── chapter-3 ├── admin-token-theft │ ├── admin-token-theft-scenario-linux-cleanup.ps1 │ ├── admin-token-theft-scenario-linux.ps1 │ ├── admin-token-theft-scenario-windows-cleanup.ps1 │ └── admin-token-theft-scenario-windows.ps1 ├── azure-password-spray │ ├── cleanup-test-users.ps1 │ └── create-test-users.ps1 └── custom-script-extensions │ ├── azure_cli_install.sh │ ├── azure_powershell_install.ps1 │ ├── linux_custom_extension.json │ └── windows_custom_extension.json ├── chapter-4 └── resources │ ├── Dockerfile │ ├── badtemplate.json │ ├── package.json │ ├── reader-scenario-cleanup.ps1 │ ├── reader-scenario.ps1 │ ├── scripts │ ├── AzureAutomationTutorial.graphrunbook │ ├── AzureAutomationTutorial.ps1 │ └── AzureAutomationTutorialPython2.py │ └── server.js ├── chapter-5 ├── resources │ ├── contributor-iaas-scenario-cleanup.ps1 │ └── contributor-iaas-scenario.ps1 └── tokenexploit.sh ├── chapter-6 └── resources │ ├── automationacct.json │ ├── contributor-paas-scenario-cleanup.ps1 │ └── contributor-paas-scenario.ps1 ├── chapter-7 └── resources │ ├── owner-scenario-cleanup.ps1 │ └── owner-scenario.ps1 └── chapter-8 └── DSC-persistence.ps1 /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/README.md -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/Readme.md -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/azuredeploy-with-linux.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/azuredeploy-with-linux.json -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/azuredeploy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/azuredeploy.json -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/azuredeploy.parameters.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/azuredeploy.parameters.json -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/installscript.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/installscript.ps1 -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/linuxpostinstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/linuxpostinstall.sh -------------------------------------------------------------------------------- /chapter-2/pentest-vm-template/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-2/pentest-vm-template/metadata.json -------------------------------------------------------------------------------- /chapter-3/admin-token-theft/admin-token-theft-scenario-linux-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/admin-token-theft/admin-token-theft-scenario-linux-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-3/admin-token-theft/admin-token-theft-scenario-linux.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/admin-token-theft/admin-token-theft-scenario-linux.ps1 -------------------------------------------------------------------------------- /chapter-3/admin-token-theft/admin-token-theft-scenario-windows-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/admin-token-theft/admin-token-theft-scenario-windows-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-3/admin-token-theft/admin-token-theft-scenario-windows.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/admin-token-theft/admin-token-theft-scenario-windows.ps1 -------------------------------------------------------------------------------- /chapter-3/azure-password-spray/cleanup-test-users.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/azure-password-spray/cleanup-test-users.ps1 -------------------------------------------------------------------------------- /chapter-3/azure-password-spray/create-test-users.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/azure-password-spray/create-test-users.ps1 -------------------------------------------------------------------------------- /chapter-3/custom-script-extensions/azure_cli_install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/custom-script-extensions/azure_cli_install.sh -------------------------------------------------------------------------------- /chapter-3/custom-script-extensions/azure_powershell_install.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/custom-script-extensions/azure_powershell_install.ps1 -------------------------------------------------------------------------------- /chapter-3/custom-script-extensions/linux_custom_extension.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/custom-script-extensions/linux_custom_extension.json -------------------------------------------------------------------------------- /chapter-3/custom-script-extensions/windows_custom_extension.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-3/custom-script-extensions/windows_custom_extension.json -------------------------------------------------------------------------------- /chapter-4/resources/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/Dockerfile -------------------------------------------------------------------------------- /chapter-4/resources/badtemplate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/badtemplate.json -------------------------------------------------------------------------------- /chapter-4/resources/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/package.json -------------------------------------------------------------------------------- /chapter-4/resources/reader-scenario-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/reader-scenario-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-4/resources/reader-scenario.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/reader-scenario.ps1 -------------------------------------------------------------------------------- /chapter-4/resources/scripts/AzureAutomationTutorial.graphrunbook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/scripts/AzureAutomationTutorial.graphrunbook -------------------------------------------------------------------------------- /chapter-4/resources/scripts/AzureAutomationTutorial.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/scripts/AzureAutomationTutorial.ps1 -------------------------------------------------------------------------------- /chapter-4/resources/scripts/AzureAutomationTutorialPython2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/scripts/AzureAutomationTutorialPython2.py -------------------------------------------------------------------------------- /chapter-4/resources/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-4/resources/server.js -------------------------------------------------------------------------------- /chapter-5/resources/contributor-iaas-scenario-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-5/resources/contributor-iaas-scenario-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-5/resources/contributor-iaas-scenario.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-5/resources/contributor-iaas-scenario.ps1 -------------------------------------------------------------------------------- /chapter-5/tokenexploit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-5/tokenexploit.sh -------------------------------------------------------------------------------- /chapter-6/resources/automationacct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-6/resources/automationacct.json -------------------------------------------------------------------------------- /chapter-6/resources/contributor-paas-scenario-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-6/resources/contributor-paas-scenario-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-6/resources/contributor-paas-scenario.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-6/resources/contributor-paas-scenario.ps1 -------------------------------------------------------------------------------- /chapter-7/resources/owner-scenario-cleanup.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-7/resources/owner-scenario-cleanup.ps1 -------------------------------------------------------------------------------- /chapter-7/resources/owner-scenario.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-7/resources/owner-scenario.ps1 -------------------------------------------------------------------------------- /chapter-8/DSC-persistence.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/Penetration-Testing-Azure-for-Ethical-Hackers/HEAD/chapter-8/DSC-persistence.ps1 --------------------------------------------------------------------------------