WEBVTT

00:01.130 --> 00:06.980
Hi everybody and welcome to the video about metrics so metrics are a depiction of a large amount of

00:06.980 --> 00:10.970
data into an easily digestible and actionable dataset.

00:10.970 --> 00:16.430
So the example on the screen is taking a phishing campaign of a lot of people that opened or did not

00:16.460 --> 00:24.050
open a specific email and converting them to a percentage of opened an unopened so why is this type

00:24.050 --> 00:25.990
of data important why are the metrics important.

00:26.090 --> 00:29.030
It provides non team members a way to measure us.

00:29.050 --> 00:35.870
So the network team the application team the security engineering team.

00:35.930 --> 00:42.980
So at any any other team can measure us as whether we're being successful or not based on these metrics

00:42.980 --> 00:50.910
that we're providing so metrics should be easily digestible output of the team's performance at a high

00:50.910 --> 00:52.170
level.

00:52.170 --> 00:57.990
Now metrics are not going to go into play of every single thing that you do on a daily basis but as

00:57.990 --> 01:03.880
a high level for a team it shows the performance of that team.

01:04.020 --> 01:07.840
Most enterprise organizations do require some sort of metrics.

01:07.890 --> 01:13.400
These are normally presented to staff or executives which will go over in a second.

01:13.560 --> 01:17.520
But in a general sense it's required for enterprise level.

01:17.520 --> 01:23.430
Now in smaller organizations a quick PowerPoint talking about the progress of the team might be enough.

01:23.580 --> 01:27.060
Even those you tend to show a metric or two.

01:27.280 --> 01:28.510
So what is each staff.

01:28.510 --> 01:36.400
So each staff is the executive staff such as the CEO Cisco CIO CFO although the chief level this particular

01:36.400 --> 01:44.280
group provides all approvals on budget staffing anything around what what a team might need.

01:44.910 --> 01:45.940
Anything money wise.

01:45.950 --> 01:53.960
Essentially the metrics are presented to each staff on a regular basis depending on the organization

01:53.970 --> 01:58.420
it could be monthly yearly quarterly.

01:58.420 --> 02:05.760
In a general sense it's it's once per month they get a quick recap and a monthly meeting that could

02:05.760 --> 02:11.410
be an hour or two hours long where they everybody from different parts of the organization all come

02:11.410 --> 02:15.350
together and explain what they need to do.

02:15.610 --> 02:23.090
What's been improved where they're at such a so presenting to each staff comes with its own challenges.

02:23.120 --> 02:29.090
So in a general sense a TPM or technical project slash program manager will present these in most cases

02:29.690 --> 02:36.680
you as an individual on the red team will almost never have to present to staff a metric.

02:36.770 --> 02:44.270
Now on smaller teams that may be the case where a TPM does not exist at the moment where you may have

02:44.270 --> 02:52.720
to present that in place of them following that your manager in all other cases should be the one presenting

02:52.720 --> 02:52.870
it.

02:53.080 --> 02:57.180
However a lead on the team still may present it on the manager's behalf.

02:58.210 --> 03:02.410
But when you do present to each staff make sure you watch your colors.

03:02.920 --> 03:06.740
Green is good it's never really looked frowned upon.

03:06.740 --> 03:12.090
When you start getting into the yellow to the oranges things start to look like they need improvement.

03:12.320 --> 03:17.600
And when you start getting into the reds or any darker shades of color you're starting to look at.

03:17.610 --> 03:24.010
There's a massive issue when each step looks at metrics and you have something in the red or the orange

03:24.020 --> 03:26.090
it's going to be called out.

03:26.690 --> 03:32.990
So you need to have a reason and all of the details behind it ready and available.

03:32.990 --> 03:41.600
Once it gets called out if you don't have it prepare for a lot of headache around a few executives running

03:41.600 --> 03:44.030
to you and trying to figure out what happened.

03:44.480 --> 03:47.810
Because as far as they're concerned red means some massive issue.

03:47.840 --> 03:55.020
So even if it may be a change of metric which we'll get in later in this video and change of metric

03:55.440 --> 04:03.330
should not indicate a red dip like that especially when it goes from let's say 90 percent to 60 percent

04:03.660 --> 04:06.630
and 50 is the breaking point for it being red.

04:06.630 --> 04:10.390
So you don't want giant dips either unless there is an actual issue.

04:10.450 --> 04:16.710
And if that's the case this is your way of presenting its e f whether that's budget concerns or maybe

04:16.710 --> 04:21.170
you need more headcount in staffing or you need different types of tools.

04:21.690 --> 04:27.880
So a metric layout in a general sense is going to be a percentage scale of zero to 100.

04:28.110 --> 04:31.630
Most people tend to stay around that type of scale.

04:31.670 --> 04:33.050
There's a few other options.

04:33.060 --> 04:38.430
But I would strictly stay around a percentage mark something you can measure in a percentage which is

04:38.490 --> 04:42.660
normally done by normalizing data which we will go through and a little bit.

04:42.900 --> 04:47.980
You want to keep at least two to four metrics per team depending on the size of the team.

04:48.000 --> 04:51.390
Now you won't present all four of these to each staff.

04:51.570 --> 04:56.000
You're going to pick the ones that most accurately reflect your team and how your team is doing.

04:56.010 --> 05:02.370
Sometimes this is done depending on what the team needs.

05:02.370 --> 05:08.460
So if all metrics are good but you have one that's lacking and you've only been showing the first three

05:08.730 --> 05:14.310
maybe showing the other one for a few months might get better input on whether you need more budget

05:14.310 --> 05:22.640
concerns so when it comes to changing the metrics like we just talked about we might want to change

05:22.640 --> 05:24.010
them for a variety of reasons.

05:24.020 --> 05:31.400
This could be anything from the metrics were bad beforehand we generated them pretty roughly they were

05:31.460 --> 05:35.210
they were asked to quickly we didn't put enough prep time into it.

05:35.210 --> 05:43.670
Were they just small improvements you want to avoid any massive changes to a metric it provides too

05:43.670 --> 05:49.550
much of a fluctuation for staff without them noticing that there's that there may be an issue which

05:49.550 --> 05:55.280
will cause a massive investigation a lot of wasted resources you're your best chance is a slow rollout

05:55.430 --> 06:01.010
and if you have to massively change a metric you need to be able to articulate that in a very clear

06:01.010 --> 06:03.770
way to e after in that particular meeting.

06:03.770 --> 06:09.160
So they start understanding what's required going forward.

06:09.330 --> 06:17.010
So what makes a good measure so a good metric is a metric that accurately describes how much work is

06:17.010 --> 06:22.980
being done what your team is doing that can be done on a weekly monthly or quarterly or yearly basis.

06:22.980 --> 06:29.190
Most teams do a weekly metric count that they send out each week so you can get a better idea of how

06:29.190 --> 06:31.020
things are flowing week to week.

06:31.240 --> 06:38.070
E F tends to get the monthly one and there may be requirements for the organization to provide a overall

06:38.070 --> 06:44.250
metric which is done yearly in this particular case you won't have to handle anything yearly unless

06:44.250 --> 06:46.230
your organization demands it.

06:46.440 --> 06:51.230
You tend to want to stay on a percentage scale it's the quickest easiest to identify whether there's

06:51.240 --> 06:54.990
an issue as long as you set a threshold of what you're actually looking for.

06:54.990 --> 07:01.410
So for example scanning 100 percent of your infrastructure is great but having zero percent issues or

07:01.410 --> 07:08.890
1 percent issues identified as a high level issue is good.

07:08.890 --> 07:13.400
So depending on which scale you need to be working with it needs to be clearly defined.

07:13.510 --> 07:19.480
You're going to want at least one metric per program so that's phishing password cracking the automation

07:19.560 --> 07:30.070
and scripting whether you're doing a pivot escalation team whatever program inside of your red team

07:30.100 --> 07:37.780
is designed you will need a new metric for each one it tends to be better to have a few per program

07:37.810 --> 07:39.120
that you can pick from.

07:39.310 --> 07:44.440
So this as an overall is just a minimum but it's always good to have some more.

07:44.860 --> 07:54.740
So normalizing data normalizing data is the idea of taking a large set of information and putting it

07:54.740 --> 07:56.240
in between a range of two numbers.

07:56.270 --> 08:00.820
So this could be tends to be between zero and one hundred and zero to one.

08:01.520 --> 08:06.140
So depending on what you're doing 0 3 one might make more sense zero to one hundred is pretty common.

08:06.530 --> 08:12.860
So normalizing that is just getting it into a more concise focused format that you know the output of

08:12.890 --> 08:22.060
for example 1 percent to 100 percent so we're gonna do a quick demo of taking raw fishing metrics and

08:22.070 --> 08:24.580
normalizing it into a metric that you may present

08:28.870 --> 08:36.820
so in this particular case we now have a quick list of 20 email addresses and whether they opened or

08:36.820 --> 08:40.030
did not open that particular phishing e-mail.

08:40.030 --> 08:43.330
Now keep in mind this is just an example they're not really email addresses.

08:43.330 --> 08:51.040
I will have a above this video you will see a raw data link raw metrics link so you can go ahead and

08:51.040 --> 08:56.230
download this and that's going to be part of the homework for this video is take that Excel document

08:56.230 --> 08:58.930
download it and reproduce the same metrics.

08:58.930 --> 09:05.260
Now we'll go over later in the course around different you'll see different ways you could generate

09:05.260 --> 09:08.770
metrics and I'll make sure I bring it up when we hit certain things.

09:08.770 --> 09:15.430
So in this particular example we have a pretty easy way to normalize the data.

09:15.460 --> 09:20.200
So we have a yes or a no so index.

09:20.200 --> 09:25.960
Now you can do this in the command line but for sake of us not having gone over working command line

09:25.960 --> 09:32.560
in Linux or Windows yet which will be the following modules I'm just going to do this in excel so anybody

09:32.560 --> 09:37.780
can follow along without having any knowledge on the command line and piping stuff around.

09:38.710 --> 09:42.870
So what we're going to want to do is we're going to want to look for something called count.

09:42.880 --> 09:45.430
If so we're going to count.

09:45.610 --> 09:51.530
If this particular dataset has

09:54.640 --> 09:58.960
a loops that's not right as a yes.

09:58.960 --> 09:59.320
Right.

09:59.320 --> 10:01.740
So we're looking so how many have been open.

10:02.560 --> 10:12.810
So this is currently set as a percentage ignore that So in a general sense you will see a general number

10:12.810 --> 10:13.560
here.

10:13.590 --> 10:14.850
So in this case it's nine.

10:14.850 --> 10:20.210
So we're counting nine yeses if we come in here and change this to a yes we should see 10.

10:20.280 --> 10:21.430
So we've got our count.

10:21.480 --> 10:22.340
Right.

10:22.380 --> 10:26.130
So the next thing we want to do is we want to grab the percentage.

10:26.260 --> 10:26.850
Right.

10:26.940 --> 10:33.670
We want to do another count if we want to grab the percentage of the total amount there.

10:33.810 --> 10:35.360
Like I said we're getting an average.

10:35.400 --> 10:43.360
So we're gonna get the total amount and we're going to grab anything in there so star in this particular

10:43.360 --> 10:45.750
case means any text at all.

10:46.000 --> 10:46.300
Right.

10:46.360 --> 10:48.370
So we had a point 4 7 3.

10:48.470 --> 10:55.180
So we come in and form out the cell to be a percentage for decimal points.

10:55.180 --> 10:57.180
Now you get forty seven percent right.

10:57.700 --> 11:05.820
So if we wanted the opposite metric we can come in to not open changed the Y to an end.

11:06.010 --> 11:07.220
And now we have our full metric.

11:07.500 --> 11:15.290
So as we can see now we have a forty seven percent opened at fifty two percent did not so if we come

11:15.290 --> 11:18.320
in here we can change around the metric a little bit.

11:18.320 --> 11:23.000
So now we have 31 percent opened and 68 didn't.

11:23.620 --> 11:29.500
So depending on how your engagements go maybe you want to take this is for example month 1 Maybe you

11:29.500 --> 11:36.310
want to take month 2 and 3 and then get the average of these three which has done the same way grab

11:36.340 --> 11:39.340
all the percentages that were opened.

11:39.340 --> 11:43.280
Divide by how many months now you have your overall average percentage.

11:43.360 --> 11:52.830
So this is how you normalize data in a basic format to provide some sort of metric for Red Team program.

11:52.840 --> 11:57.610
Now again this will change for this will change a little bit depending on what you're doing what you're

11:57.610 --> 12:02.890
looking for but we'll hit up different different aspects and how to normalize different data further

12:02.900 --> 12:03.430
and of course.
