Physical machine or VM with the following minimum configuration:
8 GB RAM
40 GB HDD/drive space available
Ethernet connection with static IP address assignment
Internet access for sensor system updates, patches, and installation
Aside from the general internet access, the Kali sensor will also need outbound access to Emagined Security’s jump box on ports 22, 80, and 443. Destination IP will be provided by Emagined Security after the initial build.
Note: Access to the jump box is restricted to only trusted IPs, Emagined Security will need the source IP address of the Kali sensor. This IP can be retrieved by running the command below from Kali.
curl -4 ifconfig.io
Navigate to the OffSec Kali Linux download page. Currently located at https://www.kali.org/get-kali/
For optimum performance and control during the installation, select the corresponding ISO image for your target to install the host platform/virtual machine.
Confirm the Kali Linux download instance is as expected. NOTE: Kali Linux is released on a quarterly schedule throughout the year. Please try to download and install the most up-to-date version available for your target host/VM.
After confirming the hash value of the downloaded file matches the hash value on the Kali.org website for the image file (i.e., sum value), extract the file to the default install location.
Prepare the ISO file
If using a physical host, extract the ISO image to a media format that can be physically used (i.e., read) for the host like CD or USB drive.
If using a virtual machine, place the ISO image in a location where it can be mounted as a virtual C/DVD
Mount the ISO file
If using a physical host, mount the media containing the ISO image and proceed with the installation steps documented below
Add the ISO image to the newly created virtual machine image if using a virtual machine. Be sure the dependencies noted above are satisfied for the virtual machine, then proceed with the installation steps below
The following Virtual machine installation steps were performed on an Apple MacBook Pro using the M1 chipset as the host and using a Debian-based installation for the guest OS.
Select New from the VMware Fusion menu
Click on the Install from disc or image link and browse to and select the desired installation ISO file and continue to the next screen.
Select the appropriate Linux version and architecture for your target environment and click continue.
On the Finish screen, adjust the virtual machine settings so hard disk drive, memory, and core processors match the recommended minimums set in the Dependencies section above and then click Finish if available; otherwise, exit from the VMware settings when done making the appropriate adjustments.
When ready launch/start the virtual machine to begin the installation.
During the first launch, select the following options for the installation:
Select graphical install from the drop-down menu
Choose English from the next screen for the default language install and click continue.
Please accept the United States as the default location and click continue.
Leave or select American English as the default keyboard configuration and click continue.
Please wait while the Kali image is mounted and processed.
At the first “Configure the network” screen, select a hostname of your choosing. Emagined Security generally recommends something descriptive and/or obvious such as “kali” When ready click continue.
At the second “Configure the network” screen, select a domain name that matches the one(s) used in your company/organization/business. If the virtual machine will be housed in a lab or standalone on the network, this value does not matter as it will be a temporary device/addition to the network. When ready, click continue.
Select “kali” for the username at the first “Set up users and passwords” screen and click continue.
Repeat the above for the “username” screen and hit continue.
Select a fifteen (15) character length minimum password of your choosing. NOTE: Password entropy is highly desirable. Choose a password with a mix of alpha, numeric, and special characters. Password phrases are ideally better suited than non-sensical shorter passwords. Reenter the password when prompted. Select continue.
Choose the time zone setting appropriate for your location and click continue.
At the “Partition disks” screen, select “Guided – use entire disk” and click on Continue.
Verify the partition device location and confirm the install location is correct or modify it as needed and select Continue. NOTE: In most cases, the default value will be correct.
Select the “All files in one partition” option and click Continue.
Choose “Finish partitioning and write changes to disk” then select Continue.
Select the “Yes” radio button and choose Continue.
Wait while the installation and disk writes occur.
Select the default values on the next screen and click Continue.
When the installation is complete, please choose Continue.
The virtual machine should automatically reboot and take you to a login screen (e.g., graphical).
Log in with the account and password set earlier – kali:<passphrase/password chosen> and confirm Kali loads/logs in.
Launch a terminal window by using the applications menu, shortcut (i.e., the icon next to Firefox) or by pressing Alt+T (Windows) or Ctrl+Option+T (Mac), and type the following command:
curl -4 ifconfig.io
Note the external IP address returned and provide it to your Emagined Security engagement lead for further updates and a customized engagement setup.