WEBVTT

00:00:01.440 --> 00:00:04.580
You probably already have an idea what Apache Kafka is,

00:00:04.590 --> 00:00:06.430
but why should you use it?

00:00:06.460 --> 00:00:08.060
What makes it so special?

00:00:09.040 --> 00:00:13.360
Probably the most important feature of Apache Kafka is its high throughput.

00:00:14.240 --> 00:00:17.060
Kafka can handle millions of events per second.

00:00:17.740 --> 00:00:18.550
You heard me right.

00:00:18.940 --> 00:00:22.660
There are companies that have throughputs of trillions events per day,

00:00:23.040 --> 00:00:24.150
which is insane.

00:00:24.840 --> 00:00:28.040
This makes Kafka an excellent tool for ingesting and

00:00:28.040 --> 00:00:30.860
manipulating a ton of data in real time.

00:00:31.440 --> 00:00:32.100
However,

00:00:32.110 --> 00:00:36.450
the only way to handle this amount of data is by being extremely scalable.

00:00:37.140 --> 00:00:42.060
A Kafka cluster can scale up even to 1,000 brokers without any issues.

00:00:42.940 --> 00:00:47.160
Another cool feature of Kafka is that we can have permanent storage.

00:00:47.160 --> 00:00:50.720
If we compare it to other message brokers that can only

00:00:50.720 --> 00:00:53.650
store messages for a limited amount of time,

00:00:54.040 --> 00:00:56.260
Kafka can store them indefinitely.

00:00:57.440 --> 00:01:01.360
Finally, Kafka is designed to run in a highly available configuration,

00:01:01.740 --> 00:01:04.400
meaning that if one or more instances go down,

00:01:04.610 --> 00:01:07.350
the cluster may still work without interruptions.

00:01:08.440 --> 00:01:11.000
Now, since this course is security‑oriented,

00:01:11.010 --> 00:01:14.650
I would like to talk a little bit about the NIST Cybersecurity Framework.

00:01:15.540 --> 00:01:18.260
NIST is a set of standards, guidelines,

00:01:18.270 --> 00:01:22.160
and best practices for managing cybersecurity risks.

00:01:23.040 --> 00:01:24.430
It's a voluntary program,

00:01:24.550 --> 00:01:27.660
but it is extremely powerful and will definitely

00:01:27.670 --> 00:01:29.810
improve your cybersecurity program.

00:01:29.810 --> 00:01:33.560
As you may notice, it consists of multiple functions,

00:01:33.760 --> 00:01:38.470
Identify, Protect, Detect, Respond, and Recover.

00:01:38.470 --> 00:01:41.590
If you are interested in finding out more about the

00:01:41.600 --> 00:01:45.040
NIST Cybersecurity Framework, I recommend that you check out Pluralsight,

00:01:45.040 --> 00:01:49.860
as there are multiple courses that detail every aspect of it.

00:01:49.860 --> 00:01:54.150
Today, we'll explore Kafka from the Protect perspective.

00:01:54.150 --> 00:01:57.600
The Protect function has several categories,

00:01:57.600 --> 00:02:02.100
Identity Management and Access Control, Awareness and Training,

00:02:02.100 --> 00:02:06.740
Data Security, Information Protection Processes & Procedures,

00:02:06.980 --> 00:02:09.460
Maintenance, and Protective Technology.

00:02:10.240 --> 00:02:14.950
Out of these six categories, Kafka fits best under Protective Technology.

00:02:16.040 --> 00:02:16.940
To be more precise,

00:02:16.950 --> 00:02:19.540
we'll explore how Kafka can be used to implement the

00:02:19.540 --> 00:02:21.760
first Protective Technology subcategory.

00:02:22.540 --> 00:02:25.460
Audit and/or log records are determined,

00:02:25.570 --> 00:02:30.270
documented, implemented, and reviewed in accordance with policy.

00:02:30.270 --> 00:02:32.780
To fulfill this subcategory,

00:02:32.790 --> 00:02:35.810
we'll go through a series of demos and start to set

00:02:35.810 --> 00:02:38.050
up a Kafka cluster using Docker.

00:02:38.840 --> 00:02:40.690
If you're planning on following along,

00:02:40.840 --> 00:02:43.360
you should keep in mind that Docker is required.

00:02:44.040 --> 00:02:47.460
Then, we'll start using different components from the ecosystem.

00:02:48.240 --> 00:02:53.500
First, we'll ingest audit logs into our Kafka cluster using Kafka Connect.

00:02:53.500 --> 00:02:56.000
Once the audit logs are ingested,

00:02:56.100 --> 00:03:00.060
we can analyze them using another component called ksqlDB.

00:03:00.940 --> 00:03:01.590
Finally,

00:03:01.600 --> 00:03:05.520
we'll see another tool in action by analyzing network logs and

00:03:05.520 --> 00:03:08.950
checking for port scan attacks using Kafka Streams.
