Time
23 hours 21 minutes
Difficulty
Intermediate
CEU/CPE
14

Video Transcription

00:01
I welcome back to the course in the last video we did our introduction toe are sniffing lab, so we talked a little bit more about wire shark and max poofy.
00:10
If you haven't seen that video yet, go ahead. Pause this one and go back to it just because it's gonna contain some good information you'll need to know to complete the slabs. You sexually.
00:20
So in this lab, we're gonna use a tool called wire shark Know where sharks available to capture traffic on the network. So helps us captured packets and then identify different information about those packets. So things like the source and destination I p address the protocol and use whether that's like Teepees, TCP, your UDP and also allows us to sniff for passwords if you can grab any of those
00:40
and then he does a lot more things.
00:43
So we're gonna do this lab in the cyber lab environment. But you're welcome to download wire shark on your own environment and use that as well. Now we're not gonna cover setting up your own lab in this particular video, but it's pretty easy if used to a few YouTube video searches, you should be all set.
00:58
So
00:59
for our lab here we go ahead and lock into the cyber relapse. So if you're not familiar with logging in there, just log into your cyber account and they'll be a little search box here just typing certified ethical hacker
01:11
and then just press the enter key that's gonna pull up all the available information. So we see that we have our labs here. We're gonna I'm gonna go ahead and, uh,
01:19
we don't really click on start now. Now, I've already actually open him up here. So once you click on start now,
01:26
it's gonna take you to this page right here
01:30
where you have a launch. But go ahead and click on that and that's gonna take you to this page where I'm out here now, we're not actually doing thes ethical hacker labs, so we're gonna back out of this. We're gonna click on this back to practice labs option. We're actually gonna click on this one right here. This ethical hacker lab here.
01:45
So once we click on that, we're going to see a sniffers option here. That's what we're gonna click on. We're gonna click on this differs one and they just click on the start button there.
01:53
That's gonna give us the machines that we need for this lab. So go ahead and just power up all those machines. If they're not already on,
02:00
we'll go back to our lab document here. So
02:01
we've come into the sniffers lap under the General Ethical Hacker Lab. So again, it's a different lab environment than we're used to with our previous videos. But it does contain the information we need Is far is completing this lab.
02:15
So we've done step number three. We turned on our virtual machines. Now we're gonna select P Lab win 701 So this top one here now, I already have it selected here.
02:23
Our next step is to open an Internet Explorer and it's gonna take us to the Internet page. So let's go ahead and do that scroll down here and just click on Internet Explorer.
02:34
You notice the Texas to the Internet page.
02:37
Now we want to go to tools and then hacking tools. So let's go ahead and do that. So tools go and click on that and then just scroll down until you see hacking tools. Then just click on that.
02:49
All right? Just gonna steal a lot of different files here. Let's click back on our lab document to see which one we want to get.
02:54
So we see that we want to get in Step seven. Wire Shark Dash, win 32-1 point 12.3 dot e x c.
03:04
So we're just gonna scroll down to wire shark,
03:07
you know, window here and we see it right there. That wire shark dash win 32-1 point 12.3 point E x c. So go ahead and click on that.
03:16
And down at the bottom is gonna ask you what you want to do. Just go and say Run.
03:23
All right, So what's that's gonna do that's gonna launch the wire shark installation wizard and step nine there.
03:28
So then we're gonna click next, and we're gonna agree to the license agreement, and then basically, we're gonna be clicking next, all the way through this letter, this install.
03:37
So let's go ahead and get started. We're gonna click next we get a license agreement. We're going to say I agree to that.
03:43
We're gonna leave this as a default here to say next.
03:46
At this next green, I actually want to create a desktop icon shortcut. So I'm gonna click the checkbox right there. You're welcome to go without it. Either way is fine.
03:54
And then just click on the next button.
03:57
Next again,
03:59
we're gonna install Wimpy Cap 4.1 point three. So go ahead and click. Install there and it's gonna start installing Wimpy Cap.
04:08
And then it's also gonna stop wire shark for us as well.
04:11
So it's going to take a moment of soda on package everything. So now we've got the wimpy cap set up Wizard. We're just going to say next there, same thing here. We agreed to the license agreement
04:19
and then just say installed.
04:23
Okay, He's gonna open that as well. And now we're gonna click this finish button here,
04:28
and that's gonna start installing wire shirts. So let's go back to our lab document here. So we launched the Wizard. We went through and click next and agreed to all the license shirt.
04:35
We checked the box to the do the desktop shortcut here.
04:41
We left all the other defaults alone. We just couldn't get basically, continue cooking next. An insult
04:46
then we came to that installed. When pea cap page, we select the install button, we said next
04:50
we agreed to the license agreement.
04:53
And then again, same thing that we have left all the defaults alone. We click next against all the way through and not weren't still like wire shark right now.
05:00
So this one says completely, we're just going to say next year,
05:04
and then we could either run it or show news. I'm gonna leave those blank there and just click on finish and that'll close wire shark installation wizard.
05:13
All right, so we just click the finish button. Now, I'm gonna go ahead and close Internet Explorer because we don't actually need it for the rest of this lab, so we'll go ahead and close that.
05:21
So just X out heads at the top, right here.
05:25
All right, let's go back to our lab document.
05:28
So now we see we have a wire shark shortcut in her just out. So we're gonna go ahead and double click on that wire shark icon,
05:33
and then it's gonna open it up for us.
05:36
Now, we might see a pop up, and we're more than likely we'll see a pop up. The state's a new versions available. We're gonna select the skip options. So skip the version option. So let's go and take a look at that. So we're gonna first, we're gonna double click underwire shark icon,
05:50
take a second or so, but it's gonna open it up for us. And you see this right here is our little papa box. I was mentioning. So we're gonna click to skip this version option.
06:00
And now we're at the wires wire Shark application screen.
06:03
So let's go back to our lab document here.
06:06
So our next appears we're gonna select capture, and then interface is at the top here. So we're gonna click on capture and then interfaces.
06:15
Okay, so let's go back to the lab document here.
06:18
So we've
06:19
done that and we've now we've got to capture interfaces, Papa box and then step 26 right here. We're gonna check the box to the left of the local area connection and then click on start.
06:30
And what that's gonna do is start analyzing packets for us. So we're gonna check this box to the left
06:34
of the local area connection and then just click on the start button
06:39
you'll start seeing here that is gonna start capturing packets for us.
06:44
So I'm gonna go ahead and make that a little larger here for us to see.
06:49
Yeah, I'm gonna shrink this down just a little bit to expand out our window there so we could see all those packets committed. All right. Good deal.
06:58
So let's go back to our lab document here.
07:00
So we've started after we selected a check box and left a local area connection. Now step 27. We do said that there's a bunch of packets getting analysed by wire shark.
07:10
So we've got quite a few in here, so we're gonna go ahead and click to stop it now. And that's that small little red square appear the top.
07:17
So let's go ahead and do that. Now we're just gonna click on this. Stop Lin. That's gonna stop the capture. You see, we still got a lot of information in here.
07:25
So our next step here, we want to select the edit button and then find packet.
07:30
Okay, So let's go and do that. So edit button and then find packet
07:34
so it gives us a pop a box here Let's go back to our lab documents. So we did edit Find packet.
07:40
Now we have the fine packet. Papa box. There it is.
07:44
And now we're gonna click on the filter option. So what you're gonna see is this Something is another window and gives us several different filters we could use to truncate the package. The packets to be able to see the information we're actually looking for
07:57
so we can choose different options here. I'm just gonna kind of click around in random ones and see what kind of sorting we can get going on there.
08:05
Now, Some of these may or may not be applicable and allow us to do it. So all this click on this one, for example, The I P. Address 1 91 6801 and I'll click. Okay. And then I'll try to click find. So you see here it does sort and again, some of them, when I was testing earlier, did not
08:20
allow you to filter with them. So just keep that in mind, just kind of play around with it and check out the different filter. So,
08:26
um,
08:26
we filtered here by 1 92 16810.1 which is a I p address. So we're able to see all the packets, essentially, with that I p address and what types of issues we might see in those.
08:39
So I'm gonna leave that alone there. Let's move on to the next step in our lab. So we've used to filter option. We noticed that we had a lot of different options once we clicked on filter to choose how we wanted to sort out our packets,
08:52
and then we just selected okay, when we choose one or two or just, you know, maybe 22 or three total different want to see what they look like when they are applied.
09:01
So now we're gonna go ahead and save the capture into a log file Before we do that. I just want to talk about what we're capturing here. So this is kind of a generalized thing. So it's showing us to sequence. Number of the packets were going basically from one all the way to 200 some and probably up to 500. Looking at how far this,
09:18
uh, scroll bar is going,
09:20
it's God's gonna show us the time capture it's gonna show us the i p address. So the source i p address, where the packets coming from and then the destination where it's being sent to the protocol that's in place. So how's the packing coming to us?
09:35
Of course. The length and then a little more information about the packets. Whether it's, you know, it's something related d A GP and show us also like Acknowledgments as well, that sort of stuff.
09:46
So in this video, we're really touching a very high level wire shark. I want to stress that we're not diving into filters or anything that, like that, really at at a really low level. We're just hitting everything at a high level to show you the tool and show you how it works. So
10:01
all that being said, we're gonna move on to step 34 where we actually saved the capture into a log file. So pretty simple here. We're just gonna go to file and then say that. So let's do that now. So file and say that it's kind of like if you're saving a Microsoft Word document or something like that. So
10:16
now we gotta hear
10:18
we're gonna name the file P. L A b. And then we're gonna select the desktop over here to save it on the desktop. So let's go ahead and do that now. So we're gonna name her file for so P l A b
10:31
and then just like the desktop here, and then just click on the save button again. That's just gonna save this capture to our desktop screen for us.
10:39
So now, from close wire shark out, we're gonna see that new file on the desktop.
10:43
So let's go ahead and do that.
10:46
And actually, before we do that, let's answer these questions cause that'll be a lot easier on you
10:50
if you could just answer him with the screen capture in place. So
10:54
question number one do we see TCP traffic captured it all. So, yes, when we glassed at this, we see several different TCP packets. We could also searched by protocol,
11:03
and we'll be able to see all the TCP ones here. So, on our document,
11:09
you would just say yes here and then just choose maybe one or two different source and destination I p addresses. You don't have to put all these here when you do see that several of them are the same. So we might just put, you know, 10 44 24 60 and then 100 to 16802 And you see the restaurant communicating back and forth here
11:28
so we would just be able to job, like, basically two examples down there, and we'd be all set.
11:33
So question number two do we see any other protocols and use besides TCP? What? We just sorted by TCP and you'll see here. We also have art going on D A, T, p S and B two. If we kept scrolling on this, we might find some other protocols and uses well, like browser T p. K.
11:50
It looks like that's the only other one we have there.
11:54
All right, so yes, Question number two, we do see other protocols and use besides th e p. And so you were just jot down a couple of those men I would just shot down like R and D A t p. Or whatever the case might be.
12:07
So now we're gonna go back Thio Step 37 here and just basically go check to see if the files on her desktop now. So again we save the file as P L A. B s, a b to the desktop, and that was our screen capture of wire shark. So let's go ahead and close wire truck now
12:22
and then you see right here we do have the P lab documents, so let's go ahead and just double click it. Open it up, see what's in it. You see, it is our our screen capture there. So we see we have our information we need and we could scroll through and take a look at this if we needed to.
12:39
So in this video, we want over a tool called wire shark. We just basically did live in a packet, sending and capturing. And then we did, ah, screen capture of what we were looking at. We talked about the different areas that provide information so that, for example, the sequence number of the source i p. Destination on p address the protocol and used
12:58
and we also went over kind of filtering
13:00
and how to sort by a particular thing like, for example, how to sort by the protocol
13:05
and the next labyrinth over Mac spoofing. So Mac spoofing is something we want to do as a penetration tester because we don't want the anyone to traces back to either R I p or the Mac address of our machine we're using for the actual hacking.

Up Next

Penetration Testing and Ethical Hacking

Do you like breaking things or figuring out how things work? Join thousands of professionals who’ve entered the information security field by taking this class. Taking this ethical hacking course will give you the skills needed to become a professional penetration tester and prepare you for industry certifications, like the CEH.

Instructed By

Instructor Profile Image
Ken Underhill
Master Instructor at Cybrary
Master Instructor