WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.750 --> 00:00:11.850
Hi, and welcome back to section four Net Cat Penetration test.

1
00:00:12.470 --> 00:00:16.210
In this video, we are going to talk about some net cat variants.

2
00:00:16.910 --> 00:00:21.570
We saw that Net Cat is amazing, but it is a simple software.

3
00:00:22.350 --> 00:00:25.850
Net Cat is a little old but wide usually today.

4
00:00:26.230 --> 00:00:30.450
He was created years ago and does not have lots of updates.

5
00:00:30.910 --> 00:00:35.770
And because of that some developers had to develop their own version based

6
00:00:35.910 --> 00:00:37.130
on the original Net Cat.

7
00:00:37.400 --> 00:00:42.050
Some modifications were added in this version and today we have some net cat

8
00:00:42.050 --> 00:00:43.530
variants available to use.

9
00:00:43.910 --> 00:00:47.930
We have the original Net Cat that's present in many Linux-based distribution.

10
00:00:48.310 --> 00:00:50.050
We have, uh, any cat, uh,

11
00:00:50.110 --> 00:00:53.330
is a software developed by any map.org project.

12
00:00:53.790 --> 00:00:57.890
We are using this in our Microsoft Windows examples. Uh,

13
00:00:57.970 --> 00:01:00.930
this version has base on the net original version.

14
00:01:01.230 --> 00:01:04.770
And one simple difference we saw is in the last video, for example,

15
00:01:05.110 --> 00:01:10.050
is about the option dash w to specify a timeout between a file

16
00:01:10.370 --> 00:01:13.010
transfer, for example. This was optimization, uh,

17
00:01:13.370 --> 00:01:17.610
included in this Net Cat version, we have a Crypto catt.

18
00:01:17.830 --> 00:01:21.490
Crypto CATT is a net cat variant that is very close to the original,

19
00:01:21.830 --> 00:01:25.050
but these deployments are integrated support for encryption.

20
00:01:25.430 --> 00:01:28.610
And we have another variant, soca,

21
00:01:28.870 --> 00:01:32.770
the name came from Socket Cat. Okay, uh,

22
00:01:32.910 --> 00:01:37.730
is the most advanced net cat variant available. In our example here. Uh,

23
00:01:37.880 --> 00:01:42.490
it's acts as a bridge to link, uh, two data channels together.

24
00:01:43.410 --> 00:01:48.100
Here I'm using my KA Linux environment and we'll see some

25
00:01:48.100 --> 00:01:50.260
examples using the original Net CAT version,

26
00:01:51.100 --> 00:01:54.380
a crypto Cat and the Soca. First of all,

27
00:01:54.480 --> 00:01:56.810
we have our version,

28
00:01:57.710 --> 00:02:02.030
our original version of Netcat that is included in the,

29
00:02:02.230 --> 00:02:05.670
a lot of versions in distribution of Linux.

30
00:02:06.770 --> 00:02:11.420
Here we have already the, in this, in this distribution, uh,

31
00:02:12.060 --> 00:02:16.930
equipped cat already started here. Uh,

32
00:02:17.310 --> 00:02:19.330
you are able to see that it's very close.

33
00:02:19.630 --> 00:02:23.290
The option is very close from the original one. Okay,

34
00:02:24.820 --> 00:02:29.080
and we have already started the version, uh,

35
00:02:29.320 --> 00:02:33.330
a version of So Cat. So the,

36
00:02:33.380 --> 00:02:38.130
these three versions of Net Cat are already started in the actual

37
00:02:38.130 --> 00:02:41.290
version of Linux. So this is very good, very interesting.

38
00:02:42.600 --> 00:02:44.220
So our first example here,

39
00:02:45.100 --> 00:02:48.140
I will start a conversation using the original

40
00:02:49.810 --> 00:02:52.310
Net cat. So I use Net Cat,

41
00:02:52.750 --> 00:02:57.190
I will start a server and a client and start to exchange some,

42
00:02:57.260 --> 00:03:01.560
some information. So I use net cat dash v,

43
00:03:03.890 --> 00:03:08.220
VV listening and specific port

44
00:03:08.970 --> 00:03:13.940
will be for example, okay, 7, 5, 5, 5, 5. Okay.

45
00:03:14.740 --> 00:03:17.640
And the the server is on is listen.

46
00:03:18.340 --> 00:03:22.830
And here I will start a client. So I use Net Cat dash,

47
00:03:23.330 --> 00:03:24.163
VV,

48
00:03:24.600 --> 00:03:29.520
local host and put a specific port by 5 5 5.

49
00:03:31.400 --> 00:03:34.940
Okay, so the connection is, is, is done so high.

50
00:03:35.760 --> 00:03:40.140
So is the simple, uh, operation basically using here. Okay,

51
00:03:41.320 --> 00:03:44.170
I'll stop this conversation and I will start

52
00:03:46.330 --> 00:03:48.090
a stance of wire sharkk.

53
00:03:50.230 --> 00:03:55.150
I use Wire Sharkk to get the package from this conversation.

54
00:03:56.150 --> 00:03:58.530
So I'll start a look back to,

55
00:03:58.710 --> 00:04:01.930
to get all the package from my local host here

56
00:04:04.000 --> 00:04:05.460
and it's running.

57
00:04:06.310 --> 00:04:10.690
Let's return for our example here.

58
00:04:10.930 --> 00:04:15.720
I will start a server like this and I'll start a client

59
00:04:17.290 --> 00:04:21.510
and I will start to put some information here, like a chat. So,

60
00:04:23.000 --> 00:04:24.790
hello, I

61
00:04:28.060 --> 00:04:29.230
good and bye.

62
00:04:33.080 --> 00:04:33.913
Okay,

63
00:04:34.730 --> 00:04:39.670
and here we have all the communication between

64
00:04:39.800 --> 00:04:42.030
these two instance the server and the client.

65
00:04:42.650 --> 00:04:46.670
So we saw that the protocol they used by the full net cat used D C P.

66
00:04:47.730 --> 00:04:50.190
And we have, uh, initial, uh, handshake.

67
00:04:50.450 --> 00:04:54.440
So we have a sync sync egg in a egg.

68
00:04:54.460 --> 00:04:58.520
That's is a handshake to start a connection, okay,

69
00:05:00.830 --> 00:05:02.770
to start a conversation. Okay?

70
00:05:04.340 --> 00:05:06.320
And we have some information here.

71
00:05:07.020 --> 00:05:11.800
And Net Cat don't use any type of encryption. So we have for example,

72
00:05:12.660 --> 00:05:16.720
all the information here, passing from one side to another.

73
00:05:17.060 --> 00:05:18.920
So we have a push act for example,

74
00:05:19.580 --> 00:05:23.480
to push information like this by,

75
00:05:26.600 --> 00:05:30.420
by all the information that was traffic, traffic here.

76
00:05:31.120 --> 00:05:35.180
And in the, we have the stop of the communication hack,

77
00:05:35.820 --> 00:05:40.140
FINAC Finac. This represent end of the connection.

78
00:05:40.720 --> 00:05:45.370
So all the, the text here was in clear text.

79
00:05:45.710 --> 00:05:47.530
So was able to,

80
00:05:49.400 --> 00:05:54.230
to anyone that are sniffing the network is

81
00:05:54.260 --> 00:05:58.410
able to get this, this information, information.

82
00:05:58.410 --> 00:05:59.810
Now let me stop here

83
00:06:02.690 --> 00:06:05.690
and use the same example,

84
00:06:06.550 --> 00:06:09.610
but now using Crypto Cat.

85
00:06:11.370 --> 00:06:14.840
So here we use the same, uh, structure,

86
00:06:15.340 --> 00:06:17.680
but we use cat,

87
00:06:20.300 --> 00:06:23.390
crypto Cat, okay, here

88
00:06:24.950 --> 00:06:27.210
and here will be the same. We use the same

89
00:06:29.580 --> 00:06:33.820
ripped cat. I'll, uh, restart

90
00:06:36.100 --> 00:06:39.720
the, the sniffing by using, uh, wire chart.

91
00:06:41.100 --> 00:06:45.520
Let me start again, continue without saving. Okay, that cat is uh,

92
00:06:45.710 --> 00:06:50.110
wire sh is is ready and we'll start the same,

93
00:06:50.570 --> 00:06:54.110
the same operation. I will start in, in this site here,

94
00:06:54.310 --> 00:06:57.930
a server and another site here client.

95
00:06:59.860 --> 00:07:04.600
So Crypto Cat is listen now the client

96
00:07:04.740 --> 00:07:09.690
is connected and let's start a shot. I, hi. Hello,

97
00:07:11.420 --> 00:07:16.190
nice to talk with you. You okay?

98
00:07:17.630 --> 00:07:20.560
Hi. Okay, so we stopped the,

99
00:07:20.560 --> 00:07:22.960
the conversation and let's return to Wire Shark.

100
00:07:23.460 --> 00:07:26.610
So in Wire Shark, we have the same,

101
00:07:28.280 --> 00:07:32.380
the same operations, the same structure. Here we to start a connection,

102
00:07:32.380 --> 00:07:35.940
we have a handshake scene, syn, egg and scene.

103
00:07:36.880 --> 00:07:40.300
And we start to talk to exchange formation.

104
00:07:40.840 --> 00:07:45.460
So look that now we have the same structure here per egg. That's mean that, uh,

105
00:07:45.460 --> 00:07:49.380
some information was sent to 1.1 to another one,

106
00:07:50.570 --> 00:07:54.870
but now all the text that we send was encrypted.

107
00:07:56.030 --> 00:07:59.480
Okay? So this is the base difference between uh,

108
00:07:59.760 --> 00:08:02.720
regional net cat version and the crypto cat version.

109
00:08:03.340 --> 00:08:08.040
So this is very interesting. It's more, is more safety use net

110
00:08:09.550 --> 00:08:13.570
in this, uh, scenario, for example, all the information is

111
00:08:15.320 --> 00:08:20.310
encrypted. Okay? Now let's take a look in.

112
00:08:20.450 --> 00:08:23.410
So Cat to stop here

113
00:08:26.190 --> 00:08:29.340
and return for the sense of criminal.

114
00:08:31.550 --> 00:08:35.610
Clear and clear. Okay,

115
00:08:36.070 --> 00:08:40.930
so we saw that Net CAT is a advanced version of variants

116
00:08:40.950 --> 00:08:44.890
of uh, net cat. And he has, uh,

117
00:08:45.550 --> 00:08:50.000
use options to use and he works

118
00:08:50.380 --> 00:08:55.200
in a kind of channels to connect with some

119
00:08:55.200 --> 00:09:00.160
channels, with some, some sites. So Net Soca,

120
00:09:00.590 --> 00:09:04.080
it's here. We have the original version here of Net Cat,

121
00:09:04.220 --> 00:09:07.480
the time original version of, of, uh, net Cat.

122
00:09:08.660 --> 00:09:09.760
We have the option of

123
00:09:11.570 --> 00:09:15.590
to show some information dash H.

124
00:09:16.560 --> 00:09:21.390
So look that we have the basic information

125
00:09:21.460 --> 00:09:25.790
here, like use it in in net Cat on other variants here,

126
00:09:26.460 --> 00:09:29.710
okay? We have some options that are present in both version,

127
00:09:29.930 --> 00:09:32.310
the original and this versions here.

128
00:09:33.770 --> 00:09:38.460
But we start to have more informations, okay? More,

129
00:09:38.560 --> 00:09:43.430
uh, options to use. For example, working pipes,

130
00:09:44.810 --> 00:09:49.330
a specification to use more detailed. For example,

131
00:09:50.280 --> 00:09:53.090
some structures here, some interfaces,

132
00:09:54.000 --> 00:09:58.840
some abstract operations, more specific, uh,

133
00:09:58.840 --> 00:10:01.960
operations use IP four and IP six for example.

134
00:10:02.460 --> 00:10:06.400
So we have a lot of, uh, detailed information. You use, uh,

135
00:10:06.400 --> 00:10:07.880
open Ss s l for example,

136
00:10:07.980 --> 00:10:11.480
to work in certificate of security encryption.

137
00:10:12.140 --> 00:10:15.280
So we have huge informations

138
00:10:17.810 --> 00:10:21.990
available here in this variant Soca, okay?

139
00:10:22.930 --> 00:10:26.310
I use to see this information I use,

140
00:10:26.970 --> 00:10:30.710
let me maximize this, I use this, this option here,

141
00:10:30.740 --> 00:10:33.390
dash H Okay, this is better,

142
00:10:34.370 --> 00:10:38.590
but there's another option to show all the options available here.

143
00:10:39.950 --> 00:10:44.900
And this option is so dash question mark,

144
00:10:45.140 --> 00:10:50.100
question mark, question mark. Okay, so we have huge list here.

145
00:10:50.160 --> 00:10:54.220
Let me return to, to beginning was,

146
00:10:55.050 --> 00:10:55.883
okay here,

147
00:10:57.120 --> 00:11:00.080
question marks three times question marks.

148
00:11:00.700 --> 00:11:03.840
We have the original list that we saw before, okay?

149
00:11:03.980 --> 00:11:06.360
In the dash H option.

150
00:11:07.650 --> 00:11:12.270
And we start to get more details and,

151
00:11:12.610 --> 00:11:15.590
uh, specialist options from many,

152
00:11:16.100 --> 00:11:19.510
many cases when we are use socket, for example.

153
00:11:20.650 --> 00:11:25.400
So they are a huge list and

154
00:11:25.500 --> 00:11:26.150
uh,

155
00:11:26.150 --> 00:11:30.940
it's very interesting to give more deep in this information if you have

156
00:11:31.780 --> 00:11:33.290
a connection

157
00:11:34.890 --> 00:11:39.270
in some details that depend off, off some cases. Okay?

158
00:11:40.920 --> 00:11:43.340
Let me return for the original format here.

159
00:11:51.310 --> 00:11:53.640
Good. So let's start our, our test here.

160
00:11:54.690 --> 00:11:59.450
The instance of wire shark is, is already listened, sniffing all the,

161
00:11:59.450 --> 00:12:04.290
the package and the structure will be the same. We'll start a server,

162
00:12:05.160 --> 00:12:08.810
then we'll start a client. So in this side here I will,

163
00:12:08.970 --> 00:12:12.970
I will use Soca. I have to specify the protocol.

164
00:12:13.370 --> 00:12:17.030
T C P is TCP dash lesson.

165
00:12:18.550 --> 00:12:23.090
So this mean that I'll use the local host, uh, and this distance here of,

166
00:12:23.270 --> 00:12:27.610
so we are running as a server. So we'll start to listen.

167
00:12:28.070 --> 00:12:30.650
So D C P I will, using the T C P protocol,

168
00:12:31.090 --> 00:12:34.810
I have to specify a port by five in this case.

169
00:12:35.750 --> 00:12:38.130
And I have to specify as standard

170
00:12:41.010 --> 00:12:44.470
in that's mean that they, I have to specify a channel because,

171
00:12:46.320 --> 00:12:50.220
so use this model of communication. We have to specify channels.

172
00:12:50.770 --> 00:12:54.540
They are connection used channels. So I have to use

173
00:12:56.390 --> 00:12:58.480
this keyword here. So in this case,

174
00:13:00.520 --> 00:13:03.460
let me repeat, but using dash V

175
00:13:05.340 --> 00:13:08.640
to get more information during the communication.

176
00:13:10.050 --> 00:13:14.380
And now I will start a client. So I, I use the, uh,

177
00:13:14.380 --> 00:13:19.000
similar structure. So I have to specify the protocol.

178
00:13:19.400 --> 00:13:22.380
T c p, the local host

179
00:13:24.220 --> 00:13:27.040
to specify the host in this case will be local host.

180
00:13:27.540 --> 00:13:32.070
And specify the door, the five, five part five,

181
00:13:32.730 --> 00:13:35.310
and specify the channel.

182
00:13:37.280 --> 00:13:39.660
So the connection is established.

183
00:13:40.680 --> 00:13:45.350
Now we have a handshake here, okay? In,

184
00:13:45.570 --> 00:13:50.250
in, in using, uh, the R chart. So the handshake is okay,

185
00:13:50.430 --> 00:13:53.730
the connection, it's okay between these two instance,

186
00:13:55.000 --> 00:13:59.100
let's start some communication. Say hi. Hello,

187
00:14:01.480 --> 00:14:02.313
welcome.

188
00:14:08.030 --> 00:14:12.440
Okay, because I use the V option, we have more details. So the time

189
00:14:14.080 --> 00:14:17.900
we have, they receive it and the data, what's received it and sent it.

190
00:14:17.960 --> 00:14:18.400
For example.

191
00:14:18.400 --> 00:14:23.140
So we have this repetition here 'cause we are logging all the information.

192
00:14:24.400 --> 00:14:28.200
And in one shark we have the head,

193
00:14:28.200 --> 00:14:30.660
the handshake and the information.

194
00:14:30.960 --> 00:14:34.980
So the information is in clear text, okay?

195
00:14:35.040 --> 00:14:36.900
But we have some advanced options.

196
00:14:38.800 --> 00:14:41.540
So this is the result of the variants.

197
00:14:41.720 --> 00:14:46.680
So each variant got the initial version of

198
00:14:46.820 --> 00:14:50.520
Net CAT and put more, uh, features, for example,

199
00:14:51.130 --> 00:14:55.360
maybe features about security and encryption options,

200
00:14:56.060 --> 00:14:59.970
uh, and features for a specific, uh, domain. For example,

201
00:15:00.030 --> 00:15:04.170
in this case for stock at communication, all the options that we have in socket.

202
00:15:04.750 --> 00:15:07.530
So this was the variant that we saw here.

203
00:15:07.750 --> 00:15:09.950
We have many others

204
00:15:12.180 --> 00:15:17.110
present and developed for the developers to, uh, satisfy some specific domain,

205
00:15:17.130 --> 00:15:19.230
for example, or to get more, uh,

206
00:15:19.290 --> 00:15:24.050
robust version of the original net CAT version. In this video,

207
00:15:24.590 --> 00:15:29.350
we saw some net CAT variants available to the two. Use the next section.

208
00:15:29.920 --> 00:15:33.910
We'll take a look in more operations with files. I hope to see.
