WEBVTT

00:00.950 --> 00:07.730
OK, now that we have loaded, you can see it, show us the main commands that you can use with Vele.

00:08.540 --> 00:15.230
So the first command is you can do exit to exit, you can do info to get information about a specific

00:15.230 --> 00:15.650
tool.

00:16.040 --> 00:18.950
You can do list to list the available tools.

00:19.140 --> 00:20.790
You can do updates to update.

00:20.810 --> 00:27.590
Well, and this is very, very important because you always want to be up to date when it comes to bypassing

00:27.590 --> 00:28.700
antivirus programs.

00:29.360 --> 00:32.540
And then you can do use to use a tool.

00:33.840 --> 00:40.560
Now, let's start using television, and as we do it, it's going to become so easy and you'll be able

00:40.560 --> 00:41.760
to understand it more.

00:42.870 --> 00:48.240
Now, Will has two main tools, and if we do list, you'll be able to see them.

00:49.200 --> 00:54.930
So we have the first one, which is the one that we're interested in, which is called evasion, and

00:54.930 --> 00:58.920
that's the one that generates undetectable back doors for us.

00:59.520 --> 01:02.700
And then there's the second one, which is called ordnance.

01:02.980 --> 01:07.620
And this tool generates the payloads that's used by evasion.

01:07.620 --> 01:10.830
So you can look at this as a helper or a secondary tool.

01:11.610 --> 01:18.870
Now, what I mean by a payload is a payload is the part of the code of the back door that does the stuff

01:18.870 --> 01:22.590
that we want, that does the evil stuff, if you want to say so.

01:22.590 --> 01:25.200
It's the part of the code that give us a reverse connection.

01:25.350 --> 01:29.650
It's the part of the code that download and executes something on the target computer.

01:29.820 --> 01:37.200
It's the part of the code that allow us to achieve what we want by executing that file.

01:38.220 --> 01:42.040
And this is going to become more clear as we start using Bill now.

01:42.060 --> 01:45.110
For now, we're interested into using evasion.

01:45.390 --> 01:46.860
So we're going to do use.

01:48.530 --> 01:51.470
One, because that's the first rule, that's number one.

01:52.720 --> 01:59.350
And as you can see, we have a vision loaded now, and as I said before, this used to be a standalone

01:59.350 --> 02:04.150
tool that you just downloaded on its own, but now they have it all combined together.

02:04.870 --> 02:09.880
Now, as you can see, the first thing that we get when we load will evasion is the commands that you

02:09.880 --> 02:11.320
can run on this tool.

02:12.300 --> 02:17.190
So the first thing that we want to do is we want to list to see all the available payloads.

02:18.510 --> 02:25.110
And as you can see, we have 41 different payloads and all of these payloads follow a certain Namik

02:25.110 --> 02:25.590
pattern.

02:26.070 --> 02:31.200
And you can see, for example, let's take this example right here, because that's the payload that

02:31.200 --> 02:31.960
I'm going to be using.

02:32.310 --> 02:35.490
You can see the payload is divided into three parts.

02:36.990 --> 02:43.080
The first part right here refers to the programming language, that's the payload is going to be wrapped

02:43.080 --> 02:43.340
in.

02:43.740 --> 02:49.560
So we have the evil code and then the evil code is going to be wrapped into a certain programming language

02:49.560 --> 02:51.410
that the target computer understands.

02:51.990 --> 02:56.310
And right here you can see that this payload users go programming language.

02:56.580 --> 02:59.460
We can see this one uses see we can see these ones.

02:59.460 --> 03:04.230
You see as we have python, we have power shell and we have Ruby if we scroll down.

03:06.500 --> 03:09.410
The second part of the payload is really important.

03:10.520 --> 03:17.450
This is the type of the payload, the type of the code that's going to be executed on the target computer.

03:19.280 --> 03:25.970
In this example, we're using my interpreter, which is a payload designed by me test flight test flight

03:25.970 --> 03:29.510
is a huge framework for hacking and it allows you to do a lot of things.

03:29.840 --> 03:34.210
But in this lecture, we're focusing on creating a payload called an interpreter.

03:34.550 --> 03:41.150
And what's really cool about Mr. Peter is it runs into memory and it allow us to migrate between system

03:41.150 --> 03:48.350
processes so we can have the payload or the back door running from a normal process like Explorer,

03:48.350 --> 03:49.040
for example.

03:49.280 --> 03:53.620
And this payload will allow us to gain full control over the target computer.

03:53.780 --> 03:59.060
So we'll be able to navigate through the file system, download upload files, turn on the mike, turn

03:59.060 --> 04:04.430
on the webcam, even use that computer to hack other computers, install a key logger.

04:04.430 --> 04:06.560
You can literally do anything you can think of.

04:06.840 --> 04:11.300
And all of this will be running from the memory, from a normal process on the system.

04:11.450 --> 04:14.800
So it's very hard to detect and it doesn't leave a lot of footprints.

04:15.740 --> 04:19.100
That's why it's a really, really cool payload and we'll be using it a lot.

04:21.160 --> 04:25.830
The third part of the name is the method that's going to be used to establish the connection.

04:26.500 --> 04:30.340
So in here you can see that this is called Ribe https.

04:31.030 --> 04:38.670
So register stands for reverse and https is the protocol that's going to be used to establish the connection.

04:38.920 --> 04:44.140
So we can see that this payload will create a reverse https connection.

04:45.480 --> 04:51.870
You can see this one right here, for example, it creates a reverse HTP connection and we have this

04:51.870 --> 04:55.290
one in here that creates a reverse TCP connection.

04:56.580 --> 05:04.100
Now, what I mean by reverse is the connection is going to come from the target computer to my own computer.

05:04.350 --> 05:07.640
So I want to be connecting to the computer that I want to hug.

05:08.070 --> 05:13.440
What's going to happen is once the person double clicks the back door, the back door will connect back

05:13.440 --> 05:15.420
to me from the target computer.

05:17.200 --> 05:23.800
What's cool about this is I'll be able to bypass antivirus programs because the connection is not going

05:23.800 --> 05:26.530
to the target computer is coming back to my computer.

05:26.650 --> 05:30.520
So it's literally as if the target person is just connecting to a normal website.

05:30.910 --> 05:34.640
I'm going to use a port that websites use, which is 80 or 88.

05:34.840 --> 05:40.180
So, again, if the person analyzes the connection, it'll look as if they're literally just connecting

05:40.180 --> 05:41.200
to a normal website.

05:41.950 --> 05:46.390
Also of the target's computer is hidden behind a router or behind a network.

05:46.510 --> 05:52.600
Again, this is going to work because the connection is coming from the target computer to me instead

05:52.600 --> 05:54.610
of me connecting to the target computer.

05:55.240 --> 05:58.350
So using a reverse connection is really, really hard.

05:58.480 --> 06:04.000
And I think this is really the only practical way of gaining access to your computer, because there

06:04.000 --> 06:07.750
is a lot of things that can stop you from connecting to a certain computer.

06:09.540 --> 06:15.300
Now, this is the general naming pattern, you'll see some payloads like this one right here, which

06:15.300 --> 06:17.380
doesn't follow that general naming pattern.

06:17.850 --> 06:23.990
And basically what these payloads do, for example, you can see this one is called Shell Code Inject.

06:24.180 --> 06:29.790
So what it's going to do is it's going to create a payload that injects your other payload.

06:30.060 --> 06:32.220
So it's going to create a normal payload.

06:32.310 --> 06:35.910
And that normal payload injects interpretor payload, for example.

06:36.450 --> 06:43.620
Now, it does this to try to bypass more security, but usually they want bypass more things than the

06:43.620 --> 06:45.150
normal payloads would bypass.

06:45.360 --> 06:49.140
So that's why I usually just use one of the normal payloads in here.

06:50.780 --> 06:56.870
So this is it, this is all about the payloads sorry, I took a bit of time, but I wanted to make sure

06:56.870 --> 06:58.930
that you guys understand the naming pattern.

06:59.060 --> 07:04.580
I wanted you to understand what a payload is and the difference between a reverse and a bind and a TCP

07:04.580 --> 07:05.090
payload.

07:05.720 --> 07:08.960
This way, the rest of the course will become more clear to you.

07:08.960 --> 07:13.310
And I can just use the payload that I want without explaining what it is now.

07:13.310 --> 07:18.140
In the next lecture, we're going to be generating a payload and will be testing it against antivirus

07:18.140 --> 07:18.620
programs.
