1
00:00:00,540 --> 00:00:05,190
Throughout the course we're going to use a number of hacking tools.

2
00:00:05,190 --> 00:00:12,420
You can install each of these tools manually or you can do what most hackers do including myself and

3
00:00:12,420 --> 00:00:18,310
save time and effort and use an operating system designed for hacking.

4
00:00:18,330 --> 00:00:21,920
We're going to use an operating system called Kali Linux.

5
00:00:22,020 --> 00:00:29,490
It's the next distro based on Debian and the only difference between Cali and the actual original Debian

6
00:00:29,580 --> 00:00:37,050
Linux distro is the fact that Cali has a lot of hacking and penetration testing tools pre installed

7
00:00:37,140 --> 00:00:39,300
and pre configured in it.

8
00:00:39,300 --> 00:00:46,530
Therefore once you install Cali you will have access to so many hacking tools without the need to install

9
00:00:46,560 --> 00:00:52,070
or configure any of them which will save you a lot of time and a lot of effort.

10
00:00:52,200 --> 00:00:59,580
Now just like any other operating system you can install it as a main machine or as a virtual machine.

11
00:00:59,610 --> 00:01:05,700
Now I'm going to install it as a virtual machine because like I explained in the previous lecture we

12
00:01:05,700 --> 00:01:11,010
will not lose any functionality by using operating systems as virtual machines.

13
00:01:11,010 --> 00:01:17,250
And it comes with a lot of benefits because it's completely isolated from our computer that we always

14
00:01:17,250 --> 00:01:17,610
use.

15
00:01:17,790 --> 00:01:23,880
So if we break the virtual machine or if you want to delete it and reset it it will not affect our main

16
00:01:23,970 --> 00:01:26,210
operating system.

17
00:01:26,300 --> 00:01:31,910
Now as mentioned in the previous lecture before creating and using virtual machines you will have to

18
00:01:31,910 --> 00:01:33,190
install virtual box.

19
00:01:33,200 --> 00:01:37,080
And I showed you how to install it on Windows then X and OS X.

20
00:01:37,220 --> 00:01:42,080
So once you have virtual box installed you can go ahead and follow the steps that I'm going to show

21
00:01:42,080 --> 00:01:44,920
you right now to install color Linux.

22
00:01:44,930 --> 00:01:51,770
Now keep in mind I'm doing these steps from an OS X computer but you can follow the exact same steps

23
00:01:51,860 --> 00:01:56,050
on any operating system you have whether you have Linux or Windows.

24
00:01:56,270 --> 00:02:03,260
As long as you have installed virtual box on your system as shown in the previous lecture now the first

25
00:02:03,260 --> 00:02:08,780
thing that you want to do is download the virtual box image of Kelly Linux so you can download it from

26
00:02:08,780 --> 00:02:14,210
the resources of this lecture to access the resources of the current lecture.

27
00:02:14,240 --> 00:02:16,640
We're going to scroll down to the lecture.

28
00:02:16,730 --> 00:02:23,060
We're going to click on the resources icon and then we're going to click on the resource that we want.

29
00:02:23,060 --> 00:02:27,180
And in this case we want the candy to any to any download page.

30
00:02:27,260 --> 00:02:30,220
So we're going to click on it now.

31
00:02:30,260 --> 00:02:35,510
This is a custom color image that I made for my courses.

32
00:02:35,510 --> 00:02:38,690
It is smoother and faster than the original one.

33
00:02:38,810 --> 00:02:46,790
It fixes a number of bugs and it contains a number of extra programs that we need for this course and

34
00:02:46,910 --> 00:02:50,650
are not included in the original release.

35
00:02:50,660 --> 00:02:55,900
You can see the full list of changes that I made here and on the left.

36
00:02:56,060 --> 00:02:59,200
You can also follow us on YouTube if you want from here.

37
00:02:59,600 --> 00:03:04,090
But the main reason we're here on this page is to download Carly.

38
00:03:04,670 --> 00:03:12,440
So if you have a 64 bit computer downloaded from one of these links or if you have a 32 bit computer

39
00:03:12,650 --> 00:03:16,560
then download the 32 bits version from here.

40
00:03:16,580 --> 00:03:19,050
Now this is a big operating system.

41
00:03:19,250 --> 00:03:25,100
So I've actually already downloaded this before recording this lecture and I already have it right here

42
00:03:26,890 --> 00:03:33,550
so as you can see you should get a file with a dot or be a extension so you have the file name followed

43
00:03:33,550 --> 00:03:37,970
by dot all the way to import this in virtual box.

44
00:03:37,990 --> 00:03:44,500
All we have to do is literally double click the file as you can see this will automatically run the

45
00:03:44,500 --> 00:03:50,260
file in virtual box and you'll get a window which you can use to modify the settings of this virtual

46
00:03:50,260 --> 00:03:51,040
machine.

47
00:03:51,190 --> 00:03:53,500
For now I'm going to keep everything the same.

48
00:03:53,500 --> 00:03:56,260
And I'm just going to click on import.

49
00:03:56,260 --> 00:03:58,450
Give it some time.

50
00:03:58,450 --> 00:04:02,610
And as you can see now this is imported into my virtual box.

51
00:04:03,110 --> 00:04:05,480
And we can go ahead and try to start it.

52
00:04:05,620 --> 00:04:08,980
But before doing that I want to modify some settings.

53
00:04:09,610 --> 00:04:14,880
So we're going to click on the virtual machine that we want to modify its settings which is called Linux.

54
00:04:14,890 --> 00:04:19,360
In this case and then I'm going to click on the settings icon.

55
00:04:19,360 --> 00:04:25,420
Now depending on the host operating system that you're using the layout of the settings menu in here

56
00:04:25,600 --> 00:04:29,680
might be slightly different but using it is exactly the same.

57
00:04:30,340 --> 00:04:33,830
So make sure you follow the steps that I'm going to show you right now.

58
00:04:33,880 --> 00:04:40,300
And it should work on all operating systems whether you're using Windows Linux or OSX.

59
00:04:40,360 --> 00:04:44,280
So the first thing that I want to modify is the system settings.

60
00:04:44,350 --> 00:04:50,590
So I'm going to click on system and in here you can first of all modify the amount of RAM or memory

61
00:04:50,770 --> 00:04:54,970
that will be allocated for the virtual machine.

62
00:04:55,030 --> 00:05:01,630
Now dependent on how much RAM you have in total you can give this more or less to gigabyte is enough.

63
00:05:01,630 --> 00:05:05,320
You can get away with one gigabyte but it might be a little bit slow.

64
00:05:05,350 --> 00:05:06,730
So I'm going to leave it at two.

65
00:05:06,730 --> 00:05:14,040
I have 16 gigs so too will not cause any pressure on my host operating system next.

66
00:05:14,050 --> 00:05:19,480
I'm going to click on the processors and as you can see by default it's only given to course.

67
00:05:19,510 --> 00:05:21,400
Again you can give it more or less.

68
00:05:21,520 --> 00:05:23,020
You can get away with one core.

69
00:05:23,020 --> 00:05:24,200
It will be too slow.

70
00:05:24,280 --> 00:05:25,700
Two is good enough.

71
00:05:25,720 --> 00:05:26,830
The more the better.

72
00:05:26,830 --> 00:05:32,800
Again it all depends on how much resources you have and can't afford to give to virtual machines.

73
00:05:32,800 --> 00:05:34,360
I have ACP use.

74
00:05:34,630 --> 00:05:42,020
So given it too will not put too much pressure on my operating system next I'm gonna go to the network

75
00:05:42,020 --> 00:05:46,700
settings and I'm going to set this to use and not network.

76
00:05:46,700 --> 00:05:52,040
Now sometimes when you select an ad network you will not see a network name in here.

77
00:05:52,040 --> 00:05:54,320
If you don't then don't worry about it.

78
00:05:54,320 --> 00:05:59,770
This is a common issue and I had the solution for you in the resources of this lecture.

79
00:05:59,810 --> 00:06:00,650
Just click on it.

80
00:06:00,650 --> 00:06:03,450
Follow it and you'll see how to fix this issue.

81
00:06:03,770 --> 00:06:09,650
Now for me as you can see I already have an ad network in here so I'm going to keep it on this one.

82
00:06:09,650 --> 00:06:16,880
And this setting will basically create a virtual network where my host machine which is my Mac OS X

83
00:06:16,880 --> 00:06:23,930
computer is going to be the router for this network and then all the virtual machines are going to be

84
00:06:23,930 --> 00:06:26,790
client connected to this network.

85
00:06:26,840 --> 00:06:31,400
So they're going to get Internet connection from my host machine.

86
00:06:31,400 --> 00:06:39,350
And at the same time all of my virtual machines will be connected to the same virtual network.

87
00:06:39,350 --> 00:06:45,710
This is very handy because my virtual machines will be able to communicate with each other and therefore

88
00:06:45,800 --> 00:06:51,350
will be able to use the Kelly machine to hack into the other's will be able to test network attacks

89
00:06:51,560 --> 00:06:52,940
and do much more.

90
00:06:53,510 --> 00:06:58,910
So this setting will first allow my virtual machines to have Internet connection and it'll also allow

91
00:06:58,910 --> 00:07:04,100
them to communicate with each other through this virtual not network.

92
00:07:04,100 --> 00:07:09,630
Now this virtual network will rely on the connection of your host computer.

93
00:07:09,710 --> 00:07:12,410
So it will not need any extra interfaces.

94
00:07:12,410 --> 00:07:14,890
It will not need any extra adapters.

95
00:07:14,900 --> 00:07:21,560
And as far as the virtual machines are concerned they are connected to on either net network but in

96
00:07:21,560 --> 00:07:27,350
reality they are connected through the host machine.

97
00:07:27,520 --> 00:07:33,610
Now if you're on virtual box six and have a screen with high resolution you'll need to go to display

98
00:07:33,960 --> 00:07:43,310
and set the scale factor to 200 percent otherwise the virtual machine screen will be too small but only

99
00:07:43,310 --> 00:07:46,750
do this if you have a screen with a high resolution.

100
00:07:46,760 --> 00:07:54,240
And if you're using virtual box six otherwise do not modify this option now I'm done here.

101
00:07:54,270 --> 00:07:59,850
So I'm going to click on okay and we can start the virtual machine like any other virtual machine.

102
00:07:59,880 --> 00:08:06,430
We're just gonna click it and then click on start.

103
00:08:06,440 --> 00:08:13,190
Now if you followed everything that I did so far and faced a black screen or got an error please check

104
00:08:13,190 --> 00:08:19,370
out the links in the resources of this lecture as they cover the most common issues that you could face

105
00:08:19,520 --> 00:08:23,920
when starting college if you got an issue that is not covered there.

106
00:08:23,960 --> 00:08:24,700
Don't worry.

107
00:08:24,710 --> 00:08:31,220
Please ask us in the Q and A section and we will respond to you within 15 hours and help you fix this

108
00:08:31,220 --> 00:08:39,350
issue now I'm going to click inside the virtual machine and hit enter and as you can see we have the

109
00:08:39,350 --> 00:08:46,000
log and screen for Cali Linux so right now it's asking me for the user name and the default user name

110
00:08:46,060 --> 00:08:48,400
is Root r o o t.

111
00:08:48,550 --> 00:08:54,300
I'm going to hit enter and then it's asking us for the password which is the reverse of the user name.

112
00:08:54,370 --> 00:08:59,570
So it is t o r and enter that's it.

113
00:08:59,590 --> 00:09:04,710
Now we're inside the virtual installation of Kali Linux.

114
00:09:04,750 --> 00:09:09,330
Now don't worry about how this operating system looks different and if you don't know how to use it

115
00:09:09,580 --> 00:09:14,120
we will cover all of that and will cover its basics as we go through the course.

116
00:09:14,230 --> 00:09:20,380
But for now if you just look at the top right in here you'll see that this virtual machine thinks that

117
00:09:20,380 --> 00:09:24,430
it is connected using a wire so you can see wire connected.

118
00:09:24,520 --> 00:09:30,730
So Kali thinks that it is connected to an Ethernet network and that's because like I said we set it

119
00:09:30,730 --> 00:09:33,030
to use in our network.

120
00:09:33,100 --> 00:09:35,380
So if I just go to my web browser

121
00:09:38,780 --> 00:09:44,780
as you can see we have Internet access and Kelly Linux and this is provided from the host computer.

122
00:09:44,780 --> 00:09:49,130
So Carly is connected to the Internet through the host computer.

123
00:09:49,190 --> 00:09:55,970
And as far as Carly is concerned the host computer is a router and it is connected to this router through

124
00:09:55,970 --> 00:10:03,080
an Internet cable if Carly feels a little bit too slow or laggy please give it a few minutes.

125
00:10:03,080 --> 00:10:08,720
If this is the first time you're on it because when you started for the first time it will automatically

126
00:10:08,720 --> 00:10:10,730
check for updates.

127
00:10:10,910 --> 00:10:15,890
Once this process is done the system will start running a little bit smoother.

128
00:10:15,890 --> 00:10:22,460
Also it goes without saying if your computer is not powerful enough then close any unused applications

129
00:10:22,490 --> 00:10:25,330
before starting Carly to free up resources.

130
00:10:26,210 --> 00:10:32,870
But as you'll see throughout the course two gigabytes of RAM and to use are enough to run Carly smoothly.
