WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.900 --> 00:00:09.700
In this video, we will take a look at Kraken as

1
00:00:09.700 --> 00:00:10.600
 a seach access.

2
00:00:12.100 --> 00:00:14.300
I hope you're excited. So, let's Dive In.

3
00:00:14.900 --> 00:00:17.600
To get started with this exercise. Please ensure

4
00:00:17.600 --> 00:00:21.100
 you boot up your Kali lancs virtual machine and also

5
00:00:20.100 --> 00:00:23.900
 power on the metasploitable to Virtual

6
00:00:23.900 --> 00:00:24.100
 Machine.

7
00:00:26.700 --> 00:00:29.600
As you can see my metasploitable to virtual machine

8
00:00:29.600 --> 00:00:30.700
 is running in the background.

9
00:00:31.600 --> 00:00:34.400
To get started. Let's open the terminal

10
00:00:34.400 --> 00:00:36.200
 on Kali Linux like so

11
00:00:39.200 --> 00:00:42.400
and firstly let's perform a ping scan

12
00:00:42.400 --> 00:00:45.100
 on our virtual Network to determine the IP address

13
00:00:45.100 --> 00:00:48.500
 of our Target system, which is metasploitable, too.

14
00:00:48.500 --> 00:00:51.200
 Let's type and map -

15
00:00:51.200 --> 00:00:54.700
 SN followed by the network ID and

16
00:00:54.700 --> 00:00:57.800
 we will exclude our Kali Linux IP

17
00:00:57.800 --> 00:00:58.900
 address hit enter.

18
00:01:00.300 --> 00:01:03.700
Which are a few seconds this kind will complete and currently

19
00:01:03.700 --> 00:01:06.400
 we can see that our Target system, which

20
00:01:06.400 --> 00:01:10.600
 is 172 tt1 t87 is

21
00:01:09.600 --> 00:01:12.400
 online. So let's copy that

22
00:01:12.400 --> 00:01:16.200
 IP address next. Let's determine if

23
00:01:15.200 --> 00:01:18.500
 SSH is running on

24
00:01:18.500 --> 00:01:21.700
 the target system to do this. Let's type

25
00:01:21.700 --> 00:01:22.400
 and map.

26
00:01:23.100 --> 00:01:23.800
like so

27
00:01:25.900 --> 00:01:28.800
- P followed by the port which is

28
00:01:28.800 --> 00:01:31.800
 Port 22 Versace followed by

29
00:01:31.800 --> 00:01:34.800
 the IEP address of the target system hit enter.

30
00:01:35.800 --> 00:01:38.600
Currently we can see Port 22 is

31
00:01:38.600 --> 00:01:41.600
 open and SSH is running on the

32
00:01:41.600 --> 00:01:42.100
 target system.

33
00:01:42.700 --> 00:01:46.600
So great. Now let's use Metasploit

34
00:01:45.600 --> 00:01:49.200
 to perform on SSH Brute

35
00:01:48.200 --> 00:01:50.800
 Force attack on the target system.

36
00:01:51.800 --> 00:01:54.200
To start Metasploit. We are going

37
00:01:54.200 --> 00:01:57.400
 to use a command msf console like so and this

38
00:01:57.400 --> 00:02:00.500
 will start Metasploit exploitation development framework.

39
00:02:01.300 --> 00:02:04.500
This will take a few seconds to loot. But once it's loaded,

40
00:02:04.500 --> 00:02:08.300
 we will have access to the Metasploit user

41
00:02:07.300 --> 00:02:08.800
 interface.

42
00:02:12.800 --> 00:02:14.800
Great, so Metasploit is looted.

43
00:02:15.400 --> 00:02:18.500
The thing I want metal Floyd is it contains so

44
00:02:18.500 --> 00:02:21.900
 many modules and these modules could be auxiliary modules

45
00:02:21.900 --> 00:02:24.900
 such as scanners. It could be exploits

46
00:02:24.900 --> 00:02:27.800
 P loads even and quarters to

47
00:02:27.800 --> 00:02:31.000
 help us find the SSH modular we

48
00:02:30.100 --> 00:02:33.300
 are looking for we can simply use a search

49
00:02:33.300 --> 00:02:36.400
 feature like so let's type switch

50
00:02:36.400 --> 00:02:40.100
 then SSH space login

51
00:02:39.100 --> 00:02:41.200
 and hit enter.

52
00:02:42.100 --> 00:02:45.700
Currently it found a lot of different modules, which

53
00:02:45.700 --> 00:02:48.700
 is excellent. However, we are looking

54
00:02:48.700 --> 00:02:51.800
 for a specific module which is

55
00:02:51.800 --> 00:02:53.600
 the auxiliary scanner.

56
00:02:54.900 --> 00:02:57.900
SSH ssh underscore logging

57
00:02:59.100 --> 00:03:01.700
so let's copy this particular module.

58
00:03:02.300 --> 00:03:05.800
And let's use it type use followed by

59
00:03:05.800 --> 00:03:09.200
 the actual model name, which is auxiliary scanner

60
00:03:08.200 --> 00:03:11.800
 SSH logging and

61
00:03:11.800 --> 00:03:12.300
 hit enter.

62
00:03:13.100 --> 00:03:16.500
Now that your selected the module, let's type

63
00:03:16.500 --> 00:03:19.600
 options to see what options or what

64
00:03:19.600 --> 00:03:22.200
 parameters we need to set on this model

65
00:03:22.200 --> 00:03:24.500
 before we can launch it against a Target.

66
00:03:25.700 --> 00:03:28.900
On the output it shows various settings

67
00:03:28.900 --> 00:03:31.700
 such as we have blank passwords

68
00:03:31.700 --> 00:03:34.300
 whether it is set or what it

69
00:03:34.300 --> 00:03:37.500
 is a value what it is required or even

70
00:03:37.500 --> 00:03:39.300
 not required on a description.

71
00:03:40.700 --> 00:03:44.700
Firstly let's set our Target IP

72
00:03:43.700 --> 00:03:46.300
 address. So we will need to set

73
00:03:46.300 --> 00:03:49.900
 the rhost settings. Let's

74
00:03:49.900 --> 00:03:50.700
 type set.

75
00:03:51.900 --> 00:03:53.600
our host like so

76
00:03:54.100 --> 00:03:57.300
And let's specify the IP address of our Target

77
00:03:57.300 --> 00:03:57.600
 system.

78
00:04:02.400 --> 00:04:02.800
Great.

79
00:04:03.600 --> 00:04:06.600
The next thing we need to do is let's select a

80
00:04:06.600 --> 00:04:07.400
 username.

81
00:04:08.200 --> 00:04:09.400
now we can see like

82
00:04:10.300 --> 00:04:13.700
a wordless that contains a lot of usernames and

83
00:04:13.700 --> 00:04:16.000
 also a word list that contains a lot of passwords.

84
00:04:16.700 --> 00:04:19.200
The downside is with a Brute Force attack.

85
00:04:19.200 --> 00:04:23.000
 It takes really really long to complete. However, you

86
00:04:22.100 --> 00:04:25.800
 are feel free to set a password

87
00:04:25.800 --> 00:04:28.800
 list or a word list for either the username or password.

88
00:04:28.800 --> 00:04:31.800
 However, just for this exercise will

89
00:04:31.800 --> 00:04:32.600
 be setting

90
00:04:33.800 --> 00:04:36.300
the username and a list

91
00:04:36.300 --> 00:04:39.500
 of possible passwords. So let's set the username. Let's

92
00:04:39.500 --> 00:04:40.200
 do set.

93
00:04:42.200 --> 00:04:45.100
Username like so let's set the

94
00:04:45.100 --> 00:04:47.700
 username to be administrator. Great.

95
00:04:48.300 --> 00:04:51.700
In a previous video, we have created a word lists within

96
00:04:51.700 --> 00:04:54.400
 our present working directory that contains some very

97
00:04:54.400 --> 00:04:57.500
 simple passwords. I think it was about three or

98
00:04:57.500 --> 00:05:00.200
 four passwords. Let's check. Let's open a new

99
00:05:00.200 --> 00:05:03.100
 terminal like so I'll drag this to the side.

100
00:05:04.900 --> 00:05:06.900
And let's type ls-l.

101
00:05:12.600 --> 00:05:15.300
And here we can see we have weird list number one.

102
00:05:16.100 --> 00:05:17.200
Let's type cut.

103
00:05:18.500 --> 00:05:22.300
We listen number one and we have a few entries. Excellent.

104
00:05:21.300 --> 00:05:24.600
 So let's use this Wheelis. And

105
00:05:24.600 --> 00:05:27.400
 let's see if the password is actually found what we are

106
00:05:27.400 --> 00:05:30.600
 doing is simply proof of concept simply because brute force

107
00:05:30.600 --> 00:05:33.100
 and usually takes a very very long time to actually

108
00:05:33.100 --> 00:05:33.700
 complete.

109
00:05:34.400 --> 00:05:37.700
So let's use our word list that you have created and

110
00:05:37.700 --> 00:05:39.100
 set it with the Metasploit.

111
00:05:40.600 --> 00:05:42.000
We can use set.

112
00:05:42.900 --> 00:05:43.400
pass

113
00:05:44.700 --> 00:05:45.500
underscore

114
00:05:46.800 --> 00:05:49.200
file like so and then

115
00:05:49.200 --> 00:05:53.300
 we can specify the directory for our wordless. Let's

116
00:05:52.300 --> 00:05:55.700
 just type wordless one the txc

117
00:05:55.700 --> 00:05:56.700
 like so and hit enter.

118
00:05:57.400 --> 00:06:00.900
Now that we are set a single username and we

119
00:06:00.900 --> 00:06:03.300
 have set a password list or

120
00:06:03.300 --> 00:06:06.900
 it would list out contains fossil passwords. Let's execute

121
00:06:06.900 --> 00:06:10.100
 this module and see whether it possible

122
00:06:09.100 --> 00:06:12.500
 user credentials actually found let's

123
00:06:12.500 --> 00:06:13.900
 diaper on and hit enter.

124
00:06:14.600 --> 00:06:17.500
Currently starting the Brute Force attack and it

125
00:06:17.500 --> 00:06:20.500
 is using the username administrator, but

126
00:06:20.500 --> 00:06:23.300
 check it against the different passwords within

127
00:06:23.300 --> 00:06:23.700
 the system.

128
00:06:24.900 --> 00:06:28.100
So far it completed, but it

129
00:06:27.100 --> 00:06:30.300
 didn't say what it was

130
00:06:30.300 --> 00:06:33.700
 able to log in or not. So most likely this attack has

131
00:06:33.700 --> 00:06:33.900
 field.

132
00:06:34.500 --> 00:06:35.900
since our attackers feel

133
00:06:36.600 --> 00:06:39.600
let's actually amend or modify our

134
00:06:39.600 --> 00:06:40.200
 wordless file.

135
00:06:42.600 --> 00:06:45.000
So let's open the text editor like so

136
00:06:46.400 --> 00:06:47.400
let's click on file.

137
00:06:48.200 --> 00:06:49.300
Let's click on open.

138
00:06:51.100 --> 00:06:54.800
And let's head over to our home directory and

139
00:06:54.800 --> 00:06:57.400
 let's select all woodless one like so and simply click

140
00:06:57.400 --> 00:06:58.100
 on ubon.

141
00:07:01.400 --> 00:07:05.500
Now that we have the wordless file loop on let's insert

142
00:07:04.500 --> 00:07:07.000
 msf. Admin.

143
00:07:07.500 --> 00:07:10.800
As a fifth entry and let's see it like

144
00:07:10.800 --> 00:07:11.200
 so.

145
00:07:12.300 --> 00:07:12.600
Let's close.

146
00:07:13.500 --> 00:07:13.700
Great.

147
00:07:15.200 --> 00:07:18.300
Let's type options one more time and currently we

148
00:07:18.300 --> 00:07:21.100
 can see the username is set to administrative.

149
00:07:22.500 --> 00:07:23.700
Let's change your username.

150
00:07:25.200 --> 00:07:26.200
Let's do set.

151
00:07:27.900 --> 00:07:30.400
Username like so let's type

152
00:07:30.400 --> 00:07:31.700
 msf. Admin.

153
00:07:32.900 --> 00:07:35.300
Great, let's type options one more

154
00:07:35.300 --> 00:07:38.500
 time. Currently. We are using a different

155
00:07:38.500 --> 00:07:41.200
 username to test against our woodless.

156
00:07:42.200 --> 00:07:45.100
Let's diaper on one more time and let's see what happens.

157
00:07:52.500 --> 00:07:55.900
So great. We have it different type of result this

158
00:07:55.900 --> 00:07:58.400
 time. It says successful and I

159
00:07:58.400 --> 00:08:01.900
 provide us with the username and password combination

160
00:08:01.900 --> 00:08:04.300
 that actually work that allow us to gain access

161
00:08:04.300 --> 00:08:05.100
 into the system.

162
00:08:05.800 --> 00:08:08.100
Additionally, it shows certain as a

163
00:08:08.100 --> 00:08:11.500
 seed Session 1 was upon from our system,

164
00:08:11.500 --> 00:08:14.400
 which is khalidanox onto the target system.

165
00:08:15.100 --> 00:08:18.600
So this is a simple proof of concept technique that you can use to

166
00:08:18.600 --> 00:08:21.500
 actually identify and even retrieve possible

167
00:08:21.500 --> 00:08:24.300
 user news on passwords. Keep in mind that you could

168
00:08:24.300 --> 00:08:27.600
 use additional paths with lists that is found on

169
00:08:27.600 --> 00:08:30.500
 the internet or those are to actually pre-install on

170
00:08:30.500 --> 00:08:33.900
 Kali Linux. We use this simple exercise simply

171
00:08:33.900 --> 00:08:36.700
 because you want to reduce the time to demonstrate

172
00:08:36.700 --> 00:08:39.200
 how this attack is very

173
00:08:39.200 --> 00:08:42.500
 practical but on the downside is with a

174
00:08:42.500 --> 00:08:45.500
 real Brute Force attack, it can take hours to

175
00:08:45.500 --> 00:08:48.800
 even these two months to even years to be

176
00:08:48.800 --> 00:08:49.000
 completed.

177
00:08:49.800 --> 00:08:52.700
In this video you have learn how to crack SSH

178
00:08:52.700 --> 00:08:55.400
 access On Target vulnerable system.

179
00:08:56.300 --> 00:08:59.900
In the next video, we'll be starting Section 5. I

180
00:08:59.900 --> 00:09:02.700
 hope this video has been informative for you and thank

181
00:09:02.700 --> 00:09:03.000
 you for viewing.
