Now we have all of our virtual machines set up and connected to a private network.
We want to see how to setup a public network so that every now and then we'll want to change our computers
over to a public network so that they can see out to the Internet, for example, in the social engineering
exercise.
That's coming up.
We're going to see how to connect out and copy the Twitter or Facebook or another Web sites log in page
that we can use in a phishing email to train people how to spot phishing emails.
Much better.
So we're going to come to the virtual box.
And come down to preferences on a Windows P.S. this is going to be under file preferences and the file
menu.
And this is where we're going to set up our new public nat network.
So we said in the PowerPoint presentation a little earlier that this would be a 10 Daddo dot nine network
address.
So we're gonna add a new NAT network and a NAT network network address.
Translation will let us use the our host computers Internet connection to get out to the Internet instead
of a host only where we can only see from one machine to the other, we're gonna be able to see Google
and see Facebook and Twitter will be able to connect out and pull exercises from Web site, for example.
So we can go to our network under files, preferences or under virtual box preferences.
And we come to a network and that network we're gonna create a new net network.
And let's change the settings.
I'm, first of all, going to call this public nat'l so that it'll be easy to find.
And it'll help me remember that when I'm connected to this network, I'm going to be public.
I'm going to have a view out to the Internet.
I want to change the network, address the cider, or this is just another way of specifying a network
mask when it's at the 10 DataDot nine address for this public network.
We use Tendo three for our private network so we can tell those apart.
And then I've got a 24 bit mask.
That just means the first eight plus eight plus eight or 24 bits or the first three bytes of this network
will stay the same.
So tendo dot nine thato slash twenty four is the same as a tendo dot nine go with a 255 255 255 zero
mask and we are going to support d.H C.p.
And we do that all in one quick screen here.
Very good.
And we'll see public, Matt.
And don't worry about the part that says renamed from that network.
Now that we've created that network, we need to set it up on our Caleigh and Windows machines will
just do it on these two Maximova good and cinnabar Android device so that can see out of the Internet
a split-Level.
We're almost always going to keep on that private hosted only network.
But when we do our social engineering exercise, we need to be able to see out from Kalli to Microsoft
Windows.
And then we might want to go out to the Internet and copy a site.
So we're going to say Caleigh network.
We're going to change from that host only adapter to a map network.
And here's the tough part.
There's also the private, completely hidden net where you can't see another machine.
You can't use the our host computers network connection out to the Internet.
But we never want to use in that.
We want to use that network when we're looking for our public.
Matt.
And you see, that did come up as our option for the public.
Matt.
Go.
And then back on our Caleigh box, once you restart it.
You can either just do the disconnect the network adapter and reconnect, then try and I p a.
And you notice we did get a 10 dot oh address on our ten out of the Nine Network.
So 10 out of the nine dot seven this time on Kelly Linux, it'll change because it is d.H S.P. Dynamic
Host Control Protocol.
So it's alright if it's a different network from time to time.
We just need to know what our IP address is tonight.
Odah.
Ninety seven means we're on the public net network.
That means that we could ping out to w w w dot Google dot com for example, and we can see the real
Google.
And we'll have to use the control C to stop the pain.
And Kelly Linux.
Not bad.
So our Caleigh machine is on the Tendo DOT nine Seven Network.
We can do the same thing for our Windows box.
If I come to the network.
And change that network setting, not Matt, but Matt.
Network.
We'll find the public Matt Press.
OK.
And we can go out and do the same thing for the Android device.
It'll need to see up to the network every now and then as well.
When we use it now, network, public, not press.
OK.
And our Windows device will restart it now if we saved our settings last time.
We may need to use our ability to restart the windows networking.
So I'll show how to do that one more time.
So I'm booted into my Windows computer and I can see that I saved my settings last time, so I may not.
I didn't do a full reboot.
You can always reboot your computer to get a new IP address.
But we can check it just by looking down here.
In fact, if I just hover over this, I'll see that I am connected on Tendo DOT nine nine.
That's good to know.
But if you ever need to, you can disconnect the network, reconnect the network adapter, run your
IP config.
Good.
We got a turned at nine nine.
But remember our command.
To change it, to reset the windows, networking is in an administrator command prompt that CMB.
Right.
And then click on Run as administrator NHTSA to Windsock Reset and then IP config.
Tonight at 9:00 dot nine.
So now our windows and our Caleigh machines are on the same public network.
I could ping Google from here.
I'm going to make just one other change on my Windows computer.
I'm going to come to the properties for our command prompt windows, and I'm going to change it up just
a little bit.
I'm going to make the screen text a good bright hackery green.
And will change the fight and make that bigger so that you'll be able to read things better.
Maybe 24 Bould, OK?
Very nice.
All right.
So we have all of our machines set up and networking into each other so I can see my Caleigh machine
from here.
I can check that by paying 10 out Odah nine seven.
Or enter here, whatever you got for your Caleigh machines address.
I set up tons of computers all the time so I may have different addresses from you, but mine was 10
dot dot ninety seven.
And I'll ping that from windows.
And you'll notice if you try to ping your Windows computer from Kalli, you're actually not going to
be able to see it.
And that's because the Windows firewall.
But we'll see how to fix that and how to get around it when we get into the lessons on hacking windows.
But right now, you've got a fully configured network and it's time to actually do some hacking.
So in the next section, we're going to see how to do a social engineering attack, a phishing attack
from Caleigh into Windows, just like we'd see out on the real Internet.
We'll see you in the next section.