macOS Process Network Service Scanning via nc or nmap/telnet

Flags macOS executions of nc/netcat, nmap, or telnet consistent with local or remote service enumeration.

FreeReviewedSigma · Low · v4
Product
macos
Category
process_creation
Author
Alejandro Ortuno, oscd.community (SigmaHQ), DRL 1.1
Published
2020-10-21
Updated
2026-10-19

ATT&CK techniques

Discovery
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies process executions on macOS that appear to enumerate or probe network services using common utilities: netcat-like commands (nc/netcat) or network tools such as nmap and telnet. Attackers use service scanning to discover reachable hosts, open ports, and available services before exploitation or further targeting. Telemetry relies on process creation events, matching executable names by their Image path suffix and applying command-line patterns to further distinguish netcat listen behavior.

Related detections9 linkedT1046 — drag to rearrange
Suspicious Advanced IP Scanner Execution for Network Discovery
Suspicious masscan Scanning Docker API Port 2375
Suspicious Network Reconnaissance via Advanced Port Scanner
Suspicious Nmap Scanner Probe URIs in HTTP Requests (via webserver)
Suspicious Internet Scanning for Docker and Kubelet Ports via masscan
Suspicious Fscan Internal Network Scanner Execution (via process_creation)
Possible Network Service Scanning via Nmap or Masscan (via process_creation)
Malicious Anonymous Login - Domain Specified (via security)
Suspicious Network Scanning Tool Execution
macOS Process Network Service Scanning via nc or nmap/telnet
Pivot detection · T1046 · 9 related

Changelog

v4
  1. v4
    Candidate ingested via manual entry.2026-10-19
  2. v2
    Candidate ingested via manual entry.2026-07-31
  3. v1
    No changelog recorded for this version.2026-07-30

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