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

Drozer + Genymotion #203

Closed
anantshri opened this Issue Apr 7, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@anantshri

anantshri commented Apr 7, 2016

Genymotion being android-x86 based can't execute arm binaries directly and moreover already has busybox and su. any quick way to ensure correct binaries are called.

Selecting dadcb63e00e6dbf9 (Genymotion Xtreme_Android_Exploitation_Lab 4.4.4)

Discovered world-readable files in /data/data/jakhar.aseem.diva/:
  sh: /data/data/com.mwr.dz/su: not found

Discovered world-writable files in /data/data/jakhar.aseem.diva:
  sh: /data/data/com.mwr.dz/bin/busybox: not executable: magic 7F45

@HenryHoggard

This comment has been minimized.

Collaborator

HenryHoggard commented Apr 8, 2016

The quickest way to do this would be to manually run the commands that the world readable and world writable scripts use.

find %s \( -type b -o -type c -o -type f -o -type s \) -perm -o=r \-exec ls {} \;
Ref: https://github.com/mwrlabs/drozer/blob/dcee5e7490fadd2d4f3cf0619677214b13b56480/src/drozer/modules/scanner/misc/readable_files.py

We will add support in the future for x86 versions of the binaries, in addition to giving the users the option to use the preinstalled busybox/su binaries for these modules.

@amarekano

This comment has been minimized.

Collaborator

amarekano commented May 28, 2017

PR #264 should address this requirement. I think we can close this issue.

@amarekano amarekano closed this Jun 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment