Zeek Explained

Zeek
Author:Vern Paxson
Released:[1]
Programming Language:C++
Operating System:Linux, FreeBSD, macOS
Genre:Network intrusion detection system
License:BSD license

Zeek is a free and open-source software network analysis framework. Vern Paxson began development work on Zeek in 1995 at Lawrence Berkeley National Lab.[2] Zeek is a network security monitor (NSM) but can also be used as a network intrusion detection system (NIDS).[3] The Zeek project releases the software under the BSD license.

Output

Zeek's purpose is to inspect network traffic and generate a variety of logs describing the activity it sees.[4] A complete list of log files is available at the project documentation site.[5]

Log example

The following is an example of one entry in JSON format from the conn.log:[6]

Threat hunting

One of Zeek's primary use cases involves cyber threat hunting.[7]

Name

The principal author, Paxson, originally named the software "Bro" as a warning regarding George Orwell's Big Brother from the novel Nineteen Eighty-Four. In 2018 the project leadership team decided to rename the software. At LBNL in the 1990s, the developers ran their sensors as a pseudo-user named "zeek", thereby inspiring the name change in 2018.[8]

Zeek deployment

Security teams identify locations on their network where they desire visibility. They deploy one or more network taps or enable switch SPAN ports for port mirroring to gain access to traffic. They deploy Zeek on servers with access to those visibility points.[9] The Zeek software on the server deciphers network traffic as logs, writing them to local disk or remote storage.[10]

Zeek application architecture and analyzers

Zeek's event engine analyzes live or recorded network traffic to generate neutral event logs. Zeek uses common ports and dynamic protocol detection (involving signatures as well as behavioral analysis) to identify network protocols.[11]

Developers write Zeek policy scripts in the Turing complete Zeek scripting language. By default Zeek logs information about events to files, but analysts can also configure Zeek to take other actions, such as sending an email, raising an alert, executing a system command, updating an internal metric, or calling another Zeek script.

Zeek analyzers perform application layer decoding, anomaly detection, signature matching and connection analysis.[12] Zeek's developers designed the software to incorporate additional analyzers. The latest method for creating new protocol analyzers relies on the Spicy framework.[13]

External links

Notes and References

  1. Web site: Bro 0.3-alpha. 2022-08-01.
  2. Web site: Bro: A System for Detecting Network Intruders in Real-Time. Paxson. Vern. USENIX. en-US. 1998-01-26. 2022-08-01.
  3. Web site: Bro IDS » ADMIN Magazine. McCarty. Ronald. ADMIN Magazine. en-US. 2023-07-06.
  4. Web site: Zeek Network Security Monitor. 22 December 2021 . 2022-08-01.
  5. Web site: Zeek Script Reference Log Files. Zeek Documentation. en-US. 2022-08-01.
  6. Web site: Parsing Zeek JSON Logs with JQ. Wright. Joshua. SANS. en-US. 2022-08-01. 2019-12-09.
  7. Web site: Zeekurity Zen - Part IV: Threat Hunting with Zeek. Ooi. Eric. Eric Ooi. 22 November 2023. en-US. 2023-11-20.
  8. Web site: Renaming the Bro Project. 2018-10-11. Vern. Paxson. Vern Paxson.
  9. Web site: Enabling SOHO Network Monitoring. 2020-04-07. 2022-08-01.
  10. Web site: Zeekurity Zen Part III: How to Send Zeek Logs to Splunk. Ooi. Eric. Eric Ooi. 3 January 2019 . en-US. 2022-08-01.
  11. Attacks on Dynamic Protocol Detection of Open Source Network Security Monitoring Tools. 1912.03962 . Grashöfer . Jan . Titze . Christian . Hartenstein . Hannes . 2019 . cs.NI .
  12. Bro: An Open Source Network Intrusion Detection System. Sommer. Robin. 2003 . 10.1.1.60.5410.
  13. Web site: Spicy. . 11 June 2022 . 2022-08-01.