Instructor: As I mentioned, 2 2
this course is going to be highly practical. 3 3
Therefore, you will need a lab, 4 4
a place where you can practice 5 5
and experiment with the things 6 6
that you're going to learn in the course. 7 7
Not only that, but having a lab is essential 8 8
for hackers or pen testers 9 9
because let's say you discovered a new attack 10 10
or you want to experiment with a new attack 11 11
or you learned something new online 12 12
and you want to test it, 13 13
then the perfect place for you to test this 14 14
and practice hacking is a hacking 15 15
or a testing lab. 16 16
Now, to create a lab, you just need a number 17 17
of computers with different operating systems 18 18
and you'll need a number of networks 19 19
if you're testing network attacks 20 20
and if you're testing website attacks, 21 21
then you will need to install websites 22 22
on these computers. 23 23
Or you can do all of this inside your computer, 24 24
inside one machine and install everything else 25 25
as virtual machines 26 26
and this is what we're going to do. 27 27
So let's say you have your computer right here. 28 28
This is your main computer that you use every day 29 29
to check your emails or even to watch this course. 30 30
This computer might be running Windows, OS X or Linux. 31 31
It doesn't really matter, it can run any operating system. 32 32
You can keep all the programs that you love and like 33 33
and install a virtualization software 34 34
such as VirtualBox. 35 35
A virtualization software allow us to create a number 36 36
of virtual computers inside your main computer 37 37
so we can have three or four 38 38
or five or 10 computers all installed 39 39
inside your main operating system 40 40
inside your main computer. 41 41
The really cool thing about this 42 42
is you will not need a number of computers, 43 43
you can do everything inside a single computer. 44 44
So what we're going to do 45 45
is we're gonna have a hacking machine. 46 46
This is going to be the machine 47 47
that we will use in order to hack 48 48
into other machines. 49 49
We're going to install Kali Linux on it 50 50
and we'll talk about what that is later on. 51 51
And we're going to have two target machines. 52 52
These are machines that we're gonna try to hack into 53 53
and practice hacking against. 54 54
One of them is gonna be running Windows 55 55
and the other one is going 56 56
to be running an operating system called Metasploitable 57 57
and we'll talk about that once we get to it. 58 58
Now, it is very important to understand 59 59
that you will not lose any functionality 60 60
when you install an operating system as a virtual machine. 61 61
You can use that machine exactly 62 62
as if it's a real physical machine. 63 63
So the really cool thing about using virtual machines, 64 64
first of all, you're not gonna lose any functionality, 65 65
second, all the machines are going 66 66
to be isolated, so as we go through the course, 67 67
we're gonna be trying to hack 68 68
into these machines and we might actually break one of them. 69 69
But that's fine. 70 70
It will not affect your host machine. 71 71
You will be able to easily fix this 72 72
and go back to a snapshot of when the machine was working 73 73
without affecting your main computer. 74 74
The other cool thing is that you'll be able 75 75
to have a number of different versions 76 76
of each of these machines 77 77
and you'll be able to change the configuration easily, 78 78
change the network settings 79 79
or switch between different states of these machines 80 80
and so on. 81 81
So by using virtualization, 82 82
you will not lose any functionality 83 83
but you will gain so many cool features. 84 84
And the main thing to keep in mind 85 85
is your host machine, your main computer 86 86
will never be affected. 87 87
It's completely isolated 88 88
and if we break any of these machines, 89 89
nothing will happen to your precious computer 90 90
that you use every day. 91 91
And this way, you can always use your host machine 92 92
for daily use for checking emails, 93 93
watching the videos, doing whatever you do normally 94 94
and then use your virtual machines for hacking 95 95
and practicing the attacks. 96 96
And this is what I actually do. 97 97
So you can see I have my host machine running OS X 98 98
and I never use this for hacking. 99 99
But right here, I have VirtualBox 100 100
and as you can see, I have a number 101 101
of operating systems installed on it 102 102
and I can literally start any of them 103 103
by selecting the one I want and just click on Start. 104 104
Now, don't worry about this. 105 105
I will show you how to install these virtual machines 106 106
as we go through the course 107 107
but what you need to do right now 108 108
is download and install VirtualBox. 109 109
This program. 110 110
So you can download it from this page. 111 111
I'm gonna include its link in the resources 112 112
and like I said, you can install VirtualBox 113 113
on Windows, OS X or Linux, 114 114
so it supports all operating systems. 115 115
Just pick your operating system from here, 116 116
download the relevant installer 117 117
and install it. 118 118
Installing it is very, very simple. 119 119
All you have to do is literally double click the installer, 120 120
click Next, Next, Next, 121 121
and it'll install it for you. 122 122
Once you start it, you'll see a program similar to this 123 123
but you will not have any virtual machines here 124 124
so it will be empty 125 125
and I will show you how to install all 126 126
of these machines as we go through the course. 127 127
One more thing to do, 128 128
as soon as you install VirtualBox 129 129
is to download and install the Extension Pack. 130 130
This will give you better compatibility 131 131
and it'll allow you to use USB devices 132 132
on the virtual machines 133 133
so you'll be able to use a USB mouse, 134 134
USB keyboard and USB wireless adapters. 135 135
Again, downloading and installing the Extension Pack 136 136
is very, very simple. 137 137
There is only one file. 138 138
It's always the same file for all operating systems. 139 139
It's the same for Windows, for Linux for OS X. 140 140
You just have to click on the download link in here. 141 141
Once you download that, I already have it downloaded, 142 142
so I have it right here 143 143
and this file will only work 144 144
if VirtualBox is installed successfully. 145 145
So first of all, install VirtualBox 146 146
from these links right here like I said. 147 147
Once you download it and install it 148 148
and see a window similar to this, 149 149
without these machines right here, 150 150
we'll see how to install these later, 151 151
then download the Extension Pack from here. 152 152
You'll have its file similar to this file 153 153
and only then you can double click this file 154 154
and it'll automatically open in VirtualBox. 155 155
As you can see, it's telling me 156 156
that I want to install the Extension Pack. 157 157
It's giving me the version 158 158
which is the same version as the version 159 159
of the VirtualBox that I downloaded. 160 160
It has to be the same version, 161 161
otherwise it will not work. 162 162
I'm gonna click on Install. 163 163
We're gonna agree to this license. 164 164
I'm gonna put my password. 165 165
And as you can see, it's telling us 166 166
that the Extension Pack is installed successfully. 167 167
So now we can go ahead 168 168
and install virtual machines in VirtualBox.