linkedin / linkedin/qark

APK exploit app crashes when open

Open
#329 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

I build and install the qark exploit app into a simulator API 21

:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:compileDebugJava
:app:preDexDebug
:app:dexDebug
:app:processDebugJavaRes UP-TO-DATE
:app:validateDebugSigning
:app:packageDebug
:app:zipalignDebug
:app:assembleDebug

BUILD SUCCESSFUL

Total time: 13.739 secs
Finish building exploit APK...

i get this error
E/AndroidRuntime( 3815): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.secbro.qark/com.secbro.qark.TopLevelActivity}: java.lang.ClassNotFoundException: Didn't find class "com.secbro.qark.TopLevelActivity" on path: DexPathList[[zip file "/data/app/com.secbro.qark-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/AndroidRuntime( 3815): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
E/AndroidRuntime( 3815): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
E/AndroidRuntime( 3815): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 3815): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
E/AndroidRuntime( 3815): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3815): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 3815): at android.app.ActivityThread.main(ActivityThread.java:5221)
E/AndroidRuntime( 3815): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3815): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 3815): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/AndroidRuntime( 3815): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/AndroidRuntime( 3815): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.secbro.qark.TopLevelActivity" on path: DexPathList[[zip file "/data/app/com.secbro.qark-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/AndroidRuntime( 3815): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/AndroidRuntime( 3815): at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
E/AndroidRuntime( 3815): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199)
E/AndroidRuntime( 3815): ... 10 more
E/AndroidRuntime( 3815): Suppressed: java.lang.ClassNotFoundException: com.secbro.qark.TopLevelActivity
E/AndroidRuntime( 3815): at java.lang.Class.classForName(Native Method)
E/AndroidRuntime( 3815): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/AndroidRuntime( 3815): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/AndroidRuntime( 3815): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/AndroidRuntime( 3815): ... 13 more
E/AndroidRuntime( 3815): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the manifest entry for com.secbro.qark.TopLevelActivity with the classes packaged in the built APK and the Gradle build output. Reproduce the install and launch on a simulator using API 21; done means the exploit app starts without the reported ClassNotFoundException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.