1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android APK encryption

Discussion in 'Android Development' started by fakr00n, Jul 6, 2021.

  1. fakr00n

    fakr00n Lurker
    Thread Starter

    Hi,
    I'm writing an android app where there is a strong need for IP-protection. I'm wondering if there's a way to encrypt the entire APK or at least the C/C++ native library where the *good stuff* lies.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    mikedt and Dannydet like this.
  3. fakr00n

    fakr00n Lurker
    Thread Starter

    That's what I thought as well about encrypting APKs I thought it was worth a shot to double check :) It would have been wonderful if Dahlvik could directly execute encrypted binaries (with HW acceleration)... Like it's common use in the automotive industry to prevent reverse engineering. I think I'll encrypt the senstitive parts of the C/C++ library using Android keystore systems for safe key storage, load the (encrypted) sensitive lib parts in RAM, decrypt them and execute from RAM - Not the optimal solution from security point of view but still better than nothing. I'll also obfuscate the Java code as well, Thanx for the information :)
     
    codesplice and mikedt like this.
Loading...
Similar Threads - Android APK encryption
  1. Just Foryou
    Replies:
    3
    Views:
    819
  2. Triciaboyd
    Replies:
    0
    Views:
    832
  3. avneetahuja7
    Replies:
    1
    Views:
    567
  4. Triciaboyd
    Replies:
    0
    Views:
    555
  5. JoshMClark2000
    Replies:
    3
    Views:
    1,136
  6. Jon Maldonado
    Replies:
    1
    Views:
    629
  7. chethan1703
    Replies:
    0
    Views:
    1,249
  8. Earl Ramos
    Replies:
    2
    Views:
    682
  9. Arganth
    Replies:
    0
    Views:
    380
  10. Flagged Bird
    Replies:
    2
    Views:
    442

Share This Page

Loading...