macOS Network Service Enumeration via nc, netcat, nmap, or telnet

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

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

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 execution on macOS where the binary name ends with nc or netcat (and includes nmap or telnet). Such tools are commonly used to enumerate local or remote network services during discovery, which can help attackers map reachable systems and ports. The detection relies on process creation telemetry, matching the executed Image name suffix and applying a command-line substring exclusion to reduce noise.

Related detections9 linkedT1046 — drag to rearrange
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
Malicious RDP Discovery Performed on Multiple Hosts (via rdp)
Malicious Anonymous Access Performed to Multiple Targets (via security)
Malicious Network Login Performed to Multiple Targets (via security)
Suspicious SoftPerfect Network Scanner Execution for Discovery
Suspicious SoftPerfect Network Scanner Execution (via process_creation)
macOS Network Service Enumeration via nc, netcat, nmap, or telnet
Pivot detection · T1046 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. 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.