Jump to content

Cannot obtain *.db files with exploit android_htmlfileprovider


kuakua

Recommended Posts

Hello everyone,

I've been working on a very small project related to Android Operating System and one of the available exploits on metasploit called android_htmlfileprovider. With this simple tool, mixed with just a bit of social engineering, you apparently are able to obtain any files from the victim's android device (only if you already know the file's absolute path on the device).

The thing is, even though I'm able to retrieve regular txt files (containing nothing but plain text) I am not able to gather files with extension .db which actually contain sensitive information like browser's passwords, contacts data, etc.

I believe this has something to do with special characters included on these .db files. I mean, when opening them with a regular text editor, a lot of special characters can be seen:

password TEXT, UNIQUE (host, username) ON CONFLICT REPLACE)/C indexsqlite_autoindex_password_1password ¯ E Å–sÔc,æ~ Ù E E h %__gadsID=b89b168ef0dfe4d2:T=1373050572:S=ALNI_MYlSZDvmFgns0nnk0k-od_WY5v8Iw.taringa.net/N_“dà *+ trngssn32125034www.taringa.net‚#NID67=ecqvWtS3rCSX66LArkN34syjzkb66EEAQ_8mMTREgK1ripyH5wK6239BJnZcusLrxRI_3c9XIx-P5QGiStdmo_DQGaFqAxxLWl3EIniSmYdGFwT5mRQP7eIbEJUSgm_9.google.com/C^œäh-id2289bbb27a010040||t=1373050662|et=730|cs=002213fd4871e3adaff7a0f321.doubleclick.net/N_”Äp DW'xs120%3AN43xVI8dccoQ%3A2%3A1373050332.facebook.com/@J¬/H5 ;'sAa5__xVrQ0YsFjuy.BR1xXc.facebook.com/@J¬#'m_user0%3A0%3A0%3A0%3Av_1%2Cajax_1%2Cwidth_480%2Cpxr_1.5%2Cgps_1%3A1373050333%3A2.facebook.com/A©¿H='luRQhR8oPIUeriM8BuoKt64K7g.facebook.com/N_¿fr09RPnARccIEiWxpwl.AWVGxCqxGa0JEdA5yiUYDXTAGN0.BR1xXd.Sx.AAA.AWVerreK.facebook.com/@J¬/H ! 'csm2.facebook.comc_user1432144899.facebook.com/@J¬/H9 ='datrRxXXUQiqok8k_bO4Z7afAbNo.facebook.com/N_»a ) ¦i×¼Z))))

I'm not completely sure about this, though. I'm also using a rooted AVD (Nexus One) with an old Android Version (2.2) as this exploit will only work with this version (or an older one).

I would really apreciate if someone could help me out on this one.

Thank you.

Edited by kuakua
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...