WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.800 --> 00:00:09.700
It's time for the third demo. Let

1
00:00:09.700 --> 00:00:12.900
 me show you how you can use Google hacking to

2
00:00:12.900 --> 00:00:15.900
 find publicly exposed backup files.

3
00:00:17.100 --> 00:00:20.800
The web application is hosted on the domain hacking web

4
00:00:20.800 --> 00:00:21.900
 applications.com.

5
00:00:22.900 --> 00:00:25.600
That's why my Google engine search query

6
00:00:25.600 --> 00:00:28.500
 starts with site hacking web

7
00:00:28.500 --> 00:00:29.600
 applications.com.

8
00:00:30.600 --> 00:00:33.700
Next I will type The Logical operator

9
00:00:33.700 --> 00:00:36.400
 and and in between

10
00:00:36.400 --> 00:00:39.900
 the round brackets. I will specify the commonly

11
00:00:39.900 --> 00:00:42.700
 used extensions for backup files.

12
00:00:44.400 --> 00:00:48.000
Typically, the extension of the backup file is

13
00:00:47.600 --> 00:00:51.300
 either backup or BAC

14
00:00:50.300 --> 00:00:53.900
 or old and

15
00:00:53.900 --> 00:00:56.900
 that's the reason why you see EXT

16
00:00:56.900 --> 00:01:00.600
 backup or EXT BAC

17
00:00:59.600 --> 00:01:03.600
 or EXT old

18
00:01:02.600 --> 00:01:05.600
 in between the round

19
00:01:05.600 --> 00:01:06.300
 brackets.

20
00:01:07.600 --> 00:01:10.100
Okay, so far so good.

21
00:01:10.700 --> 00:01:13.400
Let me copy this Google search engine

22
00:01:13.400 --> 00:01:13.900
 query.

23
00:01:14.700 --> 00:01:17.800
Let me paste it in Google search and

24
00:01:17.800 --> 00:01:21.000
 let's see if Google indexed a

25
00:01:20.100 --> 00:01:24.400
 file with one of the specified extensions

26
00:01:23.400 --> 00:01:26.800
 on the domain hacking web

27
00:01:26.800 --> 00:01:28.000
 applications.com.

28
00:01:31.400 --> 00:01:35.400
As you can see one file with backup extension

29
00:01:34.400 --> 00:01:37.200
 has been indexed by

30
00:01:37.200 --> 00:01:37.700
 Google.

31
00:01:38.700 --> 00:01:41.800
Let me download this file and let

32
00:01:41.800 --> 00:01:43.500
 me check what is inside.

33
00:01:48.400 --> 00:01:50.600
This is a database backup file.

34
00:01:51.400 --> 00:01:55.400
So I will change the display format from plain

35
00:01:54.400 --> 00:01:57.800
 text to SQL and I

36
00:01:57.800 --> 00:02:00.500
 will see what interesting can be found in

37
00:02:00.500 --> 00:02:01.400
 this file.

38
00:02:03.200 --> 00:02:06.500
Please notice that there is the admins email.

39
00:02:07.300 --> 00:02:09.900
And the hash of the admins password.

40
00:02:11.300 --> 00:02:14.900
When you know the hash of the admins password The Next

41
00:02:14.900 --> 00:02:17.200
 Step will be cracking this

42
00:02:17.200 --> 00:02:20.300
 password. And for this purpose. You should use

43
00:02:20.300 --> 00:02:24.200
 a dedicated tool. For example, hashcat, which

44
00:02:23.200 --> 00:02:26.600
 is the number one offline password

45
00:02:26.600 --> 00:02:27.500
 cracker.

46
00:02:28.700 --> 00:02:31.500
So as you can see Google hacking can

47
00:02:31.500 --> 00:02:34.600
 help you find publicly exposed backup

48
00:02:34.600 --> 00:02:37.400
 files and this is what I presented to

49
00:02:37.400 --> 00:02:38.800
 you in this demo.

50
00:02:40.400 --> 00:02:43.800
Okay. Now we are done with this demo. So

51
00:02:43.800 --> 00:02:46.300
 let me jump to the next one and let

52
00:02:46.300 --> 00:02:49.600
 me show you how Google hacking can be used for

53
00:02:49.600 --> 00:02:52.200
 finding internal server errors.
