An essential defensive security monitoring task is to determine and trace the flow of data through applications, OSs, and backend systems.
TreeDroid is a security policy specification and enforcement framework for Android. It is based on tree automata and exploits taint tracking, a well known program monitoring technique.
The results include fundamentals as well as tool support, implemented on top of the TaintDroid taint propagation tool for Android, originally developed at Penn State.
Running TreeDroid involves the following steps:
- Make sure you have TaintDroid up and running.
- Download TreeDroid's source code and instructions.
- Apply the modifications required for TreeDroid to the interface with TaintDroid. That is, make certain taint-functions publicly available to client code. (Instructions are available in 'modifications.txt')
- Incorporate the Inliner in your Android-app compile chain. It should be executed between the javac and dx steps (since the inliner works on bytecode, and Android executes dex-code).
A wrapper (wrapper.jar) can be used as an eclipse-builder (however, be aware that the wrapper is not carefully tested).
- Compile and run an application and policy of your choice, or one of our case studies.
You can read about TreeDroid's details in
Furthermore, we have collected the policies of some case studies.