Hello, ladies and gentlemen, welcome to this latest video in the post Exploitation, persistence and continued access. Course
I'm a resident Smee Joseph Perry. And as you can see, this particular video as well as the next few will be on Windows. We just finished covering a bunch of Lennox material Lennox information gathering. Specifically,
we dug through where you will find servers. We find lots of information on the host machine,
and now we're going to be digging into the windows side of things where you can find information on a host machine where you can find network servers where you can find Generally speaking, we kind of divided in tow, host machine information and network information. So this first video, these 1st 2 videos will be made up of host machine information on this very 1st 1 will be
not exactly a recap. What sort of a recovering will be discussing
things that we discussed in Lenox but have a slightly different application in windows.
The three that will be using are going to be i f config, which is now going to be I p config.
The second will be net stat with which we're all very familiar and are
the three are both similar and very different to what we were using in Lenox. Um, I I p config specifically will tell us a lot more than i f configure ever did. And Net stat will be a slightly less use, Um, if only because so much of its going recovered by other
So the first thing is I mention we're gonna do is going to be an I p. Config.
First thing we have spit out his I p configure it here we see a bunch of different things that I have up
and doing this particular video on a machine that I've had for a little while. So it's actually been active so you can see a little bit Maur.
Then what? Just a basic bm would have.
So we see that they're a bunch of different ether nets. Three of them are the M wear or virtual box or some other virtual ization. There's a tunneling interface.
There are a few tunneling interface is actually
so that can tell us quite a bit about this machine. So we're gonna go ahead and do the
We'll pipe that into a file on this case totally as we've been doing. Totally not
spit it all out of there.
So I p config We're going to discuss a little bit more in depth in this one because I p config slash all you remember it used to be in the mix. It was I f convict i k
with i p config slash All remember this slash Right here
this thing is a pain and I always make the mistake of using attack. What's more frustrating is some Lennox commands actually will accept the tax. Some won't so usually just go with the slash y i p config slash All is going to tell us a plethora of information. It's absolutely fantastic for gathering data on that machine.
Like I said, there's a lot.
we're gonna go up to the 1st 1 which is our local area connection. This is the one that really gonna make youself because you can see this one does. Ah, lot of the work that in linen is where we had to go, did for files and see where service like the HDP server would have been hosted where he had to, you know, check different addressing schemes and all sorts of other things to try stuff down
windows just spits it out for us.
Dina. Server locations. Is she p server default gateway I P address before address
the mask. Everything you could really want to know. Your
Ethernet address, Just all of the information just displayed to the screen. Um, this is useful, especially when you're looking at things like the tunneling adapter.
You can see if they've actually got something connected. You can see this is clearly not a valid
000000 is not actually owned by anyone.
you can see that. Obviously, these hardware addresses are also this is one that a lot of people won't catch at first plans,
you can see that they're too long. These air eight byte instead of six. Big reason for that is because their pseudo interface is this sort of work on their own thing.
They do their own stuff, so to speak,
but yeah. So with that scan or with that command, Rather, we found out more about a windows machine. Then we found out of analytics machine in an hour's worth of video. It was very, very quick. Very, very easy.
I'm gonna go ahead and pipe this also that file,
make sure we do it right.
All right, So that's two things in the file. That's most of I p config um, in in windows, it bears mentioning there aren't any man pages.
Windows isn't quite that friendly.
which can tell you a little bit. Um,
not really that useful. By comparison to a man page, they'll tell you quick, easy uses. But
in general, Windows is really where you're gonna want Google Machine to be sitting around something that, actually you could just use quickly tow,
identify uses and quick cases.
This is an important detail, something that everyone should know. If you don't know it,
google it in Windows. If you don't know it, go to M S. D N. That's Microsoft's developer network. And while a lot of it is programming focused, their tons and tons of things on there that aren't all programming focused just Microsoft communiqu community work,
Microsoft community Just generally speaking,
any information you could possibly want tohave you'll probably find on that network.
So speaking of networks. Next we're gonna check is network interfaces, which is going to be a net stop. Now. We're not going to dig into a bunch of options with this net stat, primarily because a lot of the things that we use that to discover and Lennox has pretty much already been covered in one i p convict.
So we see Nets that's gonna take a little bit longer to run. Um, part of that's because Windows is slower about it. Part of it's because they're way more connections on this machine doing a lot more.
Uh, like I said, this is gonna be a little bit more practical. The things you see on this, because it's not just a quick generated bm
so we're seeing a lot of connections going from one port. Going out to foreign address on that foreign address, if you remember earlier, is the default gateway,
so you know a lot of different possibilities. Most likely, there's some sort of knotting set up or something to that effect.
We see random high ports connecting out.
So this is something that I guess should be covered. That I kind of glossed over at Lenox is the distinction between time waiting, established and since, as I mentioned, Windows is very, very slow with nets that we've got a little bit time to do it. So they're a bunch of different states that an interface can be in,
um, for T C P. It's a little bit more accurate and can tell you more. Those states are actually more useful
in that a time waiting established a closed. All of these, actually, our states with easy D u D B is more just based on timing since it last got information. So it's not always to extremely handy.
All right, finally completed our nets. That took a little while, so I kind of positive videos. I apologize that there's a bit of an abrupt jump. There
s so we see here that there are a bunch of ports on the local host currently connected. If we go back and look, we see the
spits out that our current addresses Tenn 0.3. So all of these, obviously our local addresses the distinction. Of course, being
this is an outward facing address. Where is this is the logical Loop Mac interface we discussed earlier.
So everything we see on the loop back addresses something that's actually connecting to this machine doing something else. Windows, basically windows, procedure calls
and just kind of the machine communicating with itself over a socket
for various reasons.
Aah! These addresses the 10.1 we know map to our gateway.
We see some various other addresses in there that might be of some degree of use.
In general, a lot of useful addresses, this gun, this particular part could be used just like nets. That was before to help us kind of map out the network and see what's offering
I was C h e to be s. So we see there's some sort of Web server going on there. This bit right here is probably worth a Google
just general usage items, things that tell us this computer is active, it's doing things, and it's a viable target.
as before, we're just gonna basically map the net, stat actually into
totally not hacking you stuff that text.
And I actually control seat out of that one just so you don't have to sit and wait for it to, ah,
re download every copy that information.
So now we're gonna do our third command, which is the AARP.
Tak es. I think it actually works with slash Airtight case will do Slash, eh?
Yes. So are just like before is for specific interfaces. It identifies physical addresses that are mapped to I p addresses. This is a really, really handy one, because this is going to not only let us map out the network in general, but it'll let us specifically map out computers to which this computer is spoken.
The actual hardware type mapping is somewhat useful, but what's really useful is that the AARP is
not something that stays forever,
which means that if it appears in the art, it's something that the machine has seen relatively recently and therefore that can prove a great use in knowing what machines are active in what machines are viable targets.
I'm Obviously the static roots are somewhat less useful than the dynamic that AnAnd maker ones that you really want to keep on eye on
static or things. They're kind of hard coded in there.
But either way, we also see that therefore interfaces on this machine that are normally active. 1921 6/8 which, if you remember, from before for our various virtual
machines, virtual networks, et cetera, on the important one is this 10.3.
You see, it's communicated with about 1.5 dot eight, not 9 13 etcetera. So we see that they're probably at least
4 to 6 active computers on this network. Besides the one that we're actually looking at,
this window's network or this network on which we found this Windows machine is probably, ah, fairly viable target.
And of course, that's a useful information that we're going to want to know.
So drop that in there.
So what? That we've covered the 1st 3 tools that are
ah, used for Lennox host information gathering. Those tools are, as I mentioned before, pretty similar to limit stools before, and they're generally going to be tools that are useful in any operating system.
They've gathered all sorts of information about what's on this computer, and they told us all sorts of useful things
s we're gonna go ahead and and the video here momentarily when we come back, going to be discussing the new sort of the new tools that you'll see on Windows, and those tools pretty much often fall under the heading of Net something.
So I'll see until next time this is your residence. Me, just Perry saying goodbye and I'll see you then.