Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
selection_net_img:
- Image|endswith:
- '\net.exe'
- '\net1.exe'
- OriginalFileName:
- 'net.exe'
- 'net1.exe'
selection_net_cmd:
CommandLine|contains|all:
- '/add'
- '/domain'
- 'ESX Admins'
- 'group'
selection_powershell_img:
- Image|endswith:
- '\PowerShell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'PowerShell.exe'
- 'pwsh.dll'
selection_powershell_cli:
CommandLine|contains|all:
- 'New-ADGroup'
- 'ESX Admins'
condition: all of selection_net_* or all of selection_powershell_*
falsepositives:
- Unknown