Kali in docker5/16/2023 Open your root terminal as we are going to change some default flags when our Opera browser launches. Now we need to adjust some flags, because running any browser inside Docker (and other containers) can cause issues involving sandboxing, graphics, and so on. Xdg-settings set default-web-browser sktopįor good measure, select the Opera browser as default. Now we have to set Opera as the default browser: Simply at the top left, press and type “Default App”, then open the app to switch your browser to Opera Browser update-alternatives -config x-www-browser You may have to type “Yes”, then press enter to continue install of Opera for accepting updates. I am going to guess you will accept Opera into your life, so let’s go! apt install wget -yĪpt install. I hate Firefox, I am okay with Chrome, and for some reason I enjoy Opera. Note: You may receive a notice about a power plugin when remoting in, just click “Remove”. In my particular use-case I am aiming for setting up Velociraptor so continue if you feel the DFIR vibes or go do whatever ethical/legal stuff your soul craves. Just remote into your system, from host and enjoy life. Optionally, you may want to upgrade your packages – because patching tastes good mmm. Choose your own level of security suitable for your network exposure. Passwd #Choose your own secure root password at this step or optionally create a new user account to su or sudo with after RDP auth. Exit root account after, if you want.Īpt-get install -y kali-desktop-xfce xrdp Now you should be at an interactive Kali terminal, run these one at a time: su #Assuming you are not root, you would be prompted instead of prefixing sudo everywhere. docker pull kalilinux/kali-rollingĭocker run -p 3389:3389 -t -i kalilinux/kali-rolling /bin/bash you could run this through a VPN on an air gapped net, otherwise on a trusted network where you are not leaving ports open to the Internet. Disclaimer: This is strictly for lab purposes only and does not reflect the setup of a production environment, DO NOT run this setup public-facing ex. We will be connecting to localhost:3389 using the username root, and your own password of choice. We are simply downloading Kali for docker, then running the container mapping port 3389 (host) to 3389 (guest), so we can use Microsoft Remote Desktop (for Mac) just find ‘Remote Desktop Standalone Installer’. I am assuming you are on a Mac but I know you probably are not.
0 Comments
Leave a Reply. |