M 203: ADB & Nox on Windows (15 pts)

What You Need for This Project


To configure your system so the Android Debug Bridge in Kali can access your Nox virtual machine.

Using Two PCs

I was not able to connect two virtual machines to the same network adapter in bridged mode on the same machine; perhaps because I used VirtualBox for my Kali machine.

For best results, use two PCs: one for Nox and one for Kali.

Finding Kali's IP Address

Start your Kali virtual machine and connect to the Internet. Use Bridged networking.

On Kali, in a Terminal, execute this command:

Find your IP address, as highlighted in the image below.

Using VirtualBox

If your Kali is in Virtualbox, you need to shut down your virtual machine and configure Adapter 2 as shown below.

If you cannot connect to any adapters, and all the "Name" options are grayed out, you need to install the "VirtualBox NDIS6 Bridged Networking Driver. To do that, open Network Connections, and the Properties of your Ethernet adapter. Click Install, Service, "Add...", "Have Disk...", "Browse...", and browse to "C:\Program Files\Oracle\VirtualBox\drivers\network\netlwf\VBoxNetLwf.inf" Install the driver, as shown below.

Find the Host Adapter Name

On your host system, open a Terminal or Command Prompt.

On your Windows host system, execute this command:

Find the adapter with an IP address on the same subnet as your Kali machine.

On my system, it was Ethernet, as shown below.

Enabling Bridged Networking in Nox

Launch Nox. In the top right, click the gear icon. In "System settings", on the left side, click "Property settings".

In the "Network settings" section, click the blue install link, as shown below.

A box pops up saying "Bridge connection driver installed successfully". Click Ok.

In "System settings", click "Enable network Bridge mode", as shown below.

Click :Save settings". Click "Restart now".

Finding the Nox IP Address

In Nox, at the bottom right, click the envelope-shaped icon to get to the Home screen.

Click Tools, Settings, Wi-Fi.

Point to WiredSSD. Hold down the left mouse button until a box pops up. Click "Connect to network".

Click WiredSSD. You see your Nox machine's IP address, as shown below. Make a note of it and click Cancel.

Enabling USB Debugging

In Nox, Settings, at the top left, click the back-arrow to get back to the main Settings page.

Scroll to the bottom and click "About tablet".

Scroll to the bottom and click the "Build number" seven times, as shown below.

When you click it enopugh times, a box pops up saying "You are now a developer!".

At the top left, click the back-arrow.

Click "Developer Options"

Scroll down and find the "USB Debugging" option, as shown below.

Click the "USB Debugging" and click OK. USB debugging is now enabledf, \as shown below.

Pinging your Android Device from Kali

On Kali, in a Terminal, execute this command, replacing the IP address with the IP address of your Genymotion Android device:
ping -c 4
You should see replies, as shown below.

If you don't, you need to troubleshoot your networking before proceeding.

Connecting to your Android Device with ADB

On Kali, in a Terminal, execute these commands, replacing the IP address with the IP address of your Genymotion Android device:
apt update
apt install android-tools-adb -y
adb connect
adb devices -l


If you see an error message saying "E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)", restart your Kali machine.
You should see your Genymotion device in the "List of devices attached", as shown below.

Find the product number, covered by a green box in the image below.

M 203: Product Number(15 pts)

Find the text covered by a green box in the image above. That's the flag.
Converted to a CTF 2-28-19