Android Tamer

ClubHack 2011

03 December 2011

Abstract

Android is emerging as a leading mobile brand however, with rise of any system also rises the misuse, and so we need a security tool to keep a check on stuff.
This presentation will look at the available toolset for security professionals and will introduce some new combinations in a consolidated form of a VM environment. This will be a one stop tool required to perform any kind of operations on Android devices / applications / network, be it forensic evaluation or source code review or software security testing or customizing ROM with pre embedded stuff. everything is provided in a single package. More usages will include malware analysis along with review check of new applications inside a controlled environment. Environment will be bundled with eclipse, droiddraw, gingerbread source code. And most of the well known security tools in one single package. You can call it swiss army knife for android security.

Slides

Video

Part 1

Part 2

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

A ClubHack 2011 presentation introducing Android Tamer, a virtual machine environment designed as a one-stop toolkit for Android security operations. The project is described as a “Swiss Army knife for Android security”, a BackTrack-like VM that consolidates the dozens of tools security professionals previously had to download and configure individually. The talk covers the Android market context, the security challenges driving the project, the VM’s architecture and bundled toolset, and a prescient prediction about the future of Android malware.

Summary

The presentation opens by establishing why Android security matters in 2011: Android held more than 40% of the phone market by conservative estimates (possibly 80% or more), corporate integration was growing, and an Android device is essentially a computer running an operating system with software on top. The presentation draws a direct parallel to the PC malware lifecycle, arguing that the progression from simple Trojans to viruses, rootkits and obfuscated executables will repeat in the mobile domain. Malware was already appearing on both Android and iPhone, with one sample demonstrated at MalCon only days before the talk.

The core problem Android Tamer addresses is fragmentation of the security toolkit. The standard approach of the time required downloading the SDK, NDK, proxy tools and decompilers, then configuring everything by hand. While OWASP worked on mobile security standards on one side, the project built the complete toolchain into a single virtual machine, described as BackTrack for Android: all the tools needed for any kind of Android interaction on one VM.

Android Tamer is built on Ubuntu 10.04 LTS with all non-essential software removed, designed as a complementary OS that coexists with the user’s primary system. A deliberate design decision limits foreign repositories to just two PPAs (Firefox and a menu PPA) to avoid the upgrade failures that plague systems with many third-party sources. A personal repository distributes tool updates, so a newly released decompiler version reaches users through a single update command rather than manual downloading and reconfiguration.

The toolset spans several security disciplines. For application testing, the VM includes OWASP ZAP with the transparent socket proxy T-Proxy, which solves the tricky problem of intercepting non-browser application traffic, and an emulator pre-configured with ZAP’s root CA certificate so proxy-based testing works immediately. For malware analysis, DroidBox traces file system changes and behaviour automatically, while APKInspector, Androguard and four different decompilers (Dex2jar, JD-GUI, JAD and SMALI/Baksmali) offer multiple analysis approaches. ROM analysis receives significant attention: the talk discusses the XDA Developers custom ROM ecosystem and raises Carrier IQ as a concrete reason ROM analysis matters, bundling DSIXDA Android Kitchen, YAFFS2 tools and Split Boot Image for separating kernel and initial RAM disk. Development tooling completes the picture with Eclipse, the NDK, CodeSourcery G++ Lite and the newly released ARM DS5 Community Edition.

The talk closes with a striking prediction: malware code will move inside NDK binaries, C programs doing their work in the background behind a single Java call, making detection significantly harder than the Java-based malware of 2011.

Key Themes

Notable Points

Notable Quotes

“Whatever we do, we have one very simple thing which is we don’t have a tool set right now.” 1:34

“It is sort of BackTrack for Android where you have all those tools which you need for any kind of Android interaction on a single VM.” 6:07

“If you look at the whole PC malicious life cycle, we had the simple Trojans as in TSRs, then we came up ahead with various versions of viruses, root kits and everything. Same scenario is going to get repeated over and over with the mobile market.” 3:19

“You can redirect browser traffic but application traffic redirection is a tricky part, so that’s where T-Proxy comes into picture.” 9:44

“It’s recently discovered that a large number of service providers in US have been using Carrier IQ which not only tracks your basic information like how many calls you’re making, it also keep tracking your keystrokes and whatever data traffic is going on. So all that was getting transferred to some remote server.” 14:51

“You just have to click on update my system and it’ll automatically get updated.” 9:17

“I can foresee that there will be a malware landscape where the malware code resides inside an NDK binary which is a C binary doing all the tasks in the background with just one Java call calling in that particular function.” 19:37

Social chatter