Kali on Google Cloud Platform

I had some trouble getting Kali to integrate with the google guest environment. The main challenge is that Kali Rolling 2019.3 is based on Debian Testing, which is currently version 11, but the latest version of Debian supported by the gcp repos is 10 (buster) – and, GCP only officially supports Debian 9 (stretch) at time of writing. I got it working though.

Check out the repo on github

I use the XFCE Kali 2019.3 image because I like installing Google Chrome Remote Desktop on the instance, and xfce is lightweight enough to be responsive over that.

Customizations I had to do:

  • GCP packages needed libjson-c3 to be installed
  • To get GCP ssh-in-the-browser to work, I had to downgrade to stretch versions of openssl-server and openssl-client, and recreate sshd server host keys
  • Had to remove /etc/hostname to allow it to be dynamically set by gcp based on instance name

David Eargle is an Assistant Professor at the University of Colorado Boulder in the Leeds School of Business. He earned his Ph.D. degree in Information Systems from the University of Pittsburgh. His research interests include human-computer interaction and information security. He has coauthored several articles in these areas using neurophysiological and other methodologies in outlets such as the Journal of the Association for Information Systems, the European Journal of Information Systems, the International Conference on Information Systems, and the Hawaii International Conference on System Sciences), along with the Proceedings of the ACM Conference on Human Factors in Computing Systems (CHI). More about the author →

This content is open source.
Please help improve it.