~/talk

The art of hiding sensitive info in plain sight

Talkat DroidKaigi 2022 · 2022-10-05..10-07· [security, android]
links:none on file
slides:none on file

Decompiles an Android APK with APK Lab + jadx to show source, layouts, strings and a constants file that contains a hard-coded AWS secret key; the “encryption” is just string reversal so the secret prints on the second activity. Builds the demo APK, opens manifests/resources/layouts, and locates the secret in Constants.getAwsSecretKey(). Recommends: avoid storing keys in SharedPreferences or external storage, use EncryptedSharedPreferences with separate master keys, keep keys in Android Keystore, verify APK signature, and prefer server-side secrets; NDK only slightly raises the bar.

AI-written summary · about

  1. 0:00Hiding data in Android apps
  2. 1:05Reverse engineering attacks
  3. 3:14How Android apps are built and packaged
  4. 4:41Reverse engineering demo
  5. 13:07Defending against reverse engineering
  6. 13:48Securing location data
  7. 14:33Secure HTTP responses
  8. 16:20Safe local storage
  9. 18:05Encrypted shared preferences
  10. 19:10Android Keystore security
  11. 19:56Protecting secrets with NDK
  12. 20:40APK signature verification
  13. 22:25Logic in backend services
  14. 23:06Security limitations
  15. 23:50Threat modeling final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.