Softwr

Cybersecurity · head to head

Nmap vs Zeek

Nmap logo

Nmap

Cybersecurity

Free open source network discovery and security auditing scanner

From
Free
Free plan
Yes
Zeek logo

Zeek

Networking

Open-source passive network traffic analyser and logger

From
Free
Free plan
Yes

The short version

  • Nmap is a free open source utility; Zeek is a free, open-source network monitor.
  • Both are free.
  • Only Nmap lists host discovery; only Zeek lists passive traffic monitoring.
  • Where Nmap falls short: primarily a command-line tool; the Zenmap interface is a separate component.
  • Where Zeek falls short: passive only, so it does not block traffic.

How do Nmap and Zeek differ?

Nmap and Zeek differ on platforms and category (Cybersecurity against Networking). Only the attributes on which Nmap and Zeek actually diverge.

Attributes where Nmap and Zeek differ
AttributeNmapZeek
PlatformsWindows, macOS, LinuxLinux, macOS
CategoryCybersecurityNetworking

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: founded for Zeek.

Which features does each one have?

They share no listed features; 8 appear only for Nmap and 7 only for Zeek. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Nmap

  • Host discovery
  • TCP and UDP port scanning
  • Service and version detection
  • Operating system detection
  • Nmap Scripting Engine
  • Zenmap graphical interface
  • Ncat, Ndiff and Nping companion tools
  • Firewall and IDS evasion options

Only in Zeek

  • Passive traffic monitoring
  • Structured logs, 70+ by default
  • Application-layer protocol analysis
  • Threat and anomaly detection scripts
  • Scripting language
  • Community packages
  • SIEM integration

What is each one used for?

Nmap is most often brought in for network inventory; Zeek for network forensics and threat hunting. The jobs each tool is most often brought in to do.

Nmap

  • Network inventorynot Zeek
  • Security auditsnot Zeek
  • Firewall rule checkingnot Zeek
  • Service uptime checksnot Zeek

Zeek

  • Network forensics and threat huntingnot Nmap
  • Generating protocol logs for a SIEMnot Nmap
  • Monitoring research and campus networksnot Nmap
  • Detecting suspicious DNS or TLS behaviournot Nmap

Where do Nmap and Zeek fall short?

Nmap's most cited limit: primarily a command-line tool; the Zenmap interface is a separate component. Zeek's: passive only, so it does not block traffic. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Nmap

  • Primarily a command-line tool; the Zenmap interface is a separate component
  • A scanner only; it does not manage vulnerabilities or remediation
  • Uses the custom Nmap Public Source License, not a standard open source licence
  • Aggressive scans can trigger intrusion detection alerts on monitored networks
  • Windows scanning relies on the separately maintained Npcap driver

Zeek

  • Passive only, so it does not block traffic
  • Needs scripting and network skills to tune
  • Output requires a separate SIEM or analytics layer to be useful
  • No vendor-backed commercial support described on its site

How much do Nmap and Zeek cost?

Nmap is free to use; Zeek is free to use. Plan by plan below, from each vendor's own pricing page.

Nmap

Free

No published plan breakdown. See the Nmap review.

Zeek

Free

No published plan breakdown. See the Zeek review.

Which should you pick?

Choose Nmap if

  • You need host discovery.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want tcp and udp port scanning.

Choose Zeek if

  • You need passive traffic monitoring.
  • You want to start without paying.
  • You work on Linux, macOS.
  • You also want structured logs, 70+ by default.

Questions people ask

Is Nmap or Zeek better?
It depends on the job. Nmap fits network inventory; Zeek fits network forensics and threat hunting. Nmap starts at Free and Zeek at Free.
Which is cheaper, Nmap or Zeek?
Nmap starts at Free and Zeek at Free.
Does Nmap or Zeek run on more platforms?
Nmap runs on Windows, macOS, Linux. Zeek runs on Linux, macOS.
Can I use Nmap for free?
Both have a free tier, so you can try either at no cost before committing.
What is Nmap best used for?
Nmap is most often used for network inventory, security audits, firewall rule checking, service uptime checks. Of those, network inventory and security audits are not what Zeek is typically brought in for.
What can Nmap do that Zeek cannot?
Nmap covers Host discovery, TCP and UDP port scanning, Service and version detection, Operating system detection. Zeek covers Passive traffic monitoring, Structured logs, 70+ by default, Application-layer protocol analysis, Threat and anomaly detection scripts.

Answered from the vendors’ own pages

Nmap: Is Nmap free?

Yes. The project describes it as free and open source, with full source code included under the Nmap Public Source License.

Source
Zeek: Is Zeek free?

Yes. It is open source under the BSD licence, according to Wikipedia.

Source
Nmap: What platforms does Nmap run on?

The site lists official binary packages for Linux, Windows and macOS. Wikipedia says it began on Linux in 1997 and was later ported to Windows, macOS and BSD.

Source
Zeek: Does Zeek block attacks?

No. The project describes it as passive, unlike a firewall or intrusion prevention system. It watches traffic and writes logs.

Source
Nmap: What can Nmap detect?

It identifies live hosts, open ports, the services and versions behind them, operating systems and firewall behaviour. The manual also describes script scanning through the Nmap Scripting Engine.

Source
Zeek: Why was Bro renamed?

Wikipedia says project leadership decided to rename it in 2018, taking the name from a pseudo-user account developers used for their sensors.

Source
Nmap: Which licence does Nmap use?

Wikipedia says it was under the GNU GPL originally and has used the custom Nmap Public Source License since version 7.90 in October 2020. The project also offers a separate proprietary OEM licence.

Source
Share

Related pages

Other head to heads