1
00:00:00,210 --> 00:00:02,890
OK, guys, welcome to Attacking Face in this lecture.

2
00:00:02,910 --> 00:00:09,180
We are going to attack on its taulbee excesses and very low security and let's see what it's going to

3
00:00:09,180 --> 00:00:11,490
be, how we can simply exploit it.

4
00:00:11,760 --> 00:00:16,140
OK, so first of all, what you need to do, as we all know, that you need to open a Web browser and

5
00:00:16,140 --> 00:00:23,400
simply Di di Pietro SOPA was BWB, which is this annotator software thing, and it will find this kind

6
00:00:23,400 --> 00:00:24,360
of interface.

7
00:00:24,600 --> 00:00:28,510
So let me zoom out so that we can easily see whatever we are doing here.

8
00:00:29,130 --> 00:00:30,420
Let me scroll down.

9
00:00:30,420 --> 00:00:34,660
You will find downloadable application and simply you need to hit enter.

10
00:00:34,950 --> 00:00:39,810
So when you hit enter, you will see this kind of interface where we all know that Erdmann is the user

11
00:00:39,810 --> 00:00:45,620
name and password is same, which is admin and now enter and login.

12
00:00:45,780 --> 00:00:47,880
So don't see it because it is quite irritating.

13
00:00:48,850 --> 00:00:55,890
So now that we are inside the WWE, so here you can find lots of winnability that we have inside this

14
00:00:55,900 --> 00:00:58,790
so we can practice it so far in this particular lecture.

15
00:00:58,810 --> 00:01:03,460
We are going to start with Accessors is based organophosphates Torbay's.

16
00:01:03,460 --> 00:01:10,540
Let's try with that exercise reflected once so that it will be easy to go in the order which is reflected

17
00:01:10,540 --> 00:01:10,960
in store.

18
00:01:11,260 --> 00:01:16,690
OK guys, for that you need to simply choose a security to load as Americans summit.

19
00:01:18,720 --> 00:01:24,370
So the next thing that you need to do is simply click on access as reflected, so what it is doing here.

20
00:01:24,600 --> 00:01:29,800
So as you can see that winnability reflected closer to scripting and it is asking for what is your name?

21
00:01:30,270 --> 00:01:32,150
So this is asking for the name.

22
00:01:32,160 --> 00:01:37,070
So I'm going to give my name here, which is the are now simply clicking summit.

23
00:01:37,410 --> 00:01:42,990
So when I click on Submit, as you can see that it is giving us hello diwakar, that simply means it

24
00:01:42,990 --> 00:01:48,450
is reflecting something on the web page like I will enter here one now hit enter.

25
00:01:48,600 --> 00:01:49,080
Hello.

26
00:01:50,070 --> 00:01:54,750
Now again I want to do like to know what it is doing.

27
00:01:54,750 --> 00:02:01,650
Hello is very scripted but whatever we are entering here it is just reflecting that particular world

28
00:02:01,650 --> 00:02:04,300
on a string in front of you in the webpage.

29
00:02:04,530 --> 00:02:06,680
So this is how it is working here.

30
00:02:07,600 --> 00:02:13,150
OK, guys, so when you see the link here, which is, as you can see, this is the link of this, what

31
00:02:13,150 --> 00:02:14,000
it is doing here.

32
00:02:14,290 --> 00:02:20,260
This is the thing that we have entered here supposed like let me change it here, Diwakar.

33
00:02:20,680 --> 00:02:25,900
OK, so now as we all know, this says I to get basic this.

34
00:02:26,140 --> 00:02:33,070
So when I type anything on this new parameter, whatever I'm going to type here it is reflecting on

35
00:02:33,070 --> 00:02:34,990
the beach which is hiddenness.

36
00:02:35,030 --> 00:02:41,270
OK, so for that reason I want to see the source speed so that we can understand this attack very easily.

37
00:02:41,680 --> 00:02:44,320
OK, guys, so this is the page that we have here.

38
00:02:44,650 --> 00:02:50,710
OK, so now let's see, is there any kind of OK where it is?

39
00:02:53,400 --> 00:02:58,140
Let me increase the size of this.

40
00:02:59,700 --> 00:03:02,680
OK, so as you can see, there's nothing like filtering.

41
00:03:03,000 --> 00:03:09,450
So this is what it is doing, this is the BHB and this is simply getting your knee and it is simply

42
00:03:09,780 --> 00:03:11,150
AECO knee.

43
00:03:11,160 --> 00:03:11,640
Hello.

44
00:03:11,910 --> 00:03:18,390
And giving your name, get name, whatever you enter in the place of name, it will simply get name

45
00:03:18,390 --> 00:03:19,580
and echo with the help.

46
00:03:19,770 --> 00:03:21,960
OK guys, so there is nothing like.

47
00:03:23,660 --> 00:03:27,570
We can say there's nothing like it, this will bring something sooner.

48
00:03:27,620 --> 00:03:31,590
We are well known that it is reflecting on the base.

49
00:03:31,640 --> 00:03:37,460
Now, it is the clue or just the hint to try with the excess payload.

50
00:03:38,410 --> 00:03:42,250
So what you can do here is not just try with the simplest JavaScript.

51
00:03:43,510 --> 00:03:50,890
Payload, which is a script and of the script, simply was alert and sailors used a string like, I

52
00:03:50,890 --> 00:03:53,440
want to see you.

53
00:03:55,740 --> 00:03:56,880
Have been.

54
00:03:57,940 --> 00:04:04,150
Hugged so disgusting that I want to display on a pop up window, OK, after that, what do you need

55
00:04:04,210 --> 00:04:10,860
to do here is simply use this script, OK, a script, just close this.

56
00:04:10,900 --> 00:04:11,950
OK, now hit enter.

57
00:04:12,340 --> 00:04:17,640
So when you hit enter, as you can see that this is the pop window like this, you have been hacked.

58
00:04:17,770 --> 00:04:22,900
So when you click on this, it will simply it will simply just disappear.

59
00:04:23,260 --> 00:04:25,960
So what is the conclusion here to conclusion hit?

60
00:04:26,050 --> 00:04:32,290
When you see it up here, you will see this is executing our whole come on, whatever we are entering

61
00:04:32,290 --> 00:04:34,450
here, it does not filtering anything.

62
00:04:34,450 --> 00:04:35,830
Anything means anything.

63
00:04:36,100 --> 00:04:37,540
So now let's try with some other.

64
00:04:37,540 --> 00:04:37,990
Come on.

65
00:04:38,980 --> 00:04:43,990
That is for body script or body type actually onload.

66
00:04:46,060 --> 00:04:46,700
A lot.

67
00:04:48,070 --> 00:04:50,230
Now, let's give it here top.

68
00:04:52,610 --> 00:04:58,340
OK, so this is what I tried to attend to, as you can see, this is simply reflecting whatever we want

69
00:04:58,340 --> 00:04:58,960
to reflect it.

70
00:04:59,270 --> 00:05:02,670
So what is the drawback of this particular thing?

71
00:05:02,670 --> 00:05:05,540
I suppose that I've entered like this was the script.

72
00:05:05,540 --> 00:05:08,320
And so in place of you have been hacked.

73
00:05:08,330 --> 00:05:15,130
I can simply I can simply put a link here on the link, which is related to the Malisse website.

74
00:05:15,150 --> 00:05:21,900
Suppose I have entered this particular link here and I send this whole script to the any you can see

75
00:05:21,930 --> 00:05:22,390
client.

76
00:05:22,610 --> 00:05:29,730
So when the client executed that script and it will and the client will see this particular dialog box

77
00:05:29,730 --> 00:05:34,610
or what it will do, it was simply he or she will simply click on that link and they will be redirected

78
00:05:34,610 --> 00:05:36,200
to the malicious website.

79
00:05:36,210 --> 00:05:42,110
So with that Wizard website, I can simply install the malware from the website to their computer and

80
00:05:42,110 --> 00:05:43,580
I can easily have their computer.

81
00:05:43,760 --> 00:05:48,920
So this is a drawback and this is the dangerous, awful cross site scripting reflected reflectiveness.

82
00:05:49,070 --> 00:05:53,540
So this is how you can see in the low security there is nothing like Felter.

83
00:05:53,540 --> 00:05:55,270
You can do whatever you want to do.

84
00:05:55,400 --> 00:05:58,430
You can simply inject any code here.

85
00:05:58,440 --> 00:05:59,160
So I have.

86
00:05:59,210 --> 00:06:06,530
So it's a website for you that for you so that you can simply don't there is no need to learn JavaScript.

87
00:06:06,530 --> 00:06:08,750
You can use simply payloads like this.

88
00:06:08,930 --> 00:06:15,740
We are having lots of paillard says you can use any one of them and you can simply enter on a on a form

89
00:06:16,010 --> 00:06:17,900
where it is asking for something.

90
00:06:17,900 --> 00:06:19,880
And today and you will have the results.

91
00:06:19,880 --> 00:06:21,800
Suppose that I have chosen one of them.

92
00:06:21,800 --> 00:06:29,390
Like, let me get back to OK, I want to do this, I want to inject this particular script.

93
00:06:29,390 --> 00:06:32,510
So I will copy this and I will inject this.

94
00:06:32,510 --> 00:06:35,170
And I heard and see what is what it is going to do.

95
00:06:35,480 --> 00:06:36,740
So this is what it is saying.

96
00:06:36,740 --> 00:06:39,260
This is taking it as a script.

97
00:06:39,260 --> 00:06:39,790
I'll add one.

98
00:06:39,800 --> 00:06:42,380
OK, let's see what the script is for.

99
00:06:42,830 --> 00:06:43,330
I love it.

100
00:06:43,340 --> 00:06:44,860
Takes one script.

101
00:06:44,870 --> 00:06:47,300
OK, so this is what it is doing here.

102
00:06:47,630 --> 00:06:49,400
Let me again copy this.

103
00:06:50,240 --> 00:06:54,260
Let's try to do is the Terminator now.

104
00:06:54,260 --> 00:06:56,690
It is not taking it as a large one.

105
00:06:57,180 --> 00:06:58,820
So now let's try another one then.

106
00:06:58,820 --> 00:07:01,310
We are having lots of payloads.

107
00:07:02,650 --> 00:07:04,660
Which you can use here on air.

108
00:07:04,690 --> 00:07:05,990
Let's try with this one.

109
00:07:06,910 --> 00:07:08,460
There are some which will not work.

110
00:07:08,470 --> 00:07:11,860
There are some which will work to its bond test on air.

111
00:07:12,380 --> 00:07:14,460
You can see this is, again, not working.

112
00:07:14,830 --> 00:07:17,390
So what is the problem here, source?

113
00:07:17,410 --> 00:07:18,670
Let me check here.

114
00:07:18,970 --> 00:07:23,630
Source one, a shot of one on one at a JavaScript alert.

115
00:07:24,170 --> 00:07:28,070
OK, JavaScript and why it is not working.

116
00:07:28,180 --> 00:07:30,490
This is not working because of what we did here.

117
00:07:30,700 --> 00:07:33,110
This is one error on error, actually.

118
00:07:33,310 --> 00:07:36,520
This is inside these bases or these are double codes.

119
00:07:36,520 --> 00:07:38,910
So this is why it is taking it as a script.

120
00:07:38,920 --> 00:07:43,540
So when you see the result, when you see that is attack me again, run this one.

121
00:07:43,870 --> 00:07:49,780
It what it did was simply print the JavaScript alert so that you can see when I click on it.

122
00:07:51,580 --> 00:07:53,260
OK, why does not summiting.

123
00:07:56,690 --> 00:07:58,960
OK, let me set up here.

124
00:08:00,590 --> 00:08:01,190
Wood based.

125
00:08:05,250 --> 00:08:12,420
Let's go to the U.K., where this is, as you can see, it is not taking it as.

126
00:08:14,210 --> 00:08:15,930
Our desired output, OK?

127
00:08:17,800 --> 00:08:22,940
So here we have a large sofa like this, let's run this.

128
00:08:22,960 --> 00:08:24,320
This is giving us results.

129
00:08:24,430 --> 00:08:26,120
Here we have lots of payloads.

130
00:08:26,140 --> 00:08:29,920
You can try one one of them and will work, actually.

131
00:08:30,280 --> 00:08:31,890
So this is upon you.

132
00:08:31,900 --> 00:08:33,740
What kind of things you want to do here?

133
00:08:34,000 --> 00:08:39,580
So in this case, what what I want to teach you is that if you are getting if you're writing something

134
00:08:39,580 --> 00:08:45,580
like Halo and when you hit and you are seeing that you're the string is reflecting ahead in the Web

135
00:08:45,580 --> 00:08:47,290
page and in that link also.

136
00:08:47,440 --> 00:08:49,910
So you can try to inject any JavaScript code.

137
00:08:50,200 --> 00:08:56,980
So if it is an injectable to so it will simply reflect whatever you want to do with the help of JavaScript

138
00:08:56,980 --> 00:08:57,190
code.

139
00:08:57,430 --> 00:08:58,690
So this is all for this lecture, guys.

140
00:08:58,690 --> 00:09:01,600
In the next lecture we are going to try witha medium one.
