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