Downgrade extraction on phones running Android 7/8/9

Now it‘s more and more difficult for forensic tools to extract evidence from smartphone running Android 7 and above. Maybe you could acquire physical image in Bootloader mode or by Smart ADB. Don‘t celebrate too early. Let me remind you of "FDE". The fact is that if forensic tools could not decode this physical image, such image is just like a meaningless "black box" you have in hand.

 

No way to gain root privileges from phones running Android 7 and above . What else can be done? Fortunately once you got the pattern/password , you could enable USB debugging and change any settings you want to make "Downgrade extraction" possible. That‘s the key to get the evidence from certain Apps you want.

 

Let‘s take WeChat on a phone running Android Pie for example.

Downgrade extraction on phones running Android 7/8/9

 

First we hava to download an old version apk file of WeChat. Then we want to uninstall original version of WeChat on this phone without data loss. The most important thing is remember the parameter "-k" when uninstall WeChat . So we could keep all data of WeChat safe and sound.

Downgrade extraction on phones running Android 7/8/9

 

What the next? Install old version WeChat apk? No, it won‘t work unless you reboot this phone first.

Downgrade extraction on phones running Android 7/8/9

 

After rebooting we could use adb command to install older version WeChat apk. What kind of older version of WeChat apk you need? Of course the version enable adb backup permission. What? you are not sure? All you have to do is to take a look at its manifest.xml and you could see the allowBackup permission. Let‘s install and the result is "success". Is it surprise you? Keep in mind that do not click WeChat now!

Downgrade extraction on phones running Android 7/8/9

 

Now we could use adb backup to extract WeChat. The output file is a .ab file. You have to convert this .ab to a .tar file.

Downgrade extraction on phones running Android 7/8/9

 

How to deal with a .ab file? You could take advantage of android backup extractor jar file to unpack .ab file.

Downgrade extraction on phones running Android 7/8/9

 

Unzip this .tar file and make sure you got the database file containing chat history. Yes, that‘s it. Don‘t forget that EnMicroMsg.db is an encrypted file. All you have to do is to look at my earlier post and you will know what to do.

Downgrade extraction on phones running Android 7/8/9

 

Downgrade extraction on phones running Android 7/8/9

上一篇:HTML DOM Time 对象


下一篇:从零开始一起学Blazor WebAssembly 开发(4)