Android hacking tools update for Sept 2018

This article outlines a few "lessons learned" during an Android pen-test, specifically on which parts of my toolset I needed to update to accommodate newer android versions (Android v7+) MultiDex support One of the standard pen-test techniques is to decompile the App's source code. Typically this is done by converting the APK DEX code to … Continue reading Android hacking tools update for Sept 2018

Advertisements

Lessons Learned: CrossWalk and Enhanced Webviews

I recently had a problem (seems to be a very common one [1][2][3]) when building a hybrid HTML5 mobile app. As can be seen in this online demo (https://mobilehtml5.org/ts/?id=23), one can use the input html tag with type="file" accept="image/*" to quickly and easily bring up the user's camera if they visit the site from a mobile … Continue reading Lessons Learned: CrossWalk and Enhanced Webviews

Lessons learned : Stopping an android service

Scenario: An android service is running in the background quietly doing it's thing.  When the application is closed, then the service should be stopped to conserve battery life and avoid nasty crashes due to null pointers. Simple right? In the onDestroy() callback of the application, call the stopService() method with the appropriate intent. Did that but the service … Continue reading Lessons learned : Stopping an android service

BLE Health Devices: First Steps with Android

Bluetooth Low Energy (also known as Bluetooth v4) is the current standard in Bluetooth Technology. It is particularly interesting to me when applied to healthcare devices, for a number of reasons: No pairing necessary. These healthcare devices are normally handled by carers or vulnerable people who do not want to go through the hassle of … Continue reading BLE Health Devices: First Steps with Android

Android MQTT / WebView Demo App

MQTT is perfect for mobile messaging (as facebook already proved)... http://www.youtube.com/watch?v=FA23li7WbEM

Android GPS positioning without Google Maps

Don't get me wrong, google maps are awesome! And along with maps, so is google earth. In fact, my initial dabbling into GPS tracking used google earth to display GPS co-ordinates on a map. You can see a quick example here:   But I also got to wondering, if it would be (easier?) possible to … Continue reading Android GPS positioning without Google Maps

Android Troubleshooting: App Crash on multiple orientation change

More of a note to my future self when developing android than anything else, since this is quite a specific corner case, but who knows, maybe it helps someone else out there 🙂   Problem An app I wrote seemed to be crashing randomly when a user did a orientation change (i.e. changed from landscape to portrait … Continue reading Android Troubleshooting: App Crash on multiple orientation change