1 00:00:00,330 --> 00:00:02,400 ‫Instructor: Hi, within this lecture, 2 00:00:02,400 --> 00:00:07,020 ‫we're gonna install VirtualBox, in our MacOS machines. 3 00:00:07,020 --> 00:00:08,430 ‫So if you're using a device, 4 00:00:08,430 --> 00:00:10,612 ‫that uses MacOS operating system, 5 00:00:10,612 --> 00:00:13,770 ‫then it's great like a MacBook or something like that, 6 00:00:13,770 --> 00:00:15,150 ‫because in the previous lecture, 7 00:00:15,150 --> 00:00:17,790 ‫we have installed the VirtualBox for Windows. 8 00:00:17,790 --> 00:00:20,670 ‫Now we're gonna do it for MacOS users, okay? 9 00:00:20,670 --> 00:00:24,210 ‫So if you're not a MacOS user, just skip this lecture. 10 00:00:24,210 --> 00:00:26,790 ‫Now, why we are using the VirtualBox, 11 00:00:26,790 --> 00:00:30,810 ‫because as I previously mentioned, we need virtual machines, 12 00:00:30,810 --> 00:00:32,910 ‫in order to use the Kali Linux 13 00:00:32,910 --> 00:00:35,640 ‫or other operating systems during the course 14 00:00:35,640 --> 00:00:37,110 ‫and the best way to do that, 15 00:00:37,110 --> 00:00:40,260 ‫is use something called VirtualBox, okay? 16 00:00:40,260 --> 00:00:43,230 ‫So VirtualBox is not the only alternative over here. 17 00:00:43,230 --> 00:00:44,940 ‫It's not the only option. 18 00:00:44,940 --> 00:00:48,300 ‫It has alternatives such as VMware, 19 00:00:48,300 --> 00:00:50,280 ‫but we are not gonna be using them, 20 00:00:50,280 --> 00:00:52,860 ‫because VirtualBox is the most popular one 21 00:00:52,860 --> 00:00:54,840 ‫and also it's free, okay? 22 00:00:54,840 --> 00:00:57,060 ‫Now we are not gonna pay anything. 23 00:00:57,060 --> 00:00:59,880 ‫And of course if you are using VMware 24 00:00:59,880 --> 00:01:03,540 ‫or any other it's virtualization system, 25 00:01:03,540 --> 00:01:05,490 ‫before for some reason, 26 00:01:05,490 --> 00:01:08,070 ‫of course you can continue to use them, 27 00:01:08,070 --> 00:01:11,040 ‫but if you're hearing this about the first time, 28 00:01:11,040 --> 00:01:13,140 ‫then just follow along with me, 29 00:01:13,140 --> 00:01:14,700 ‫install the VirtualBox 30 00:01:14,700 --> 00:01:16,530 ‫and all you gotta do is just, 31 00:01:16,530 --> 00:01:19,740 ‫search for VirtualBox over here in Google, okay? 32 00:01:19,740 --> 00:01:22,680 ‫And it will just take you to the official website, 33 00:01:22,680 --> 00:01:27,680 ‫of the VirtualBox, which is the VirtualBox.org anyway, okay? 34 00:01:27,840 --> 00:01:31,144 ‫So VirtualBox.org is the official website. 35 00:01:31,144 --> 00:01:34,590 ‫So VirtualBox is actually made by Oracle. 36 00:01:34,590 --> 00:01:37,039 ‫So maybe you have heard them before. 37 00:01:37,039 --> 00:01:40,200 ‫They're a company, a big company, they sell products, 38 00:01:40,200 --> 00:01:42,630 ‫but they do not sell the VirtualBox, okay? 39 00:01:42,630 --> 00:01:43,890 ‫It's for free. 40 00:01:43,890 --> 00:01:45,930 ‫Now, that is the primary reason, 41 00:01:45,930 --> 00:01:47,790 ‫why we are using the VirtualBox, 42 00:01:47,790 --> 00:01:50,580 ‫but also VirtualBox is a very stable, 43 00:01:50,580 --> 00:01:53,228 ‫it's a very good tool, so why not? 44 00:01:53,228 --> 00:01:56,310 ‫So all you gotta do is just find the download section, 45 00:01:56,310 --> 00:02:00,270 ‫of course, this pictures and stuff can change in over time, 46 00:02:00,270 --> 00:02:02,580 ‫but there will be a download section 47 00:02:02,580 --> 00:02:05,940 ‫and you get to choose your own operating system, 48 00:02:05,940 --> 00:02:07,530 ‫but you got to be aware that, 49 00:02:07,530 --> 00:02:12,530 ‫we have a MacOS for Intel host and MacOS for ARM 64 hosts. 50 00:02:13,800 --> 00:02:17,280 ‫So if you're using an M1, M2, M3 chips, 51 00:02:17,280 --> 00:02:19,620 ‫then you got to choose it wisely, okay? 52 00:02:19,620 --> 00:02:22,680 ‫If you're using an Intel chipped MacBook, 53 00:02:22,680 --> 00:02:24,780 ‫then you just go for that one. 54 00:02:24,780 --> 00:02:28,290 ‫If you are using an M1 or M2 or other things, 55 00:02:28,290 --> 00:02:30,780 ‫then you gotta go for that one. 56 00:02:30,780 --> 00:02:34,200 ‫They both, they're going to be both downloading, 57 00:02:34,200 --> 00:02:36,420 ‫some like a DMG file 58 00:02:36,420 --> 00:02:39,600 ‫and the installation process will be exactly the same, 59 00:02:39,600 --> 00:02:41,850 ‫for the both of them okay? 60 00:02:41,850 --> 00:02:45,120 ‫So choose your own operating system. 61 00:02:45,120 --> 00:02:47,160 ‫Of course, they're all MacOS, 62 00:02:47,160 --> 00:02:49,680 ‫choose your own hardware, okay? 63 00:02:49,680 --> 00:02:52,260 ‫So rather Intel or M1 and M2 64 00:02:52,260 --> 00:02:55,200 ‫and just click on it and download the thing. 65 00:02:55,200 --> 00:02:56,254 ‫And after that, 66 00:02:56,254 --> 00:02:59,667 ‫you're gonna have to find the extension pack over here 67 00:02:59,667 --> 00:03:02,520 ‫and it's going to be the same for all platforms, 68 00:03:02,520 --> 00:03:06,450 ‫including Windows and Linux and M1, M2, Intel, 69 00:03:06,450 --> 00:03:08,910 ‫just download it, okay? 70 00:03:08,910 --> 00:03:10,770 ‫And I have downloaded them before, 71 00:03:10,770 --> 00:03:12,480 ‫in order not to make you wait, 72 00:03:12,480 --> 00:03:16,710 ‫but they are something like 100 megabytes and 25 megabytes. 73 00:03:16,710 --> 00:03:19,465 ‫So it's going to be very quick for you as well. 74 00:03:19,465 --> 00:03:23,640 ‫Most probably it has been downloaded by now. 75 00:03:23,640 --> 00:03:26,220 ‫Now all you gotta do is just install it, okay? 76 00:03:26,220 --> 00:03:27,480 ‫It's pretty easy. 77 00:03:27,480 --> 00:03:29,220 ‫And it's the same for M1, M2 78 00:03:29,220 --> 00:03:32,250 ‫and the other Intel chips as well. 79 00:03:32,250 --> 00:03:35,730 ‫All you gotta do is just double click on the DMG file, 80 00:03:35,730 --> 00:03:40,410 ‫the VirtualBox first of all and then the extension pack. 81 00:03:40,410 --> 00:03:43,080 ‫Now first of all, we are gonna be using the VirtualBox, 82 00:03:43,080 --> 00:03:45,664 ‫because this extension pack is actually, 83 00:03:45,664 --> 00:03:49,800 ‫an extension helper functions, helper tools, 84 00:03:49,800 --> 00:03:51,180 ‫helper softwares, 85 00:03:51,180 --> 00:03:54,750 ‫in order for us to enable something like, 86 00:03:54,750 --> 00:03:58,470 ‫it connecting a USB device to our virtual machine, 87 00:03:58,470 --> 00:03:59,670 ‫we are gonna need it. 88 00:03:59,670 --> 00:04:03,960 ‫But of course, first of all, we need the VirtualBox. 89 00:04:03,960 --> 00:04:06,657 ‫So what I'm gonna do, I'm just gonna open it, okay? 90 00:04:06,657 --> 00:04:10,200 ‫You can right click and say open or just double click on it. 91 00:04:10,200 --> 00:04:12,750 ‫It will just guide you through it. 92 00:04:12,750 --> 00:04:16,080 ‫So as you can see, it says that double click on this icon. 93 00:04:16,080 --> 00:04:17,520 ‫Great, I'm gonna do that. 94 00:04:17,520 --> 00:04:19,210 ‫I'm just gonna double click on it. 95 00:04:19,210 --> 00:04:22,260 ‫It'll create a setup visit for me. 96 00:04:22,260 --> 00:04:24,810 ‫I'm just gonna say continue and install. 97 00:04:24,810 --> 00:04:26,670 ‫It will ask me for my password. 98 00:04:26,670 --> 00:04:30,810 ‫And this password is the password of your computer, okay? 99 00:04:30,810 --> 00:04:35,100 ‫And just give it and it'll just install it for you. 100 00:04:35,100 --> 00:04:38,340 ‫It's very cool, actually, it's already been done for us. 101 00:04:38,340 --> 00:04:40,061 ‫So I'm just gonna close this 102 00:04:40,061 --> 00:04:42,420 ‫and then close this down as well. 103 00:04:42,420 --> 00:04:45,330 ‫Of course it will land in the applications folder. 104 00:04:45,330 --> 00:04:48,390 ‫You can open the applications folder from here 105 00:04:48,390 --> 00:04:50,400 ‫or you can open your launchpad 106 00:04:50,400 --> 00:04:53,430 ‫and just find the VirtualBox here, okay? 107 00:04:53,430 --> 00:04:55,680 ‫It should be something around here. 108 00:04:55,680 --> 00:04:57,055 ‫So let me see. 109 00:04:57,055 --> 00:04:58,110 ‫Yeah, here you go. 110 00:04:58,110 --> 00:04:59,250 ‫I see the VirtualBox. 111 00:04:59,250 --> 00:05:00,810 ‫I can click over here 112 00:05:00,810 --> 00:05:04,980 ‫or I can hit command and space and then search for it. 113 00:05:04,980 --> 00:05:07,650 ‫So whatever you do, just find the VirtualBox 114 00:05:07,650 --> 00:05:09,630 ‫and click on it and open it. 115 00:05:09,630 --> 00:05:13,260 ‫Great, now VirtualBox looks something like that, 116 00:05:13,260 --> 00:05:16,320 ‫but obviously I have used VirtualBox before, 117 00:05:16,320 --> 00:05:19,080 ‫that's why I have some virtual machines, 118 00:05:19,080 --> 00:05:20,730 ‫on the left hand side. 119 00:05:20,730 --> 00:05:23,430 ‫Most probably you won't see any of them, 120 00:05:23,430 --> 00:05:26,700 ‫you will see an empty list with a screen like this. 121 00:05:26,700 --> 00:05:31,700 ‫It's okay because we will be installing them shortly, okay? 122 00:05:32,070 --> 00:05:35,310 ‫Now this is what we will see, 123 00:05:35,310 --> 00:05:37,560 ‫once we install the virtual machines, 124 00:05:37,560 --> 00:05:39,300 ‫it is pretty easy. 125 00:05:39,300 --> 00:05:42,570 ‫Now I'm gonna eject this installation wizard, okay? 126 00:05:42,570 --> 00:05:46,260 ‫And even you can delete the installation file, 127 00:05:46,260 --> 00:05:48,000 ‫setup file if you want. 128 00:05:48,000 --> 00:05:49,380 ‫Okay, I'm just gonna delete it. 129 00:05:49,380 --> 00:05:51,651 ‫I'm not gonna be using it anymore. 130 00:05:51,651 --> 00:05:55,140 ‫And then we need to install the extension pack. 131 00:05:55,140 --> 00:05:58,410 ‫Now, the easiest way to install the extension pack, 132 00:05:58,410 --> 00:06:01,410 ‫is just to double click on it and it will ask you, 133 00:06:01,410 --> 00:06:04,350 ‫it'll open up in the VirtualBox itself 134 00:06:04,350 --> 00:06:06,780 ‫and it'll ask you to install it, okay? 135 00:06:06,780 --> 00:06:09,510 ‫Just read the license and say, I agree. 136 00:06:09,510 --> 00:06:12,540 ‫And of course we're gonna have to give our password. 137 00:06:12,540 --> 00:06:14,190 ‫And here you go. 138 00:06:14,190 --> 00:06:16,620 ‫Now it's already been installed, 139 00:06:16,620 --> 00:06:20,040 ‫but in some cases sometimes you double click on it, 140 00:06:20,040 --> 00:06:21,030 ‫I'm just gonna delete it, 141 00:06:21,030 --> 00:06:23,610 ‫but if you come across any problem, 142 00:06:23,610 --> 00:06:25,290 ‫such as you double click on it 143 00:06:25,290 --> 00:06:27,720 ‫and it doesn't open in the VirtualBox, 144 00:06:27,720 --> 00:06:30,300 ‫then you get to install it manually, okay? 145 00:06:30,300 --> 00:06:32,310 ‫Let me show you how to do that. 146 00:06:32,310 --> 00:06:37,310 ‫There are a couple of ways to approach the extensions tab. 147 00:06:37,950 --> 00:06:40,620 ‫So first of all you need to click over here 148 00:06:40,620 --> 00:06:42,750 ‫and find the extensions, that's it, 149 00:06:42,750 --> 00:06:44,670 ‫click over here to this icon 150 00:06:44,670 --> 00:06:48,120 ‫and find the extensions and click on the add button 151 00:06:48,120 --> 00:06:51,990 ‫and then add the extension that you have downloaded 152 00:06:51,990 --> 00:06:54,420 ‫and it will be installed over here. 153 00:06:54,420 --> 00:06:57,330 ‫If you cannot see the extensions in this menu, 154 00:06:57,330 --> 00:07:01,005 ‫maybe you can go over here and find the preferences, 155 00:07:01,005 --> 00:07:03,900 ‫maybe it's listed in here, okay? 156 00:07:03,900 --> 00:07:07,350 ‫Maybe you can see the extensions in this settings page, 157 00:07:07,350 --> 00:07:09,990 ‫but they're kind of two settings page over here, 158 00:07:09,990 --> 00:07:12,330 ‫one of them is the preferences 159 00:07:12,330 --> 00:07:16,740 ‫and the other one is this tree that icon menu. 160 00:07:16,740 --> 00:07:20,247 ‫And if you find the extensions from either of them, 161 00:07:20,247 --> 00:07:21,630 ‫that is great. 162 00:07:21,630 --> 00:07:24,480 ‫Now next thing to do is just find the network. 163 00:07:24,480 --> 00:07:28,110 ‫Here you go, I see the network over here in this menu, okay? 164 00:07:28,110 --> 00:07:32,130 ‫Maybe it's located under preferences in your case, 165 00:07:32,130 --> 00:07:34,890 ‫but most probably you will see them, 166 00:07:34,890 --> 00:07:37,585 ‫in the exact same place that I see mine. 167 00:07:37,585 --> 00:07:39,810 ‫Now after I open the network, 168 00:07:39,810 --> 00:07:43,170 ‫we should switch to the NAT Network tab, 169 00:07:43,170 --> 00:07:46,950 ‫and that is where we are going to be creating a NAT Network. 170 00:07:46,950 --> 00:07:49,320 ‫So let me remove the older ones 171 00:07:49,320 --> 00:07:52,500 ‫and I'm gonna explain what a NAT Network is, don't worry. 172 00:07:52,500 --> 00:07:54,330 ‫We are gonna create a NAT Network, 173 00:07:54,330 --> 00:07:58,680 ‫it will create virtual network in our VirtualBox. 174 00:07:58,680 --> 00:08:03,680 ‫So we can use the internet in our virtual machines, 175 00:08:04,170 --> 00:08:06,390 ‫using the host machine internet. 176 00:08:06,390 --> 00:08:10,080 ‫And also we can create a virtual NAT, 177 00:08:10,080 --> 00:08:13,320 ‫that we can connect the virtual machines together, 178 00:08:13,320 --> 00:08:15,150 ‫so we can simulate some attacks, 179 00:08:15,150 --> 00:08:17,610 ‫we can hack one machine from another. 180 00:08:17,610 --> 00:08:19,620 ‫So we are gonna be using the NAT Network, 181 00:08:19,620 --> 00:08:22,590 ‫throughout the course and it's very easy to create one, 182 00:08:22,590 --> 00:08:24,960 ‫all you gotta do, make sure you go to NAT Networks 183 00:08:24,960 --> 00:08:28,080 ‫and hit on the create button and that's it. 184 00:08:28,080 --> 00:08:30,300 ‫It's already been created for you. 185 00:08:30,300 --> 00:08:31,380 ‫Of course, we are gonna see, 186 00:08:31,380 --> 00:08:33,600 ‫how to connect this NAT Network, 187 00:08:33,600 --> 00:08:36,390 ‫to one of the virtual machines later on. 188 00:08:36,390 --> 00:08:38,130 ‫But all you gotta do just right now, 189 00:08:38,130 --> 00:08:40,320 ‫is to create this NAT Network. 190 00:08:40,320 --> 00:08:42,240 ‫Make sure you create it. 191 00:08:42,240 --> 00:08:43,138 ‫And that's it. 192 00:08:43,138 --> 00:08:45,630 ‫Maybe one last thing I can show you, 193 00:08:45,630 --> 00:08:49,067 ‫is to come over here to the preferences 194 00:08:49,067 --> 00:08:51,480 ‫and go to the language tab. 195 00:08:51,480 --> 00:08:54,090 ‫So if you want, you can change the language, 196 00:08:54,090 --> 00:08:55,885 ‫of the VirtualBox, okay? 197 00:08:55,885 --> 00:08:57,600 ‫I don't recommend it, 198 00:08:57,600 --> 00:09:00,030 ‫but maybe you're not a native English speaker, 199 00:09:00,030 --> 00:09:01,650 ‫so you can just come over here 200 00:09:01,650 --> 00:09:03,960 ‫and choose your own native language. 201 00:09:03,960 --> 00:09:05,850 ‫Why I don't recommend it, 202 00:09:05,850 --> 00:09:09,167 ‫because most of the documentation, most of the knowledge, 203 00:09:09,167 --> 00:09:13,380 ‫about the VirtualBox in internet is in English. 204 00:09:13,380 --> 00:09:15,750 ‫So if you want to search something, 205 00:09:15,750 --> 00:09:19,830 ‫most probably you will see some phrases, terms in English. 206 00:09:19,830 --> 00:09:21,948 ‫It can be a little bit confusing, 207 00:09:21,948 --> 00:09:26,130 ‫when you use the VirtualBox in another language, okay? 208 00:09:26,130 --> 00:09:27,643 ‫But that's all you gotta do. 209 00:09:27,643 --> 00:09:29,970 ‫Now the easy part is over. 210 00:09:29,970 --> 00:09:32,460 ‫Now we're gonna move on to the hard part, 211 00:09:32,460 --> 00:09:34,500 ‫which is installing the Kali Linux 212 00:09:34,500 --> 00:09:37,890 ‫or other operating systems in our virtual machine. 213 00:09:37,890 --> 00:09:40,200 ‫And we're just gonna run them 214 00:09:40,200 --> 00:09:41,430 ‫and if it doesn't run, 215 00:09:41,430 --> 00:09:44,940 ‫then we're gonna be doing a lot of problem solving 216 00:09:44,940 --> 00:09:46,950 ‫and I think you're ready for it. 217 00:09:46,950 --> 00:09:49,560 ‫Now if you come to this place, then it's great. 218 00:09:49,560 --> 00:09:51,000 ‫Now we're gonna stop here 219 00:09:51,000 --> 00:09:53,433 ‫and continue within the next one together.