how everybody and welcome to the episode number 13 off the speakers
My name is Alejandro Gonna and I'll be your instructor for today's session.
The learning operatives of the session is to understand some port scanning techniques and to understand the most common poor scanning tools and commands. So let's get started.
Uh, you know, we can't start bright pink sweeping, um, or network and, you know, being straight business process of thinking and try a wrench of network I P addresses to find out which ones are the online or alive systems. You know em up. It's an accident. Excellent tool to do this
quickly and effectively. I believe you know the command. This Willis simple. Let me just copy pays that,
um, tour command line.
And as you can see, I'm just pinging my entire
and, you know, this might take a while. Ah, but nothing again might not. But you know the outfit really messy. So we will be using a command. We So Ellie, early in other bid ius, um, which is really just grabbing the output and bring in the second field.
And that's it. I mean, I'm just telling and my to produce a grapple output.
And then, um, you know, cutting the output. And I'm just printing the ones that said, They say they're up and I just want to print the field number two. That's it. I mean, nothing fancy here and executed and then gives me a number wrench off a piece or a list of ideas that are actually a life in the system.
And as you can see, I have ah, couple off beautiful machines running
again. I'm really bad with a basic, you know, that that eight is that Colin likes. So these other tree missions are actually alive in the system, and we can start playing with a little bit, so we'll use or with those expedition at the end, just to give you an idea. So far, we have four missions.
We haven't Windows XB mission.
We have a debut motion.
We have Ah, this be box machine, which contains the big web application. Really bullet vilification. And we have a window stand. Mission window stands true enough, but we have the other traditions respond. You know, Ryan s So we'll use the Windows XB machine,
which is that Doc Ford
Ah, this one right here.
with him. Start by just executing a simple and my command
Ah, it will just execute the command. Soon as you can see, the has all the servers are these? I'm sorry. Service is responding. So, uh,
let's start wash. We're shirt. I know, I know. I've been telling you that we don't We're not supposed to use graphic user interface applications, but
I guess we can make an exception with war shark because the washer at the end will be using that inner side and for packet analysis. That's one of those tools. But then again, we'll see later, huh? Of course. How can we use DeSipio time and T shirt? But look at me
getting ahead of myself. But, you know, just simple tipple type
wire, shark and start application. So
there are two main filters in wire. Shark one is the capture filter, and the other one is the display filter their other filters, but that those are the two main ones. I believe, uh, we can start, You know, if you are not sure what you're looking for,
you can just, you know, said that the interface you want to capture package from.
And this will put your that inter phrase if from his cruise mode, which, you know, all that means is that if a package comes away, it will not. Uh, and he was supposed to go to another I p you will not ignore it. It will actually keep it, and it will analyze it. And that's it.
type here a scene. Blast sounds poor. I'm sorry. Or the ports open again. 25. Okay, let's go with 25 for 25.
25. And you know that's it. Start capturing, as you can see. If I, for example, go to a Web h
it will not show the results in the cup in the packet capture. Because I'm not capturing anything in the port 80. I'm just capturing something to port
25. So let's run another tribunal, son. Mm. Comments. So let me explain that to you and my dash s s Capital s
port. That sport 25 this will actually perform. Ah, Syn eyes can. Meaning that. You know this, uh, seen the AC in the scene AC package will be actually, you know, the triple way handshake TP handshake
will live before that solid minutes.
This is not our stealthy ist sounds, because at the end, most of the I B s is and firewalls and you know, all the appliances overall, they loved their successful connections. Often, they don't love the unsuccessful connections, meaning that maybe they send back the act acknowledgement package.
But, you know, a singing act didn't came back, so
they didn't care about lugging in some of them. I'm gonna say all of them, but some of them don't Don't don't care about that. So if you're actually completing the tree with handshake, your connection will be locked in. So you're trying to be a stealthy. That might be the good they they go to AA maps can. But, you know,
that's just fired that bad boy.
And as you can see, it would capture the same the sing act and the same the same knack packages. So it would. It captured entire tippy trace. So yeah, Mom, much easy. They hear the trade that the TV flax.
Ah, but what happens
Sorry about that, Actually. Try. I'm Nak, uh Scott.
I'm just going to change here,
Oh, what's happening? Okay, that's a, uh admits that I'm not actually sending a scene scan. I'm actually sending the AC packages in the first try, so the fire will think that there's actually a connection going on because I'm actually replying. So the firewall or they or their other clients will think that
someone inside the network already sent
us seen package. So I'm just replying to that most next generation firewalls or I P s is nowadays, actually, they support session administration or system session management. So if they're actually have, ah, registry
pointing that there wasa seen package or sing connection creative
from inside, they will just ignore this acknowledge package. But then again, we can try, right?
So let me just generate that and let's go back to or or or, uh, where shirt. As you can see these words, these three fear of packages were captured. Let me just see if I can put the time in
readable way. OK, Dunbar, about that, uh,
the point here is that way generated this to other packages.
There's one in this one on. As you can see, the AC acknowledge package was actually performed and as I don't have the firewall in the middle, just had the research baggage. So, you know,
that's the point with the dash as a options with Emma. And what happens if I put Christmas?
Well, this is a really interesting scan with us. This means it means that all the flags or participate flags will be on. I mean, the reset flag. The acknowledgment, flack, that the scene flag, all the flags will be on.
This will confuse some appliances that they will just, you know,
they don't want to deal with that packet, and they will just forward it to the victim
and let me just see where shot here. And as you can see, all the flags around Finn Bush urgent and all the flags saying that the rest of flags saying I reset All are on that Z actually called Christmas
because it resembles, you know, a Christmas tree
where all the lights are on. So in this case, or the flags are on, you know, kind of an inside joke, I guess, Uh, the new of the other side.
Let me just see if I can
Okay, back to number seven. That's the last package. So if I just go ahead and put the new rule is the con is the opposite. Off the Christmas scan, nothing will be actually enable. So as you can see, packet number eight has none flaxen able.
That's why Weiss called Nool.
No, uh, scared. And you can actually also let me just go by here. Back it. Nine. I'm just see if I can do this.
You can actually also a scan for you. Dp ports Just dash s u
And since it doesn't actually perform any high shake, it will be just Ah, lonely, lonely packet.
Ah, here a cz. You mean this? Probably You already know this, But you know, Tess IPI is a connection oriented protocol. Meaning that you have to get a reply. You want to know that the package actually arrived to the other side? And you, tippy doesn't care about that. I mean, the unity just sent the packaging hope for the best.
Uh, but, you know, what's the point in? Well, some protocols are or some bang with
are limited, and maybe you don't want to cost um,
and you know that the truth put, your network might be low so you don't want to cause traffic or, you know, swamp the network traffic. So maybe you want to go to a live wait option. Here comes UDP.
You can also its kind for versions.
Uh, remembered as you can see from all the scans right here. We don't have any actual versions. We just now that the port for 25 is closed or open.
and you will sail sl male. Isn't it pretty?
So and it will just show me a lot of more information that you can see. Ah, way more information. What? Generated as we're we're trying to get the diversion. So
there you go. So, yeah, as you can imagine running. Ah, simple acknowledgement. Scam doesn't have the same impact as running abortionists can because, you know, the versions gun has to go through different several connections to actually get the Persian. Uh,
it's just, you know, giving you the different scenarios we have,
so you can decide which one is best for you.
But that's it. For example, let me just
give you a real quick here Ah,
So you didn't Josh me using Onley wire shark. And this always, well is what this will do is that it will capture all the traffic in this interface, and it will wait for five seconds to actually set that. And port 25. That's it.
what am I doing wrong to speak truck? I really style that. Come on, give me a break. TCP track.
Oh, I didn't have installed that. Okay, so? Well, well, I'm started. Let me just give you a really, really good command here, which is a pity Get installed. DeSipio track.
Yes, I want to start. Okay. Well, I'm sell this. Ah, let me just give you one other option. Hearing a map, which is the dash T dash T is for timing or trade or trading. Um,
you can go from number one to number five. I'm not really sure you can go from one there, syrup.
Let me just confirm,
and yeah, you can go with number sirrah. Ah, but you know, just just want to fight. One means that this that this kind will go really, really low is low. I'm sorry
and, for example, you can just
enter or type any information here type any any any
keystroke. And it was supposed to tell you the divers down
the person back, uh,
completed of Otis can. As you can see, it's really slow. It's taking a long time s Oh, yeah, if you want to be a stealth,
Um and you know, you don't want to cause any alarm in the system server. Maybe you want to actually apply that technique. But if you are actually more interested in not carrying about, I mean tea tree, by the way, the default option to tree if you want to you by default. But if you don't actually care about
timing or impact on your network or being too no, you see you can use to five, which is the highest trading time in options you can use, and you can give him a second. See, it completed really fast.
and let me see if I can get the oh, no, Houses up is not has nothing to do but let me just
And as you can see, the difference is really, really there. It will take a long time to complete, and you know it will kill that. Okay on. Now that this is done and bars in part, it's over. I can actually
used this command be track, which at the end is just tearing the interface. It will hope for five seconds before resetting. Um,
let me just go with tens. I can switch windows.
Ah, did you go? And what happens if I
Oops, sorry, sorry, sorry, sorry.
I want. And I want to say to one that's super slow
and the connection will register. And, you know,
some options were attract here. And as you can see, there was more than one connection. And what happens if I just type
it doesn't register? Is that Dan is not Actually, I just go to the yes,
and again connection here so you can use the Pacific track to actually measure the banquet. Impact your casting off course I'm not. I'm just
pinking one port, and that doesn't actually get to
doesn't introduce to not too much noise in the network, but then again, you can, actually, if you're you know, is scanning on several several host
in my impact. Your network lets that song on say,
jumble and just see if this makes a difference.
Yeah, it made a difference, But then again Ah, that's just an option. So you can use to actually tracked your your connections and the other tool I like to use these h pink tree. It's being like a man line or ah, TCP oriented packet assembler and an analyzer.
The interface is inspired in pink. Eight units coming,
but h being isn't, you know, on Lee able to Sendai CPM icmp I'm sorry. Echo request it supports disappeared. He p you know, all all the all the all the options that we saw on any map is their supporters on h being
when I like the h being tree is that it's mainly used as a security tool,
uh, in the past, but didn't know. Now it's used. I'm sorry. In the past, it was to use as a network tool, but now it is more uses spirito because it has commands to, for example, fireable testing Advance sports cannon manual path, Discovery
trace route, for example. Take a man that you can actually see. Actually, let me just
I secure trace route His example. You know, just, like tracer or trace route in Lennox to use I c m p pack adjusting, you know, increasing that time to leave so he can actually map something.
For example. Let me just go with cyber that come.
It will tell me a lot of information
from the h being, uh, images, kinds lab. And you can you know,
you several ports of Cyril commands to, actually, uh, for example, let me just copy Paste is here
and explain that to you.
What this will do is that will send a sing packet to specify port in escape port 80 and we have go through also from which local poor will start this can. Maybe the remote host is expecting Onley requests from a specific port. So we were telling that in here
that we will actually be
are sending the scan from the port 50. You know,
that's a really useful tool you can actually form. And you can also perform no christmas and act scans. Just a stand up. You can actually perform additional scans like Smurfs. Can we just kind of ah DDOs attack, then help serves that attack. So, yeah, H being is kind of a more dance way
to test this. You know, I always go with maps. That's
I know I like that. Am I better?
Well, uh, is this information gathering technique considered passive or active? Well, active, as you can imagine. Why is performed, medical man, A map. Dash s x. Whoa, Christmas scan TS. All the flags are set.
What is performed by the command H being trace route. Well, as the name suggests, it will. It will execute a trace route. Oh, our tracer. That's the windows capability. And, you know, increasing the time feli packet so we can get a better understanding of the server.
It is video. We saw the most common port scan options to gather information,
and we executed some port scanning tools and commands to see the results. Ah, supplement materials. Any em up or h being tree chickens. You confined.
And in the next video, we'll cover some enumeration techniques. Well, that's it for today, folks. I hope in your the video and talk to you soon