Kali Linux in the EC2 cloud

Many people that attempt to do InfosecLabs quickly realize that the best way is to use a Kali Linux box in the EC2 cloud. I won’t go over every detail because the article I originally used from Primal Security does that just fine. There are a few modifications since the Kali Linux EC2 AMI seems to be no longer supported.

Instead of the using the Kali Linux AMI from the marketplace I have found that building from a Debian AMI works great. The current Debian image can be found here:

Screen Shot 2016-06-07 at 8.32.41 PM

Adding the Kali Linux sources

Open the sources list by doing the following:

vim /etc/apt/sources.lst

Add the sources that can be found here:

Run one of the Kali Linux metapackages

Run the following to get the list of Kali Linux metapackages

apt-get update && apt-cache search kali-linux

Choose the package that you want to use. I usually choose kali-linux-full

apt-get install kali-linux-full

More information can be found here

Conclusion

Once you are done you should have all the packages loaded from the metapackage you chose and can use it as you normally would a Kali Linux machine.

Post navigation