WEBVTT

00:00.570 --> 00:01.590
Hi everyone.

00:01.620 --> 00:02.470
I'm Chris.

00:02.530 --> 00:07.610
And welcome back to my course on Enterprise Security fundamentals.

00:08.130 --> 00:14.840
In this lesson we are going to talk about the blue team's Kill Chain.

00:15.120 --> 00:22.640
So to get an overview of all of this in the Information Security lexicon a kill chain.

00:22.770 --> 00:29.370
As I've mentioned in the previous section describes the structure of an attack against an objective

00:30.240 --> 00:34.860
well usually used to describe the phases of a red team's operation.

00:34.860 --> 00:41.190
It's also common in the Information Security literature for blue teams to have their own kill chain

00:41.970 --> 00:46.050
rather than describing the structure of an attack against an objective.

00:46.050 --> 00:52.100
The Blue Teams Kill Chain describes the phases of detecting and responding to an organizational attack.

00:53.370 --> 01:00.030
Although there are a variety of different Kill Chain phases discussed in the across the Information

01:00.030 --> 01:09.150
Security literature the Blue Teams kill change generally include the following phases gather baseline

01:09.150 --> 01:22.290
data detect alert investigate planner response and execute and usually they are performed in this order

01:23.390 --> 01:34.070
so let's let's have a little discussion about each and one of the phases in detail Sue.

01:34.170 --> 01:42.570
The first one gather baseline data having adequate time on amounts of baseline data allows you to understand

01:42.570 --> 01:47.510
what your environment looks like when it is not under attack.

01:47.700 --> 01:54.230
It is difficult to know what is the usual or what is the unusual for your network.

01:54.270 --> 02:02.540
Unless you have a good idea of what the usual looks like to analogize it's easier to find needles in

02:02.540 --> 02:03.240
a haystack.

02:03.240 --> 02:09.330
If you have an extremely good understanding of the characteristics of a haystack that has no needles

02:09.420 --> 02:17.860
in it gathering a good baseline data means configuring effective logging monitoring and auditing for

02:17.860 --> 02:19.420
your organization.

02:19.600 --> 02:25.400
When configuring how you will collect baseline data consider enabled.

02:25.450 --> 02:29.740
Consider enabling all auditing and logging options.

02:30.280 --> 02:37.030
The more telemetry that you have the better picture you'll be able to generate of what normality looks

02:37.030 --> 02:40.130
like in your organization's environment.

02:40.490 --> 02:47.030
If you haven't configured all telemetry options it is possible that you won't have a clear enough picture

02:47.390 --> 02:56.210
that will allow you to accurately distinguish normal from abnormal activity collect telemetry over a

02:56.210 --> 03:04.970
sustained period that let's say represents your organization's normal operations baseline data should

03:05.060 --> 03:10.380
also be regenerated as changes are made to information systems on your network.

03:10.490 --> 03:16.850
So it will reflect the current operation of the network rather than only representing the organization's

03:16.850 --> 03:21.860
information systems as they existed at a fixed point in the past

03:24.830 --> 03:32.540
the next phase would be the detect phase detecting an intruder is often a case of noticing abnormal

03:32.540 --> 03:35.760
activity on your organization's information systems.

03:35.810 --> 03:42.380
For example one may notice that a server where for the last few months connections via remote desktop

03:42.710 --> 03:51.290
protocol RTP have only been made during business hours is suddenly servicing RTP requests late at night

03:52.100 --> 03:58.760
or on weekends for example or where a computer is transmitting unusually large amounts of data to hosts

03:58.760 --> 04:06.210
on the Internet where previously amount of traffic it transmitted was negligible.

04:06.350 --> 04:13.070
Detection can be difficult as competent intruders will attempt to leave minimal trace of their activities

04:13.430 --> 04:20.540
in the telemetry logs of your organization's information systems rather than detecting abnormalities

04:20.990 --> 04:24.080
by manually examining event logs.

04:24.080 --> 04:32.900
Many organizations today rely upon intrusion detection systems or shortly ideas and of course security

04:32.900 --> 04:36.190
information and event management systems.

04:36.260 --> 04:44.450
Those would be the CRM tools and they rely upon this kind of tools to identify suspicious anomalies

04:44.450 --> 04:49.020
in the telemetry generated by the information systems.

04:49.070 --> 04:56.650
The next one would be the alert phase.

04:56.760 --> 04:58.890
Well let's put it this way.

04:58.920 --> 05:04.620
When does a series of unusual events correlated across multiple logs reached the stage of being worthy

05:04.620 --> 05:07.240
of further investigation.

05:07.470 --> 05:11.400
Correlation with other events is very very important.

05:11.550 --> 05:20.490
A series of failed attempts at remote RTP access by themselves are suspicious but don't indicate a problem.

05:20.490 --> 05:21.680
Privacy.

05:21.840 --> 05:25.020
A series of failed attempts at remote RTP access.

05:25.230 --> 05:34.080
Successful remote log in via RTP and then suspicious failures of the let's say LSA assess that EMC service

05:34.080 --> 05:43.410
securing in the same session that would be worthy of investigation alerting is the process of bringing

05:43.410 --> 05:49.020
such be suspicious anomalies in the telemetry generated by the information systems to the attention

05:49.110 --> 05:50.580
of the blue team.

05:50.610 --> 05:59.880
It is important though that members of the blue team tune their ideas or seem solutions to provide an

05:59.880 --> 06:07.830
appropriate level of alerting if an alert system provides too many false positives then that is triggered.

06:07.830 --> 06:14.180
That is it triggered too many alerts that aren't associated with an attacker or red team activity.

06:14.370 --> 06:20.940
Then the blue team may miss an alert that is indeed associated with the red team activity through the

06:20.940 --> 06:22.830
alert fatigue.

06:22.830 --> 06:30.690
For example during a recent breach at a famous retailer alerts were generated by the retailer's internal

06:30.690 --> 06:38.820
monitoring about the attackers activity but were discounted at the time as false positives because the

06:38.820 --> 06:47.130
internal systems generated so many alerts for innocuous activity that it wasn't clear to the security

06:47.130 --> 06:55.320
team whether any individual alert indicated a problem or misclassified routine events.

06:55.320 --> 07:03.120
Some ideas were similar systems will provide recommendations as to which activity requires further investigation

07:03.510 --> 07:11.610
and may even suggest further ways to find evidence to validate the hypothesis that an intruder is present

07:11.640 --> 07:14.130
within the organizational systems.

07:14.130 --> 07:25.070
And of course that the organization is under attack the next phase is the investigate phase.

07:25.510 --> 07:33.410
Once the blue team has verified the presence of an intruder on the network they need to determine the

07:33.410 --> 07:37.200
degree to which the intruder has infiltrated the network.

07:37.400 --> 07:43.820
A detailed and thoroughly investigation should determine which systems the intruder has compromised

07:44.240 --> 07:49.730
when those systems were compromised and how those systems were compromised.

07:49.730 --> 07:56.540
These steps are important because the scope of many intrusions often exceeds the initial assessment

07:56.540 --> 07:58.780
of the severity of the intrusion.

07:58.790 --> 08:06.320
Only by understanding where how and when systems were compromised is it possible to begin to effectively

08:06.320 --> 08:14.150
remediate vulnerabilities that led to the compromise and to achieve the goal of ejecting the intruder

08:14.150 --> 08:15.790
from the organizational network.

08:17.940 --> 08:31.260
The next phase and in my opinion the most or a very very important phase is to plan a response and I

08:31.250 --> 08:34.060
am going to detail this just now.

08:34.200 --> 08:41.820
So organizations should not attempt to evict the intruder until they have a good working understanding

08:41.820 --> 08:44.250
of the topology of the intrusion.

08:44.250 --> 08:52.290
Similarly the method through which an intruder is evicted and vulnerability is remediated should be

08:52.290 --> 08:58.450
planned rather than executed in LA in an ad hoc manner.

08:58.560 --> 09:08.310
The red team most likely has fallback strategies are a well planned response counters the attacker fallback

09:08.310 --> 09:17.640
strategy a purely reactive response can turn into let's say whack a mole where the attacker has a counter

09:17.640 --> 09:24.900
move up their sleeve and including becoming stealth here to make it seem as though they have been evicted

09:24.960 --> 09:34.050
to the network when what they've done in reality is moved laterally to a new compromised host and temporarily

09:34.050 --> 09:43.760
ceased activities while they wait out for the blue team's countermeasures from an organizational perspective

09:43.790 --> 09:52.280
while time is of the essence in terms of evicting the intruder in most real world the situations the

09:52.280 --> 09:58.310
intruder is only detected long after they have infiltrated the network.

09:58.310 --> 10:05.060
Now this means that of course it's unlikely that substantially more harm will come in the time it takes

10:05.060 --> 10:11.840
for the blue team to formulate an effective response than would occur if the blue team responded in

10:11.840 --> 10:16.010
an immediate and ad hoc manner.

10:16.310 --> 10:26.660
And now if we are on this if if we're talking about planning a response I want to talk to you about

10:26.690 --> 10:30.030
another concept in the next slide.

10:30.290 --> 10:31.160
And that is

10:33.770 --> 10:46.770
what does the concept of measured response means and how would we translate it so I will quickly go

10:46.770 --> 10:51.510
through the bullets here and then I will get into details about them.

10:51.600 --> 10:54.730
So plan and executed response.

10:54.880 --> 11:00.580
These are basically what should a measured response be.

11:00.900 --> 11:04.160
Don't play whack a mole with the intruder.

11:05.250 --> 11:11.050
The real intruders are likely to have been present for some time before the detection.

11:11.730 --> 11:19.970
They have likely built in safe strategies to retain access if discovered the first time the intruder

11:19.970 --> 11:25.800
is aware that they have been detected should be after they have been ejected.

11:25.940 --> 11:29.310
This is quite an important one.

11:29.840 --> 11:35.580
If they are aware their activity is detected they may institute countermeasures.

11:35.630 --> 11:37.040
This would be the.

11:38.060 --> 11:43.660
Let's see highlights and bullet points for a measured response.

11:44.300 --> 11:47.080
So the need for a measured response.

11:47.180 --> 11:55.220
Your organization should plan and execute a response but it shouldn't be doing what it shouldn't be

11:55.220 --> 12:02.090
doing is playing whack a mole with the intruder intruders have usually been present for a long time

12:02.090 --> 12:10.250
so they have likely built in fail safes that won't that won't be the case in a red team exercise.

12:10.250 --> 12:17.870
Because obviously the red team won't won't have been present for that long but when you're thinking

12:17.870 --> 12:25.850
about the real exercise the reality is that intruders probably have been there for some time before

12:25.850 --> 12:27.310
you've detected them.

12:27.650 --> 12:30.950
And that's a known fact.

12:30.950 --> 12:35.530
So what you want to make sure is getting rid of the intruder.

12:36.320 --> 12:39.790
But you don't want to trigger something worse.

12:39.890 --> 12:43.130
So it's sort of picking up a snake.

12:43.250 --> 12:47.560
You've got to be very careful in how you pick up the snake right.

12:48.980 --> 12:57.170
Otherwise of course you will get bitten the first time that the intruder should know that you're aware

12:57.170 --> 13:03.800
of them is when they've already been ejected from the network because if they're aware that you're aware

13:03.800 --> 13:10.640
of them they're going to start putting in place countermeasures and they're going to be a lot lot harder

13:10.640 --> 13:14.720
to clean out of your infrastructure.

13:14.930 --> 13:22.850
Whereas if you get rid of them in one fell swoop because you've got a measured response and you've figured

13:22.850 --> 13:34.460
out the scope of their intrusion and you deal with that all at once then it might be you know even involve

13:34.580 --> 13:37.700
cutting yourself off the Internet right.

13:37.740 --> 13:40.930
So this would be effective at a certain point in time.

13:41.630 --> 13:49.160
So just so you can clean them out and fix the problems and then bring yourself back online and bring

13:49.160 --> 13:52.610
yourself reports back on to full functionality

13:55.490 --> 14:06.490
the next phase of our blue team's skill chain is of course to execute right.

14:06.740 --> 14:18.080
And when we are talking about execute we are talking about the phase ofter you have planned a proper

14:18.170 --> 14:21.290
measured response and you are about to execute that plan.

14:22.040 --> 14:28.190
So during the execution phase the blue team enacts the response plan to evict the intruder from the

14:28.190 --> 14:34.040
organization's information systems and to remediate the vulnerabilities in the security configuration

14:34.070 --> 14:37.050
that the intruder leverage in the first place.

14:37.130 --> 14:45.640
When infiltrating the network if completed successfully the intruder will no longer be present within

14:45.640 --> 14:52.180
the organization's information systems and the process of performing a more detailed post incident analysis

14:52.210 --> 14:53.710
can occur.

14:53.710 --> 14:59.240
So this would be the phases of the of the blue team's kill gene.

14:59.920 --> 15:08.180
But I want to talk to you about another very very important aspect.

15:08.530 --> 15:19.240
After the exercise or after a real attack and that is the post incident analysis.

15:19.240 --> 15:29.100
In other words in the interest in in the industry slang also cold as the Blue Team postmortem.

15:29.210 --> 15:30.280
Right.

15:30.550 --> 15:38.750
And as we see here in the slide after Red Team attack the blue team should be doing the following.

15:38.840 --> 15:45.730
And I've highlighted the few bullet points here of what the blue team should be doing.

15:45.800 --> 15:51.170
So the first one is determine why vulnerabilities the red team exploited were present

15:54.110 --> 15:57.560
determine what the blue team could have done better

16:00.320 --> 16:05.690
and where are the detection mechanisms lacking.

16:05.690 --> 16:14.330
And this is what needs to be done after each exercise or off to reach a security incident that occurred

16:14.480 --> 16:17.180
within your organization.

16:17.180 --> 16:24.950
The first bullet point is very valuable because once you determine what what vulnerabilities have been

16:24.950 --> 16:32.510
exploited and why the vulnerabilities the vulnerabilities were present you can take appropriate measures

16:32.600 --> 16:35.250
in remediating those vulnerabilities.

16:35.360 --> 16:42.800
And of course implement policies in place so you won't have those vulnerabilities or other ones in the

16:42.800 --> 16:50.210
future like why a vulnerability was there because for example on a Windows server it might be that a

16:50.210 --> 16:59.000
patch was not installed at the proper time to determine what the blue team could have done better.

16:59.030 --> 17:11.780
Now this of course means that you would do a proper assessment of the blue team's response and basically

17:11.780 --> 17:18.140
you would do a proper assessment of the entire Blue Team skill chain with all its phases and then sit

17:18.140 --> 17:24.670
down and see what could have done what could have been done better.

17:24.680 --> 17:33.340
For example you might have responded more quickly to an alert you might have.

17:33.560 --> 17:35.080
I don't know.

17:35.300 --> 17:44.960
Executed the response plan in a more timely fashion and things like that of course.

17:45.700 --> 17:47.090
And the last bullet here.

17:47.090 --> 17:50.940
Where are the detection mechanisms lacking now.

17:51.270 --> 17:59.840
If a red team or a real attacker manages to get to beachhead on the network to infiltrate the network

18:00.350 --> 18:06.260
that means that some of the detection mechanisms are lacking somewhere.

18:07.100 --> 18:17.600
Maybe it's maybe it's the fact they're not properly configured and are spitting out so many alerts that

18:17.600 --> 18:29.150
are false positives and your security team basically does and doesn't have a way to to tell what's a

18:29.150 --> 18:38.150
false positive from the real intrusion because there are so many alerts and there's a large volume of

18:38.150 --> 18:41.840
alerts and things like that you know.

18:41.900 --> 18:52.730
So you have to check out and see exactly where are the detection mechanism lacking and try to properly

18:52.730 --> 18:54.210
remediate that.

18:54.710 --> 19:06.230
Meaning that you could do some configuration settings on your ideas and ideals or seem solutions that

19:06.230 --> 19:09.560
you have in place in your organization.

19:09.590 --> 19:13.880
I will see you guys in the next lesson.

19:13.880 --> 19:16.630
I hope this has been informative for you.

19:16.700 --> 19:17.900
Thank you for watching.
