sensor-cloudModule 19 : Cloud Computing

Ethical hackers or pen testers use numerous tools and techniques to hack the target cloud platform. Recommended labs that will assist you in learning various cloud platform hacking techniques include:

  1. Perform Reconnaissance on Azure

    • Azure reconnaissance with AADInternals

  2. Exploit S3 buckets

    • Exploit open S3 buckets using AWS CLI

  3. Perform privilege escalation to gain higher privileges

    • Escalate IAM user privileges by exploiting misconfigured user policy

  4. Perform vulnerability assessment on Docker images

    • Vulnerability assessment on Docker images using Trivy

Lab 1: Perform Reconnaissance on Azure

Task 1: Azure Reconnaissance with AADInternals

## Installing AADInternals 
    Install-module AADInternals
    Import-module AADInternals
## Available Commands : 
1. Invoking Domains on Azure
     Invoke-AADIntReconAsOutsider -DomainName company.com | Format-table 
2. Invoking Usernames  :
     Invoke-AADIntUserEnumerationAsOutsider -UserName user@company.com  
3. Invoking Usernames over file:
     Get-Content .\users.txt | Invoke-AADIntUserEnumerationAsOutsider -Method Normal
4. Login Information about thre domain :
     Get-AADIntLoginInformation -Domain company.com
5. Login Information of the user on azure:
     Get-AADIntLoginInformation -Domain user@company
6. Retrieve tenantID: 
     Get-AADIntTenantID -Domain company.com.
7. Get Registered domains on the tenant:
     Get-AADIntTenantDomains -Domain company.com

Or visit the following website : 
https://aadinternals.com/osint/ 

Lab 2: Exploit S3 Buckets

Task 1: Exploit Open S3 Buckets using AWS CLI

Lab 3: Perform Privilege Escalation to Gain Higher Privileges

Task 1: Escalate IAM User Privileges by Exploiting Misconfigured User Policy

  1. Creating UserPolicy

  1. Creating Policies on AWS

  1. Attaching policies to the user:

  1. List Attached users:

  1. Other Available commands:

Lab 4: Perform Vulnerability Assessment on Docker Images

Task 1: Vulnerability Assessment on Docker Images using Trivy

Last updated