Computer Discovery And Export Via Get-ADComputer Cmdlet
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects usage of the Get-ADComputer cmdlet to collect computer information and output it to a file
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (PROCESSNAME endswith "\powershell.exe,\pwsh.exe" OR ORIGINALFILENAME = "PowerShell.EXE,pwsh.dll") AND ((COMMANDLINE contains "Get-ADComputer " AND COMMANDLINE contains " -Filter *") AND COMMANDLINE contains " > , | Select ,Out-File,Set-Content,Add-Content") 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
Nasreddine Bencherchali (Nextron Systems)


