WEBVTT

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


00:00:10.260 --> 00:00:14.070 align:middle line:84%
In this lab, we're going to
get hands on with Burp Suite.

00:00:14.070 --> 00:00:17.160 align:middle line:84%
We're going to do some
web crawling manually,

00:00:17.160 --> 00:00:18.750 align:middle line:90%
but utilizing the tool.

00:00:18.750 --> 00:00:22.620 align:middle line:84%
We saw with the
proxy what a spider

00:00:22.620 --> 00:00:24.420 align:middle line:90%
can do with some web crawling.

00:00:24.420 --> 00:00:28.200 align:middle line:84%
We're going to do some
manual utilizing this tool.

00:00:28.200 --> 00:00:32.530 align:middle line:84%
And then later, we could use
the tool to expound on that.

00:00:32.530 --> 00:00:34.603 align:middle line:84%
So let's jump into
the environment.

00:00:34.603 --> 00:00:39.040 align:middle line:90%


00:00:39.040 --> 00:00:42.370 align:middle line:90%
Check our IP address.

00:00:42.370 --> 00:00:43.570 align:middle line:90%
Grab this from here.

00:00:43.570 --> 00:00:49.300 align:middle line:90%


00:00:49.300 --> 00:00:55.501 align:middle line:90%
And we'll scan the dot three.

00:00:55.501 --> 00:00:57.610 align:middle line:90%
See that we've got HTTP server.

00:00:57.610 --> 00:01:00.880 align:middle line:90%


00:01:00.880 --> 00:01:02.755 align:middle line:84%
So let's pull it up
with a web browser.

00:01:02.755 --> 00:01:12.970 align:middle line:90%


00:01:12.970 --> 00:01:13.670 align:middle line:90%
Try that again.

00:01:13.670 --> 00:01:21.880 align:middle line:90%


00:01:21.880 --> 00:01:24.640 align:middle line:90%
And it is OWASP utility.

00:01:24.640 --> 00:01:28.090 align:middle line:84%
And we're going to use
this site as a good target

00:01:28.090 --> 00:01:32.260 align:middle line:84%
to find some bugs,
some vulnerabilities.

00:01:32.260 --> 00:01:33.670 align:middle line:90%
We need Burp Suite.

00:01:33.670 --> 00:01:37.950 align:middle line:90%
I just typed burp and hit enter.

00:01:37.950 --> 00:01:40.140 align:middle line:90%
It opens up Burp Suite.

00:01:40.140 --> 00:01:42.610 align:middle line:84%
We just hit next on this,
on the temporary project.

00:01:42.610 --> 00:01:43.110 align:middle line:90%
Start.

00:01:43.110 --> 00:01:47.950 align:middle line:90%


00:01:47.950 --> 00:01:50.170 align:middle line:84%
As soon as Burp Suite
is out of date at all,

00:01:50.170 --> 00:01:52.060 align:middle line:84%
it's going to give
you this out of date.

00:01:52.060 --> 00:01:53.740 align:middle line:90%
They update every month.

00:01:53.740 --> 00:01:57.010 align:middle line:84%
So it's very hard to
keep this up to date.

00:01:57.010 --> 00:02:01.660 align:middle line:84%
And it knows the
day, which is fine.

00:02:01.660 --> 00:02:03.840 align:middle line:90%
Which is fine.

00:02:03.840 --> 00:02:06.130 align:middle line:90%
Burp Suite is a powerful tool.

00:02:06.130 --> 00:02:09.900 align:middle line:90%
We can do a lot in here.

00:02:09.900 --> 00:02:14.550 align:middle line:84%
The way we connect this
version and most versions

00:02:14.550 --> 00:02:18.630 align:middle line:90%
is in your Firefox on Kelly.

00:02:18.630 --> 00:02:22.560 align:middle line:84%
We're going to use foxy proxy
to switch over and make Burp

00:02:22.560 --> 00:02:25.620 align:middle line:90%
Suite a proxy on our machine.

00:02:25.620 --> 00:02:31.940 align:middle line:84%
What it's doing, I'll show
you some behind the scenes,

00:02:31.940 --> 00:02:35.930 align:middle line:84%
it's connecting to our
local host on port 80 80,

00:02:35.930 --> 00:02:38.430 align:middle line:84%
which Burp Suite
is listening on.

00:02:38.430 --> 00:02:43.460 align:middle line:84%
So all of our traffic is going
to flow through port 80 80

00:02:43.460 --> 00:02:46.860 align:middle line:84%
when you switch to
Burp Suite up here.

00:02:46.860 --> 00:02:50.330 align:middle line:84%
And you can go in manually
and set up a proxy.

00:02:50.330 --> 00:02:53.330 align:middle line:84%
But using foxy proxy,
it's very quick

00:02:53.330 --> 00:02:56.420 align:middle line:90%
to turn off and turn it back on.

00:02:56.420 --> 00:03:00.890 align:middle line:84%
And when you turn it on,
we can go to proxy here.

00:03:00.890 --> 00:03:02.300 align:middle line:90%
We say intercept is on.

00:03:02.300 --> 00:03:06.680 align:middle line:90%
And we refresh our page.

00:03:06.680 --> 00:03:09.530 align:middle line:84%
We captured that
outbound get request.

00:03:09.530 --> 00:03:11.240 align:middle line:90%
And we can forward it on.

00:03:11.240 --> 00:03:12.500 align:middle line:90%
The site refreshes.

00:03:12.500 --> 00:03:17.330 align:middle line:90%


00:03:17.330 --> 00:03:19.270 align:middle line:90%
And that's all fine and handy.

00:03:19.270 --> 00:03:21.640 align:middle line:84%
What's kind of neat in
here with this proxy,

00:03:21.640 --> 00:03:24.100 align:middle line:90%
we can go to HTTP history.

00:03:24.100 --> 00:03:26.740 align:middle line:84%
And we see, oh, hey,
we connected to that

00:03:26.740 --> 00:03:30.910 align:middle line:90%
seems 192.88.207.3.

00:03:30.910 --> 00:03:33.160 align:middle line:90%
And it collected it here.

00:03:33.160 --> 00:03:38.620 align:middle line:84%
Well, what we can do, we go
to intercept and turn it off.

00:03:38.620 --> 00:03:40.120 align:middle line:90%
And we needed a check.

00:03:40.120 --> 00:03:42.580 align:middle line:90%
Let's go to dashboard.

00:03:42.580 --> 00:03:45.895 align:middle line:84%
Live passive crawl from
proxy is turned on.

00:03:45.895 --> 00:03:48.490 align:middle line:90%


00:03:48.490 --> 00:03:51.060 align:middle line:90%
So it's capturing.

00:03:51.060 --> 00:03:55.350 align:middle line:84%
So this is sending
everything to Burp Suite.

00:03:55.350 --> 00:04:00.660 align:middle line:84%
Burp Suite isn't going to
intercept, just pause anything.

00:04:00.660 --> 00:04:05.380 align:middle line:84%
But we have live
passive crawling on.

00:04:05.380 --> 00:04:08.250 align:middle line:84%
So then if we go back
to target and HTTP

00:04:08.250 --> 00:04:12.420 align:middle line:90%
history, then when we can get--

00:04:12.420 --> 00:04:18.755 align:middle line:84%
if we say do SQL injection,
we follow one of these pages.

00:04:18.755 --> 00:04:21.500 align:middle line:90%


00:04:21.500 --> 00:04:23.720 align:middle line:90%
It follow the page.

00:04:23.720 --> 00:04:28.070 align:middle line:84%
It went to index.php,
that same site up here.

00:04:28.070 --> 00:04:29.960 align:middle line:90%
Page equals userinfo.php.

00:04:29.960 --> 00:04:33.070 align:middle line:90%


00:04:33.070 --> 00:04:35.840 align:middle line:90%
If we go to--

00:04:35.840 --> 00:04:36.620 align:middle line:90%
not that one.

00:04:36.620 --> 00:04:39.870 align:middle line:90%
That page doesn't work.

00:04:39.870 --> 00:04:41.120 align:middle line:90%
These submenus don't work.

00:04:41.120 --> 00:04:43.790 align:middle line:90%
You need the final.

00:04:43.790 --> 00:04:44.450 align:middle line:90%
There we go.

00:04:44.450 --> 00:04:47.330 align:middle line:90%
Index.php page equals login.php.

00:04:47.330 --> 00:04:49.320 align:middle line:90%
That matches up here.

00:04:49.320 --> 00:04:53.790 align:middle line:84%
So it is gathering
everything that we go to.

00:04:53.790 --> 00:05:03.640 align:middle line:84%
So you can move your way
through the whole web app

00:05:03.640 --> 00:05:08.650 align:middle line:84%
and include all of that
information in this HTTP

00:05:08.650 --> 00:05:10.420 align:middle line:90%
history.

00:05:10.420 --> 00:05:14.410 align:middle line:84%
And its nifty what we can do
with our history over here

00:05:14.410 --> 00:05:18.130 align:middle line:84%
is then we can launch
attacks based on what we see.

00:05:18.130 --> 00:05:26.470 align:middle line:84%
And even better, if we
go up to the target tab,

00:05:26.470 --> 00:05:28.060 align:middle line:90%
then we have this nice tree.

00:05:28.060 --> 00:05:31.780 align:middle line:90%


00:05:31.780 --> 00:05:35.050 align:middle line:84%
And so far, we haven't
thrown any attacks yet.

00:05:35.050 --> 00:05:39.330 align:middle line:90%


00:05:39.330 --> 00:05:42.120 align:middle line:84%
But if we wanted
to throw attacks,

00:05:42.120 --> 00:05:46.155 align:middle line:84%
we can set some of the stuff
in scope or out of scope.

00:05:46.155 --> 00:05:49.460 align:middle line:90%


00:05:49.460 --> 00:05:52.270 align:middle line:90%
So I can add this to scope.

00:05:52.270 --> 00:05:55.260 align:middle line:90%
Add it to target scope.

00:05:55.260 --> 00:05:59.460 align:middle line:84%
And once we say yes, it'll
avoid accumulating project data

00:05:59.460 --> 00:06:01.830 align:middle line:90%
for out of scope items.

00:06:01.830 --> 00:06:04.680 align:middle line:84%
So we can check our scope,
and we have that site.

00:06:04.680 --> 00:06:06.390 align:middle line:84%
If we were to navigate
somewhere else,

00:06:06.390 --> 00:06:08.350 align:middle line:84%
it would stop
gathering information,

00:06:08.350 --> 00:06:10.480 align:middle line:90%
and it would stop acting on it.

00:06:10.480 --> 00:06:15.300 align:middle line:84%
And that is pretty
neat because then, we

00:06:15.300 --> 00:06:18.690 align:middle line:84%
make sure that we
don't go out of scope.

00:06:18.690 --> 00:06:21.060 align:middle line:84%
When you're using
some automated tools,

00:06:21.060 --> 00:06:24.235 align:middle line:84%
you want to make sure that you
aim them at the right thing.

00:06:24.235 --> 00:06:25.610 align:middle line:84%
You don't want to
get in trouble.

00:06:25.610 --> 00:06:28.110 align:middle line:84%
You don't want to knock
over someone's website.

00:06:28.110 --> 00:06:32.220 align:middle line:84%
It's crucial that as a pen
tester, you remain in scope.

00:06:32.220 --> 00:06:37.500 align:middle line:84%
That what you agreed to with
your customer, you deliver.

00:06:37.500 --> 00:06:42.780 align:middle line:84%
So that is how we do passive
crawling with Burp Suite.

00:06:42.780 --> 00:06:44.670 align:middle line:90%
And it's a pretty simple lab.

00:06:44.670 --> 00:06:49.050 align:middle line:84%
Hopefully, you get a little
bit of fun out of Burp Suite.

00:06:49.050 --> 00:06:52.160 align:middle line:84%
And we're going to
move on from there.

00:06:52.160 --> 00:06:53.000 align:middle line:90%