
Obtain written authorization from the company and Microsoft, confirm the subscription ID, define the scope (IPs, services, users), and follow the rules of engagement for Azure pen testing.
Learn to integrate on-premises Active Directory with Azure AD using password hash synchronization, pass-through authentication, or Active Directory Federation Services, and set up AD Connect.
Create an Office 365 and Azure account to enable Azure Active Directory, trial access, and user management for pen testing practices.
Learn unauthenticated recon and password spraying against Office 365 accounts using the MSOL spray PowerShell script, including user lists, credential testing, and domain enumeration.
Connect to Azure Active Directory using PowerShell to enumerate domains, users, groups, applications, and roles, then inspect owners, credentials, and policies.
Learn to use Road Recon, an Azure AD reconnaissance tool from Road Tools, to authenticate, gather Azure AD data, and visualize tenants, users, groups, devices, apps, and permissions.
Learn how to use a PowerShell-based Azure enumeration tool for authenticated recon. Connect to Azure, import modules, and enumerate users, groups, roles, and other resources.
demonstrates authenticated recon and role abuse in Azure blob storage by using obtained credentials to access storage, download a disk image, attach a VHD, and inspect for passwords or tokens.
Explains how to set up a phishing campaign using evilginx2, including registering a domain, configuring dns records (cname and a records), and obtaining an ssl certificate.
Explore a phishing campaign that demonstrates how attackers bypass multi-factor authentication by hijacking and editing cookies to gain unauthorized access, highlighting cookie-based session manipulation.
Explore how macro-enabled Word documents facilitate phishing to establish a reverse shell in pentest scenarios, highlighting attacker techniques and defense considerations.
Set up an automated lab with a PowerShell script to automatically create Hyper-V virtual machines, install AD Connect to synchronize with Azure, and manage ISOs and post-installation tasks.
Set up an automated lab in Hyper-V by configuring a lab script, defining networks, and deploying three Windows VMs, including a domain controller, a router, and a Windows 10 machine.
Set up a local Azure AD Connect lab with an automated PowerShell script to create Hyper-V virtual machines and install Azure AD Connect for Azure AD synchronization.
Sync Azure Ad with On-Prem Server
Start-ADSyncSyncCycle -PolicyType Delta
SSO is relying on Kerberos, and thus, has the same flaws. If the AZUREADSSOACC$ is compromised, one is able to create service tickets for impersonating any user with MFA disabled on Azure AD. This technique is also known as Silver Tickets.
Silver tickets can be created using mimikatz. In order to do so, the following parameters are required:
Username of the user to impersonate.
Domain name.
NTLM hash of the AZUREADSSOACC$ account.
SID of the user to impersonate.
Target service, which is HTTP/aadg.windows.net.nsatc.net.
Disable AMSI
Demonstrates Azure AD Connect password extraction through hash dumping and pass-the-hash techniques, revealing clear text passwords and tools like Mimi Katz and PowerShell bypass for on-prem and cloud sync.
dcsync
The KRBTGT is a local default account that acts as a service account for the Key Distribution Center (KDC) service. It's created automatically when a new domain is created. It cannot be deleted. its name cannot be changed. it cannot be enabled.
Intro To Azure Pentesting Course - Cloud Pentesting Course is designed for security professionals looking to start testing how secure a company is in Azure Active Directory (AD). The course is going to cover the following phases of Azure pentesting:
Recon: gathering information on the company infrastructure and it's employees.
Initial access: getting access to the system via phishing or any other way.
Enumeration: enumerating the company's infrastructure from the inside by gathering all the groups, users, systems and more.
Privilege Escalation: Escalating our privilege by looking at common misconfiguration and exploitation.
Lateral Movement: moving from one system to another one.
What is Azure?
The Azure cloud platform is more than 200 products and cloud services designed to help you bring new solutions to life—to solve today’s challenges and create the future. Build, run, and manage applications across multiple clouds, on-premises, and at the edge, with the tools and frameworks of your choice.
Learn to abuse Azure AD and a number of services offered by it and cover multiple complex attack lifecycles against a lab containing a live Azure tenants.
Introduction to Azure AD pentesting will go into a deep dive analyzing and exploiting Enterprise Apps, App Services, Logical Apps, Function Apps, Unsecured Storage, Phishing, and Consent Grant Attacks
Also, the course will demonstrate how enumerate Storage Accounts, Key vaults, Blobs, Automation Accounts, Deployment Templates, and more.
Prerequisites
1. Basic understanding of Azure AD is desired but not mandatory.
2. Privileges to disable/change any antivirus or firewall.