fkie-cad / friTap

The goal of this project is to help researchers to analyze traffic encapsulated in SSL or TLS.
GNU General Public License v3.0
253 stars 26 forks source link

Error loading ProviderInstallerImpl #12

Closed Android-Unknown closed 1 week ago

Android-Unknown commented 12 months ago

what is the reason?

friTap -m -s --pcap mycapture.pcap com.example.app
Start logging
Press Ctrl+C to stop logging
spawning com.example.app
[*] capturing only plaintext data
[*] Running Script on Android
[*] libssl.so found & will be hooked on Android!
[*] Android dynamic loader hooked.
[*] Logging TLS plaintext as pcap to mycapture.pcap
[*] Process is loading ProviderInstallerImpl
Error: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.security.ProviderInstallerImpl" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64, /system/lib64, /system_ext/lib64]]
Error: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.security.ProviderInstallerImpl" on path: DexPathList[[zip file "/data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/base.apk"],nativeLibraryDirectories=[/data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/lib/arm64, /data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
Error: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.security.ProviderInstallerImpl" on path: DexPathList[[zip file "/data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/base.apk"],nativeLibraryDirectories=[/data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/lib/arm64, /data/app/~~DjnQg25Wu1oNLJQJ3Tmjjw==/com.example.app-X1iquwhb9WnWin5pKS7-qg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
[*] is here the error
[*] number

[*] Target process stopped: process-terminated

Thx for using friTap
Have a nice day
monkeywave commented 11 months ago

Hi,

thx for posting this issue. Which Android Version you are using? From the information about your post I can't really tell what is the reason for this bug. Somehow it seems that the class ProviderInstallerImpl can't be found which needs to be hooked in order to get the plaintext data. The reason for that can be different:

Currently there are some issue with Android 13 - it might help to use an older Version of Android (e.g. 10).

All the best

Daniel

Android-Unknown commented 8 months ago

@monkeywave Android 10, Pixel 4a, rooted device

monkeywave commented 4 months ago

Thx for this information. Currently we look into this (as there are several problems with Android).

monkeywave commented 1 week ago

Should be solved in the latest (version 1.1.1.0). If Not, just reopen this issue.