AADInternals PowerShell Cmdlets Execution - PsScript

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 = "PowerShell Script Block Logged" AND SCRIPTEXECUTED 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 SCRIPTEXECUTED 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.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Active Directory

Author

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