Home

Awesome

LibRadar

LibRadar is an automatic tool for Android library detection.

Upload your apk file and LibRadar can detect third-party libraries in Android apps accurately and instantly.

Features

Fast

LibRadar takes just several seconds to scan an app and report the list of third-party libraries used in it.

Accurate

LibRadar is trained with more than 1 million apps from Google Play, so it can identify virtually all popular libraries in any given Android app.

Anti-Obfuscation

Many Android apps are obfuscated with tools such as ProGuard, which makes it difficult to recognize a library by its package names or class names. LibRadar is obfuscation-resilient since we use features that cannot be obfuscated, such as statistics on Android APIs.

Usage

$ python LibRadar/libradar.py someapp.apk

View docs/QuickStart.md for more information.

If you want an online trial, just click http://radar.pkuos.org/. (Updated to version 2)

Description for output

V2V1Stands forDescription
LibrarylibLibraryLibrary Name
PackagecpnCurrent Package NameThe package name from your given APK that seems match this library. 'Current' means what you just uploaded.
PermissionspPermissionThe permissions that the library used. It is specified by the API it used.
PopularitydnRepetitionsThe number of the library (of just the same version!)
Match RatioNot ImplementedSimilarityMatched Parts/Total Parts
Standard PackagepnPackage NameThe package name from the database that seems matched.
TypetpTypeThe type that the library belongs to.
WebsitechLinkLink for the official SDK developer guide website. I forget why I used 'ch' at the very beginning.
Not ImplementedbhB_HashThe hash value of the package.
Not ImplementedbtcB_Total_CountThe total count of API.
Not ImplementedbtnB_Total_NumberThe total types of API.
Not ImplementedcspCurrent Specified Package NameThe sub-package (a part of the whole package) from your given APK that finally, exactly matched with what in the database.
Not ImplementedspSpecified Package NameThe sub-package(a part of the whole package) that exactly matched with that in your APK.

Dev Environment

Python 2.7.12 (aff251e54385, Nov 09 2016, 17:25:49)
[PyPy 5.6.0 with GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 26 2016, 12:10:39)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Redis server v=3.2.5 sha=00000000:0 malloc=libc bits=64 build=d73d39f287fb87a1
PyCharm 2016.3.2
Build #PY-163.10154.50, built on December 29, 2016
Licensed to Ziang Ma
Subscription is active until September 15, 2017
For educational use only.
JRE: 1.8.0_112-release-408-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o