Download and install BlueStacks 5 Beta, by clicking the button outlined in yellow in the image below.
Click the "LET'S GO" button and log in to a Google account. You'll need to provide a Google login.
When it's done, you'll see the BlueStacks home page, as shown below.
Troubleshooting
If Bluestacks won't start, or freezes, it's usually a problem with the graphics settings.Use Task Manager to kill Bluestacks and start it again. While it's starting, at the top right, click the three-bar icon and open Settings.
Try different settings on the Engine and Display tabs.
On the Advanced tab, verify that "Android Debug Bridge" is enabled, as shown below.
Launch "Windows Firewall", as shown below.
On the left side, click "Turn Windows Firewall on or off".
Check both "Turn off Windows Firewall (not recommended)" buttons, as shown below.
Click OK.
On your Windows machine, in Control Panel, open the Firewall utility and turn off the Firewall.
Right-click "Command Prompt" and click "Run as Administrator".
In the Administrator Command Prompt window, execute this command:
netstat -an | findstr 5555
You should see a LISTENING
port on the loopback address,
as shown below.
Execute this command:
netsh interface portproxy add v4tov4 listenport=5556 listenaddress=0.0.0.0 connectport=5555 connectaddress=127.0.0.1
To see that it's working, execute
this command:
netstat -an | findstr 5556
You should see a LISTENING
port on the arbitrary address
"0.0.0.0",
as shown below.
ip addr
Find the IP address of the interface that goes to the host, which is usually "eth0", as highlighted in the image below.
Use VMware
You must use a VMware virtual machine. Kali on VirtualBox will not work, unless it is running on a different host computer.
On the host computer, execute ipconfig and find the interface address that's on the same subnet as the Kali machine.
apt update
apt install android-tools-adb -y
adb connect 172.16.123.1:5556
M 104.1: Device Name (15 pts)
On your Kali virtual machine, execute this command:Find the text covered by a green box in the image below. That's the flag.
adb shell cat /system/build.prop | grep ro.product.model