Hello, everybody. Welcome to the episode number seven Off the icy speakers
My name is Sandra Gina and I'll be your instructor for today's session.
The learning objectives is to understand some basic Emma commands on options and combine those options to execute useful, poor scanning techniques.
Well, let's get a stalker.
They mean what's again
well, as you can imagine. And man haps has a basic command. Would you can, you know, just execute and see you know, some results. Let's get started with the simple command to, like, kind of a pink
command to see which I think are alive Internet work. So I will just type them up
menace minds or Dasha s SP
And I be rich, as you can see through the course I'm really bad at memorizing Take. I pay. So
I will have to stop this
And the I p uh, well, I will enter the local I p a use, but you know, you can actually use any other i p arrange a fight beasts.
So I'll scan for the whole 2 55 numbers and see which ones are responding
Uh, so, uh, out for it is kind of messy. Little messy eso remember that We have we saw in previous media's how to you can actually pipe this to another result and get more useful results so you can play with that command. So let's see.
tell and my to throw this to a grapple output,
which is cheap by the dash o g man. And then we will pipe That too, will all supposed to tell my what's the file that we want to throw these two after the dash o G option. But in this case is we went to actually implement that technique
these same terminal or the same command line will tell that just to pipe it to thes another man So a deal decay talk, and
I'll just tell it to search for the word up
to print, actually print
And we wait for the results again and that you have since is in this
and the other one replying. It's actually my Windows server. We'll have more machines as they are. The curse goes through But in this case, we just have that. So again, em up. And yeah, as you can imagine, we can also use other commands in combination with em up. So this is really useful.
Other options, you know, there are really useful. For example, is that, uh,
Ah, and you just type the hyper V six address after that? This is just you know, So you can,
uh, do the same commands over an I p v six i p
Ah. If you want to trace all the packages going from your machine to the remote mission, you can use the dash, dash packet,
in this case, my Windows server. And as you can see ghosts, it shows you all the baggage is
okay. Um, you can also actually used up
also minus wolf. You can see the boards are up in here, but you don't actually see any version of them. I mean, what FTP server is being executed? Were Shh service actually being executed.
Ah, well, you can achieve that by using the option Dash s V.
It will print all the versions. It seems we already know that. What sports are up and we just use all also the dash p option and just put the com separated ports, huh? Just 21 to me, too. And 80. And we just hit that run
and which were for results. These will print. I mean, there was This will take a little bit longer because, you know, it's proving for every version, and you have Aborigine database like kind of for signature database will compare that, and we'll throw you the best result in this case and Microsoft F d p d. Which is correct opera necessity for Windows
And Microsoft I s H TBD conversion 10. Correct again. Ah, And it will tell you already which os eyes being used which you know, pretty obvious from the results. But, you know, for other ports, scanning might not be that obvious. And the school
can also lead to really normal, really several false positives. I mean, sometimes this is just a best guess sometimes,
and since his signature race in my now show you accurate results. But this is pretty close to accurate, so yeah.
but, you know, maybe you don't have time.
They're two type of penetration Destin's or tree types. But let's say that you're actually performing a print oration testing that everyone is aware off
s so you don't want to be a stealthy. You just want to get that things down are to see the controls so you can use several options to speed this up. I mean, to spit the poor scanning up S o
just Dashti flack, This it will take, You know, they will tell you to take a longer or to go easy over Target server, for example, I will live the packet trays option on so you can see how slow can be
so by default A map throws the poor scanning
with the dash tea tree option which is here.
This is, like kind of the normal spit on you see the speed going on here and will take a while.
But what happens if we put
It will take longer that the tea tree because at the end we're telling Emma to take things low. Maybe we went to be stealthy. It's possible. Or maybe you just we just want you don't want the server to know or to find our or to be suspicious off our techniques
being used. And on the
other side, we can tell them to go as fast as possible. Maybe the T one option is used. Maybe if you're involved in a red team, for example, and you have the blue team Harvard, your shoulder watching all the time. So you tell. Okay, guys, let's be It's definitely it's possible
because at the end, we don't want the bread that the blue team or the defenders or the server or desist administrator to not Is or the Fire will sell itself for the i p s to report that we're actually trying to kind of the server. But if you're not concerned with that, you can use it. Ah, t five option.
And you can see that I will bow consume early Fuster
than the dash uh, 33 or 31 options. But yeah, just so you know,
then we have several options that will explain, for example, than minus a
um you can also. But this option makes Emma to Megan, therefore, to identify the Target operated system Service's inversions. Theis Aid. It will perform at Trey's route and and you know applies some anise essays, scripts,
which which are on my purse scripts will cover that later in the curse
to take additional information. You know, this is again no see, actually, any port scanning is kind of nice. E
Ah, yeah. The dash is way nicer than the default options. You can combine this or just live alone, but you combine this with Dash Oh, um, thistles just kind of give it, uh,
I little bit of more complex city or more capabilities to the mat command this just, you know, based on many different factors when you add the dash Oh, um, you know, for example, whether it's the Windows operating system or units up a resistance,
the time to leave off detail of the packages change.
For example, Windows most of the time is 100 and 28. And when you Nick's eyes 64.
So these two combinations, this will be at really noisy em up
em up scan. But it will definitely tell you not definitely, but it will be as close as possible to tell you what operating system is being used
again. It will take a while custody in executing several task under the scenes s Oh, yeah, Way. We'll have to wait for that. You can't actually press enter to see if Emma piss actually running or how much time it will take
to finish. And as you can see,
it's Ah, it's run. It executed several things over. Did the
the server and its best guess is actually accurate
windows stay Windows 10. Um Ah, 64 Architecture's. So yeah, we're good with that again. Really nosy. So they gave me ground. You can just more stealthier techniques if you want to go on Maris
another really not really useful. But with simple man is that Dash s which will perform, you know, simple, normal, same connects. Can you know that through it, Julie handshake will be performed. This especially, especially not useful
when you're trying to be a stealth, because at the end,
most of the neighborhood network devices for temple firewalls I ps, even the writers are switches will save the connection if they can. Actually, the connection is actually finished or perform. In this case, Dash s s will perform a truly, truly had shake
to see if the port is open.
so yeah, this connection would be completed and it will be locked in in the server, the final server. So if you're trying to be a stealthy stealthy, it's possible this might not be the option to want to use
the dash. S u is for you to piss. Can't
nothing new here. You showing you Ah, it will go to through that you the reports and see which one. Which one reporting this. Needless to say, it has a lot of false positives. Because at the end, you to be is not a connection oriented protocol.
Um, he doesn't reply or send any, uh,
trays back to to the originator, saying that actually packed that the packet actually arrived or not. Yeah. Uh, so more advanced. Not that bands, but differently. Nexus, for example, Dash s and which will perform a Newell scan his options
sense TCP package with none
off the Mississippi flag. Enable.
this is especially useful when we have ah, session fire. Well, I mean, maybe fire will strain to the true man if the session is actually you're trying to reply to a session or initiate a session. Some firewalls get confusions, and by default, they re sent a package. They don't You know, Troy it away or blood the connection.
Uh, yeah. This this, um,
option is to send ah TCP package with none of the flags. Turn on.
And you can also execute that Christmas or ex miss, um
tps can. This is called Xmas because a ll The options are on all the TCP flax. I mean, so it's kind of resembles at X mystery, which
it has old it likes turn on kind of a joke, I guess.
Ah said gel. The package will have all the Mississippi flags on, you know, kind of the opposite of the neural scan. And finally, we already saw this. That dash has the option to actually
get the versions of the of the ports or the service is, as you can see, without that, Dash is V We don't have any versions, but when we apply, that dash is vey I'm just running again.
It will return, actually, diversions off each service run in in a port
on. Remember, we're always scanning the well known port or the most use sport. But you can tell him because I have seen several times where I didn't want to bother is counting all the ports or the assistant
with the 65,000 ports. Ah, but I think that was a really big mistake. It's at the end. Ah, sister Administrator changed for example, the S H port and is no longer in the 22 number. It's in day. I don't know, make up a number and that's where the poor is located.
So you can you do that
Dash Dash option. It will scan all all all the boards. This, of course, will take a long time. You know, I will cut that. You know, that's the idea of that lack.
And you can apply. Fire will bypassing scans, for example. You can use the the flak
Cordish of the option. That staff.
Um, it seems we already have. The boards were no reports. Word are open,
but just go with that.
And F command includes. Um
uh, it returned really fast because I don't have the fire will enable. And the the point with the dash F command is that includes or scan to deploy. Really small fragment. I'd be back. It's, you know, specifically or command uses.
uh, packets that really small. So the firewall cannot, you know, actually see the entire packet a Kwan's and maybe try to detect it with a signature or something like that. Um, the size of the *** is 16 bites. So, uh,
you know, the number is really small. And you can also change that, Of course, with other options. Or tell him you know what I want. I don't want to be assistance. I want to be 64.
Whatever the number res, you can apply it to the package. The point is that this such as you could use to buy pants four walls that the anti firewalls will not actually see the entire package, or I p s will not see the entire package. And it will, you know, uh, send it back to the machine to to the machine can actually
put that old factors together and,
you know, way may have a reply.
Um, this way can also, you know, used Dash Dash,
But some option thesis includes our deployment. Often in politics. A p, the p I checks him for package, you know, which are being sent over the network. Um, you know, that's practically every host or peace tackle correctly drop the packages.
Each response accepted responsibility or originated from a firewall or intrusion detection operation system
that wasn't concerned with, you know, confirming the checks. And so things another tune you can use to bypass firewalls or are interested prevention systems or I p s, uh, nothing you hear? You can just send it over and we'll return to the reply.
But that's the point. You can you can have several techniques
and we even have the A map. A script enjoying, um,
which is a really powerful a tool. And you know, it's free, which is
the missing, I guess. Ah, yeah, We have seen several ah bowling ability Scanners claiming to have I will have a little capability and under the scenes there, just executing ah, map scripts. But we'll see later that we'll see that later in the course. No worries. Ah,
what can be performed by the end? My Dash six command Well, you can apply all the techniques we sell, but to an I p v six i p.
What is the result off executed em up 65 I pee well, you will execute poor scanning as fast as possible. This is especially useful when you know that the system or the or the system owner or the system administrator already knows that you're trying to have the system.
Ah, and you don't you're not concerned. Would be in a stealthy It's possible.
Can you actually use an and my option to bypass firewalls? Yeah. Your king actually Dash f, for example. Needless to say, this will throw some false positives. Maybe it will tell you a portly something, but it's not or or the other way around. It will tell you the poor disclose when he's actually open.
But you can use that to Nick as well. Um, in this video, we saw several a map commands to perform *** scanning. We executed some at my thick. Next, you understand? How can they help us? Inter penetration testing brushes
super into materials. Will. Any big Mac should check you can actually finding Google. Just go Google that and my chick it and whatever works for you. There are several tons of them, um, that you can take a look at and see what other options can you implement
in your penetration testing process?
Looking forward in the next video, we'll see the basics off the net. Katou.
Ah, well, that's it for today, folks. I hope you enjoyed the video and hope to see you soon.