WEBVTT

00:00:00.940 --> 00:00:04.180
This demo is a continuation of the previous demo where we wrote

00:00:04.180 --> 00:00:06.460
five rules to check for specific traffic.

00:00:07.440 --> 00:00:07.970
This time,

00:00:07.980 --> 00:00:10.040
we're going to test each of the rules to see if our

00:00:10.040 --> 00:00:11.550
security goals are satisfied.

00:00:12.240 --> 00:00:14.250
Let's head over to the Snort VM and get started.

00:00:15.240 --> 00:00:17.760
Before we conduct the test, we need to activate Snort.

00:00:18.440 --> 00:00:20.150
I'll use the same command as the last demo.

00:00:21.940 --> 00:00:22.750
Now that we're ready,

00:00:22.760 --> 00:00:28.040
let's go to the Kali VM and run the first test. To test our TTL rule, we

00:00:28.040 --> 00:00:32.870
need to send a traceroute to the internal IP 10.0.0.100.

00:00:33.840 --> 00:00:35.950
Now that that's complete, let's check Snort,

00:00:36.740 --> 00:00:39.050
and our rule alerted us as we expected.

00:00:39.840 --> 00:00:41.460
Now we have to test using Windows.

00:00:42.040 --> 00:00:45.460
I'm going to use my Windows host that these VMs are running on for that test,

00:00:49.540 --> 00:00:53.020
and now we can check back in with Snort, and the rule

00:00:53.020 --> 00:00:55.170
for ICMP traceroutes worked as well.

00:00:55.840 --> 00:00:57.550
We accomplished the first security goal.

00:00:57.940 --> 00:01:00.760
Now let's see if Snort will block large ICMP packets.

00:01:01.640 --> 00:01:03.050
We can use Kali for this test,

00:01:03.440 --> 00:01:05.660
but we'll first need to see if a basic ping still

00:01:05.660 --> 00:01:14.450
goes through and that ping succeeds.

00:01:14.740 --> 00:01:19.160
Now we can use the ‑s option to set a packet size of 1024,

00:01:19.640 --> 00:01:22.870
the minimum that Globomantics wanted us to block and we'll

00:01:22.870 --> 00:01:24.370
see if that can get past Snort.

00:01:30.440 --> 00:01:32.750
And we sent eight packets that all failed.

00:01:33.140 --> 00:01:33.950
Let's check Snort.

00:01:35.540 --> 00:01:39.170
And there is all the drop notifications satisfying the second security

00:01:39.170 --> 00:01:44.610
goal. Last, we need to check if Nmap Xmas scans are detected by Snort. To

00:01:44.610 --> 00:01:56.240
run an Xmas scan, we'll use Nmap with the ‑sX option. Instead of scanning

00:01:56.240 --> 00:02:09.520
the whole range, I'm just going to scan the single IP and the scan went

00:02:09.520 --> 00:02:10.570
through as expected.

00:02:10.580 --> 00:02:12.850
Remember, we were just alerting on these packets.

00:02:13.340 --> 00:02:14.150
Let's check Snort,

00:02:15.340 --> 00:02:19.650
and we have our Xmas scan alerts satisfying our last security goal for

00:02:19.650 --> 00:02:24.010
this demo. Before we move on with this module, let's do a quick recap of

00:02:24.010 --> 00:02:25.750
what we covered between these two demos.

00:02:26.640 --> 00:02:29.340
We started out in the first demo determining how we could use

00:02:29.350 --> 00:02:32.760
each of the non‑payload detection options we discussed to

00:02:32.760 --> 00:02:34.860
satisfy Globomantics security goals.

00:02:35.340 --> 00:02:38.960
We then configured rules leveraging these options to detect the specific

00:02:38.960 --> 00:02:41.980
traffic, and in the case of our large ICMP packets,

00:02:42.010 --> 00:02:42.570
drop it.

00:02:43.240 --> 00:02:44.530
After configuring the rules,

00:02:44.540 --> 00:02:48.920
we tested each of them using traceroute, Nmap scans, and the large pings,

00:02:49.020 --> 00:02:51.530
and we verified that all of our rules alerted or

00:02:51.530 --> 00:02:53.350
dropped the traffic as expected.
