MacOS Network Service Scanning

testlow
log source: macos · process_creationauthor Alejandro Ortuno, oscd.communitydate 2020-10-21
01

description

What this is, in brief.

Detects enumeration of local or remote network services.

02

tags

attack.discoveryattack.t1046
03

rule source (YAML)

title: MacOS Network Service Scanning
id: 84bae5d4-b518-4ae0-b331-6d4afd34d00f
status: test
description: Detects enumeration of local or remote network services.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1046/T1046.md
author: Alejandro Ortuno, oscd.community
date: 2020-10-21
modified: 2026-10-19
tags:
    - attack.discovery
    - attack.t1046
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
level: low
04

detects techniques (1)

ATT&CK techniques this enables or maps to.

05

references

External citations — patches, advisories, analysis.