DirectorySearcher Powershell Exploitation
Last updated on:
Applies to: Log360Log360 Cloud
In this page
About the rule
Rule Type
Standard
Rule Description
Enumerates Active Directory to determine computers that are joined to the domain
Severity
Trouble
Rule Requirement
Criteria
Action1:
actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "New-Object " AND SCRIPTEXECUTED contains "System.DirectoryServices.DirectorySearcher" AND SCRIPTEXECUTED contains ".PropertiesToLoad.Add" AND SCRIPTEXECUTED contains ".findall()" AND SCRIPTEXECUTED contains "Properties.name"
select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED,Action1.DOMAIN,Action1.SCRIPTPATH,Action1.PATH,Action1.USERNAME
Detection
Execution Mode
realtime
Log Sources
Active Directory
Author
frack113


