1 00:00:00,600 --> 00:00:02,340 Instructor: Okay, so here we are. 2 00:00:02,340 --> 00:00:05,973 We are ready with both of our files on our desktop. 3 00:00:06,930 --> 00:00:09,030 The first thing that we want to do is we want 4 00:00:09,030 --> 00:00:11,610 to install VirtualBox software. 5 00:00:11,610 --> 00:00:13,080 In order to create virtual machine, 6 00:00:13,080 --> 00:00:15,090 we must first have this software installed. 7 00:00:15,090 --> 00:00:16,383 So let us do that first. 8 00:00:17,430 --> 00:00:19,230 If we double click on it, 9 00:00:19,230 --> 00:00:21,450 it'll start the process of installation, 10 00:00:21,450 --> 00:00:23,010 which should look the same 11 00:00:23,010 --> 00:00:25,830 whether you're running Windows, Mac OS, or Linux. 12 00:00:25,830 --> 00:00:29,370 The process of installation VirtualBox will be the same 13 00:00:29,370 --> 00:00:30,840 and it is rather easy, 14 00:00:30,840 --> 00:00:34,020 since all we want to do is we want to click on next 15 00:00:34,020 --> 00:00:35,460 on each and every step, 16 00:00:35,460 --> 00:00:37,800 but just so we don't go next, next, next, 17 00:00:37,800 --> 00:00:39,780 let us explain what you can do 18 00:00:39,780 --> 00:00:42,450 with each and every step of installation. 19 00:00:42,450 --> 00:00:44,880 So here, as it says, under the custom setup, 20 00:00:44,880 --> 00:00:46,920 we want to select the way we want 21 00:00:46,920 --> 00:00:48,930 our features to be installed. 22 00:00:48,930 --> 00:00:50,550 And the only thing that you might consider 23 00:00:50,550 --> 00:00:54,390 changing right here is this location part. 24 00:00:54,390 --> 00:00:56,970 If you want to change the location of VirtualBox, 25 00:00:56,970 --> 00:01:00,540 you can do the right here, but since I won't be doing that, 26 00:01:00,540 --> 00:01:03,393 I will just click next to proceed to the next step. 27 00:01:04,530 --> 00:01:06,870 Here you can select whether you want a shortcut 28 00:01:06,870 --> 00:01:09,720 on the desktop, whether you want start menu entries. 29 00:01:09,720 --> 00:01:11,460 I will leave all of this to be checked 30 00:01:11,460 --> 00:01:14,913 since I want all of that and I will click on next step. 31 00:01:16,200 --> 00:01:18,150 For this step, it says that 32 00:01:18,150 --> 00:01:20,280 during the installation we might be disconnected 33 00:01:20,280 --> 00:01:21,270 from the internet, 34 00:01:21,270 --> 00:01:24,240 in case you're downloading or uploading something important. 35 00:01:24,240 --> 00:01:26,550 So best thing you can do in that case 36 00:01:26,550 --> 00:01:29,400 is wait for that download or upload to finish 37 00:01:29,400 --> 00:01:33,270 and then you can proceed with installation of VirtualBox. 38 00:01:33,270 --> 00:01:34,590 So I'll just click on yes 39 00:01:34,590 --> 00:01:38,100 since I'm not doing anything important over the internet 40 00:01:38,100 --> 00:01:40,293 and I will click right here on install. 41 00:01:41,168 --> 00:01:42,001 (bell dinging) 42 00:01:42,001 --> 00:01:44,850 This will ask me for my administrative password 43 00:01:44,850 --> 00:01:48,150 and since I don't have one, I will simply just click on yes 44 00:01:48,150 --> 00:01:52,050 and it'll start the process of installing VirtualBox. 45 00:01:52,050 --> 00:01:55,470 This will finish in just a few seconds and right after it, 46 00:01:55,470 --> 00:01:58,260 it should open up our VirtualBox. 47 00:01:58,260 --> 00:02:00,690 So just at this last step after installation, 48 00:02:00,690 --> 00:02:04,920 we want to click on finish, and in just a few seconds 49 00:02:04,920 --> 00:02:08,820 this should open the VirtualBox and here it is. 50 00:02:08,820 --> 00:02:11,550 So your window should look exactly like my does. 51 00:02:11,550 --> 00:02:13,260 And what we want to do from here 52 00:02:13,260 --> 00:02:16,050 is we want to create the virtual machine. 53 00:02:16,050 --> 00:02:20,220 We're going to go onto this new button and click on it, 54 00:02:20,220 --> 00:02:22,350 which will open this small window, 55 00:02:22,350 --> 00:02:24,840 that'll ask us for some information 56 00:02:24,840 --> 00:02:26,790 about our virtual machine. 57 00:02:26,790 --> 00:02:31,770 So under the name we're going to specify Kali Linux 58 00:02:31,770 --> 00:02:33,270 and you can name it anything you want. 59 00:02:33,270 --> 00:02:35,100 It doesn't have to be Kali Linux, 60 00:02:35,100 --> 00:02:38,010 but just in case you might have multiple machines 61 00:02:38,010 --> 00:02:39,690 in VirtualBox later on, 62 00:02:39,690 --> 00:02:41,430 you want to have them named properly 63 00:02:41,430 --> 00:02:43,653 so you know which machine is which. 64 00:02:44,490 --> 00:02:46,740 Next thing, the machine folder is something 65 00:02:46,740 --> 00:02:48,390 that we don't want to change. 66 00:02:48,390 --> 00:02:50,400 The type, we want to set on Linux 67 00:02:50,400 --> 00:02:52,650 and you will notice if you typed Kali Linux 68 00:02:52,650 --> 00:02:55,770 it should automatically set the type to be Linux 69 00:02:55,770 --> 00:02:59,010 and the version is something that we do want to change. 70 00:02:59,010 --> 00:03:03,240 Now, since Kali Linux is a Debian based operating system 71 00:03:03,240 --> 00:03:06,390 we want to be searching Debian right here. 72 00:03:06,390 --> 00:03:11,390 And here it is, we got Debian 32-bit and Debian 64-bit. 73 00:03:12,390 --> 00:03:15,840 If you downloaded the 64-bit version of Kali Linux, 74 00:03:15,840 --> 00:03:19,920 you want to select right here, Debian 64-bit. 75 00:03:19,920 --> 00:03:22,050 And if you downloaded the 32-bit one, 76 00:03:22,050 --> 00:03:24,333 you would be selecting Debian 32-bit. 77 00:03:25,440 --> 00:03:28,080 After we got all these options set like this, 78 00:03:28,080 --> 00:03:29,403 we want to click on next. 79 00:03:30,510 --> 00:03:33,180 And this next step is, if you remember, 80 00:03:33,180 --> 00:03:36,510 we talked about that we need to give our hardware resources 81 00:03:36,510 --> 00:03:38,550 to our virtual machine. 82 00:03:38,550 --> 00:03:41,850 And right here it asks us how much RAM memory 83 00:03:41,850 --> 00:03:44,883 are we willing to borrow to the virtual machine to use? 84 00:03:45,930 --> 00:03:48,150 This RAM memory will not be available 85 00:03:48,150 --> 00:03:50,310 as long as our virtual machine is running 86 00:03:50,310 --> 00:03:53,190 and once the virtual machine has been shut down, 87 00:03:53,190 --> 00:03:54,720 this RAM memory will be freed 88 00:03:54,720 --> 00:03:56,403 for our physical machine to use. 89 00:03:57,390 --> 00:04:00,120 Now on this machine that I'm recording, 90 00:04:00,120 --> 00:04:02,190 I have eight gigabytes of ram. 91 00:04:02,190 --> 00:04:05,130 So in the best case, I want to give 92 00:04:05,130 --> 00:04:09,210 about two gigabytes of RAM to this virtual machine. 93 00:04:09,210 --> 00:04:11,370 Now, I can also go up to four gigabytes of ram 94 00:04:11,370 --> 00:04:14,640 but it is not really needed and there is no point 95 00:04:14,640 --> 00:04:17,730 in giving half of your RAM memory to your virtual machine. 96 00:04:17,730 --> 00:04:19,950 So two gigabytes of RAM will be more 97 00:04:19,950 --> 00:04:22,443 than enough for my virtual machine. 98 00:04:23,940 --> 00:04:28,410 If your machine has 16 gigabytes RAM or 32 gigabytes RAM, 99 00:04:28,410 --> 00:04:30,630 feel free to give it even more RAM memory 100 00:04:30,630 --> 00:04:32,730 as the more the better. 101 00:04:32,730 --> 00:04:35,670 And if your machine has less than eight gigabytes RAM, 102 00:04:35,670 --> 00:04:38,130 for example, it has four gigabytes RAM, 103 00:04:38,130 --> 00:04:40,380 then you can either go with two gigabytes 104 00:04:40,380 --> 00:04:43,710 or you can even lower it to one gigabyte of RAM. 105 00:04:43,710 --> 00:04:46,560 But I will simply just leave it at two 106 00:04:46,560 --> 00:04:49,590 and I will proceed to the next step. 107 00:04:49,590 --> 00:04:51,480 In the next step, we're creating the hard disk 108 00:04:51,480 --> 00:04:53,700 so we want to select this option that says 109 00:04:53,700 --> 00:04:55,830 create a virtual hard disk now 110 00:04:55,830 --> 00:04:58,140 and keep in mind that the recommended size 111 00:04:58,140 --> 00:05:00,750 of the hard disk is eight gigabytes. 112 00:05:00,750 --> 00:05:04,350 This option will come later on, but just keep it in mind. 113 00:05:04,350 --> 00:05:06,330 So create a virtual hard disk now. 114 00:05:06,330 --> 00:05:07,860 Click on create. 115 00:05:07,860 --> 00:05:09,990 And under the hard disk file type, 116 00:05:09,990 --> 00:05:13,020 we want to select VirtualBox Disk Image. 117 00:05:13,020 --> 00:05:13,923 Click on next. 118 00:05:15,090 --> 00:05:17,760 This next question is asking us 119 00:05:17,760 --> 00:05:21,480 how we want to store our data on our virtual hard disk. 120 00:05:21,480 --> 00:05:25,020 What we want? Fixed size or dynamically allocated. 121 00:05:25,020 --> 00:05:28,170 Keep in mind that fixed size will probably work faster 122 00:05:28,170 --> 00:05:30,810 but it'll also take longer time to create. 123 00:05:30,810 --> 00:05:33,030 While the dynamically allocated might work 124 00:05:33,030 --> 00:05:36,870 a little bit slower, but it'll be created a lot faster. 125 00:05:36,870 --> 00:05:38,310 It is completely up to you. 126 00:05:38,310 --> 00:05:40,020 In this case, I will simply just go 127 00:05:40,020 --> 00:05:42,843 with dynamically allocated and I will click on next. 128 00:05:44,370 --> 00:05:48,480 And here is where we choose the virtual hard disk size 129 00:05:48,480 --> 00:05:50,070 and the file location. 130 00:05:50,070 --> 00:05:51,840 So here you can change the location 131 00:05:51,840 --> 00:05:55,983 of your virtual hard disk or simply of your virtual machine. 132 00:05:57,030 --> 00:06:00,300 And down here you can select how much gigabytes 133 00:06:00,300 --> 00:06:02,370 you want to give to your virtual machine 134 00:06:02,370 --> 00:06:03,603 to use as a hard disk. 135 00:06:04,680 --> 00:06:07,080 It's said before that eight gigabytes is recommended 136 00:06:07,080 --> 00:06:11,520 but I would advise you to not go below 20 gigabytes. 137 00:06:11,520 --> 00:06:12,840 For the purposes of this course, 138 00:06:12,840 --> 00:06:15,090 I will even go up to 30 gigabytes 139 00:06:15,090 --> 00:06:17,520 but you don't really have to, if you don't want. 140 00:06:17,520 --> 00:06:19,380 Just keep in mind that you might be using 141 00:06:19,380 --> 00:06:21,870 this machine later on even after this course 142 00:06:21,870 --> 00:06:23,700 and you might be downloading more and more files. 143 00:06:23,700 --> 00:06:26,850 So if you can make sure to give it more 144 00:06:26,850 --> 00:06:28,233 than it is recommended. 145 00:06:29,250 --> 00:06:31,170 Once you select your hard disk size, 146 00:06:31,170 --> 00:06:32,570 you want to click on create, 147 00:06:34,200 --> 00:06:36,690 and this will create our virtual machine. 148 00:06:36,690 --> 00:06:39,690 As you can see right here, we got Kali Linux added 149 00:06:39,690 --> 00:06:43,053 and here are all of the details about our Virtual Machine. 150 00:06:44,370 --> 00:06:46,020 Before we proceed and start it, 151 00:06:46,020 --> 00:06:48,810 there is only one more thing that we want to do. 152 00:06:48,810 --> 00:06:52,920 Remember this ISO image or this operating system? 153 00:06:52,920 --> 00:06:56,040 We need to somehow add it to our virtual machine 154 00:06:56,040 --> 00:06:59,190 so that once we install the operating system, 155 00:06:59,190 --> 00:07:01,350 it knows which one to install. 156 00:07:01,350 --> 00:07:04,620 So to do that, we navigate back to VirtualBox. 157 00:07:04,620 --> 00:07:08,283 We select the virtual machine and we click on settings. 158 00:07:09,960 --> 00:07:10,793 Now, you will notice 159 00:07:10,793 --> 00:07:12,840 that there are a bunch of settings right here 160 00:07:12,840 --> 00:07:15,240 which we are going to explain later on, 161 00:07:15,240 --> 00:07:18,600 but for now on, you want to navigate to the storage 162 00:07:18,600 --> 00:07:20,370 and here is where we want to add 163 00:07:20,370 --> 00:07:23,220 our ISO image of Kali Linux. 164 00:07:23,220 --> 00:07:26,320 To do that, we want to go to this controller IDE 165 00:07:27,210 --> 00:07:28,800 and this empty part, 166 00:07:28,800 --> 00:07:32,190 we want to right click and remove attachment. 167 00:07:32,190 --> 00:07:34,560 It'll ask us are we sure that we want to delete it? 168 00:07:34,560 --> 00:07:37,830 We click on remove, and after it, 169 00:07:37,830 --> 00:07:42,360 we want to click on this disc shape with a plus. 170 00:07:42,360 --> 00:07:44,130 Just click on it 171 00:07:44,130 --> 00:07:46,320 and it'll open up this smaller window, 172 00:07:46,320 --> 00:07:47,760 where we want to find 173 00:07:47,760 --> 00:07:51,270 our Kali Linux ISO image and select it. 174 00:07:51,270 --> 00:07:53,310 In case you don't see it right here, 175 00:07:53,310 --> 00:07:54,610 you want to click on add 176 00:07:56,400 --> 00:07:59,910 and you can simply just find it on your machine. 177 00:07:59,910 --> 00:08:02,580 In my case, as we can see, it is right here 178 00:08:02,580 --> 00:08:05,520 in the download section, but in your case, 179 00:08:05,520 --> 00:08:07,170 if you moved it to a desktop, 180 00:08:07,170 --> 00:08:09,363 it'll probably be on desktop as well. 181 00:08:10,200 --> 00:08:11,940 Since I have it in both locations 182 00:08:11,940 --> 00:08:14,820 I will select the desktop one, double click it 183 00:08:14,820 --> 00:08:17,433 and you will see it being added right here. 184 00:08:18,270 --> 00:08:21,033 Then you select it here and click on choose. 185 00:08:22,680 --> 00:08:25,110 You should see it being added right here 186 00:08:25,110 --> 00:08:26,820 under the controller IDE. 187 00:08:26,820 --> 00:08:30,330 As it says Kali Linux 2020.2, 188 00:08:30,330 --> 00:08:33,153 and once you see it, you can simply just click on OK. 189 00:08:34,080 --> 00:08:36,690 And now our virtual machine is fully created. 190 00:08:36,690 --> 00:08:38,820 All we are left to do in the next video is 191 00:08:38,820 --> 00:08:41,850 to install the Kali Linux operating system. 192 00:08:41,850 --> 00:08:43,860 After that, we're going to be ready 193 00:08:43,860 --> 00:08:45,363 to use our hacking machine.