WEBVTT

00:00:01.440 --> 00:00:04.760
if you've taken other Zeek courses or have used it before,

00:00:05.140 --> 00:00:08.010
you should be familiar with Zeek and how it operates and have

00:00:08.010 --> 00:00:10.210
some knowledge about the scripts within it.

00:00:10.210 --> 00:00:13.560
We'll expand on all of that information throughout this course.

00:00:13.560 --> 00:00:14.870
In this module,

00:00:14.870 --> 00:00:18.770
we'll focus on getting acclimated with the integration capabilities.

00:00:18.770 --> 00:00:25.570
Up first is finding out what exactly we can do with integrations and Zeek.

00:00:25.570 --> 00:00:30.200
We can use some of Zeek's frameworks to pull in additional data

00:00:30.320 --> 00:00:32.860
and manipulate it or use it in various ways.

00:00:33.740 --> 00:00:37.000
The input, configuration, and NetControl frameworks

00:00:37.000 --> 00:00:38.930
come to mind from that perspective.

00:00:38.930 --> 00:00:43.260
Now, these may not be directly involved in integrating with other products,

00:00:43.940 --> 00:00:47.260
but they help us find additional use cases for our data.

00:00:48.540 --> 00:00:51.580
The input framework helps us read data from sources into

00:00:51.580 --> 00:00:55.550
Zeek, and we can use that to read data into tables or

00:00:55.550 --> 00:00:58.220
actual events for Zeek to use.

00:00:58.220 --> 00:01:02.140
The configuration framework is our alternative to using some

00:01:02.140 --> 00:01:06.200
constants in the scripts and gives us the ability to change any

00:01:06.200 --> 00:01:07.850
of the configurations at runtime.

00:01:09.140 --> 00:01:12.680
Think of this as our options for running Zeek when we need a

00:01:12.680 --> 00:01:16.450
different configuration or tweaks without having to go in and

00:01:16.450 --> 00:01:17.960
modify the scripts themselves.

00:01:19.240 --> 00:01:24.320
This is useful if we want to turn on or off certain features or scripts to test.

00:01:24.320 --> 00:01:28.520
The NetControl framework is the cool one of the bunch that

00:01:28.530 --> 00:01:32.190
actually helps us with the integrations instead of just

00:01:32.190 --> 00:01:34.050
adding functionality to Zeek itself.

00:01:34.840 --> 00:01:39.160
This framework is Zeek's API, where we can connect it to external devices.

00:01:40.440 --> 00:01:43.940
Think of this as our way of passing the rules that we want to pass to

00:01:43.940 --> 00:01:47.070
our network devices after we detect certain behavior.

00:01:47.070 --> 00:01:50.120
We can use it to create and send rules to our

00:01:50.120 --> 00:01:51.860
routers and switches and firewalls.

00:01:54.440 --> 00:01:58.000
We'll talk about the Intelligence framework later on as an additional

00:01:58.000 --> 00:02:02.120
way to get that specific information in. Other than the frameworks,

00:02:02.120 --> 00:02:05.890
though, we have extensions that Zeek can use to integrate with other

00:02:05.890 --> 00:02:08.460
technologies or add uses to it.

00:02:09.340 --> 00:02:11.530
These extensions can be through packages,

00:02:11.750 --> 00:02:16.840
custom scripts or tools, and through Zeek projects and add‑ons. We'll talk

00:02:16.840 --> 00:02:20.710
about packages in the next clip, so we'll focus on the projects and scripts

00:02:20.710 --> 00:02:22.860
that we can add for the remainder of this one.

00:02:24.740 --> 00:02:28.460
So, the projects are bigger things that you can add on to Zeek.

00:02:29.240 --> 00:02:32.400
We'll be talking about Spicy and the other ones a little bit

00:02:32.400 --> 00:02:37.310
later on, but think of the larger add‑ons as projects. They're

00:02:37.310 --> 00:02:41.770
the big extensions that we can see on the GitHub repo. Extra

00:02:41.770 --> 00:02:43.460
scripts can be added as well.

00:02:44.340 --> 00:02:47.340
I know we talked a lot about scripting in the Writing Zeek Rules and

00:02:47.340 --> 00:02:49.950
Scripts course, so we'll just highlight it here.

00:02:50.840 --> 00:02:56.260
We can add external scripts from third parties or from Zeek or create our own.

00:02:57.340 --> 00:03:02.160
Now, the cool thing is that these script extensions are found all over the web.

00:03:02.840 --> 00:03:06.060
Some of the ones that the Zeek team supports is on their GitHub

00:03:06.060 --> 00:03:08.660
page here with some of their bigger projects.

00:03:09.340 --> 00:03:12.470
All of these extension scripts and cool functionality like

00:03:12.480 --> 00:03:15.760
getting us NIC stats or parsing JSON quickly.
