WEBVTT

00:01.250 --> 00:07.430
Now, let's assume you tried all the attacks that we learned so far on your Target website, you tried

00:07.430 --> 00:12.230
all of them on all the websites on the same server, and none of these websites is vulnerable.

00:12.770 --> 00:18.530
You went and you tried to hack into that server using the applications installed on the server, using

00:18.530 --> 00:19.700
the server side attacks.

00:19.970 --> 00:26.960
So you use the port scanner and you determine the programs and the open ports and you try to hack into

00:26.990 --> 00:28.940
the server based on the services.

00:28.940 --> 00:31.400
And again, you still didn't find any way to get in.

00:32.060 --> 00:37.610
And let's assume that you tried to attack the data center itself, which contains all the servers.

00:37.730 --> 00:43.670
And again, you still didn't manage to gain access and you try to hide the users that use the websites

00:43.670 --> 00:46.310
or the websites on the same server as your target Web site.

00:46.580 --> 00:51.440
So you tried to hack the users, you tried to hack the admins, you tried to hide the support people

00:51.650 --> 00:54.380
using social engineering attacks and all these attacks.

00:54.530 --> 00:58.100
And again, you still didn't manage to gain your access then.

00:59.160 --> 01:05.160
I'd usually go down to brute force attacks now a lot of people would actually try brute force attacks

01:05.160 --> 01:11.370
before that, but I just don't really like brute force attacks, not because they're not useful or because

01:11.370 --> 01:12.240
they're not effective.

01:12.400 --> 01:13.740
They're actually very effective.

01:14.220 --> 01:20.220
But it's just that I don't really feel satisfaction when I gain access to a system using a brute force

01:20.220 --> 01:20.630
attack.

01:22.760 --> 01:27.210
So what we mean by brute force attacks is we're going to go to the login screen.

01:27.230 --> 01:33.320
Most websites have login screen to allow the admins to log in and we're going to try to determine all

01:33.320 --> 01:35.210
possible combinations of the password.

01:36.720 --> 01:42.510
So there is two flavors of brute force attacks, or I should say guessing attacks, there is brute force

01:42.510 --> 01:44.280
attacks and dictionary attacks.

01:44.970 --> 01:50.610
So brute force attacks would try to cover all possible combinations of the passwords, for example,

01:50.610 --> 01:51.240
on your phone.

01:51.660 --> 01:53.790
The pain can only be made out of numbers.

01:54.090 --> 01:58.830
So you can actually cover all possibilities very easily because the pin only has four digits.

01:58.830 --> 02:04.410
And there is only nine possibilities when this comes to passwords, especially when it comes to web

02:04.410 --> 02:05.010
logins.

02:05.010 --> 02:12.000
You have lower case characters, uppercase characters, symbols and digits, which makes the brute force

02:12.000 --> 02:16.410
attack really unfeasible because it will take years to cover all possibilities.

02:17.250 --> 02:23.030
This leads us to the dictionary attack, where you actually cover all possibilities in a list.

02:23.490 --> 02:25.190
So you're going to have a list of passwords.

02:25.320 --> 02:32.100
These can be made of common passwords or based on the research that you did on your target in the dictionary,

02:32.100 --> 02:36.680
attack your only cover the passwords that exist in the word list.

02:36.870 --> 02:41.460
So unlike the brute force attack, it's not guaranteed because with the brute force, we are going to

02:41.460 --> 02:46.800
cover all possible combinations and the dictionary attack, we're only going to cover the passwords

02:46.920 --> 02:49.740
that are in our walls or in the dictionary.

02:51.110 --> 02:54.920
So in the next few lectures, we're going to see how you can create your own dictionary.

02:56.110 --> 03:01.960
And we're going to see how we can launch a brute force attack to gain access to a system without exploiting

03:01.960 --> 03:02.990
any vulnerabilities.

03:03.010 --> 03:08.080
All we're going to do is just try a large number of passwords until one of them works.

03:08.480 --> 03:13.180
And this is the reason why I don't really like brute force, because there is no smart way you're not

03:13.180 --> 03:14.590
actually exploiting anything.

03:14.590 --> 03:16.990
You're literally just guessing the password until it works.

03:17.920 --> 03:21.900
Keep in mind, though, just because I don't really like it, it doesn't mean that it's not effective.

03:21.900 --> 03:26.800
I've actually in many cases, I spent days trying to break into a system.

03:26.950 --> 03:31.870
And at the end, one of the times I still remember the password was one, two, three, four, five,

03:31.870 --> 03:38.440
six ABC, which you'll probably, if you had a word list of common passwords, you'll probably gain

03:38.440 --> 03:40.780
access to that system within an hour or two.
