January 7, 2022

Install Kali Linux on the Google Cloud - Remote Desktop Connection from Windows fast Way ~!

~ 25min and you have a GUI Kali-Linux by RDC

Fast way is to create new instance by your https://console.cloud.google.com/
Choose between 4-8 gb of memory && choose between 2 -4 cores

Select Debian 10 as the operating system
Add 40gb space

Enable this for open port

DEPLOY MACHINE !


When a machine is ready

- go to shh

and do a bunch of commands :

Update and upgrade --Debian system first

sudo apt update && sudo apt upgrade -y

Add "kali-rolling" repository to your cloud system

echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list

Download the repository's key for the system to verify Kali Linux packages and add this with a apt-key

curl https://archive.kali.org/archive-key.asc | sudo apt-key add

Update it again. The new "kali-rolling" repository must be recognized.

sudo apt update

Install Kali Linux packages - take u long time ~ 15 min+

sudo apt install kali-linux-default

During installation just follow instructions by loader


When u finish u need to install a desktop environment. Greatest desktop for Kali Linux is Xfce. - this take a time ~ 10 min+

sudo apt install kali-desktop-xfce

Afterwards , you have to install Xrdp. This will allow you to access GUI by Remote Desktop Protocol.

sudo apt install xrdp

Change password for your user account.

sudo passwd

go to root now

sudo su

now update everything again

sudo apt update && sudo apt upgrade -y

exit root

exit

reboot whole system

sudo reboot


Now start "Remote Desktop Connection" from your Windows machine from

Type External IP of your Google Cloud machine
Username root

Click Connect

Bang !!! we are in there !!

Finally u have access to a Google Cloud Kali Linux GUI interface by your Windows or Mac machine/

ps/. for Mac u need to install Microsoft Remote Desktop from App Store

ps/. if u need just a type console - connect over ssh to ur google cloud using anything like JuiceSSH or so - and do u things

Thanks for reading