Detectionhightest
AADInternals PowerShell Cmdlets Execution - ProccessCreation
Detects ADDInternals Cmdlet execution. A tool for administering Azure AD and Office 365. Which can be abused by threat actors to attack Azure AD or Office 365.
Austin Songer, Nasreddine Bencherchali, Swachchhanda Shrawan Poudel (Nextron Systems)Created 2022-12-23Updated 2025-02-06c86500e9-a645-4680-98d7-f882c70c1ea3windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_img:
- Image|endswith:
- '\powershell.exe'
- '\powershell_ise.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'PowerShell.Exe'
- 'pwsh.dll'
selection_cli:
CommandLine|contains:
# Since most of the cmdlets use a unique enough string which is "-AADInt" we only used that portion. For a complete list please check the references linked above
- 'Add-AADInt'
- 'ConvertTo-AADInt'
- 'Disable-AADInt'
- 'Enable-AADInt'
- 'Export-AADInt'
- 'Find-AADInt'
- 'Get-AADInt'
- 'Grant-AADInt'
- 'Initialize-AADInt'
- 'Install-AADInt'
- 'Invoke-AADInt'
- 'Join-AADInt'
- 'New-AADInt'
- 'Open-AADInt'
- 'Read-AADInt'
- 'Register-AADInt'
- 'Remove-AADInt'
- 'Reset-AADInt'
- 'Resolve-AADInt'
- 'Restore-AADInt'
- 'Save-AADInt'
- 'Search-AADInt'
- 'Send-AADInt'
- 'Set-AADInt'
- 'Start-AADInt'
- 'Unprotect-AADInt'
- 'Update-AADInt'
condition: all of selection_*False Positives
Legitimate use of the library for administrative activity
MITRE ATT&CK
Rule Metadata
Rule ID
c86500e9-a645-4680-98d7-f882c70c1ea3
Status
test
Level
high
Type
Detection
Created
2022-12-23
Modified
2025-02-06
Path
rules/windows/process_creation/proc_creation_win_powershell_aadinternals_cmdlets_execution.yml
Raw Tags
attack.executionattack.reconnaissanceattack.discoveryattack.credential-accessattack.impact