WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.600 --> 00:00:10.900
In this video, you will learn how to perform password

1
00:00:10.900 --> 00:00:13.600
 hash extraction from Windows V system.

2
00:00:13.600 --> 00:00:16.000
 Additionally, you'll also learn how to

3
00:00:16.500 --> 00:00:19.300
 crack these password hashes and retrieve the

4
00:00:19.300 --> 00:00:20.300
 plain text password.

5
00:00:21.500 --> 00:00:22.700
So let's dive on in.

6
00:00:23.600 --> 00:00:26.300
To get started with this exercise. Please ensure you

7
00:00:26.300 --> 00:00:29.800
 booted your metasploitable tree Windows Virtual Machine

8
00:00:29.800 --> 00:00:32.700
 uninsure your booted your Kali

9
00:00:32.700 --> 00:00:35.000
 Linux virtual machine annual logged into it.

10
00:00:35.900 --> 00:00:38.300
Great to get started. Let's click

11
00:00:38.300 --> 00:00:41.800
 on the terminal and we can perform in network

12
00:00:41.800 --> 00:00:44.700
 scan to determine the IP address of our Target

13
00:00:44.700 --> 00:00:48.500
 system, which is the windows metasploitable tree

14
00:00:48.500 --> 00:00:51.100
 virtual machine to do this. We can submit type

15
00:00:51.100 --> 00:00:54.500
 and map space - s and followed by

16
00:00:54.500 --> 00:00:55.700
 the network ID.

17
00:00:56.800 --> 00:00:59.100
Slash 24 gonna hit enter

18
00:00:59.100 --> 00:01:02.500
 and this can should take us a few seconds simply

19
00:01:02.500 --> 00:01:04.300
 because it's a pink scan.

20
00:01:04.900 --> 00:01:07.400
Currently we have detected to IPS, which

21
00:01:07.400 --> 00:01:10.800
 is the 38 and Dot

22
00:01:10.800 --> 00:01:14.200
 41. Let's perform an IP

23
00:01:13.200 --> 00:01:14.400
 address.

24
00:01:15.500 --> 00:01:18.900
Command like so to determine the ipo4 Kali

25
00:01:18.900 --> 00:01:19.000
 machine.

26
00:01:19.900 --> 00:01:22.400
Currently we can see my Kali machine is

27
00:01:22.400 --> 00:01:24.200
 41 so therefore.

28
00:01:25.600 --> 00:01:28.800
Dot 38 is our Target system. I'm simply

29
00:01:28.800 --> 00:01:31.900
 going to copy this IP address and let's

30
00:01:31.900 --> 00:01:34.400
 break into our metasploitable tree

31
00:01:34.400 --> 00:01:35.300
 virtual machine.

32
00:01:36.500 --> 00:01:39.000
In the previous section, we have learned how to find

33
00:01:39.800 --> 00:01:42.100
 various security weaknesses on exploit them.

34
00:01:42.100 --> 00:01:46.000
 So we'll be using the channel blue exploit to

35
00:01:45.300 --> 00:01:49.100
 break into our Target system by using

36
00:01:48.100 --> 00:01:51.300
 metasploitable. So we'll type

37
00:01:51.300 --> 00:01:54.500
 msf console like so to start

38
00:01:54.500 --> 00:01:56.300
 the metasploitable framework.

39
00:01:58.800 --> 00:01:59.300
Great.

40
00:02:00.100 --> 00:02:03.700
Now we can use the switch feature like so let's search

41
00:02:03.700 --> 00:02:06.800
 for ms-17 -010 and

42
00:02:06.800 --> 00:02:07.300
 hit enter.

43
00:02:08.300 --> 00:02:11.600
This will show us all the modules that contain that keyword

44
00:02:11.600 --> 00:02:12.800
 within the switch itself.

45
00:02:14.300 --> 00:02:16.700
for our exploit we are going to see use

46
00:02:17.600 --> 00:02:19.200
exploit /

47
00:02:21.100 --> 00:02:21.600
windows

48
00:02:23.300 --> 00:02:23.800
/

49
00:02:24.600 --> 00:02:25.400
SMB

50
00:02:26.900 --> 00:02:27.400
slash

51
00:02:28.600 --> 00:02:29.400
MS

52
00:02:30.100 --> 00:02:30.700
17

53
00:02:33.400 --> 00:02:35.300
on the score 0 1 0

54
00:02:36.600 --> 00:02:38.500
Eternal blue like so great.

55
00:02:41.600 --> 00:02:44.900
Next we are going to set our remote hose

56
00:02:44.900 --> 00:02:46.900
 IP address, so we'll see reset.

57
00:02:47.600 --> 00:02:48.500
arrows

58
00:02:49.100 --> 00:02:51.800
followed by the IP address of our Target system

59
00:02:53.100 --> 00:02:56.400
next we'll set our local IP address, so we'll set.

60
00:02:57.300 --> 00:03:00.400
Lhost like so and you can specify the

61
00:03:00.400 --> 00:03:02.300
 IP of all Kali lungs virtual machine.

62
00:03:03.100 --> 00:03:05.300
If you remember it is 41.

63
00:03:06.300 --> 00:03:06.600
Great.

64
00:03:07.700 --> 00:03:10.500
Lastly we can simply type options to

65
00:03:10.500 --> 00:03:13.400
 verify that all our configurations are set

66
00:03:13.400 --> 00:03:15.600
 properly for this exploit and be load.

67
00:03:22.800 --> 00:03:25.500
We can see that our hose which is a target IP set.

68
00:03:26.100 --> 00:03:27.400
The airport is set.

69
00:03:28.400 --> 00:03:29.500
and most importantly

70
00:03:30.600 --> 00:03:33.000
the IP address of Kali lancs is also set.

71
00:03:34.200 --> 00:03:37.300
When you're ready simply type exploit and hit enter.

72
00:03:48.700 --> 00:03:51.800
Great to extract the password hashes from the

73
00:03:51.800 --> 00:03:54.800
 Windows machine. We can simply use the harsh

74
00:03:54.800 --> 00:03:55.800
 dump command like so

75
00:03:57.100 --> 00:04:00.200
what this command will do it will simply look for the security

76
00:04:00.200 --> 00:04:03.200
 account manager file better known as a some file

77
00:04:03.200 --> 00:04:06.200
 within the windows folder on the target

78
00:04:06.200 --> 00:04:09.600
 system. Once it finds out folder. It will extract

79
00:04:09.600 --> 00:04:13.200
 the usernames the security identifier the

80
00:04:12.200 --> 00:04:15.300
 landmassahashes or better

81
00:04:15.300 --> 00:04:18.400
 than also lmashes and the ntlers

82
00:04:19.300 --> 00:04:22.300
So let's press enter to extract these password

83
00:04:22.300 --> 00:04:23.900
 hashes together with the usernames.

84
00:04:25.900 --> 00:04:28.200
Great, and after a second to two we

85
00:04:28.200 --> 00:04:31.400
 have gotten all the information from the

86
00:04:31.400 --> 00:04:34.800
 sound file. For example, we have the

87
00:04:34.800 --> 00:04:35.500
 username.

88
00:04:36.400 --> 00:04:38.100
in this instance administrator

89
00:04:38.900 --> 00:04:41.800
We have this Sid or the security identifier,

90
00:04:41.800 --> 00:04:44.300
 which helps us the two men. What are

91
00:04:44.300 --> 00:04:47.500
 the account is administrator account or perhaps a

92
00:04:47.500 --> 00:04:48.400
 standard user account?

93
00:04:49.200 --> 00:04:52.800
We have also extracted the LM hash.

94
00:04:53.400 --> 00:04:55.000
Which is a land margin hash.

95
00:04:55.600 --> 00:04:58.400
And we have also extracted anti-lm harsh

96
00:04:58.400 --> 00:04:59.500
 which is this value here.

97
00:05:00.400 --> 00:05:04.100
So great. Now that you have extracted this harsh, what

98
00:05:03.100 --> 00:05:06.000
 could we do with it? There's a couple of

99
00:05:06.200 --> 00:05:09.400
 things we can do we can simply use a more advanced

100
00:05:09.400 --> 00:05:12.300
 technique which is called pasta hash to Simply

101
00:05:12.300 --> 00:05:15.500
 use these Ashes to log on to any other system that

102
00:05:15.500 --> 00:05:17.000
 uses the same credentials.

103
00:05:17.700 --> 00:05:20.600
Furthermore we can perform or flying

104
00:05:20.600 --> 00:05:24.000
 password attacks to determine the actual plaintext

105
00:05:23.600 --> 00:05:26.000
 passwords from these fast food hashes.

106
00:05:28.300 --> 00:05:31.700
So now that we have these password ashes. Let's see

107
00:05:31.700 --> 00:05:32.900
 if the entire thing.

108
00:05:35.200 --> 00:05:38.600
To see these passwords. Let's copy the entire thing

109
00:05:38.600 --> 00:05:39.100
 like so

110
00:05:41.300 --> 00:05:44.500
on on all windows system. We can simply

111
00:05:44.500 --> 00:05:47.700
 open a text editor such as new

112
00:05:47.700 --> 00:05:48.000
 part.

113
00:05:51.800 --> 00:05:54.300
Going to piece all of these inside here.

114
00:05:55.800 --> 00:05:58.500
And great. So we have all the information

115
00:05:58.500 --> 00:06:01.400
 from the sound file. Let's click

116
00:06:01.400 --> 00:06:01.900
 on file.

117
00:06:02.900 --> 00:06:04.300
let's click on see if

118
00:06:05.500 --> 00:06:08.000
and I'm going to save this on my

119
00:06:09.300 --> 00:06:09.900
desktop

120
00:06:10.500 --> 00:06:11.300
I'm going to call this.

121
00:06:12.400 --> 00:06:16.000
Password hashes like so the txt

122
00:06:15.700 --> 00:06:18.000
 and click on, Save Creek.

123
00:06:19.500 --> 00:06:22.400
The next thing is let's head over to our

124
00:06:22.400 --> 00:06:22.900
 web browser.

125
00:06:27.300 --> 00:06:31.400
And we can download a tool known as hash cut hashcot

126
00:06:30.400 --> 00:06:33.600
 simply allows us to leverage a power

127
00:06:33.600 --> 00:06:36.800
 of a GPU to perform or flying

128
00:06:36.800 --> 00:06:37.500
 password cracking.

129
00:06:38.200 --> 00:06:41.400
To download hashcat on the operating system. You need

130
00:06:41.400 --> 00:06:44.500
 to insure that harsh guard has direct access to your

131
00:06:44.500 --> 00:06:47.200
 GPU. In other words. It dedicated graphics card.

132
00:06:47.200 --> 00:06:50.200
 So to perform this password cracking, I will

133
00:06:50.200 --> 00:06:53.500
 perform this on my host system simply because I

134
00:06:53.500 --> 00:06:56.300
 have a dedicated GPU on my

135
00:06:56.300 --> 00:06:57.000
 host computer.

136
00:06:58.100 --> 00:07:01.800
to download this simply click on download here and you

137
00:07:01.800 --> 00:07:03.600
 will get a zip file like so

138
00:07:06.700 --> 00:07:09.400
also file is downloaded. You will get this

139
00:07:09.400 --> 00:07:15.400
 particular zip file, which says hash cut 6.2.6.7z. You

140
00:07:14.400 --> 00:07:17.500
 will need to extract this holder when

141
00:07:17.500 --> 00:07:18.800
 you extract this holder.

142
00:07:19.400 --> 00:07:23.000
You will have all of these files located within

143
00:07:22.500 --> 00:07:23.900
 this directory.

144
00:07:27.600 --> 00:07:30.500
Therefore what we need to do is we'll need

145
00:07:30.500 --> 00:07:34.200
 to put our extracted hashes inside

146
00:07:33.200 --> 00:07:36.700
 of the solar together with a

147
00:07:36.700 --> 00:07:39.900
 password list. If you remember within

148
00:07:39.900 --> 00:07:42.700
 Kali Lenox, there's a rock you passwordless you

149
00:07:42.700 --> 00:07:45.600
 can simply copy the rock you passwordless

150
00:07:45.600 --> 00:07:48.800
 and place it within this harsh cut fold as well. As you

151
00:07:48.800 --> 00:07:51.400
 can see. I have the rock you passwordless here.

152
00:07:51.400 --> 00:07:54.400
 So now all I need to do is get my

153
00:07:55.400 --> 00:07:56.500
password hashes

154
00:07:57.400 --> 00:08:00.300
fire latest I'll copy this or cut

155
00:08:00.300 --> 00:08:03.400
 it and I'll paste it right inside

156
00:08:03.400 --> 00:08:03.800
 here.

157
00:08:05.400 --> 00:08:06.100
like so

158
00:08:07.000 --> 00:08:07.300
great.

159
00:08:09.200 --> 00:08:12.400
I'll copy this directory listing ISO.

160
00:08:13.300 --> 00:08:16.200
Then I will open the command prompt.

161
00:08:18.600 --> 00:08:19.200
like so

162
00:08:20.900 --> 00:08:21.800
and hit enter

163
00:08:24.800 --> 00:08:27.900
I'll type CD to change directory to

164
00:08:27.900 --> 00:08:30.300
 where my harsh card

165
00:08:30.300 --> 00:08:32.700
 files has an extracted like so great.

166
00:08:36.100 --> 00:08:39.500
To perform password cracking on the password hashes

167
00:08:39.500 --> 00:08:43.300
 at txc file and also use a rock you passwordless we

168
00:08:42.300 --> 00:08:45.500
 can use a command like Soo, we'll type

169
00:08:45.500 --> 00:08:46.200
 harsh cut.

170
00:08:48.800 --> 00:08:50.100
speed - M

171
00:08:54.500 --> 00:08:57.800
then we'll specify 1000 to inform hash

172
00:08:57.800 --> 00:08:59.800
 guard. This is an ntlm hash.

173
00:09:00.500 --> 00:09:01.700
followed by

174
00:09:04.800 --> 00:09:07.300
password hashes at txc. If you remember

175
00:09:07.300 --> 00:09:10.100
 password hash is a txc contains a list

176
00:09:10.100 --> 00:09:12.000
 of usernames and password hashes.

177
00:09:12.600 --> 00:09:14.300
Then we'll specify Dash e.

178
00:09:15.700 --> 00:09:18.400
0 and then we'll specify our

179
00:09:18.400 --> 00:09:21.500
 password lists, which is Rock You the txc like

180
00:09:21.500 --> 00:09:21.700
 so

181
00:09:22.200 --> 00:09:25.800
simply it enter and this will take a

182
00:09:25.800 --> 00:09:28.400
 few seconds to perhaps a few minutes to complete.

183
00:09:38.300 --> 00:09:41.600
Great, it has completed. Let's screw up

184
00:09:41.600 --> 00:09:43.200
 just a little bit like so.

185
00:09:44.100 --> 00:09:48.100
And here we can see it was able to retrieve two

186
00:09:47.100 --> 00:09:50.700
 passwords for two particular hashes.

187
00:09:50.700 --> 00:09:53.200
 So the harsh had ended with

188
00:09:53.200 --> 00:09:57.000
 B 5 0 B the password

189
00:09:56.300 --> 00:09:59.600
 is vagrant and then there's the pass

190
00:09:59.600 --> 00:10:02.500
 hush that ended with 9 7

191
00:10:02.500 --> 00:10:05.100
 e which ended with protocol like so

192
00:10:07.800 --> 00:10:10.500
furthermore we can simply press the up

193
00:10:10.500 --> 00:10:13.200
 button on all keyboard and press -

194
00:10:13.200 --> 00:10:14.700
 shoe like so

195
00:10:15.300 --> 00:10:18.600
we can compare these hashes with the

196
00:10:18.600 --> 00:10:20.100
 ones from the harsh dump.

197
00:10:20.700 --> 00:10:23.600
for instance comparing the harsh values

198
00:10:24.400 --> 00:10:27.500
from harsh cut here together with

199
00:10:27.500 --> 00:10:30.100
 a harsh values from the hush jump. We can

200
00:10:30.100 --> 00:10:33.500
 see the password for the administrator count as

201
00:10:33.500 --> 00:10:33.900
 vagrant.

202
00:10:34.600 --> 00:10:37.800
Also, if we look at other hashes that

203
00:10:37.800 --> 00:10:39.700
 end with seven EE

204
00:10:42.800 --> 00:10:45.400
Which is the username see

205
00:10:45.400 --> 00:10:48.900
 underscore 3 on the scope Pio the password

206
00:10:48.900 --> 00:10:51.000
 is protocol.

207
00:10:52.400 --> 00:10:55.700
So great. If you have a little how to extract the

208
00:10:55.700 --> 00:10:58.500
 passwords and perform all flying base password

209
00:10:58.500 --> 00:11:00.600
 attacks using harsh cut.

210
00:11:01.300 --> 00:11:04.500
During the course of this video you have learned how to extract Parts

211
00:11:04.500 --> 00:11:07.500
 with ashes on your balloon how to craft password hashes

212
00:11:07.500 --> 00:11:08.800
 used in hash cut.

213
00:11:10.200 --> 00:11:13.900
In the next video, we'll take a look at performing password harsh

214
00:11:13.900 --> 00:11:16.400
 extraction from loudspeed systems and

215
00:11:16.400 --> 00:11:19.600
 also cracking these fossils for various user accounts.

216
00:11:19.600 --> 00:11:22.300
 I hope this video has been informative for you

217
00:11:22.300 --> 00:11:23.400
 and thank you for viewing.
