WEBVTT

00:07.040 --> 00:11.500
Hello and welcome to another
video on this chapter.

00:11.530 --> 00:13.460
This video, we will take a look into

00:13.490 --> 00:19.020
tornado Network traffic and how you can
examine it to get valuable information,

00:19.040 --> 00:25.000
depravity, Network Tor short for the Onion
Router, is often used by activists and

00:25.030 --> 00:30.300
whistleblowers and people who wish
to preserve the anonymity online.

00:30.330 --> 00:32.980
The results are used by citizens of

00:33.000 --> 00:37.920
countries which censor the Internet
in order to evade the online censorship

00:37.950 --> 00:42.440
and surveillance systems
already in repressive regimes are

00:42.470 --> 00:46.620
therefore actively trying to detect and
block traffic,

00:46.650 --> 00:51.940
which makes research frontcourt
protocol detection a sensitive subject.

00:51.970 --> 00:55.420
Tor is also often used.

00:55.450 --> 00:58.120
Or rather is misused by hackers and

00:58.150 --> 01:02.980
criminals in order to
remotely control computers.

01:03.000 --> 01:06.520
In this video, we will explain why it is
so well suited for such malicious

01:06.550 --> 01:12.770
purposes, but also how incident responders
can detect traffic in their networks.

01:12.800 --> 01:14.720
Most of the traffic in the Tor

01:14.750 --> 01:20.960
networks are in fact, port scans
Hacking attempt exfiltration of stolen

01:20.990 --> 01:25.980
data and other forms
of online criminality.

01:26.010 --> 01:31.040
You might remember, if you catch it on the
news, the Botnet called Skynet that used

01:31.070 --> 01:36.540
store for its command and
control communication.

01:36.570 --> 01:39.040
Tor doesn't just provide Decryption, it is

01:39.070 --> 01:43.820
also designed to look like
normal HTTPs traffic.

01:43.850 --> 01:45.570
This makes Tor general blends in

01:45.600 --> 01:50.720
quite well with normal Web surfing
traffic, and that makes communication

01:50.750 --> 01:55.480
difficult to identify even for
experience incident responders.

01:55.640 --> 02:01.060
If successful method for detecting
such traffic like Tor

02:01.090 --> 02:05.800
is to instead utilize statistical analysis
of the communication protocol in order to

02:05.830 --> 02:12.000
tell different SSL implementations apart,
one of the very few tools that has support

02:12.030 --> 02:20.160
for protocol identification identification
via statistical analysis is another.

02:20.360 --> 02:23.660
They have opened a previously captured

02:23.690 --> 02:30.800
door traffic here on my Wireshark
and we are going to go through it.

02:31.000 --> 02:32.960
As you can see.

02:33.520 --> 02:38.780
The Port 9150, which is mostly used by the

02:38.810 --> 02:43.520
Tor and you can see some tools are
actually going back and forth.

02:44.040 --> 02:53.160
The thing with Wireshark is that
the SYN with is, as we said earlier, is

02:53.190 --> 03:01.240
that it makes it difficult for
network analysis tools like Wireshark to.

03:02.720 --> 03:07.720
They think the traffic to
some more plain and simple information

03:07.750 --> 03:13.060
that we would like to use later on in
our investigation or forensic analysis.

03:13.090 --> 03:15.720
So if you just pick a line.

03:16.560 --> 03:20.080
We just go ahead and
pick a line from this.

03:20.120 --> 03:24.040
Capture traffic that we had from.

03:26.120 --> 03:27.520
Tor.

03:32.200 --> 03:33.420
You can see the

03:33.450 --> 03:39.840
destination port flags, but if you go
ahead and right, click and follow TCP

03:39.870 --> 03:44.180
stream is how you usually
view the information that you would like

03:44.210 --> 03:48.180
in order to see any kind of like
unencrypted or Plaintext

03:48.210 --> 03:54.300
data that you would like to use
later on for investigation purposes.

03:54.330 --> 03:56.280
So, as you see.

03:57.440 --> 04:02.020
There is little to few
in plain English language that you can

04:02.050 --> 04:07.960
define, and usually this is information
that will tell you the level that kind of

04:07.990 --> 04:11.640
Encryption is being used
and everything else.

04:11.670 --> 04:15.880
All the other information is
encrypted, as you see.

04:15.910 --> 04:18.460
So it's basically.

04:18.480 --> 04:22.580
No information can be gathered from these

04:22.600 --> 04:28.220
three networks, stream transaction going
back and forth, it's only the

04:28.250 --> 04:34.080
certification authority
and so on and so forth.

04:35.520 --> 04:39.400
And that is the purpose
of Tor network to avoid.

04:40.160 --> 04:43.260
Decrypting the packets.

04:43.280 --> 04:44.800
One tool, though, that I would like to

04:44.830 --> 04:53.340
introduce that can be useful of decrypting
such traffic to a very well structured

04:53.360 --> 04:59.480
data and HTML from IoT and also
uncover all the.

05:00.040 --> 05:05.720
Images that may have been
used or a search queries.

05:05.760 --> 05:08.060
This is the network minor tool.

05:08.090 --> 05:11.540
So there is this Network minor tool.

05:11.570 --> 05:15.000
There is a free version and also a paid

05:15.030 --> 05:18.620
version where you get all
the full functionalities.

05:18.650 --> 05:21.260
And potential of these Software but

05:21.280 --> 05:27.780
for this video, we are going to use the
free version, which you can go ahead

05:27.800 --> 05:32.320
in their, Website, and you can follow the
instructions, the installation

05:32.350 --> 05:40.760
instructions for network minor in Windows
system and in Linux systems as well.

05:41.880 --> 05:45.900
In network minor.
Let's go let's go ahead and open the same

05:45.920 --> 05:54.120
captured file that has the Tor
traffic that we been viewing and going

05:54.150 --> 05:58.800
through earlier in Wireshark and see how
will that be translated in network minor,

05:58.830 --> 06:04.620
so a file open and you go ahead and you
open the same file

06:04.650 --> 06:09.240
and you see it will take some
time to open it up a little bit.

06:09.520 --> 06:14.040
So as long as it opens it, it will provide
all the

06:14.240 --> 06:20.320
it will break down all the information
to some more familiar human readable

06:20.350 --> 06:25.580
format, and you can so you can expand
in the first in the host file.

06:25.600 --> 06:30.800
And you can see the
there is some information very well

06:30.830 --> 06:37.020
decrypted, as you can see, comparing
to the Wireshark version of it.

06:37.040 --> 06:41.820
You can see how many packets received,
the type of windows,

06:41.850 --> 06:46.740
the type of the operating system
used to access Tor network.

06:46.770 --> 06:50.840
And you have all this sort of tabs
you can go through.

06:51.560 --> 06:59.040
If you go if we go to files,
you can see pretty much all the.

06:59.280 --> 07:01.160
Websites.

07:02.560 --> 07:07.560
That they have that the person
that was accessing Network.

07:08.080 --> 07:09.820
And was accessing Tor network

07:09.850 --> 07:17.120
and visited, you can see there he
was, the duckduckgo.com search the.

07:18.320 --> 07:22.620
Tor version of it, of course, and they
search for something, so if you go

07:22.650 --> 07:29.340
by each line, you will probably see some
index as you see HTML here as we see.

07:29.360 --> 07:33.960
So we can go ahead and open this file.

07:35.080 --> 07:40.080
As you can see here,
it's a search engine and the Tor

07:40.320 --> 07:44.280
network that you can probably
search all sorts of things.

07:44.640 --> 07:46.500
We can minimize that.

07:46.530 --> 07:52.540
Go to our network minor, you can go and
see maybe we can take

07:52.570 --> 07:58.700
this into the PHP HTML and we can go
ahead and open that again, right click.

07:58.730 --> 08:02.840
And you can see that,
yeah, we have the search results of the

08:02.860 --> 08:08.440
engine that the guy used and what kind
of search query he or she has used.

08:08.470 --> 08:12.860
So this person obviously was searching for

08:12.890 --> 08:18.440
buying fake passports and you can see
all the search results and everything.

08:20.040 --> 08:26.640
So if you go to HTML file, it will get you
to all the parts that she followed through

08:26.670 --> 08:31.420
and what kind of he access in order to
find all the information that he needed.

08:31.450 --> 08:36.040
And also on
in the images tab, if you go to the next

08:36.060 --> 08:42.300
tab images, you can see the
image results from his search.

08:42.320 --> 08:44.740
You can see all sorts of like passports

08:44.770 --> 08:51.940
and photo and all of that and information
or fake IDs and all of that.

08:51.970 --> 08:56.020
You can go ahead and explore all
the other credentials if he used.

08:56.050 --> 09:03.600
What kind of concessions have been going
on back and forth with which Domain and.

09:04.720 --> 09:08.320
DNS parameters and so on and so forth.

09:09.520 --> 09:11.600
So as you can see, Network minor does a

09:11.630 --> 09:18.820
really good job of decrypting door traffic
from the Wireshark captured FILE

09:18.850 --> 09:24.080
where you can go ahead and
see available information.

09:25.160 --> 09:29.060
Decrypted information that may be needed

09:29.080 --> 09:35.400
and become very valuable later on in
your investigation or forensic analysis.

09:35.840 --> 09:41.480
As we said, Tor disguises itself, a.

09:42.840 --> 09:47.980
Secure encrypted traffic and most
companies, organizations allow traffic on

09:48.010 --> 09:54.640
such tunnels through the firewalls
without any kind of content inspection.

09:55.080 --> 09:59.960
The privacy provided by Tor additionally
makes it easy for a Botnet Hacker to

09:59.990 --> 10:06.000
control infected machines without risking
their identity to be revealed.

10:06.240 --> 10:11.940
So these two factors, the
traffic allowed by the companies in such

10:11.970 --> 10:16.400
an encrypted and secure
channels, together with the.

10:17.400 --> 10:22.460
Or functionality, these two factors make
Tor perfect fit for Hackers and

10:22.490 --> 10:27.400
online criminals, we need to
control infected machines remotely.

10:27.720 --> 10:30.340
Incident responders will

10:30.370 --> 10:35.300
therefore need to learn how to detect or
traffic in their networks,

10:35.320 --> 10:40.200
not just in order to deal with inside this
wrong users and so on, but also in order

10:40.230 --> 10:48.620
to counter Malware is using it as part of
their command and control infrastructure.

10:48.650 --> 10:52.880
As we discussed earlier, telling.

10:53.200 --> 10:59.480
Tor apart from any other normal
traffic is difficult.

11:00.200 --> 11:02.280
But making use of statistical protocol

11:02.310 --> 11:07.080
detection, such as the
Port Independent Protocol Authentication

11:07.110 --> 11:14.400
PIPI feature provided with uploader, as
also mentioned before, is in fact a very

11:14.430 --> 11:18.260
effective way to detect
traffic in your networks.

11:18.290 --> 11:20.220
So that was all for this video.

11:20.240 --> 11:23.020
When you're ready, you can go
ahead and click on the next video.

11:23.040 --> 11:26.000
Well, you're going to learn how
to detect Brute-force Attack.

