MacOS Network Service Scanning Activity
Detection of network service discovery and enumeration activities on MacOS systems using common tools like nmap, netcat, and telnet.
This brief addresses the detection of network scanning and service enumeration techniques commonly employed during the discovery phase of an attack. On MacOS, adversaries often leverage built-in or easily obtainable binaries such as netcat (nc), nmap, or telnet to map internal networks, identify open ports, and fingerprint network services. While these tools have legitimate administrative use cases, their execution in suspicious contexts - especially when scanning for specific services or utilizing flags indicative of probing - warrants monitoring by security operations teams. Defenders should focus on baseline process creation events to differentiate authorized network troubleshooting from potential unauthorized reconnaissance.
Impact
Successful network scanning allows adversaries to gain situational awareness of the target environment, identify high-value targets (such as databases or administrative interfaces), and facilitate lateral movement or exploitation of discovered services. While this behavior itself does not imply a compromise, it is a precursor to more severe malicious activities.
Recommendation
Deploy the provided Sigma rule to your SIEM to monitor for suspicious invocation of network scanning utilities. Focus on tuning the alert by correlating these process creation events with network flow logs to identify unusual outbound scanning patterns originating from endpoint workstations.
Detection
- Deploy the MacOS process creation detection rule provided below to identify non-listening network enumeration attempts.
Immediate actions
Deploy Sigma detection rule to monitor network discovery tools
Threat Hunt
Identify historical usage of network scanners across the environment
Data: process_creation logs
Detection coverage 1
MacOS Network Service Scanning
lowDetects enumeration of local or remote network services using nmap, telnet, or netcat scanning flags
Detection queries are available on the platform. Get full rules →