Scanning with hping3 and XMAS Scan
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
Already have an account? Sign In »
8 hours 49 minutes
everyone Welcome back to the core. So in the last video, we just ran a quick acknowledge my skin with H Ping three again. We were just looking at the percentage of packet loss
in this video. We're gonna run a Christmas scan. So again, we have to run this against Kelly Olynyk. So we're actually gonna run it here in the terminal, will run the command, and then we have a couple of questions in the world Run one additional command on and then in the next video is actually the last component of this particular lab where we'll just do some more windows firewall
changes, and then we'll run another scan against that.
So let's go ahead and get started here. So we've got a terminal window here. I'm just gonna go ahead and type and clear like I normally do, just to clear things up with his hit enter just to make it where we're starting fresh.
And then we're gonna type in this command here, so it's pretty long and we'll go step by step through it. So we're gonna type in H paying three space dash lower case C space the number one space dash Capital V as in Victor Space dash lowercase P Space 80. To specify port 80
space natural or case s
space 5555 To specify that we want the initiating port is going to be the port. Sending packets is gonna be port number 5555.
We're gonna put another space and then a dash the dash capital am Excuse me to set the TCP sequence number would put a space in the number zero. We'll put another space a dash capital U P F to set the urgent push and finish legs and that would put a space. And then finally our i p address again the same I p address we've been using for most of the slap.
All right, So as I mentioned, we're gonna do this step by step so everyone can type in the correct command here. So we'll start off this by typing in h paying three space dash kept. Excuse me. Space dash, Lower case C.
So Paige, paying three space national case. See,
we'll put another space there. Now we're gonna type in the one and then a space dash. Capital V.
So put a one space Dash Capital V.
We're gonna put another space here, and we're gonna put Dash Lower Case p to specify port number 80 and they will put a space, and then we'll actually put the 84 Port Haiti.
Next, we're gonna put a space, we're gonna put a dash lower case s. So if you remember, we want to specify that we're sending it from port number 5555
and then we're gonna put a space in. There are actual port number that we want to use the 5555
We'll put another space.
Then we're gonna add in the dash capital M and space in the number zero.
So Dad will put another space,
and then we're gonna put in dash u p f. And then finally our I p address. We're gonna put all that into one shot,
So dash u p f
space 102.168 dot 0.1
And again, you could just double check yourself if you want to make sure that you're running that correctly, but you should get an air message. If you're not well, go ahead and run this command by pressing internal keyboard here, you'll see it comes back pretty quickly.
We have a few questions here.
So question number one How many? Pakistan's A show it sent successfully. And then how many packets were received successfully. So questions one into there.
All right, so at least on my end, and you should actually have the exact same results. We see that one packet was transmitted and one packers received, so we were basically 100% successful on that one.
You are so going back to our lab document. Here we have one more command. We're gonna run, and we're basically running a sin scan again. So again, the TCP three way handshake. We're talking about that first portion where I say, Hey, I want to talk to you on then nothing else happens, right? I just keep continues to saying, Hey, I want to talk to you. So kind of like the creepy guy at the club or something. That's like, Hey, hey, hey,
I kind of like that, but we're not gonna be creepy on this. We're just gonna run a command. So let's go ahead here
and we're gonna run this command and then we want to find out is Port 80 showing as open when we run this particular command, Let's go and do that. Now we're gonna type in h Ping three.
We'll put a space,
we're gonna put a dash eight and then a space and the number 80
for dash eight space the number 80.
We'll put another space there, and then we're to put a dash capital V and then a space in the dash Capital s
so gas capital V space, Dash Capital s and then finally water. And with our same I p address the same one we've been using that 1 92.168 dot 0.1. So one attitude on 168.0 dot one and then just press enter into keyboard on that, I'll go ahead and run the command for us.
So again, what we want to find out is Port 80 showing as open.
So let's take a look here.
So are we getting our response? It's kind of kind of the main question that right, and that will help you decide if the ports actually open. So if we get a response in, the answer would be Really? Yes. Right. But if we don't get a response than the answer will be No.
So we see here that Yes, we did get a response from Port 80. So the answer to the question would be, Yes, we did, you know. Yes, it is showing us open. Yes, we did get a response from it. So we're good to go.
So this lab we just ran a couple of quick commands with H being three again. We ran our sins can just a moment ago. And then we also went ahead and ran our Christmas can. Now, in the next video, what we're gonna do is do some more. As I mentioned Windows, uh,
firewall we're best gonna do. Some modifications are essentially Just turn it on again. They run some scans against it and take a look at what that output looks like.