WEBVTT

00:00:02.940 --> 00:00:06.080
In this section, we'll get your workstation ready for the simulation

00:00:06.080 --> 00:00:09.560
environment. In this course, we'll be leveraging Kali Linux.

00:00:09.940 --> 00:00:13.120
This should be an environment that is somewhat familiar to security

00:00:13.120 --> 00:00:18.760
teams. Specifically, we'll leverage Kali 2020.3.0.

00:00:19.340 --> 00:00:22.670
If you're having issues with your environment, try switching to this version.

00:00:24.040 --> 00:00:25.030
To make things easier,

00:00:25.040 --> 00:00:27.100
I'm providing an install script to get you up and

00:00:27.100 --> 00:00:28.660
running as quickly as possible.

00:00:29.140 --> 00:00:30.180
To avoid any headaches,

00:00:30.190 --> 00:00:34.210
I recommend running the script on a fresh install of Kali. First, let's

00:00:34.210 --> 00:00:37.070
clone down the repo and cd into the repo's directory.

00:00:40.140 --> 00:00:41.760
Alright, let's check out the script.

00:00:47.040 --> 00:00:47.700
Okay,

00:00:47.800 --> 00:00:52.210
so Recommendations. For the Docker host preferences, we

00:00:52.210 --> 00:00:55.660
want to give at least 6GB of memory to the docker daemon.

00:00:55.660 --> 00:00:57.590
The containers might not use it,

00:00:57.710 --> 00:01:00.760
but Elasticsearch will keel over without this minimum.

00:01:01.640 --> 00:01:01.740
Okay,

00:01:01.740 --> 00:01:04.069
here we see we're installing Docker, some miscellaneous

00:01:04.069 --> 00:01:07.360
dependencies, installing docker‑compose.

00:01:07.520 --> 00:01:07.960
Okay,

00:01:08.540 --> 00:01:12.830
Set virtual memory for Elasticsearch container (used by Wazuh).

00:01:12.830 --> 00:01:16.560
Alright, if you don't set the max_map_count on your host,

00:01:16.570 --> 00:01:18.660
Elasticsearch will probably fail.

00:01:18.670 --> 00:01:20.250
This step is very important.

00:01:21.340 --> 00:01:25.060
Okay, and Allow iptables to be set within the Victim container.

00:01:25.540 --> 00:01:29.050
Now this is needed for the custom Wazuh Active Response script.

00:01:30.140 --> 00:01:31.000
Looks like we're done.

00:01:31.010 --> 00:01:32.450
Let me exit out of bin here.

00:01:36.740 --> 00:01:38.570
Now we're going to install the dependencies.

00:01:38.710 --> 00:01:41.750
I'm going to pause the video until the installation finishes.

00:01:44.940 --> 00:01:48.160
Right on! The installation was successful.
