WEBVTT

00:06.440 --> 00:10.940
Hello, guys, and welcome to the last video
on this chapter

00:10.970 --> 00:15.820
in this video, we are going to see how
Wireshark can help us identify

00:15.850 --> 00:21.900
if the host in the network
is infected with some kind of a Bot.

00:21.920 --> 00:26.220
So I started Wireshark and I loaded

00:26.240 --> 00:30.120
a captured file
for this case that we are going to have a

00:30.150 --> 00:34.740
look into if anything
suspicious is happening.

00:34.770 --> 00:40.580
This captured file, you can also find it
in the Wireshark capture shambles online.

00:40.610 --> 00:45.860
And you can go ahead and download and do
your own investigation and practice

00:45.890 --> 00:49.660
and see if you can find
the same things as me.

00:49.680 --> 00:56.620
And also that will help you gain
experience and utilize that in a project.

00:56.650 --> 00:58.980
So the first thing that I always

00:59.010 --> 01:03.020
search, as you can see, you already have
it like in front of you,

01:03.050 --> 01:09.340
is that if anything like
SIEM package going out

01:09.370 --> 01:15.410
from a specific host to other
hosts in specific ports and so on.

01:15.440 --> 01:19.120
So if you have a big.

01:19.520 --> 01:24.020
But I think that you captured
and you saved for this violin, you don't

01:24.050 --> 01:30.040
want to go through each and every
line you can go ahead and use the.

01:30.480 --> 01:37.540
TCP display a builder and
immediately all the TCP.

01:37.570 --> 01:41.040
Traffic will be presented to you in front

01:41.070 --> 01:46.780
of you, so as you can see from this file,
we have a lot of flexing package going to

01:46.810 --> 01:53.640
specific ports from the specific
source, IP, as you can see, this dot.

01:53.720 --> 01:58.850
The standard dot 129, dot to 11 dot 13

01:58.880 --> 02:05.720
going to virus, actually
destination IPS been specific port, as you

02:05.750 --> 02:10.020
can see, and then if you
go down, you scroll down.

02:10.050 --> 02:13.780
That is also from the same destination.

02:13.810 --> 02:19.800
The same IP, Source, IP
and the different port and so on and so

02:19.830 --> 02:23.660
forth, so you can see that
there is a specific host.

02:23.690 --> 02:30.100
While doing that, you can also see that
the source IP and destination IPs and

02:30.130 --> 02:34.680
in the same network, but in different
subnets and

02:35.120 --> 02:42.610
you can see there's definitely something
suspicious coming out from this host

02:42.640 --> 02:48.640
that actually affecting other
host internet port as well.

02:48.760 --> 02:51.860
So usually after you've been through this

02:51.890 --> 02:56.610
investigation to check if something
abnormal happening in your network,

02:56.640 --> 03:05.100
you can go ahead and take for any kind of
like DNS queries that may be happening.

03:05.130 --> 03:08.120
And you will be, of course, alarmed if you

03:08.150 --> 03:17.820
find this host IP and in your DNS filtered
results, let's go ahead and type DNS.

03:17.840 --> 03:18.840
.

03:19.960 --> 03:28.340
And see what's going on,  so we have
responses bits results here,

03:28.370 --> 03:33.560
you can see straight away the same IP
the source IP that was generating this

03:33.590 --> 03:37.980
SIEM package
to other host in the network, then

03:38.010 --> 03:46.240
the standard 129 dot to 11, dot 13,
but then DNS Query

03:46.320 --> 03:52.240
that we can see that there is a
Domain here, bbjj.houseshot.com.

03:53.680 --> 03:57.120
And then it receives a response.

03:58.240 --> 04:04.120
And then it immediately sent another DNS
Query to another Domain and then received

04:04.150 --> 04:10.140
another response and then again
to another Domain and so on and so forth,

04:10.170 --> 04:16.640
um, you can another thing that you can go
through, it's another line.

04:17.080 --> 04:23.440
What do you have to actually pay
attention is the dns query responses.

04:23.680 --> 04:25.100
In this case is

04:25.130 --> 04:31.120
so if you highlight the DNS query response
and you go down here to domain name system

04:31.150 --> 04:36.480
and expand that,
you will get like valuable information.

04:37.440 --> 04:41.580
You can see that you have here in the
flags section, you have the

04:41.600 --> 04:46.440
questions, the answer authority
under resource records

04:47.240 --> 04:51.040
authority, the resource records
and additional resource records.

04:51.240 --> 04:55.600
So this number here is
a little bit alarming.

04:56.240 --> 04:58.880
Usually when you have like a question one,

04:58.910 --> 05:05.200
the answers should be around three,
four, maybe maximal five at some point.

05:05.520 --> 05:07.100
In some cases,

05:07.130 --> 05:12.420
the authority addresses to and additional
other resource records

05:12.450 --> 05:19.120
is three, so this this is very alarming
and you can go ahead and

05:19.560 --> 05:25.980
see more information on the answers if
you go here to answers and expand this.

05:26.010 --> 05:31.680
So as you can see, there is all of
the IP addresses on the answers.

05:31.710 --> 05:35.200
And this is this should be making you very

05:35.230 --> 05:40.920
nervous when you see something like that,
like more than three four IP addresses.

05:40.950 --> 05:50.400
And the canonical name here this
wpg ypgw.walloan.com

05:52.560 --> 05:59.200
and so on, you can go ahead and take the
other DNS query response from this one.

05:59.230 --> 06:02.880
You can see this is also like 11 answers.

06:05.120 --> 06:07.820
It is very alarming.

06:07.850 --> 06:09.540
And you can also

06:09.570 --> 06:15.480
take all this IP addresses and so on,
and since we have

06:15.920 --> 06:22.680
figure out, the first thing that is
there is definitely some traffic that is

06:22.710 --> 06:25.740
not normal and we don't
want it to be there.

06:25.770 --> 06:33.840
Let us find out where this is generated
to and what is this whole thing.

06:47.280 --> 06:50.360
So after a Google search, we have found

06:50.390 --> 06:57.440
some information
that this is definitely a Bot.

06:58.760 --> 07:01.840
So you can see that.

07:03.800 --> 07:07.580
Tomorrow, it's a Trojan, it's a

07:07.600 --> 07:13.820
Aliases is MocBot, it's an IRCBot, and it
can spread using a certain type of

07:13.850 --> 07:18.480
vulnerability and we can do
plug and play service.

07:19.200 --> 07:22.760
So if you go down in this page.

07:25.040 --> 07:27.080
We can see that there is a lot more

07:27.100 --> 07:32.360
technical details explaining how it
delivers itself and install itself to the

07:32.390 --> 07:35.420
system, what is the
functionality and so on.

07:35.450 --> 07:43.520
So these both file is PE executable,
which seven thousand eight hundred forty

07:43.540 --> 07:48.180
six bytes long, and it's packed
with a new file compression.

07:48.210 --> 07:50.360
So when the Bot file started, it copies

07:50.390 --> 07:56.240
itself as an exact file to the
With the system folder and then.

07:57.520 --> 08:00.020
Some sort of service with some

08:00.040 --> 08:03.380
specific attributes, as you can see here,
they are listed,

08:03.410 --> 08:08.480
so when the Bot is active,
it connects to IoT Server and turns a

08:08.480 --> 08:10.420
particular channel and
acts as a Bot there.

08:10.450 --> 08:14.840
But before IRC server
they are used by the Bot is.

08:14.840 --> 08:15.400
There you go.

08:15.420 --> 08:21.280
You see both of these
Domain that we found in our.

08:22.520 --> 08:24.240
Wireshark.

08:25.120 --> 08:27.620
So you can see that this is the bbjj.

08:27.650 --> 08:31.760
Househost.com and this ypgw.wallloan.com.

08:33.280 --> 08:38.580
So further more you can see that
the bot joins

08:38.610 --> 08:43.680
password-protected IRC channel
where the hacker can send commands

08:43.720 --> 08:46.060
to the bots in order to
control infected machines.

08:46.080 --> 08:50.920
So there is several task can be performed.

08:51.120 --> 08:56.740
And you can also see that these bots for
other IP addresses and Exploit

08:56.770 --> 09:02.100
several other  vulnerabilities
of other folks in the same network

09:02.130 --> 09:09.160
so it can expand the Botnet
network of the malicious.

09:09.280 --> 09:10.880
Agent.

09:14.520 --> 09:19.980
So Backdoor Wireshark traffic analysis.

09:20.010 --> 09:25.240
One more thing you can use straight away.

09:26.280 --> 09:29.440
Instead of filtering

09:29.640 --> 09:35.160
the results with DNS, you can also you can
also do that first, take the necessary set

09:35.190 --> 09:40.840
as a second step first, and then
if you would like to see more.

09:40.920 --> 09:44.840
And you can go ahead to highlight.

09:45.400 --> 09:49.200
And one of the query responses you have in
your DNS

09:49.520 --> 09:55.640
display, filter results, you can go to
answer to resource records and you can do

09:55.680 --> 09:59.980
right click
preparer's filter and select it

10:00.010 --> 10:04.400
so immediately you can see
in the display filter.

10:05.040 --> 10:08.600
It appeared the dns.count.answers == 12
sign straight away,

10:10.720 --> 10:16.520
so you can use that as a display filter if
you would like to search, let's say, if

10:16.550 --> 10:22.740
you have a graphic capture
that you would like to search if you have

10:22.770 --> 10:27.920
answers more than four, let's say, or do
you get searched by more than five, which

10:27.940 --> 10:33.140
is like the ultimate limit that you can
search for, for suspicious

10:33.170 --> 10:38.240
DNS query responses so you can go ahead
and delete the 12 and equally sign, you

10:38.270 --> 10:42.240
can keep the dns.count.a
nswers and then space.

10:42.270 --> 10:46.420
You can use the
greater sign and then you can type 4

10:46.440 --> 10:53.700
before you can hit afterwards enter
and this will filter out.

10:53.730 --> 10:56.360
And this will be, after all the results

10:56.390 --> 11:01.300
that they have, dns query response
with answers more than four.

11:01.320 --> 11:03.520
So there you go.
You have it.

11:03.840 --> 11:10.300
So this is indeed the two results that we
expected to be presented in front of us.

11:10.330 --> 11:16.500
With us is more than four, so you can

11:16.530 --> 11:22.000
speed up the procedure by
using this display filter.

11:22.520 --> 11:24.800
So that was all for this video and we

11:24.830 --> 11:29.920
reached at this point, the end of this
course, I hope you have learned valuable

11:29.950 --> 11:35.440
information that will help you in your
current career or your future one.

11:35.560 --> 11:37.680
Thank you for taking part with me in this

11:37.710 --> 11:43.460
journey to understand how unethical Hacker
can utilize Wireshark and its functions.

11:43.490 --> 11:46.640
So until next time, keep
hiking for a good cause.

