WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.400
Hello everyone in this

1
00:00:07.400 --> 00:00:10.700
 video. We are going to see the DNS Brute

2
00:00:10.700 --> 00:00:11.500
 Force scan.

3
00:00:12.800 --> 00:00:15.800
So the syntax of doing this scan is nmap the

4
00:00:15.800 --> 00:00:18.800
 target IP address followed by hyphen hyphen

5
00:00:18.800 --> 00:00:22.200
 script equals to DNS - route dot

6
00:00:21.200 --> 00:00:22.500
 NSE

7
00:00:23.200 --> 00:00:26.500
remember it is not important. If you give dot NAC

8
00:00:26.500 --> 00:00:29.500
 as nmap automatically understands that

9
00:00:29.500 --> 00:00:31.800
 and runs the script.

10
00:00:34.100 --> 00:00:37.300
So you can scan a Target by simply giving an IP address

11
00:00:37.300 --> 00:00:40.400
 and specify the DNS brood dot NEC script

12
00:00:40.400 --> 00:00:43.000
 which will give us the DNS server results.

13
00:00:43.600 --> 00:00:46.500
and hosted applications on the server

14
00:00:46.500 --> 00:00:47.200
 if any

15
00:00:48.100 --> 00:00:51.600
you can always add hyphen V to see the output in verbose mode.

16
00:00:52.300 --> 00:00:55.600
The example to do this scan is given over here.

17
00:00:57.000 --> 00:00:57.200
So

18
00:00:58.200 --> 00:00:59.500
it is the Practical time.

19
00:01:00.300 --> 00:01:04.100
And let's see this scan in action where we

20
00:01:03.100 --> 00:01:06.900
 try to identify the DNS

21
00:01:06.900 --> 00:01:09.500
 brute results of any web server.

22
00:01:11.100 --> 00:01:13.600
so as you can see on the terminal I have

23
00:01:14.500 --> 00:01:17.500
given the command which is nmap -

24
00:01:17.500 --> 00:01:18.600
 P Port 80

25
00:01:19.900 --> 00:01:22.900
Followed by hyphen hyphen script dnsbrood dot

26
00:01:22.900 --> 00:01:25.800
 NEC which means I'm going to use this particular script

27
00:01:25.800 --> 00:01:28.200
 on the target, which is well and

28
00:01:28.200 --> 00:01:28.600
 web.com.

29
00:01:29.800 --> 00:01:33.200
This is a target which is made deliberately vulnerable

30
00:01:32.200 --> 00:01:34.000
 to test for.

31
00:01:35.300 --> 00:01:37.200
So, let's see if we get any.

32
00:01:38.300 --> 00:01:41.400
DNS Brute Force results on this particular

33
00:01:41.400 --> 00:01:42.400
 web server

34
00:01:46.700 --> 00:01:49.400
Let me Skip and directly jump

35
00:01:49.400 --> 00:01:49.900
 to the output.

36
00:01:51.300 --> 00:01:54.800
And you can see we did not get any results as

37
00:01:54.800 --> 00:01:57.600
 you can see the output of the script is

38
00:01:57.600 --> 00:02:00.800
 here which means no other

39
00:02:00.800 --> 00:02:03.200
 records are written onto the same.

40
00:02:04.600 --> 00:02:07.700
Particular web server. There are no a records

41
00:02:07.700 --> 00:02:10.500
 Triple A records MX records something like

42
00:02:10.500 --> 00:02:10.700
 that.

43
00:02:11.500 --> 00:02:12.900
So let's change our Target.

44
00:02:13.700 --> 00:02:17.600
And choose scan me Dot nmap.org.

45
00:02:19.100 --> 00:02:22.300
And let's see that if we get sum of

46
00:02:22.300 --> 00:02:25.500
 the DNS records from this particular

47
00:02:25.500 --> 00:02:26.400
 web server.

48
00:02:28.800 --> 00:02:31.800
Let's skip this part and directly jump

49
00:02:31.800 --> 00:02:32.400
 to the output.

50
00:02:34.700 --> 00:02:37.300
Perfect. As you can see, we have got

51
00:02:37.300 --> 00:02:40.200
 the output for the DNS brute script

52
00:02:40.200 --> 00:02:45.100
 and we can see that we have identified IPv6

53
00:02:43.100 --> 00:02:47.000
 dot nmap.org is

54
00:02:46.500 --> 00:02:49.500
 one of the host names which has

55
00:02:49.500 --> 00:02:52.400
 the following IPv6 IP address.

56
00:02:53.300 --> 00:02:57.300
Similarly, we have found out chat dot nmap.org

57
00:02:56.300 --> 00:02:59.400
 is again one of the host name

58
00:02:59.400 --> 00:03:02.200
 which has this particular IP address.

59
00:03:03.800 --> 00:03:06.800
If You observe this IP address and

60
00:03:06.800 --> 00:03:09.900
 this IP address both are same of

61
00:03:09.900 --> 00:03:12.700
 both the target domains which means

62
00:03:12.700 --> 00:03:15.900
 this particular domain is hosted onto

63
00:03:15.900 --> 00:03:19.000
 the same server but under one record,

64
00:03:18.600 --> 00:03:21.200
 which is a subdomain which

65
00:03:21.200 --> 00:03:23.800
 is chat Dot nmap.org

66
00:03:24.600 --> 00:03:26.300
If you can see we have identified.

67
00:03:27.400 --> 00:03:27.800
one

68
00:03:29.300 --> 00:03:31.800
this record a record and one more.

69
00:03:33.900 --> 00:03:36.900
AAA record which contains a IPv6 address

70
00:03:38.800 --> 00:03:41.800
So this was the output of DNS Brute

71
00:03:41.800 --> 00:03:44.800
 Force you can use this particular scan.

72
00:03:45.500 --> 00:03:49.300
For brute forcing the DNS names on bug

73
00:03:48.300 --> 00:03:51.600
 Bounty programs and Bug Bounty targets.

74
00:03:51.600 --> 00:03:54.500
 It will be very useful if any

75
00:03:54.500 --> 00:03:57.500
 Target is having a very big

76
00:03:57.500 --> 00:04:00.900
 scope and runs so many applications on

77
00:04:00.900 --> 00:04:03.500
 the DNS server, then you

78
00:04:03.500 --> 00:04:06.100
 may be able to identify a lot

79
00:04:06.100 --> 00:04:09.100
 of Juicy information from the DNS Brute Force

80
00:04:09.100 --> 00:04:09.600
 results.

81
00:04:10.600 --> 00:04:13.200
I hope you guys understood this video. Thank you.
