Possible MacOS Network Service Scanning (via process_creation)

This rule detects enumeration of local or remote network services.

SigmalowmacOSv1
sigma
title: Possible MacOS Network Service Scanning (via process_creation)
id: bad0a029-0124-5fe9-bee8-7c6b3f74cad3
status: stable
description: This rule detects enumeration of local or remote network services.
references:
    - https://attack.mitre.org/techniques/T1046/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1046/T1046.md
author: Huntrule Team
date: 2026-04-22
tags:
    - attack.discovery
    - attack.t1046
logsource:
    category: process_creation
    product: macos
detection:
    selection_1:
        Image|endswith:
            - '/nc'
            - '/netcat'
    selection_2:
        Image|endswith:
            - '/nmap'
            - '/telnet'
    filter:
        CommandLine|contains: 'l'
    condition: (selection_1 and not filter) or selection_2
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.