~/talk

How to attack (and secure) an Android app: an introduction

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [security, android]
links:none on file
slides:none on file

A tiny demo app with a Java and native password check reveals concrete techniques: static analysis with Jadx and the Ghidra decompiler finds the cleartext passwords; quick binary string hunting and smali edits via apktool let an attacker repackage and always return true; live injection with a Frida server and simple JavaScript hooks overrides both Java and JNI checks; and local GDB/Android Studio debugging changes return registers to force success. Defenses shown: signature checks, R8/ProGuard obfuscation, native obfuscators, runtime integrity checks and layered detections.

AI-written summary · about

  1. 0:00Introduction to app attacks
  2. 1:32Reverse engineering basics
  3. 21:00Protecting against reverse engineering
  4. 24:48Repackaging attacks
  5. 37:54Defending against repackaging
  6. 40:21Hooking explained
  7. 44:09Frida demo for hooking
  8. 53:30Countermeasures for hooking
  9. 54:54Debugging as an attack vector
  10. 1:01:16Native debugging demo
  11. 1:05:12Final security recommendations
~/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.