Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: process_creation
detection:
selection_parent:
ParentImage|endswith: '\forfiles.exe'
selection_c:
ParentCommandLine|contains:
- ' /c '
- ' -c '
selection_p:
ParentCommandLine|contains:
- ' /p '
- ' -p '
selection_m:
ParentCommandLine|contains:
- ' /m '
- ' -m '
filter:
Image|endswith: '\cmd.exe'
CommandLine|contains|all:
- 'xcopy'
- 'cmd /c del'
condition: all of selection_* and not filter
falsepositives:
- Unknown