WEBVTT

00:00:00.000 --> 00:00:09.990 align:middle line:90%


00:00:09.990 --> 00:00:12.630 align:middle line:84%
Windows Black Box
Penetration Test.

00:00:12.630 --> 00:00:14.910 align:middle line:84%
Welcome to the
Windows exploitation

00:00:14.910 --> 00:00:16.650 align:middle line:90%
section of this course.

00:00:16.650 --> 00:00:18.660 align:middle line:84%
In this section,
we are going to be

00:00:18.660 --> 00:00:21.000 align:middle line:90%
covering Windows exploitation.

00:00:21.000 --> 00:00:22.950 align:middle line:84%
And the way we're going
to do this or the way

00:00:22.950 --> 00:00:26.460 align:middle line:84%
we're going to orchestrate this
is through a simulated Windows

00:00:26.460 --> 00:00:28.540 align:middle line:90%
Black box penetration test.

00:00:28.540 --> 00:00:31.230 align:middle line:84%
So in this video, I'm just
going to be giving you

00:00:31.230 --> 00:00:33.780 align:middle line:84%
an introduction as to what
a Black box penetration

00:00:33.780 --> 00:00:38.610 align:middle line:84%
test is as well as providing you
with your scope and assignment.

00:00:38.610 --> 00:00:41.130 align:middle line:84%
In the next set of
videos, I'll be taking you

00:00:41.130 --> 00:00:43.080 align:middle line:84%
through various
services that you'll

00:00:43.080 --> 00:00:46.450 align:middle line:84%
be able to exploit
on the target system.

00:00:46.450 --> 00:00:49.650 align:middle line:84%
And again, the objective
here is to actually show you

00:00:49.650 --> 00:00:53.670 align:middle line:84%
the actual variability of
services you'll typically

00:00:53.670 --> 00:00:56.700 align:middle line:84%
find running on a Windows
system and the various ways you

00:00:56.700 --> 00:00:59.710 align:middle line:84%
can gain access to
a Windows system.

00:00:59.710 --> 00:01:03.630 align:middle line:84%
So firstly, what is a
Black box penetration test?

00:01:03.630 --> 00:01:07.020 align:middle line:84%
A Black box penetration test
is a security assessment,

00:01:07.020 --> 00:01:09.570 align:middle line:84%
whereby the penetration
tester is not

00:01:09.570 --> 00:01:11.550 align:middle line:84%
provided with any
information regarding

00:01:11.550 --> 00:01:13.350 align:middle line:90%
the target system or network.

00:01:13.350 --> 00:01:16.950 align:middle line:84%
So the penetration test is not
provided with any IPS or IP

00:01:16.950 --> 00:01:20.070 align:middle line:84%
ranges, any system
information like the operating

00:01:20.070 --> 00:01:21.540 align:middle line:84%
system that's
running on the target

00:01:21.540 --> 00:01:24.330 align:middle line:84%
or the information pertinent
to the services that

00:01:24.330 --> 00:01:25.770 align:middle line:90%
are running on that target.

00:01:25.770 --> 00:01:28.050 align:middle line:84%
And they're not
provided any default

00:01:28.050 --> 00:01:30.180 align:middle line:84%
credentials or the
credentials that

00:01:30.180 --> 00:01:34.350 align:middle line:84%
are used by those applications,
or services, or consequently,

00:01:34.350 --> 00:01:35.770 align:middle line:90%
the operating system.

00:01:35.770 --> 00:01:39.300 align:middle line:84%
So the primary objective of
a Black box penetration test

00:01:39.300 --> 00:01:42.120 align:middle line:84%
is to accurately test
the security of a system

00:01:42.120 --> 00:01:46.830 align:middle line:84%
or networks as an external
unprivileged adversary.

00:01:46.830 --> 00:01:49.800 align:middle line:84%
This approach is very
useful as it demonstrates

00:01:49.800 --> 00:01:53.820 align:middle line:84%
how an external attacker with
no inside knowledge of a company

00:01:53.820 --> 00:01:57.420 align:middle line:84%
and its digital infrastructure
would compromise the company's

00:01:57.420 --> 00:01:59.290 align:middle line:90%
systems or networks.

00:01:59.290 --> 00:02:02.950 align:middle line:84%
So again, the main difference
between a white box pen

00:02:02.950 --> 00:02:05.190 align:middle line:84%
test and a Black box pen
test is that you are not

00:02:05.190 --> 00:02:08.100 align:middle line:84%
provided with any
information regarding

00:02:08.100 --> 00:02:11.580 align:middle line:84%
the target system or the network
that you are trying to test.

00:02:11.580 --> 00:02:13.890 align:middle line:84%
All right, so that's what
a Black box pen test is,

00:02:13.890 --> 00:02:15.670 align:middle line:84%
and this is what we're
going to be doing.

00:02:15.670 --> 00:02:18.810 align:middle line:84%
We're not going to be provided
with any information regarding

00:02:18.810 --> 00:02:21.940 align:middle line:84%
the target, apart from the
target operating system.

00:02:21.940 --> 00:02:23.370 align:middle line:84%
And the reason
why I'm doing that

00:02:23.370 --> 00:02:27.060 align:middle line:84%
is primarily because as
you're just beginning,

00:02:27.060 --> 00:02:29.610 align:middle line:84%
that information is
a very, very useful

00:02:29.610 --> 00:02:32.760 align:middle line:84%
until you actually have an
idea of how to perform that.

00:02:32.760 --> 00:02:34.800 align:middle line:84%
But again, detecting
the target operating

00:02:34.800 --> 00:02:39.660 align:middle line:84%
system is fairly simple as we
have been able to demonstrate.

00:02:39.660 --> 00:02:41.620 align:middle line:90%
All right, so this is--

00:02:41.620 --> 00:02:43.350 align:middle line:84%
again, I'm just
revisiting this slide

00:02:43.350 --> 00:02:45.180 align:middle line:84%
to show you what we're
going to be doing.

00:02:45.180 --> 00:02:48.372 align:middle line:84%
So again, this course is
focused on exploitation.

00:02:48.372 --> 00:02:49.830 align:middle line:84%
However, we're
going to be covering

00:02:49.830 --> 00:02:54.900 align:middle line:84%
other aspects of the
penetration testing methodology.

00:02:54.900 --> 00:02:56.550 align:middle line:84%
For example,
information gathering,

00:02:56.550 --> 00:03:00.030 align:middle line:84%
enumeration to the point
of exploitation, right?

00:03:00.030 --> 00:03:02.730 align:middle line:84%
So in terms of the
Black box methodology,

00:03:02.730 --> 00:03:05.730 align:middle line:84%
this is really what
the methodology

00:03:05.730 --> 00:03:08.040 align:middle line:84%
that you should be
following, especially when it

00:03:08.040 --> 00:03:09.690 align:middle line:84%
comes down to
targeting the system

00:03:09.690 --> 00:03:11.050 align:middle line:90%
that we will be targeting.

00:03:11.050 --> 00:03:13.980 align:middle line:84%
So firstly, you need to know
how to perform host discovery.

00:03:13.980 --> 00:03:16.320 align:middle line:84%
So that essentially
involves identifying

00:03:16.320 --> 00:03:20.190 align:middle line:84%
the target IP address or the
domain, et cetera, et cetera.

00:03:20.190 --> 00:03:22.810 align:middle line:84%
You then move on to port
scanning and enumeration.

00:03:22.810 --> 00:03:26.160 align:middle line:84%
This will involve identifying
the open ports on a target

00:03:26.160 --> 00:03:29.070 align:middle line:84%
system as well as
the services that are

00:03:29.070 --> 00:03:31.230 align:middle line:90%
running on those open ports.

00:03:31.230 --> 00:03:33.660 align:middle line:84%
We'll then move on to
vulnerability detection, where

00:03:33.660 --> 00:03:36.570 align:middle line:84%
you will actually need to
identify vulnerabilities

00:03:36.570 --> 00:03:40.257 align:middle line:84%
within the services that are
running on the target system.

00:03:40.257 --> 00:03:42.090 align:middle line:84%
And then, of course,
exploitation, which you

00:03:42.090 --> 00:03:43.780 align:middle line:90%
have covered quite a bit here.

00:03:43.780 --> 00:03:45.390 align:middle line:84%
And of course,
this can either be

00:03:45.390 --> 00:03:48.450 align:middle line:84%
manual through publicly
available exploit code.

00:03:48.450 --> 00:03:51.180 align:middle line:84%
And we've covered the process
of finding exploit code,

00:03:51.180 --> 00:03:53.400 align:middle line:84%
modifying it, compiling
it, et cetera.

00:03:53.400 --> 00:03:55.650 align:middle line:84%
And then, of course, you
have automated exploitation

00:03:55.650 --> 00:03:58.410 align:middle line:84%
with an exploitation
framework like Metasploit.

00:03:58.410 --> 00:04:00.750 align:middle line:84%
So again, you really
are not required

00:04:00.750 --> 00:04:02.850 align:middle line:84%
to use any other
exploitation framework

00:04:02.850 --> 00:04:04.200 align:middle line:90%
like PowerShell Empire.

00:04:04.200 --> 00:04:08.460 align:middle line:84%
You can pretty much just use
manual exploitation techniques

00:04:08.460 --> 00:04:12.240 align:middle line:84%
or the Metasploit Framework
for automated exploitation.

00:04:12.240 --> 00:04:14.250 align:middle line:84%
As part of the Black
box methodology,

00:04:14.250 --> 00:04:16.500 align:middle line:84%
you also have post-exploitation,
which we will not

00:04:16.500 --> 00:04:18.660 align:middle line:84%
be covering as that is
something that we will

00:04:18.660 --> 00:04:21.420 align:middle line:90%
be exploring in its own course.

00:04:21.420 --> 00:04:24.470 align:middle line:84%
So you know, whatever falls
on the post-exploitation,

00:04:24.470 --> 00:04:25.700 align:middle line:90%
we really are--

00:04:25.700 --> 00:04:28.370 align:middle line:84%
we are not going to be
exploring that because what

00:04:28.370 --> 00:04:30.380 align:middle line:84%
comes under post-exploitation
is, typically,

00:04:30.380 --> 00:04:32.300 align:middle line:84%
privilege escalation,
persistence,

00:04:32.300 --> 00:04:35.990 align:middle line:84%
dumping hashes, data
exfiltration, et cetera, right?

00:04:35.990 --> 00:04:40.260 align:middle line:84%
So in terms of what
you are supposed to do,

00:04:40.260 --> 00:04:42.600 align:middle line:84%
let's take a look at the
scenario and the scope.

00:04:42.600 --> 00:04:45.780 align:middle line:84%
So I want you to play along
with this scenario, right?

00:04:45.780 --> 00:04:49.010 align:middle line:84%
So given the fact that
this is part of eJPT

00:04:49.010 --> 00:04:52.710 align:middle line:84%
or the pen testing student
course or certification,

00:04:52.710 --> 00:04:55.410 align:middle line:84%
if you will, the scenario
is the following.

00:04:55.410 --> 00:04:57.380 align:middle line:84%
So you've just
begun your first job

00:04:57.380 --> 00:04:59.640 align:middle line:90%
as a junior penetration tester.

00:04:59.640 --> 00:05:02.810 align:middle line:84%
And I've been assigned to assist
in performing a penetration

00:05:02.810 --> 00:05:04.880 align:middle line:90%
test on a client's network.

00:05:04.880 --> 00:05:08.150 align:middle line:84%
Now, the pentest lead, that,
of course-- a pen test lead

00:05:08.150 --> 00:05:11.510 align:middle line:84%
is essentially the
leader, if you will,

00:05:11.510 --> 00:05:14.000 align:middle line:84%
of a group of
individuals or pentesters

00:05:14.000 --> 00:05:17.780 align:middle line:84%
that are essentially working
on a particular pentest, right?

00:05:17.780 --> 00:05:22.070 align:middle line:84%
So the pentest lead has assigned
you to gain access or exploit

00:05:22.070 --> 00:05:25.010 align:middle line:84%
a host that is running
Windows Server 2008

00:05:25.010 --> 00:05:28.760 align:middle line:84%
on the target's-- or on the
client's network, right?

00:05:28.760 --> 00:05:31.340 align:middle line:84%
So he's told you that as
your first assignment,

00:05:31.340 --> 00:05:34.610 align:middle line:84%
he wants you to try and
find a way to gain access

00:05:34.610 --> 00:05:35.790 align:middle line:90%
to the system.

00:05:35.790 --> 00:05:38.450 align:middle line:84%
So your primary
objectives are-- and this

00:05:38.450 --> 00:05:41.960 align:middle line:84%
falls into your scope-- is
to identify the services that

00:05:41.960 --> 00:05:45.110 align:middle line:84%
are running on the target,
identify vulnerabilities

00:05:45.110 --> 00:05:47.600 align:middle line:84%
within these services,
and then exploit

00:05:47.600 --> 00:05:50.270 align:middle line:84%
these vulnerabilities to
obtain an initial foothold

00:05:50.270 --> 00:05:52.160 align:middle line:90%
on the target system.

00:05:52.160 --> 00:05:54.050 align:middle line:84%
The pentest lead
has informed you

00:05:54.050 --> 00:05:56.990 align:middle line:84%
that you are not going to be
responsible for performing

00:05:56.990 --> 00:05:59.850 align:middle line:84%
the post-exploitation
phase of the pentest.

00:05:59.850 --> 00:06:02.270 align:middle line:84%
So once you have gained
access to the target system,

00:06:02.270 --> 00:06:03.650 align:middle line:90%
your job is done.

00:06:03.650 --> 00:06:06.470 align:middle line:84%
Now, one note, and I mentioned
that in the previous slide,

00:06:06.470 --> 00:06:08.870 align:middle line:84%
is that you are permitted
to use the Metasploit

00:06:08.870 --> 00:06:10.560 align:middle line:90%
Framework for exploitation.

00:06:10.560 --> 00:06:12.980 align:middle line:84%
So the pentest lead
has been very gracious

00:06:12.980 --> 00:06:16.490 align:middle line:84%
and is testing you out to see
what you're capable of doing.

00:06:16.490 --> 00:06:19.100 align:middle line:84%
Now, that is pretty
much all that I

00:06:19.100 --> 00:06:20.365 align:middle line:90%
wanted to get started with.

00:06:20.365 --> 00:06:21.740 align:middle line:84%
In the next video,
we'll actually

00:06:21.740 --> 00:06:24.830 align:middle line:84%
get started with the Black
box pen test on the target.

00:06:24.830 --> 00:06:28.550 align:middle line:84%
And we'll be starting off
by performing port scanning

00:06:28.550 --> 00:06:30.440 align:middle line:84%
and enumeration, and
then we'll move on

00:06:30.440 --> 00:06:34.850 align:middle line:84%
to exploit various services
on the target system.

00:06:34.850 --> 00:06:38.390 align:middle line:84%
Now, I just want to make
something as clear as possible.

00:06:38.390 --> 00:06:42.050 align:middle line:84%
The target system or the
system that has been actually

00:06:42.050 --> 00:06:43.880 align:middle line:84%
been configured within
the lab environment

00:06:43.880 --> 00:06:46.970 align:middle line:84%
for this entire
section, again, will

00:06:46.970 --> 00:06:48.780 align:middle line:90%
be used for each of the videos.

00:06:48.780 --> 00:06:51.140 align:middle line:84%
And again, as I said,
your primary objective

00:06:51.140 --> 00:06:54.230 align:middle line:84%
is to find a way to gain
access to the target system.

00:06:54.230 --> 00:06:57.710 align:middle line:84%
And the actual target
system has been configured

00:06:57.710 --> 00:07:01.130 align:middle line:84%
to host multiple services,
some of which are vulnerable,

00:07:01.130 --> 00:07:02.520 align:middle line:90%
some of which are not.

00:07:02.520 --> 00:07:04.730 align:middle line:84%
So again, this is
why it's really going

00:07:04.730 --> 00:07:06.660 align:middle line:90%
to be quite fun and exciting.

00:07:06.660 --> 00:07:09.650 align:middle line:84%
I am not going to be covering
all the exploitation vectors

00:07:09.650 --> 00:07:11.730 align:middle line:90%
you can utilize to gain access.

00:07:11.730 --> 00:07:13.670 align:middle line:84%
But I'll be showing
you the different ways

00:07:13.670 --> 00:07:15.800 align:middle line:84%
or the different services
that you can target

00:07:15.800 --> 00:07:17.250 align:middle line:90%
and how they can be targeted.

00:07:17.250 --> 00:07:18.920 align:middle line:84%
So again, this is
going to encapsulate

00:07:18.920 --> 00:07:21.625 align:middle line:84%
everything that we've learned
so far within this course,

00:07:21.625 --> 00:07:23.000 align:middle line:84%
as well as the
other courses that

00:07:23.000 --> 00:07:27.530 align:middle line:84%
are part of the pen testing
student or eJPT certification.

00:07:27.530 --> 00:07:31.120 align:middle line:84%
So I'll see you
in the next video.

00:07:31.120 --> 00:07:32.000 align:middle line:90%