Download and install it, as shown below.
You'll need to provide a Google login.
When it's done, you'll see the BlueStacks home page, as shown below. (You won't have the Bank of America app installed yet.)
You should see a LISTENING port on the loopback address, as shown below.
netstat -an | grep 5555
On a Mac OS machine, execute these commands to install Homebrew and Socat:
On Ubuntu Linux, execute these commands instead:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install socat
sudo apt update sudo apt install socat
The terminal freezes, waiting for traffic, as shown below.
socat tcp-listen:5556,reuseaddr,fork tcp:localhost:5555
Leave this terminal window open.
Find the IP address of the interface that goes to the host, which is usually "eth0", as highlighted in the image below.
On the host computer, execute ifconfig and find the interface address that's on the same subnet as the Kali machine.
On my host, it was 172.16.123.1, as shown below.
You see a device attached, as shown below.
apt update apt install android-tools-adb -y adb connect 172.16.123.1:5556 adb devices -l