Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No device found" for Android Virtual Devices (AVD) #463

Open
Spencer-PW opened this issue Feb 19, 2024 · 3 comments
Open

"No device found" for Android Virtual Devices (AVD) #463

Spencer-PW opened this issue Feb 19, 2024 · 3 comments

Comments

@Spencer-PW
Copy link

Spencer-PW commented Feb 19, 2024

I'm trying to doing a dynamic malicious APK analysis with AVD & MVT, so I installed & launched AVD in Ubuntu 22.04:

$ emulator -avd AVD_NAME
$ adb devices
List of devices attached
emulator-5554   device

And I started mvt-android and got:



        MVT - Mobile Verification Toolkit
                https://mvt.re
                Version: 2.5.0
                Your indicators files seem to be up to date.


15:40:07 INFO     [mvt.android.cmd_check_adb] Parsing STIX2 indicators file at path 
...
...                                                                                              
         INFO     [mvt.android.cmd_check_adb] Loaded a total of 9585 unique indicators                                         
         INFO     [mvt] Checking Android device over debug bridge                                                              
         INFO     [mvt.android.modules.adb.chrome_history] Running module ChromeHistory...                                     
         CRITICAL [mvt.android.modules.adb.chrome_history] No device found. Make sure it is connected and unlocked.

May I know why is it still "no device found" although my AVD has been connected with adb?

@Spencer-PW
Copy link
Author

Spencer-PW commented Feb 21, 2024

By doing some tests, I found out that this is because Python's libusb1 lib only supports either USB devices or TCP, while AVD is not connected to the host using these two approaches.

@roaree
Copy link
Contributor

roaree commented Feb 21, 2024

Thanks @Spencer-PW for finding this out - if you see anywhere in the docs we could clarify this, would welcome a PR.

@Spencer-PW
Copy link
Author

Spencer-PW commented Feb 22, 2024

if you see anywhere in the docs we could clarify this, would welcome a PR

@roaree I'm still searching for a way to connect MVT to AVD, so let me do this after I get a solution... :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants