AADInternals PowerShell Cmdlets Execution - ProccessCreation

Last updated on:

About the rule

Rule Type

Standard

Rule Description

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.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\powershell.exe,\powershell_ise.exe,\pwsh.exe" OR ORIGINALFILENAME = "PowerShell.Exe,pwsh.dll") AND (COMMANDLINE contains "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" OR COMMANDLINE contains "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") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Active Directory

Author

Austin Songer (@austinsonger), Nasreddine Bencherchali (Nextron Systems)