Hey everybody and welcome to the next video.
So in this video we're going to be talking about adding a Windows desktop or workstation to our Active
Directory instance.
Now before we actually get into that there's something I need to go over.
We need to fix the environment so that the two machines are on the same network and can talk to each
other.
So what we need to do is open up virtual box go to the top left virtual box preferences then go to network
and we're going to add a plus sign here we'll see not not network and we'll check and make sure make
sure yours is 10 not zero that 2.0 slash 24 and supports DCP and that should be good.
OK and OK then we're going to go to each of our two machines.
Go to Settings network and instead of Nat go to Nat network and it should auto fill with with our network
and head.
OK perfect.
And we'll do that to our other machine as well now for now the Ubuntu machine.
It doesn't require it.
So I wouldn't worry about that just the second
now that we've sorted out the network problem.
There's a few other things we have to change so because we changed the net interface in the network
that we're connected to.
We have changed the core of the network.
So what we need to do is go down here to the.
This is on our Windows Server.
So if we right click on the computer they're open networking and sharing center.
It changed after settings.
Now we have our either net right click properties IP for properties.
Now we need to change two things.
One is the gateway is no longer to dot to it's to that one.
So we need to go ahead and change that.
That's because of network change.
Now an issue with this is to adopt 15 is what virtual box will give as its starting address.
So when we turn on the workstation it's going to get the two dot 15 address and then we're going to
have a conflict.
So what to change that we're just going to change our server to two dot 16 we're going to go ahead and
save that.
So that's to sort out the servers and now that we have all the configurations kind of sorted we can
work on actually adding the windows workstation to our Active Directory Domain.
Now what we need to do first is make sure the DNS on our workstation points to the server are our Active
Directory Server.
Now this can be done at the bottom right couldn't right click open network and internet settings
then Ethernet
and change Adapter Settings
right click properties IP the for properties.
Now we're going to change DNS server to our new address.
So 10 dogs 0 up to 16 and will go ahead.
OK.
Now the reason this is important is because when we try to add it to the domain it needs to be able
to resolve Red Team nation dot local which the virtual box is DNS.
Can't do that it doesn't know what it it doesn't have an entry for that.
However our local DNS server on our worksite on our server does.
So now we've got that set up we're going to right click this P.C. and properties
and at the far right we're going to see change settings.
So this can look very familiar to what we were changing on the server.
So we'll go ahead and change.
We'll leave the computer name the same.
That's not really a big deal.
We're going to inside of domain.
We're going to Red Team nation the local now.
Go ahead.
OK.
It'll prompt us it should prompt us for a user name and password which is asking us for a domain admin
credentials so it can be allowed to add itself to the domain.
So in this case would be an administrator.
So and then our password that we used for are logging in for
Will she get a welcome to the domain message.
And that'll tell us we are all good
so once that's done it will prompt for a restart.
So go ahead and restart now.
And while that is restarting I want to take a quick look over here we see the computers is empty.
So if we go ahead and refresh this we can now see the new machine that we just added let's create a
new user so we've when we want to create a new user that wants to log into this workstation.
So let's do new user names user Bob.
All right.
So Bob the new user will lead the change password log in part
and we'll set him up with a temporary password.
Perfect.
We'll also add Bob to the domain and this group perfect.
Now Fred this is a fresh user.
He's never been on this domain before and we didn't have one called Bob before.
So when this workstation loads up we will use.
We will attempt to log in to the workstation using an active directory based account called in this
case Bob.
So this will this will test whether or not we've connected to the active directory and the authentication
has occurred so we'll give this just a second to load up.
Perfect.
So we'll go ahead and send our control.
Delete now it's going to try to throw you Brandon at first but we want other user so we can see it's
a signing into Red Team nation.
We want Bob right.
So if this is right it should prompt us all user must change past before signing in perfect.
That's exactly the checkbox we had.
So we've given a new password.
We'll do.
Perfect.
So now it'll change the user user's password and then go ahead and Moccasin.
So this is how you work can work with adding machines to a active directory domain.
Go ahead.
And what I want you to do is play around with adding a few users here adding different groups and then
trying to log into that workstation with those specific users.