To install Kali Linux on VirtualBox, follow these steps:
Download the Kali Linux ISO image from the official website.
Install VirtualBox on your host operating system (Windows, macOS, or Linux).
Open VirtualBox and click "New" to create a new virtual machine.
Choose "Linux" as the type and "Debian (64-bit)" as the version.
Allocate enough RAM and create a virtual hard disk.
During the setup, select "Use an existing virtual hard disk file" and choose the Kali Linux ISO.
Start the virtual machine and proceed with the Kali Linux installation process.
Follow the installation wizard to set up Kali Linux on the virtual machine.
Once the installation is complete, you can run Kali Linux within VirtualBox.