Advanced Search
Search Results
502 total results found
MicroBurst
git clone git@github.com:NetSPI/MicroBurst.git cd MicroBurst pwsh-preview # Authenticate Connect-AzAccount # Import MicroBurst ipmo ./MicroBurst.psm1 # Install module for Out-GridView Install-Module Microsoft.PowerShell.GraphicalTools # Show...
iDRAC
SkyArk
git clone https://github.com/cyberark/SkyArk cd SkyArk pwsh-preview Import-Module .\SkyArk.ps1 -force Start-AzureStealth Resource: https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology and Resources/Cloud - Azure Pentest.md
File System - Windows
List all applications
az ad app list --output=table --query='[].{Name:displayName,URL:homepage}'
Security
List all service principles
az ad sp list --output=table --query='[].{Name:displayName,Enabled:accountEnabled,URL:homepage,Publisher:publisherName,MetadataURL:samlMetadataUrl}'
Security
List all groups
az ad group list --output=json --query='[].{Group:displayName,Description:description}' Resource: https://www.blackhillsinfosec.com/red-teaming-microsoft-part-1-active-directory-leaks-via-azure/
Network
Manually match On Premise AD-user to existing M365 user
For anyone running into this issue, I wrote a script to re-link users for an ou to Azure AD. In my case, I moved all users from the ou I wanted to re-sync to Temp, ran the script, moved users back to the desired ou and re-ran the sync. Import-Module ActiveDir...
Network
Applications
View all VMSS in a subscription
Simply navigate to this page and use the magical Try it button to use the REST API to grab this info. Neat! CLI az vmss list
Applications
Get VMSS by name and associated resource group
az vmss list | jq '.[].name, .[].resourceGroup'
Performance
List vms in a VMSS
az vmss list-instances -n $VMSS_NAME -g $RESOURCE_GROUP Resource: https://docs.microsoft.com/en-us/cli/azure/vmss?view=azure-cli-latest https://github.com/andyt530/az2tf/blob/master/scripts/295_azurerm_virtual_machine_scale_set.sh