{"id":18818137,"url":"https://github.com/helloimkevo/ethicalhackingcloud","last_synced_at":"2026-02-13T04:03:31.229Z","repository":{"id":239370580,"uuid":"799348437","full_name":"HelloImKevo/EthicalHackingCloud","owner":"HelloImKevo","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-12T17:25:12.000Z","size":230,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-26T08:02:28.077Z","etag":null,"topics":["kali-linux","udemy-course"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HelloImKevo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-11T21:32:30.000Z","updated_at":"2025-02-22T16:58:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"34b1aa06-c212-4854-8534-d199e1662ca6","html_url":"https://github.com/HelloImKevo/EthicalHackingCloud","commit_stats":null,"previous_names":["helloimkevo/ethicalhackingcloud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HelloImKevo/EthicalHackingCloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FEthicalHackingCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FEthicalHackingCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FEthicalHackingCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FEthicalHackingCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelloImKevo","download_url":"https://codeload.github.com/HelloImKevo/EthicalHackingCloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloImKevo%2FEthicalHackingCloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192670,"owners_count":24889452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kali-linux","udemy-course"],"created_at":"2024-11-08T00:15:07.586Z","updated_at":"2026-02-13T04:03:31.151Z","avatar_url":"https://github.com/HelloImKevo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ethical Hacking Using the Cloud\n\n## Installing Kali Linux on AWS\n\nThe first operating system that we're going to install is Kali Linux.\n\nSee, throughout the course we're going to use a number of hacking tools.\nYou can install each of these tools manually.\n\nOr you can do what most hackers do, including myself, and save time and effort \nand use an operating system designed for hacking.\n\nWe're going to use an operating system called Kali Linux. It's a Linux distro \nbased on Debian, and the only difference between Kali and the actual original \nDebian Linux distro is the fact that Kali has a lot of hacking and penetration \ntesting tools, pre-installed and pre-configured in it.\n\nTherefore, once you install Kali, you will have access to so many hacking tools \nwithout the need to install or configure any of them, which will save you a lot \nof time and a lot of effort.\n\nThis is your home, your control panel to your Amazon Cloud account. So we're \ngoing to scroll down. And in here it's giving you a number of options to build \na solution.\n\nAnd the first one is to launch a virtual machine, which is what we want to do.\nWe want to start a Kali machine. So let's open this in a new tab.\n\nAnd even though this looks pretty cluttered and it might seem complex, it's\nactually very, very simple. Basically, first of all, it's asking you to give a \nname to this computer, to this virtual machine\n\nthat you're going to create, and let's call it Kali, because it's going to be a \nKali machine. And if you scroll down, it's giving you the application or the OS, \nthe operating system that you want to start.\n\nSo in here, it's giving you a nice slider that contains the most common \noperating systems that people usually use.\n\nSo you've got ubuntu, windows, Red hat, Mac OS and so on. Alternatively, you \ncan click on Browse More AMIs.\n\nBasically, an Ami is an Amazon Virtual machine, so you could use the search bar \nin here to search the marketplace for whatever virtual machine you want to start.\n\nSo you can see in the quick start we only have 44, but in the marketplace we \ngot 5000 and 485 machines. So you could simply just in here type hacking and \nyou'll get all the virtual machines that you could start that contain the word \nhacking in them.\n\nYou could read the description. You could even look up on Google what features \nthese virtual machines have. But we want to run a Kali machine. So I'm just \ngoing to type Kali. And as you can see, we have a Kali machine in here.\n\nYou'll always see the latest current version in here. So we're just going to \nclick on select. And as you can see it's saying it's eligible for the free tier.\nSo that's perfect. So we can go ahead with it.\n\nWe're going to click on continue. And we're back to the same page where we were \nselecting the operating system. But as you can see now, Kali Linux is selected \nfor us. So once we finish this process, Amazon is going to create a Kali machine \nfor us on their servers.\n\nNow, if we scroll down, it's asking us for the instance type. So the machine \ntype or the resources of the machine that we will install Kali on. So we can \nuse the drop down to change that. And we want to make sure we go for the free \none. So as you can see, we can go for this one and this one.\n\n| Kali Linux Image on AWS |\n| :---: |\n| ![Kali Linux Image on AWS](screenshots/aws-setup.png) |\n\nThese are the only two that are eligible for free. If you go for the others, \nyou will be charged. So we're going to go with this one because it has the \nhigher spec than this one. So it's going to come with one CPU and one gigabyte \nof memory. So not a lot of resources, but it should do for now.\n\nNext, we'll have to create a key pair, which will be used to log in to this \ncomputer that we are creating on the cloud. So basically what we're doing is \nwe're creating a Kali machine on Amazon's cloud servers. But we don't have \nphysical access to this computer. It's at Amazon's servers.\n\nTherefore for us to be able to use it, we're going to have to communicate with \nit using a service or using a tunnel that is called SSH. So SSH is a service \nthat allows us to remotely control computers on the internet.\n\nNow, obviously you can't control any computer you want. There has to be some \nkind of authentication between you and the server. And we do that using keys.\nSo we create a public key on the server and a private key that will be kept by \nyou by the user. Now this private key serves like a password. So you should \nnever share it with anybody.\n\nAnd you're going to use it in order to authenticate with the server, with the \ncomputer that we're creating on the cloud. And it will only allow you to \ncontrol it over SSH if your private key matches the public key.\n\nSo in here, it's asking us whether we want to use an existing key pair or if \nwe want to create a new key pair. Now, I've never created one, so I'm going to \nclick on create a new key pair. We're going to set a name for this key pair.\n\nSo we're just going to name it \"Kali-keypair\" key pair. We're going to keep the \noptions in here the same. And we're going to click on create a key pair. So as \nyou can see now Amazon automatically downloaded a file.\n\nFor me it's called Kali dash Keypair pem. And this is the private key which \nI'm going to use to authenticate with the server. And it automatically stored \nthe public key in the server in the right location.\n\nSo I don't need to worry about this key. But later on, once the machine is \ncreated, I'm going to use the private key that I have in my downloads.\nRight now it's called Kali Keypair PEM to authenticate and log in to my Kali \nmachine that is stored on the cloud.\n\nIf you scroll down, it'll give you some network settings that you can modify, \nbut we're going to leave everything the same in here. You could tick these boxes \nto allow connections to the web server, but I'm going to show you how to\ndo that later on anyway, so you don't need to take any of this.\n\nScrolling down, you're going to get to the storage configuration, where you \ncould configure the amount of storage that your computer is going to have.\nYou could also set advanced settings in here, but we're going to leave that \nfor now. You could also see a summary of everything that we selected so far.\n\nSo we're creating a Kali Linux machine. This is the instance type. We selected \nthis because it's the free one. It's not the most powerful but it's free.\n\nYou can see we have no firewall settings. We'll talk about that later. The \namount of storage we have 12GB. Now we're actually eligible for 30. So I'm \nactually going to change that here to 30. But make sure you stick with whatever \nyou're allowed for for the free tier if you don't want to spend anything.\n\nAnd we're going to click on Launch Instance. So now Amazon is going to do \neverything automatically for you. It's going to create a new computer on their \ncloud servers, install the latest Kali on it and install the public key on it.\n\nSo then you can log in to that computer using SSH using the private key that we \njust downloaded in here. And I'm going to show you how to do that in the next \nlecture. Now I'm getting another message similar to what I got when I was \nsigning up with the verification problem. It was telling me it might take some \ntime. It's saying that this machine is taking a little bit extra time than usual.\n\nGive it some time. Try again in about half an hour or so. And then we're going \nto resume and continue. You can also click on the launch log to see where it's \nfailing or where it's getting stuck. And we can see we're getting stuck at the \nsubscription marketplace. But anyway, I gave it some time.\n\nSo I'm going to click on View All Instances in here to see if my instance is \nready. And as you can see, my Kali machine right now is actually running.\nAnd I can actually go ahead and connect to it and use it. And I'm going to show \nyou how to do that in the next lecture. If you ever wanted to come back to this \npage where you can see your machines after you log in, all you have to do is \nsimply click on services and click on EC2.\n\nAmazon has a number of categories for their cloud services, and the Kali machine \nthat we created falls under the EC2 category. Therefore, all you have to do is \nclick in here and you will end up in this page where you can see it and manage it.\n\n## Connecting to Kali Image over SSH\n\nNow that we have the Kali machine installed and it's running on the cloud, let's \ngo ahead and see how we can connect to it, control it, and maybe hack some \ncomputers. As mentioned previously, we're going to use a program called SSH to \nconnect from our local computer to the remote Kali machine and control it.\n\nNow SSH is a command line program, which means that we can only use it to control \nthe cloud computer using the system commands. We are limited to this at the \nmoment because we just installed our cloud computer, and it actually does not \nhave a graphical user interface.\n\nI will show you how to install a graphical user interface on it in the future, \nbut for now we're going to have to use it using SSH. And we're actually going \nto communicate with this computer using SSH often because it is actually much\nquicker and faster.\n\nSo you're going to get very comfortable with the command line as we go through \nthe course. So first of all, before we can use SSH we're going to have to change \nthe permissions of the key file that we downloaded so that it can be used with \nSSH in order to authenticate us with our cloud computer.\n\n```shell\nchmod 700 /Users/john/Downloads/Kali-keypair.pem\nssh -i /Users/john/Downloads/Kali-keypair.pem kali@3.15.236.163\n```\n\nhttps://www.mediacollege.com/linux/command/linux-command.html  \nhttps://explainshell.com/  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloimkevo%2Fethicalhackingcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloimkevo%2Fethicalhackingcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloimkevo%2Fethicalhackingcloud/lists"}