Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mandiant/Azure_Workshop
https://github.com/mandiant/Azure_Workshop
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mandiant/Azure_Workshop
- Owner: mandiant
- License: apache-2.0
- Created: 2022-07-19T15:24:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T13:38:26.000Z (over 1 year ago)
- Last Synced: 2024-07-27T14:33:17.352Z (3 months ago)
- Language: HCL
- Size: 63.5 KB
- Stars: 609
- Watchers: 15
- Forks: 82
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- Awesome-CloudSec-Labs - Mandiant Azure Workshop - hosted, guided commands | Multiple | Vulnerable by design Azure lab with two scenarios; build with terraform | (Sorted by Technology and Category)
- Awesome-Azure-Pentest - Azure Red Team Attack and Detect Workshop
README
# Azure Red Team Attack and Detect Workshop
This is a vulnerable-by-design Azure lab containing 2 x attack paths with common misconfigurations. These vulnerabilities are intended to represent those found in live production environments and the attack vectors are intended to be as realistic as possible to real Threat Actors TTPs. If you would like to see what detections and alerts these attack path vectors are causing, I recommend signing up for a Microsoft E5 trial which has Microsoft Defender for Cloud and Azure AD premium P2 plan. Links for signing up to an Azure Developer account can be found in the resources.txt file.
Author - Roxana Kovaci (@RoxanaKovaci)
## Requirements
- Azure tenant
- Azure CLI
- Terraform version 1.2.2 or above
- Azure User with Global Admin role in the AAD tenant
- add your external IP on lines 248-249 in kc1.tf## Deployment
```
az login
git clone https://github.com/mandiant/Azure_Workshop.git
cd Azure_Workshop
cd kc1terraform init
terraform validateterraform plan -out kc1.tfplan
terraform apply kc1.tfplancd ../kc2
terraform init
terraform validateterraform plan -out kc2.tfplan
terraform apply kc2.tfplan
```## Get started
- the entry point for each kill-chain is user1. To get the initial user's credentials, run the following query:
```
terraform output
```## Kill-Chain objectives and other resources
Kill-Chain #1:- Objective: Gain access to the Customers PII data.
- Solutions: The full attack path solutions can be found in kc1/kc1_solution.txt
Kill-Chain #2:
- Objective: Gain access to the super secret file.
- Solutions: The full attack path solutions can be found in kc2/kc2_solution.txt
Each kill-chain has in its folder the Terraform script (and other pre-reqs files needed for deployment) and the solutions to the challenges.
Other resources and useful links to learn more can be found in resources.txt file.
## Clean up
After finishing with each kill-chain scenario, you can remove all resources previously added in your tenant:
```
az logincd kc1
terraform destroycd ../kc2
terraform destroy
```