- Change the Kali password
passwd
- then add a root account password
sudo -i
- add the root password
Log out and log back in as root
- Kali Infrastructure Script to download and install
curl -sS https://raw.githubusercontent.com/a7t0fwa7/Attack_Infra_Setup/main/Kali_Setup/C2andToolsSetupKali.sh | sudo bash -
- Allow SSH as root
-
Open sshd_config file
nano /etc/ssh/sshd_config
-
Find the Authentication section and modify the line
PermitRootLogin yes
-
Save an exit
-
Restart ssh server:
systemctl restart sshd
orservice sshd restart
Download PimpmyKali from https://github.com/Dewalt-arch/pimpmykali.git
follow instructions
To Launch: sudo bash pimpmykali.sh
On the Windows VM, open a PowerShell prompt as Administrator and run:
-
Set-ExecutionPolicy Unrestricted
-
. { Invoke-WebRequest -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
-
If step 2 doesn't work try this:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')); Get-Boxstarter -Force
Once the installation has completed, a Boxstarter Shell icon will appear on your desktop.
-
$Cred = Get-Credential $env:USERNAME
-
Install-BoxstarterPackage -PackageName https://raw.githubusercontent.com/a7t0fwa7/Attack_Infra_Setup/main/windows.choco
-
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/a7t0fwa7/Attack_Infra_Setup/main/windows.ps1'));-Force
-
If all the above fails then download files as ZIP and install locally
Once the Boxstarter packages have been installed, install the three Visual Studio applications in your Downloads folder. When installing Visual Studio Community edition, select the .NET and C++ Desktop Development Environments from the main Workloads menu, then find and select the Windows XP v141 tools from the Individual components menu.
Then perform one final manual reboot.