Suprise! It is a static analyzer for Android apk files. It was also described in the Paper Slicing Droids: Program Slicing for Smali Code
It supports Program Slicing on smali code. It offers several quick-checks to check if some given app makes uses of certain features (eg, uses classloaders, calls a method of interest, contains likely patched code, ...). Has a GUI where the APK contents can be viewed and bytecode can be searched. CFGs can be created for (selected) methods. Analysis results can be persisted to an MySQL DB or to XMl files.
The main feature is the ability to calculate program slices for arbitrary method invocations and their corresponding parameters. SAAF will then calculate a slice for this so called slicing criterion and search for all constants which are part of that slice. In other words, SAAF will create def-use chains with the def information being the result and the use information being the slicing criterion. For example the slicing criterion could describe the method android/telephony/SmsManager->sendTextMessage(...) and the first parameter of that method (the telephone number). SAAF will then search for all invocations of that method in the smali code and will search for all constants which could be used as input for that parameter.
Doing so it is able to find hardcoded telephone numbers which one can see as suspicious as the user should be able to enter the phone number where messaged are being sent to.
To see the commandline help just type from the SAAF folder
sh ./scripts/run_saaf.sh --help
SAAF will check for the configuration file and parse it. After that your should be presented with a list of options.
To run SAAF in GUI-Mode (not recommended) just dont use any arguments
sh ./scripts/run_saaf.sh
To run SAAF without gui on an apk file or a folder of apk files
sh ./scripts/run_saaf.sh -hl <filename>
If
For each APK SAAF will do the following:
In normal mode SAAF will analyze an APK and create an XML report. While this may be useful when when you want to analyze just one sample and have quick glance at its contents, it is not useful for processing gigabytes of malware.
So if you want to analyze several apks you should look at the INSTALL file how to setup SAAF with MySQL.