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.)
netstat -an | grep 5555
You should see a LISTENING
port on the loopback address,
as shown below.
On a Mac OS machine, execute these commands to install Homebrew and Socat:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install socat
On Ubuntu Linux, execute these commands
instead:
sudo apt update
sudo apt install socat
socat tcp-listen:5556,reuseaddr,fork tcp:localhost:5555
The terminal freezes, waiting for traffic,
as shown below.
Leave this terminal window open.
ip addr
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.
apt update
apt install android-tools-adb -y
adb connect 172.16.123.1:5556
adb devices -l
You see a device attached,
as shown below.