Skip to content
master
Go to file
Code

Latest commit

…olumn names across tables (#68)

This PR basically adds/updates following three big things:

1. Adds a file events table fileeventstableplugin.cpp for Linux platform. Currently, it handles creat, open, and openat syscalls. I have also added tests that generate file event logs and then check table rows generated by zeek-agent for data correctness.

2. Updates column names for all three tables (process, socket, and file) so that those column names match the key names that appear in the underlying auditd logs. For example, it replaces "parent" column name with "ppid" because auditd log uses "ppid" key name to represent parent's pid. I also updated the variable names in processeventstableplugin.cpp, socketeventstableplugin.cpp, and fileeventstableplugin.cpp files so that they are consistent and match across tables.

3. Incorporates requested changes on macOS event tables in PR#67 that are also applicable here to Linux event tables.
b1ff7ac

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

Zeek Agent

The Zeek Agent is an endpoint monitoring tool for Linux and macOS that reports, by default, file, socket, and process events to Zeek. On Linux, event data is captured from Linux Audit using the Unix domain socket plugin that comes with Audisp. On macOS, Zeek Agent leverages Endpoint Security framework to capture file and process events while to collect socket events Zeek Agent uses OpenBSM. Collected event data from endpoint is stored in an SQL database (using SQLite virtual tables internally) on the host. Events from this database are later fetched by Zeek using scheduled queries.

Zeek Agent can optionally also interface to osquery, allowing Zeek to access almost all the endpoint information that it provides (excluding only event tables).

Pre-built, statically linked zeek-agent packages are available on the releases page.

On the Zeek side, the Zeek Agent Framework provides the API access Zeek Agents, as well as some default scripts recording endpoint activity into Zeek logs.

Documentation

The documentation has been moved to the Zeek Agent Wiki, and contains guides on building, configuring, and extending the Zeek Agent project.

For convenience, use the following links to build and configure Zeek Agent:

History

Zeek Agent supersedes an earlier osquery extension for Zeek that focused on providing osquery's tables to Zeek. Zeek Agent provides all the same functionality, but can operate independent from osquery as well. We plan to further extend the events/tables that the agent provides natively.

License

Zeek Agent comes with a BSD license, allowing for free use with virtually no restrictions. You can find it in LICENSE.

You can’t perform that action at this time.