Insecure Storage and Comms
Common flaws.
The Two Classic Flaws
Two of the most common mobile vulnerabilities are insecure data storage and insecure communication. They appear in the OWASP Mobile Top 10.
Both stem from developers trusting the device too much and protecting data poorly.
Where Apps Store Data
Apps keep data in /data/data/<package>/:
- SharedPreferences: XML key-value files.
- SQLite databases.
- Internal and external files.
Pentesters inspect each for secrets stored in the clear.
/data/data/com.app/shared_prefs/prefs.xmlAll lessons in this course
- Android App Structure
- Static Analysis of APKs
- Dynamic Analysis with Frida
- Insecure Storage and Comms