Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: macos
detection:
selection_netcat:
Image|endswith:
- '/nc'
- '/netcat'
selection_other:
Image|endswith:
- '/nmap'
- '/telnet'
filter_main_nc_listen:
CommandLine|re: '\s(?:--listen\b|-[46DdknrtuUvz]{0,10}l[46DdknrtuUvz]{0,10})'
condition: (selection_netcat and not 1 of filter_main_nc_*) or selection_other
falsepositives:
- Legitimate administration activities