Welcome to the pivoting section.
So first before we can pivot we're going to have to set up the lab a little bit differently.
So what I want you to do is I want you to go ahead and shut down both of your Windows 10 machines.
So I'm going to shut this one down.
I shut this one down and we're going to modify the network settings on these just a little bit.
So what we're going to do and the concept of pivoting here is that this Windows machine for example
let's say that we have a network a network a is in its own domain and it is in the subnet we've been
in the whole time 1 9 2 1 6 8 57 0 slash 24.
Now it has the domain controller living there and we have this Windows 10 machine and it's in subnet
A.
But there's also a second Nick on this sub.
This machine that has a subnet of Ten Top Ten Top Ten dot zero slash 24.
And we can utilize that to see what the heck it might be talking to on that Ten Network.
So that Ten Network is not available to us when we're sitting there on a pen test and we're pen testing
the 1 9 2 1 6 8 fifty seven to zero.
But if we were to exploit this machine that has the dual home network then guess what.
We have that 10 dot tend to attend a zero network available to us now.
So we have a second network.
And what's going to be living on this other machine it's going to be this 10 dot 10 dot 10 dot whatever
it's going to be machine over here with Windows.
And this is not going to be on the one I need to network anymore.
So we're going to actually access a machine that we have no way of accessing through a intermediary
machine here and this is called pivoting.
So let's go ahead and go into our file.
We're going to edit into a virtual network.
Ed and in here as of right now I'm going to bring this over if it's going to let me know.
It's not gonna let me.
We'll do it like this.
So we should have a host only of 1 9 to actually a net of 1 2 1 6 8 50 7 0.
And I'm going to go ahead and just say change settings and that's going to UAC here and now what we're
gonna do is we're going to add a network.
So I'm going to add VM that will to say 7.
OK.
And we're going to make this its own little thing here.
So the net sevens host only that's fine.
We're going to make this a 10 10 that 10 0 slash 24 network OK.
So the net here is OK.
When I do 168 fifty seven not zero.
And then we have a 10 that 10 that 10 dot 0.
So we'll apply that and then what we're gonna do is we're going to bring back up the configurations
here for both of the machines.
Once this is done doing the install of being at 7 so this might take just a second.
Go ahead and pause if you need to and then return back once your install is complete okay.
My install is complete.
I'm in here.
OK and then I'm going to bring over the windows 10 machine here MSA edit virtual settings so we're going
to edit this and I've got one network adapter here.
I'm actually going to add a second network adapter so go ahead and add network adapter and hit finish
and then what I'm going to do is I'm going to say custom on this one and we're just going to save the
Internet seven.
So this is going to have the net here and VM seven.
We're gonna hit.
OK and then on this one we're gonna edit this virtual machine setting
and we're going to come into here and we're gonna change this to a specific network of seven.
So now the Peter Parker machine this is the second one here.
This is going to be on 10 10 that 10 dot zero.
Only this machine is going to be dual harmed and able to talk to the Domain Controller and itself.
Right.
So let's go ahead and just power on this virtual machine and I'm going to go ahead and power on the
other virtual machine as well.
And I'm gonna get logged back into Cally Linux
and get ready for our next lesson here.
So I still have the bloodhound stuff up as you can see.
So I'm gonna open up a new terminal and I want you to boot up Metis boy.
So go ahead and just load Metis flight for this and let's double check that the lab is ready to go.
So I'm going to go back over and I'm just going to log in as Frank Castle here and I'm going to check
the command and make sure we know the IP address of Frank Castle and the IP addresses man.
So we can log into both actually and I'll just log in as Adam and here
and let's go ahead and check the configurations and see how they showed up.
So we've got a command and we're just gonna say IP config and you can see now that 1 9 2 1 6 8 57 one
forty is where he's lived this entire time ten that ten ten that 128 is new.
And then we come over here and we go to command on the second machine and we say IP config and this
is ten dot ten not ten not one twenty nine.
So in theory we should be able to ping tend to end up 10 not one twenty nine and that will talk and
we should also be able to ping 141 from our Cally machine.
So we say ping 1 9 2 1 6 8 fifty seven one forty one that talks.
OK.
And so from here what we're gonna do is we're going to pause.
We'll take a pit stop and we'll move into the next video and we actually load up the exploit we exploit
this machine and then we're gonna go ahead and pivot and attack slash scan this machine.
So let's go ahead and do that.
I'll catch you over in the next video.