LogoLogo
  • About Me
  • Notes
    • Android Pentesting
      • First Android App
      • ADB
      • The INTERNET Permission
      • Installing Certificate in User Store
      • Installing system certificates
      • Install system certificates on android 14
      • apktool (for patching and decompiling)
      • Advanced Network interception using VPN
      • DNS Spoofing and Transparent Proxy
      • HTTP Mock
      • APK
      • Static analysis
        • Getting APK from a Device
      • Case Study: A Weather App
      • Frida & Objection
      • Frida Scripts
        • Tracing Activities
        • Tracing Fragments
      • Frida Trace
      • SSL Validation Bypasses
Powered by GitBook
On this page

Was this helpful?

  1. Notes
  2. Android Pentesting

APK

PreviousHTTP MockNextStatic analysis

Last updated 2 days ago

Was this helpful?

  • Java/Kotlin code is converted to *.class using javac/kotlinc compiler

  • Then using another compiler (d8) it is converted into classes.dex

  • Then this classes.dex i.e. dalvik bytecode is run in Dalvik Virtual Machine on older android versions and newer android versions use ART (Android Runtime)

  • And Android Runtime makes it little slower to install but improves performance

  • Basically an apk file is a zip file which contains the above mentioned things.