WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.200
Hello everyone. So in this

1
00:00:07.200 --> 00:00:10.900
 video we are going to see how you can identify if

2
00:00:10.900 --> 00:00:14.000
 any web application is running a firewall,

3
00:00:13.300 --> 00:00:16.400
 which is a WAP web application

4
00:00:16.400 --> 00:00:17.200
 firewall.

5
00:00:17.900 --> 00:00:20.700
So we all know whenever we

6
00:00:20.700 --> 00:00:23.400
 are doing bug bounty hunting or pen testing any

7
00:00:23.400 --> 00:00:26.600
 web application if there is a web application

8
00:00:26.600 --> 00:00:30.000
 firewall, it will block our payload

9
00:00:29.600 --> 00:00:32.100
 the malicious request that you

10
00:00:32.100 --> 00:00:32.600
 send.

11
00:00:33.200 --> 00:00:36.700
So important is first you identify that there

12
00:00:36.700 --> 00:00:39.500
 is a waph onto that particular Target web server

13
00:00:39.500 --> 00:00:42.400
 before you brute start brute forcing your

14
00:00:42.400 --> 00:00:43.500
 payloads one by one.

15
00:00:44.700 --> 00:00:48.300
So that you will not get blocked automatically

16
00:00:47.300 --> 00:00:50.400
 by the Waf so the

17
00:00:50.400 --> 00:00:53.700
 first thing is to identify if there is a waph we

18
00:00:53.700 --> 00:00:56.300
 can do this by nmap very easily.

19
00:00:57.200 --> 00:01:00.800
So the syntax of doing this particular scan is nmap

20
00:01:00.800 --> 00:01:03.400
 the target IP address followed by

21
00:01:03.400 --> 00:01:07.300
 hyphen hyphen script equals to http -we

22
00:01:06.300 --> 00:01:08.500
 hyphen detect.

23
00:01:09.400 --> 00:01:12.200
By this script you can easily detect if there

24
00:01:12.200 --> 00:01:15.500
 is a vaph onto the target web server.

25
00:01:16.900 --> 00:01:19.200
you can always add hyphen V to see

26
00:01:19.200 --> 00:01:22.300
 the output in verbose mode the example of doing this

27
00:01:22.300 --> 00:01:24.100
 particular scan is given

28
00:01:25.400 --> 00:01:28.300
over here, which is nmap the target

29
00:01:28.300 --> 00:01:30.900
 IP followed by the NEC script.

30
00:01:32.500 --> 00:01:35.600
So it is the Practical time and let's see this

31
00:01:35.600 --> 00:01:36.900
 scan in action.

32
00:01:38.100 --> 00:01:39.600
As you can see on the terminal.

33
00:01:40.300 --> 00:01:43.600
I have given the command which is nmap the target

34
00:01:43.600 --> 00:01:47.400
 web server, which is noodle.com followed

35
00:01:46.400 --> 00:01:49.300
 by hyphen hyphen script equals to

36
00:01:49.300 --> 00:01:52.300
 http -waffe -

37
00:01:52.300 --> 00:01:55.500
 detect to identify and detect if there

38
00:01:55.500 --> 00:01:56.800
 is a firewall

39
00:01:59.400 --> 00:02:02.700
and I have chosen this ports, which is Port 80 and Port

40
00:02:02.700 --> 00:02:05.200
 443 followed by hyphen V

41
00:02:05.200 --> 00:02:07.100
 to see the output in verbose mode.

42
00:02:08.100 --> 00:02:12.200
So as you can see the nmap scan has started successfully and

43
00:02:11.200 --> 00:02:13.600
 we have also got the output.

44
00:02:14.600 --> 00:02:15.300
wherein

45
00:02:16.200 --> 00:02:19.300
nmap is able to identify that the website

46
00:02:19.300 --> 00:02:22.400
 is running behind IDs IPS or

47
00:02:22.400 --> 00:02:23.000
 a f

48
00:02:23.800 --> 00:02:26.600
how nmap is able to identify because

49
00:02:28.200 --> 00:02:31.300
As you can see over here and map has

50
00:02:31.300 --> 00:02:32.800
 sended a payload.

51
00:02:33.700 --> 00:02:37.000
As you can see over here, the payload is script

52
00:02:36.600 --> 00:02:39.800
 alert document dot cookie scriptack close,

53
00:02:39.800 --> 00:02:43.000
 which is a xss payload. So basically

54
00:02:44.400 --> 00:02:47.600
Nmap, has a set of payloads which it

55
00:02:47.600 --> 00:02:51.100
 sends onto the target web server and

56
00:02:50.100 --> 00:02:53.800
 sees the response if the

57
00:02:53.800 --> 00:02:56.500
 payload has been blocked then and map

58
00:02:56.500 --> 00:03:00.100
 identifies that there is the Waf

59
00:02:59.100 --> 00:03:03.300
 presence or any type of ideas IPS

60
00:03:02.300 --> 00:03:06.100
 protection, which is blocking our

61
00:03:05.100 --> 00:03:08.500
 simultaneous request from the end

62
00:03:08.500 --> 00:03:08.600
 map.

63
00:03:10.100 --> 00:03:13.000
So I hope you guys understood this video. Thank you.
