WEBVTT

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


00:00:10.170 --> 00:00:11.080 align:middle line:90%
Hello, everyone.

00:00:11.080 --> 00:00:13.860 align:middle line:84%
Welcome to the
post-exploitation course.

00:00:13.860 --> 00:00:15.810 align:middle line:84%
In this video, I'm
going to be giving you

00:00:15.810 --> 00:00:17.350 align:middle line:90%
an introduction to the course.

00:00:17.350 --> 00:00:19.410 align:middle line:84%
So we will be
exploring what we'll

00:00:19.410 --> 00:00:21.300 align:middle line:84%
be covering in terms
of the sections that

00:00:21.300 --> 00:00:22.750 align:middle line:90%
make up the course.

00:00:22.750 --> 00:00:25.380 align:middle line:84%
We'll also get an understanding
of the various cause

00:00:25.380 --> 00:00:28.020 align:middle line:84%
prerequisites that you
need to essentially

00:00:28.020 --> 00:00:30.460 align:middle line:84%
be aware of before
you begin this course.

00:00:30.460 --> 00:00:33.450 align:middle line:84%
And finally, we'll also be
exploring the various learning

00:00:33.450 --> 00:00:35.460 align:middle line:90%
objectives and outcomes.

00:00:35.460 --> 00:00:38.670 align:middle line:84%
And that, again, will tie into
what you should be able to do

00:00:38.670 --> 00:00:41.560 align:middle line:84%
or what you should have learned
by the end of this course.

00:00:41.560 --> 00:00:44.720 align:middle line:84%
So let's get started
firstly by getting

00:00:44.720 --> 00:00:48.330 align:middle line:84%
an introduction as to who am
I or who I am, if you will.

00:00:48.330 --> 00:00:50.070 align:middle line:90%
My name is Alexis Ahmed.

00:00:50.070 --> 00:00:52.800 align:middle line:84%
I am a senior penetration
test at HackerSploit,

00:00:52.800 --> 00:00:56.400 align:middle line:84%
and I am an offensive
security instructor at INE.

00:00:56.400 --> 00:00:58.960 align:middle line:84%
If you want to reach
out to me or contact me,

00:00:58.960 --> 00:01:02.670 align:middle line:84%
you can do so via my email,
via my Twitter profile,

00:01:02.670 --> 00:01:05.400 align:middle line:84%
or my LinkedIn profile,
which have all been linked

00:01:05.400 --> 00:01:07.150 align:middle line:90%
to this particular slide.

00:01:07.150 --> 00:01:10.840 align:middle line:84%
So now that we have all of the
formalities out of the way,

00:01:10.840 --> 00:01:14.350 align:middle line:84%
let's get an introduction or
an understanding, if you will,

00:01:14.350 --> 00:01:17.860 align:middle line:84%
of what we will be covering
during this particular course.

00:01:17.860 --> 00:01:21.160 align:middle line:84%
So these are all the sections
that make up the course.

00:01:21.160 --> 00:01:23.070 align:middle line:84%
And as you can see,
there are quite a few.

00:01:23.070 --> 00:01:25.590 align:middle line:84%
So we'll start off by
getting an introduction

00:01:25.590 --> 00:01:27.180 align:middle line:90%
to post-exploitation.

00:01:27.180 --> 00:01:29.340 align:middle line:84%
The objective here
is to give you

00:01:29.340 --> 00:01:31.290 align:middle line:84%
an introduction to
post-exploitation

00:01:31.290 --> 00:01:34.260 align:middle line:84%
and what it entails in
terms of the techniques that

00:01:34.260 --> 00:01:36.870 align:middle line:84%
are typically performed under
this phase of a penetration

00:01:36.870 --> 00:01:37.410 align:middle line:90%
test.

00:01:37.410 --> 00:01:39.120 align:middle line:84%
In addition to
that, we also want

00:01:39.120 --> 00:01:43.230 align:middle line:84%
to get an understanding of where
post-exploitation falls or fits

00:01:43.230 --> 00:01:47.220 align:middle line:84%
in regards to the penetration
testing lifecycle.

00:01:47.220 --> 00:01:51.030 align:middle line:84%
Once we have an understanding of
post-exploitation as a process

00:01:51.030 --> 00:01:53.370 align:middle line:84%
or as a phase of a
penetration test,

00:01:53.370 --> 00:01:55.830 align:middle line:84%
we can move on to
the first section

00:01:55.830 --> 00:01:59.070 align:middle line:84%
of this course, which will
deal with local enumeration.

00:01:59.070 --> 00:02:02.280 align:middle line:84%
And we will be performing local
enumeration on both Windows

00:02:02.280 --> 00:02:03.940 align:middle line:90%
and Linux systems.

00:02:03.940 --> 00:02:05.640 align:middle line:90%
So what is local enumeration?

00:02:05.640 --> 00:02:08.669 align:middle line:84%
Well, these two
sections essentially

00:02:08.669 --> 00:02:12.900 align:middle line:84%
entail the process of gathering
as much information as possible

00:02:12.900 --> 00:02:16.680 align:middle line:84%
from a target system once
you have gained access to it.

00:02:16.680 --> 00:02:19.650 align:middle line:84%
So checking out the
network configuration,

00:02:19.650 --> 00:02:22.660 align:middle line:84%
enumerating the users and
groups that are on the system,

00:02:22.660 --> 00:02:24.040 align:middle line:90%
et cetera, et cetera.

00:02:24.040 --> 00:02:26.880 align:middle line:84%
Once we have explored local
enumeration on both Windows

00:02:26.880 --> 00:02:30.360 align:middle line:84%
and Linux, we'll move on to the
next section, which essentially

00:02:30.360 --> 00:02:33.060 align:middle line:84%
entails the process
of transferring files

00:02:33.060 --> 00:02:34.740 align:middle line:90%
to Windows and Linux targets.

00:02:34.740 --> 00:02:37.750 align:middle line:84%
So once you have gained
access to a target system,

00:02:37.750 --> 00:02:39.780 align:middle line:84%
whether it be
Windows or Linux, you

00:02:39.780 --> 00:02:42.100 align:middle line:84%
need to have the ability
to transfer files,

00:02:42.100 --> 00:02:45.860 align:middle line:84%
whether they are exploit code
or scripts onto this target

00:02:45.860 --> 00:02:46.360 align:middle line:90%
system.

00:02:46.360 --> 00:02:48.455 align:middle line:84%
So that's what that section
will be dealing with.

00:02:48.455 --> 00:02:50.580 align:middle line:84%
We're going to take a look
at how to transfer files

00:02:50.580 --> 00:02:54.310 align:middle line:84%
from your attacker system or
your attacker distribution,

00:02:54.310 --> 00:02:58.000 align:middle line:84%
if you will, onto
these target systems,

00:02:58.000 --> 00:03:01.000 align:middle line:84%
whether they be Windows
or Linux targets.

00:03:01.000 --> 00:03:04.120 align:middle line:84%
We'll then move on to a very
interesting section that

00:03:04.120 --> 00:03:06.460 align:middle line:84%
is really applicable,
in most cases,

00:03:06.460 --> 00:03:08.810 align:middle line:84%
to the Linux operating
system, and that, of course,

00:03:08.810 --> 00:03:10.180 align:middle line:90%
is upgrading shells.

00:03:10.180 --> 00:03:14.860 align:middle line:84%
So in some cases, if you are
able to gain access to a Linux

00:03:14.860 --> 00:03:17.530 align:middle line:84%
target, you may have
access to the Linux target

00:03:17.530 --> 00:03:19.720 align:middle line:90%
via non-interactive shell.

00:03:19.720 --> 00:03:21.700 align:middle line:84%
As a result, you need
to have the ability

00:03:21.700 --> 00:03:25.180 align:middle line:84%
to upgrade that non-interactive
shell into a bash session

00:03:25.180 --> 00:03:27.590 align:middle line:84%
or probably into a
Meterpreter session.

00:03:27.590 --> 00:03:30.040 align:middle line:84%
So that's what we'll be
covering in the upgrading shells

00:03:30.040 --> 00:03:30.970 align:middle line:90%
section.

00:03:30.970 --> 00:03:33.040 align:middle line:84%
We'll now move on
to pretty much one

00:03:33.040 --> 00:03:35.740 align:middle line:84%
of the most important
phases of post-exploitation,

00:03:35.740 --> 00:03:37.542 align:middle line:84%
and that is
privilege escalation.

00:03:37.542 --> 00:03:39.250 align:middle line:84%
So we're going to be
taking a look at how

00:03:39.250 --> 00:03:42.970 align:middle line:84%
to identify privilege escalation
vulnerabilities on both Windows

00:03:42.970 --> 00:03:45.640 align:middle line:84%
and Linux systems
as well as exploring

00:03:45.640 --> 00:03:47.470 align:middle line:84%
a few practical
examples of how you

00:03:47.470 --> 00:03:51.250 align:middle line:84%
can elevate your privileges on
both a Windows and Linux target

00:03:51.250 --> 00:03:52.120 align:middle line:90%
system.

00:03:52.120 --> 00:03:53.980 align:middle line:84%
We'll then move
on to persistence.

00:03:53.980 --> 00:03:57.340 align:middle line:84%
So again, we're exploring this
for both Windows and Linux

00:03:57.340 --> 00:04:00.190 align:middle line:84%
within the own
sections as we have

00:04:00.190 --> 00:04:02.870 align:middle line:84%
with privilege escalation
and local enumeration.

00:04:02.870 --> 00:04:05.530 align:middle line:84%
So persistence will
essentially involve

00:04:05.530 --> 00:04:09.390 align:middle line:84%
the process of establishing
persistent access on a target

00:04:09.390 --> 00:04:09.890 align:middle line:90%
system.

00:04:09.890 --> 00:04:12.070 align:middle line:84%
So once you gain access
to a target system,

00:04:12.070 --> 00:04:14.650 align:middle line:84%
you need to ensure that
you maintain that access

00:04:14.650 --> 00:04:17.829 align:middle line:84%
in the event that the initial
vulnerability you exploited

00:04:17.829 --> 00:04:18.910 align:middle line:90%
is patched.

00:04:18.910 --> 00:04:21.130 align:middle line:84%
And of course, there are
various other reasons

00:04:21.130 --> 00:04:22.910 align:middle line:84%
that could lead to
you losing access,

00:04:22.910 --> 00:04:25.630 align:middle line:84%
so it's really a very,
very important phase

00:04:25.630 --> 00:04:29.650 align:middle line:84%
of post-exploitation that,
again, essentially entails

00:04:29.650 --> 00:04:36.490 align:middle line:84%
setting up various measures
or protocols in order

00:04:36.490 --> 00:04:40.120 align:middle line:84%
for you to maintain persistent
access to the target system

00:04:40.120 --> 00:04:42.490 align:middle line:90%
after you have exploited it.

00:04:42.490 --> 00:04:46.660 align:middle line:84%
We'll then move on to dumping
and cracking Windows and Linux

00:04:46.660 --> 00:04:47.380 align:middle line:90%
hashes.

00:04:47.380 --> 00:04:50.050 align:middle line:84%
So we've already explored
a little bit of this

00:04:50.050 --> 00:04:52.060 align:middle line:84%
during some of the
previous courses,

00:04:52.060 --> 00:04:54.700 align:middle line:84%
like the system and
host-based attacks

00:04:54.700 --> 00:04:56.590 align:middle line:84%
course, where we
took a look at how

00:04:56.590 --> 00:04:59.500 align:middle line:84%
to dump NTLM hashes
on Windows systems

00:04:59.500 --> 00:05:03.430 align:middle line:84%
or from a Windows system and
how to dump Linux user count

00:05:03.430 --> 00:05:06.350 align:middle line:90%
hashes from a Linux system.

00:05:06.350 --> 00:05:10.210 align:middle line:84%
So in these two sections, we'll
go over that process again.

00:05:10.210 --> 00:05:11.920 align:middle line:84%
But in addition to
that, we're also

00:05:11.920 --> 00:05:14.920 align:middle line:84%
going to be exploring how
to crack them in order

00:05:14.920 --> 00:05:21.640 align:middle line:84%
to obtain the clear text
passwords from these hashes,

00:05:21.640 --> 00:05:25.390 align:middle line:84%
which, again, can be used for
a plethora of other tasks,

00:05:25.390 --> 00:05:28.960 align:middle line:84%
like lateral movement,
authenticating to the target

00:05:28.960 --> 00:05:31.212 align:middle line:84%
legitimately, so
on, and so forth.

00:05:31.212 --> 00:05:33.670 align:middle line:84%
Once we've have covered the
process of dumping and cracking

00:05:33.670 --> 00:05:35.530 align:middle line:84%
hashes on both
Windows and Linux,

00:05:35.530 --> 00:05:37.270 align:middle line:84%
we'll move on to
pivoting, right?

00:05:37.270 --> 00:05:38.920 align:middle line:84%
And this section
will essentially

00:05:38.920 --> 00:05:43.180 align:middle line:84%
entail the process of performing
internal network reconnaissance

00:05:43.180 --> 00:05:45.490 align:middle line:84%
to discover other
target systems that

00:05:45.490 --> 00:05:47.890 align:middle line:90%
are part of the target network.

00:05:47.890 --> 00:05:51.070 align:middle line:84%
Once you've identified
target systems

00:05:51.070 --> 00:05:53.650 align:middle line:84%
that you would like to exploit
that are part of the target's

00:05:53.650 --> 00:05:58.270 align:middle line:84%
internal network, we can then
explore the pivoting process

00:05:58.270 --> 00:06:01.780 align:middle line:84%
or the process of exploiting
a system on the company's

00:06:01.780 --> 00:06:05.380 align:middle line:84%
internal network from the system
that you've just exploited

00:06:05.380 --> 00:06:07.720 align:middle line:84%
or the system that
you've gained access to.

00:06:07.720 --> 00:06:09.850 align:middle line:84%
And the final section
of this course

00:06:09.850 --> 00:06:12.610 align:middle line:84%
will entail the process
of clearing your tracks.

00:06:12.610 --> 00:06:15.310 align:middle line:84%
So as a penetration
tester, once you're

00:06:15.310 --> 00:06:19.600 align:middle line:84%
done with your penetration
test, if you have been provided

00:06:19.600 --> 00:06:23.530 align:middle line:84%
with the necessary
permissions and privileges,

00:06:23.530 --> 00:06:26.260 align:middle line:84%
you can also demonstrate
how attackers or you can

00:06:26.260 --> 00:06:28.030 align:middle line:84%
essentially perform
various techniques

00:06:28.030 --> 00:06:31.090 align:middle line:84%
to clear your tracks in
order to avoid detection

00:06:31.090 --> 00:06:34.570 align:middle line:84%
by the company's blue team
or incident responders

00:06:34.570 --> 00:06:35.600 align:middle line:90%
for that matter.

00:06:35.600 --> 00:06:38.500 align:middle line:84%
So that's what we'll be
covering in the final section

00:06:38.500 --> 00:06:40.670 align:middle line:90%
of this course.

00:06:40.670 --> 00:06:43.480 align:middle line:84%
Now that we have an idea
of what we'll be covering,

00:06:43.480 --> 00:06:45.550 align:middle line:84%
let's get an idea of the
prerequisites, right?

00:06:45.550 --> 00:06:49.660 align:middle line:84%
So given the fact that we're
dealing with systems that

00:06:49.660 --> 00:06:53.830 align:middle line:84%
are part of an external network
and also an internal network,

00:06:53.830 --> 00:06:57.430 align:middle line:84%
you need to be familiar with
the TCP and UDP protocols.

00:06:57.430 --> 00:07:01.030 align:middle line:84%
In addition to that, you also
be must have a basic familiarity

00:07:01.030 --> 00:07:04.360 align:middle line:84%
with Windows and Linux as
these are the systems that we

00:07:04.360 --> 00:07:07.900 align:middle line:84%
are going to be interacting with
or performing post-exploitation

00:07:07.900 --> 00:07:08.590 align:middle line:90%
on.

00:07:08.590 --> 00:07:12.130 align:middle line:84%
And furthermore, you also need
to have a basic familiarity

00:07:12.130 --> 00:07:13.835 align:middle line:90%
with the Metasploit Framework.

00:07:13.835 --> 00:07:16.210 align:middle line:84%
If you want to learn more
about the Metasploit Framework,

00:07:16.210 --> 00:07:19.870 align:middle line:84%
you can check out my course,
which again is very, very

00:07:19.870 --> 00:07:22.150 align:middle line:84%
comprehensive on the
Metasploit Framework

00:07:22.150 --> 00:07:23.680 align:middle line:84%
before you actually
start this one.

00:07:23.680 --> 00:07:26.410 align:middle line:84%
Although, that really
isn't a requirement.

00:07:26.410 --> 00:07:30.790 align:middle line:84%
You just need to have a basic
understanding of the Metasploit

00:07:30.790 --> 00:07:33.970 align:middle line:84%
Framework and how it can be
used during a penetration test.

00:07:33.970 --> 00:07:37.360 align:middle line:84%
One additional prerequisite
that I haven't added here

00:07:37.360 --> 00:07:41.860 align:middle line:84%
is for various reasons, but
primarily is the exploitation

00:07:41.860 --> 00:07:43.690 align:middle line:90%
course that I have already--

00:07:43.690 --> 00:07:45.700 align:middle line:84%
that you should
have gone through

00:07:45.700 --> 00:07:48.940 align:middle line:84%
before going through this
course as exploitation

00:07:48.940 --> 00:07:50.530 align:middle line:90%
comes before post-exploitation.

00:07:50.530 --> 00:07:52.780 align:middle line:84%
So if you haven't gone through
the exploitation course

00:07:52.780 --> 00:07:56.770 align:middle line:84%
already, be sure to go through
that as it essentially sets up

00:07:56.770 --> 00:07:58.610 align:middle line:90%
the stage for this course.

00:07:58.610 --> 00:08:00.590 align:middle line:84%
Because this is really
the final course

00:08:00.590 --> 00:08:05.130 align:middle line:84%
within the EJPT certification
or training material.

00:08:05.130 --> 00:08:05.630 align:middle line:90%
All right.

00:08:05.630 --> 00:08:08.540 align:middle line:84%
So as for the
learning objectives,

00:08:08.540 --> 00:08:11.210 align:middle line:84%
these will tie into
the actual sections

00:08:11.210 --> 00:08:13.560 align:middle line:84%
that we'll be covering
within this course.

00:08:13.560 --> 00:08:15.650 align:middle line:84%
So again, you will
get an introduction

00:08:15.650 --> 00:08:18.570 align:middle line:84%
to the post-exploitation
phase of a penetration test.

00:08:18.570 --> 00:08:20.570 align:middle line:84%
You'll also learn how
to perform and automate

00:08:20.570 --> 00:08:23.720 align:middle line:84%
local enumeration on both
Windows and Linux systems.

00:08:23.720 --> 00:08:25.250 align:middle line:84%
You'll learn how
to transfer files

00:08:25.250 --> 00:08:27.080 align:middle line:90%
to Windows and Linux targets.

00:08:27.080 --> 00:08:30.200 align:middle line:84%
You'll get an understanding
of how to upgrade shells.

00:08:30.200 --> 00:08:32.450 align:middle line:84%
You will also learn how
to elevate your privileges

00:08:32.450 --> 00:08:34.669 align:middle line:84%
on both Windows
and Linux systems.

00:08:34.669 --> 00:08:37.370 align:middle line:84%
You'll learn how to establish
persistence on both Windows

00:08:37.370 --> 00:08:38.510 align:middle line:90%
and Linux systems.

00:08:38.510 --> 00:08:41.669 align:middle line:84%
You'll learn how to dump and
crack Windows and Linux user

00:08:41.669 --> 00:08:42.770 align:middle line:90%
account hashes.

00:08:42.770 --> 00:08:44.840 align:middle line:84%
You'll learn how to
pivot onto other systems

00:08:44.840 --> 00:08:46.610 align:middle line:84%
on the target
network, and you'll

00:08:46.610 --> 00:08:49.930 align:middle line:84%
learn how to clear your tracks
on both Windows and Linux

00:08:49.930 --> 00:08:50.430 align:middle line:90%
targets.

00:08:50.430 --> 00:08:53.602 align:middle line:84%
So this is really what
you will be learning

00:08:53.602 --> 00:08:54.560 align:middle line:90%
throughout this course.

00:08:54.560 --> 00:08:55.977 align:middle line:84%
And by the end of
this course, you

00:08:55.977 --> 00:08:58.430 align:middle line:84%
should be fairly
competent in regards

00:08:58.430 --> 00:09:05.390 align:middle line:84%
to all of these sections that
I mentioned during the course

00:09:05.390 --> 00:09:07.770 align:middle line:84%
overview, where we explored
the various sections.

00:09:07.770 --> 00:09:09.500 align:middle line:84%
So this is what
you'll be learning

00:09:09.500 --> 00:09:11.030 align:middle line:90%
throughout this entire course.

00:09:11.030 --> 00:09:14.370 align:middle line:84%
With that being said, I'm
really excited to get started.

00:09:14.370 --> 00:09:18.220 align:middle line:84%
And I'll be seeing you
in the first video.

00:09:18.220 --> 00:09:19.000 align:middle line:90%