Skip to content
forked from pkumza/LibRadar

LibRadar is a tool for detecting third-party libraries in Android apps accurately and instantly.

License

Notifications You must be signed in to change notification settings

lczgywzyy/LibRadar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/. (Still version 1 temporarily)

Description for output

V2 V1 Stands for Description
Library lib Library Library Name
Package cpn Current Package Name The package name from your given APK that seems match this library. 'Current' means what you just uploaded.
Permissions p Permission The permissions that the library used. It is specified by the API it used.
Popularity dn Repetitions The number of the library (of just the same version!)
Match Ratio Not Implemented Similarity Matched Parts/Total Parts
Standard Package pn Package Name The package name from the database that seems matched.
Type tp Type The type that the library belongs to.
Website ch Link Link for the official SDK developer guide website. I forget why I used 'ch' at the very beginning.
Not Implemented bh B_Hash The hash value of the package.
Not Implemented btc B_Total_Count The total count of API.
Not Implemented btn B_Total_Number The total types of API.
Not Implemented csp Current Specified Package Name The sub-package (a part of the whole package) from your given APK that finally, exactly matched with what in the database.
Not Implemented sp Specified Package Name The sub-package(a part of the whole package) that exactly matched with that in your APK.

Dev Environment

  • PyPy Version(Optional):
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 Version:
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 Version :
Redis server v=3.2.5 sha=00000000:0 malloc=libc bits=64 build=d73d39f287fb87a1
  • IDE :
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

About

LibRadar is a tool for detecting third-party libraries in Android apps accurately and instantly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%