Temporary Internal File Storage risk – #5 DIVA Solution

Android provides option of saving temporary files locally within the device internal memory. Majorly used to save temporary things like error or transaction logs or app activity or error states by developers. Such Temporary files are saved inside app Sandbox directory i.e.  /data/data/AppPackageName/. If properly not processed then these files might contain sensitive information as […]

Unencrypted SQLite Database security risk – #4 DIVA Solution

Android uses SQLite database to save things locally within the device internal memory as managed Relational Database Management System (RDBMS). Majorly used to save app activity or user’s personal details or transaction logs or state of the app by developers. SQLite Database files by default are saved inside app Sandbox directory i.e.  /data/data/AppPackageName/databases. However many […]

Android Shared Preference Unencrypted Local storage security risk – #3 DIVA Solution

Android Shared Preference are name-value pair saved as XML files. Majorly used to save user’s app preference or user’s details or state of the app by developers. Shared Preference are files which are saved inside directory named shared_prefs present within App Sandbox i.e.  /data/data/AppPackageName/shared_prefs . Being part of Sandbox by default when shared preference is declared in PRIVATE […]

Hard-coding Sensitive Information within Android apk a security risk- #2 DIVA Solution

Many a times developers make mistake of adding sensitive information in Android apps like Encryption keys, passwords, PIN, tokens, development internal information, etc. Sometimes unknowingly or sometimes knowingly to ease up development they store sensitive information within the app. Reverse Engineering is a process of obtaining source code back from compiled binaries like apk. So having […]

ADB Logcat security risk – #1 DIVA Solution

ADB (Android debug bridge) Logcat is a mechanism via which developers debug through application for proper work flow or to identify crashes. However during times, these code-snippets remains within the released app over the play store which user would install. Risk increases if these logs contains any sensitive information like banking details, user credentials, login/access […]

Android Reverse Shell using Metasploit

Android Reverse Shell using Metsploit would guide you in Getting complete access of device (both rooted & non-rooted) remotely. Word of caution, never try to use this for any harmful illegal activity , be sensible and use this with only your own device.   Today we will see how to obtain reverse shell (command line […]

Android Custom Fonts

  So far we were using default fonts provided by Android. Its time to try android custom fonts so that we can make a rich and vivid application interface. Adding android custom fonts is very easy, just we need to add a typeface from MainActivity.java file and link it to our TextView.   Source Code : […]

Android FrameLayout Example

  FrameLayout is essentially used to represent layers of the screen, especially when adding multiple components to it. So using FrameLayout you can make watermarks in your Android App. Unlike other layouts which displays new components below or next to the previous component, Android FrameLayout always positions all its child components from top-left i.e. x=0, y=0 co-ordinate – […]

Android ScrollView Example

Whenever we are out of space in our Layouts, there comes Android ScrollView to our rescue. Using ScrollView we can cover more content then the actual screen size. Android ScrollView are of two kinds : Vertical ScrollView : Whenever we fall short of space due to our content growing vertically then we use Vertical ScrollView. […]

Android TableLayout Example

  Android TableLayout positions its child components into : Rows & Columns. Our TableLayout will have as many columns as the row with the maximum cells. We can combine some of the cells of a row using property android:layout_span. Even we can even leave some cells blank. Android TableLayout does not displays border for their rows, columns & cells, if required we […]