1 00:00:00,830 --> 00:00:05,510 Now throughout the course we're going to be using a number of penetration testing tools. 2 00:00:05,510 --> 00:00:11,720 You can go ahead and install each of these tools manually or you can do what Most testers do including 3 00:00:11,720 --> 00:00:17,820 myself and save time and effort and use an operating system designed for Hocken. 4 00:00:17,900 --> 00:00:23,450 We're going to be using an operating system called Kalli Linux and it's just a flavor of Linux based 5 00:00:23,450 --> 00:00:29,150 on Debian and it comes in with all the programs and the applications that we need to use pre-installed 6 00:00:29,380 --> 00:00:30,660 and pre-configured. 7 00:00:30,710 --> 00:00:35,660 This means that we can just install this operating system and then start learning our hacking. 8 00:00:36,780 --> 00:00:38,710 There are two options to install. 9 00:00:38,850 --> 00:00:44,700 You can install it as a virtual machine inside your current operating system or you can install it as 10 00:00:44,700 --> 00:00:47,630 a main machine as a main operating system. 11 00:00:49,090 --> 00:00:53,950 Throughout the course I'm actually going to be using it as a virtual machine because using it as a virtual 12 00:00:53,950 --> 00:00:59,980 machine works exactly the same as installing it as a main machine because it will be completely isolated 13 00:01:00,010 --> 00:01:03,490 from your computer because it's only going to run inside virtual box. 14 00:01:03,490 --> 00:01:07,680 So if you break it or if you mess things up it's very very easy to fix. 15 00:01:07,690 --> 00:01:15,250 It's very easy to go back to other snapshots other configurations and also you won't lose any functionality 16 00:01:15,400 --> 00:01:17,800 by using it as a virtual machine. 17 00:01:17,800 --> 00:01:20,540 That's why I always use it as a virtual machine. 18 00:01:20,660 --> 00:01:26,580 And this lecture I'm going to cover how to install it as a virtual machine inside virtual box. 19 00:01:26,590 --> 00:01:32,560 Now I'm going to be doing the steps on a Mac OS X computer but these steps are exactly the same regardless 20 00:01:32,620 --> 00:01:34,590 of what operating system you use. 21 00:01:34,600 --> 00:01:40,050 So if you're on Windows or on Linux you just have to download the Virtual Box version of your computer 22 00:01:40,450 --> 00:01:44,040 and then the steps shown in this lecture are exactly the same. 23 00:01:44,050 --> 00:01:50,840 After installing virtual box so I'm going through the download link in the resources of this lecture. 24 00:01:50,920 --> 00:01:53,260 I have it already opened in here. 25 00:01:53,260 --> 00:01:56,010 All you have to do is just scroll down. 26 00:01:56,170 --> 00:02:02,610 Make sure you click on the column the next virtual box image is not on the VM where and then download 27 00:02:02,880 --> 00:02:06,140 the version of Karlee that's compatible with your system. 28 00:02:06,150 --> 00:02:13,260 So if you have a 64 bit computer download the 64 bits if if you have the 32 bit standard 32 bits now 29 00:02:13,260 --> 00:02:19,670 one click on this will start to download for you if you're use an Internet Explorer or edge browser 30 00:02:19,980 --> 00:02:25,560 then you're going to have to right click and save target as on Chrome and Firefox you can just click 31 00:02:25,560 --> 00:02:26,870 the link. 32 00:02:26,880 --> 00:02:33,440 Now this is downloading for me and I'm going to stop it because I've already downloaded so I already 33 00:02:33,440 --> 00:02:35,060 have it downloaded in here. 34 00:02:35,390 --> 00:02:41,900 And as you can see you should get a file with a dot over the extension so you have the name followed 35 00:02:41,900 --> 00:02:44,050 by dot or the A in here. 36 00:02:44,630 --> 00:02:51,960 So to solve this in a virtual box all you have to do is literally just double click the file. 37 00:02:52,160 --> 00:02:58,550 And as you can see I get a window which will allow me to import this virtual machine. 38 00:02:58,570 --> 00:03:08,220 Now I'm going to keep everything the same for now and I'm just going to click on import. 39 00:03:08,280 --> 00:03:11,220 Now that said the virtual machine is ready to be used. 40 00:03:11,280 --> 00:03:15,970 Now before I started I want to show you how to modify some of its settings. 41 00:03:16,170 --> 00:03:22,310 So we're going to click on it then we're going to click on the settings in here and the first thing 42 00:03:22,310 --> 00:03:28,040 that I'm going to do I'm going to go to System and I'm going to modify the amount of RAM it has now 43 00:03:28,040 --> 00:03:31,400 dependent on how much total RAM you have on your computer. 44 00:03:31,550 --> 00:03:37,110 You can leave this at two if you want but one gigabyte is enough for caddy. 45 00:03:37,160 --> 00:03:43,190 I usually leave it at two because I have 16 gigs of RAM but if you have less one gigabyte is enough 46 00:03:43,190 --> 00:03:43,740 for it. 47 00:03:44,840 --> 00:03:47,330 Also a few come here on the processors. 48 00:03:47,540 --> 00:03:48,780 You'll see that by default. 49 00:03:48,800 --> 00:03:51,260 I have two processors assigned to it. 50 00:03:51,350 --> 00:03:53,540 Again I have eight use. 51 00:03:53,540 --> 00:03:58,190 So two is not going to cause too much pressure on my computer. 52 00:03:58,280 --> 00:04:06,370 If you have less once is enough for Kalli now we're going to go to the network settings and we're going 53 00:04:06,370 --> 00:04:11,950 to set this to use and that network. 54 00:04:11,990 --> 00:04:17,180 Now sometimes when you set this to a network you want see a network name in here. 55 00:04:17,480 --> 00:04:24,250 If you don't please check out my link in the resources and it'll show you how to create an ad network. 56 00:04:24,260 --> 00:04:28,150 For me it already has a network so I'm going to keep it on this one. 57 00:04:28,330 --> 00:04:35,140 And what the setting basically does is it's going to create a virtual network where my host machine 58 00:04:35,140 --> 00:04:42,040 which is my Mac OS X computer in here is going to be the router for this network and then all the virtual 59 00:04:42,040 --> 00:04:45,570 machines are going to be clients connected to this network. 60 00:04:46,450 --> 00:04:52,480 So they're going to get Internet connection from my host machine and at the same time all of my virtual 61 00:04:52,480 --> 00:04:55,410 machines will be connected to a virtual network. 62 00:04:55,420 --> 00:05:00,330 This is very handy because my virtual machines will be able to communicate with each other. 63 00:05:00,430 --> 00:05:02,660 We can use one of them to hack into the other. 64 00:05:02,770 --> 00:05:06,310 We can use it to test networks attacks and much more. 65 00:05:06,460 --> 00:05:10,770 So it will first allow my virtual machines to have Internet connection. 66 00:05:10,780 --> 00:05:16,840 It'll also allow them to communicate with each other and it'll do all of this through a virtual network. 67 00:05:16,840 --> 00:05:21,420 It will not use any of your wireless adapters or any of your wireless cards. 68 00:05:21,440 --> 00:05:23,960 It will create a virtual Internet network. 69 00:05:24,070 --> 00:05:29,980 So as far as the virtual machine is concerned they're going to think that they're connected to a to 70 00:05:30,150 --> 00:05:33,420 a network through a wire. 71 00:05:33,500 --> 00:05:37,590 So that's it I'm done with my settings right now and I'm going to click on OK. 72 00:05:39,700 --> 00:05:45,160 And we can start our virtual machine not to start it all we have to do is just click on the start button 73 00:05:45,160 --> 00:05:46,020 in here. 74 00:05:47,450 --> 00:05:51,070 Now I'm going to click inside the virtual machine and hit enter. 75 00:05:55,850 --> 00:05:58,300 And we are inside the virtual machine. 76 00:05:58,460 --> 00:06:04,900 Now if you followed everything that I did so far started carefully and got stuck at a black screen. 77 00:06:04,940 --> 00:06:09,650 So if you did not get the screen that I have right now then don't worry about that. 78 00:06:09,680 --> 00:06:15,710 This is a common issue and I've included a link in the resources of this lecture that shows how to fix 79 00:06:15,710 --> 00:06:17,000 this issue. 80 00:06:17,180 --> 00:06:23,420 You can access the resources of this lecture or any lecture by clicking on the resources icon on the 81 00:06:23,420 --> 00:06:29,680 top left of the player if you follow all of the steps shown in the link and you're still stuck at this 82 00:06:29,680 --> 00:06:36,970 issue or if you're getting a different issue then please post this issue in the Q&A section and we'll 83 00:06:36,970 --> 00:06:41,140 respond to you within 15 hours and help you to fix this issue. 84 00:06:42,330 --> 00:06:46,290 Now it's asking us for the username and the default username is route. 85 00:06:46,320 --> 00:06:54,680 So our O.T. and then asking us for the password and the default password is the reverse of that which 86 00:06:54,680 --> 00:06:56,060 is t o r 87 00:07:01,320 --> 00:07:01,900 and that's it. 88 00:07:01,900 --> 00:07:07,060 Now I'm inside my virtual machine now since we installed this using the ready image. 89 00:07:07,180 --> 00:07:14,840 We can just click on this on the green button here or we can go to View full screen and we'll be able 90 00:07:14,840 --> 00:07:20,310 to go and full screen and the screen will resize automatically to the size of our screen. 91 00:07:21,990 --> 00:07:29,280 Now note in here you should actually see a network icon because we set this machine to use that network. 92 00:07:29,550 --> 00:07:35,450 Since we don't have a network icon This means that this machine didn't get connected to the Nat network. 93 00:07:35,490 --> 00:07:44,590 So if I open my browser in here you'll see that it's not connected to the Internet to fix this issue. 94 00:07:44,590 --> 00:07:47,320 We're just going to go all the way to the top. 95 00:07:47,350 --> 00:07:49,380 This is going to display our menus. 96 00:07:49,420 --> 00:07:58,650 We're going to go to devices network and we're going to click on Connect network adapter you only have 97 00:07:58,650 --> 00:08:04,200 to do this once and then the virtual machine will automatically connect to the network. 98 00:08:04,200 --> 00:08:08,760 Now once you do this if you give it a few seconds you'll see that I have a network icon appearing in 99 00:08:08,760 --> 00:08:09,570 here. 100 00:08:09,810 --> 00:08:14,550 And if I click it you'll see it looks like I'm connected to a wired network. 101 00:08:14,550 --> 00:08:17,180 As you can see in here it says wired connected. 102 00:08:17,310 --> 00:08:20,810 So Cali thinks it's connected to a wired network. 103 00:08:21,860 --> 00:08:27,730 Now if I just click try again in my browser you'll see that I have internet access. 104 00:08:27,970 --> 00:08:28,780 So that's it. 105 00:08:28,840 --> 00:08:33,090 That shows how to install Calin acts as a virtual machine. 106 00:08:33,100 --> 00:08:35,770 Don't be intimidated by this new operating system. 107 00:08:35,770 --> 00:08:39,820 We're going to go through the basics and we're going to use it a lot and it's actually going to become 108 00:08:39,820 --> 00:08:42,070 very easy for you to use. 109 00:08:42,190 --> 00:08:48,760 Also like I said you want to use any functionality when you install Linux as a virtual machine it's 110 00:08:48,760 --> 00:08:54,100 actually better to install it as a virtual machine because it's completely isolated from your computer 111 00:08:54,430 --> 00:08:57,360 and it'll be very easy to fix if things go wrong. 112 00:08:58,170 --> 00:09:03,540 Keep in mind installing this on different hardware and different computers might show you some errors 113 00:09:03,540 --> 00:09:04,480 on some issues. 114 00:09:04,500 --> 00:09:09,270 So please if you have any errors just add them in the discussions and I'll help you resolve them.