Code Monkey home page Code Monkey logo

botanist's Introduction

Botanist

APK toolchain fingerprinting and clustering program

About

Botanist is a program to determine the tools that were used to produce an Android Application Package binary. These include IDE's, packers, compilers, and libraries. The program is split into two parts: creating a set of signatures for a given apk and then integrating that data into the stored collection.

The name Botanist was chosen for several attributes.

  1. Brevity
  2. Relevance to categorization
  3. Homage to growing software

Ideally, these clusters will be graphically displayed and tools can be viewed along with variations that exist in the wild. The main function takes in an APK and says what tools were used, if previously seen. This project assumes data on several instances and the ability to store instances for future reference.

Web Service

If the user's intent is to store lots of APK's and do analyses via a service, go to the readme in the webservice directory.

Dependencies

Botanist uses:

Components

API

  1. APKInfo - contains apk name, architecture, shared object files, and the library signatures
  2. LibSO - contains information on the shared object file, including a signature
  3. Classifying - provides means for creating relationships between entities

Scripts

  1. ElfTagger.py - continues by dumping the .so files, finding the first call into the library after the System.loadLibrary call, and creates a signature based on the opcodes of the initializing method.

DB Access

  1. MongoController
  2. MySQLController

Install

  1. sudo python setup.py install

Test

  1. python bulk_test.py {{APK_DIR}}

Individual Components

  1. TO BE FINISHED: python bottools/scripts/ElfTagger.py -f test/Xamarin/com.revengdroid.XamarinHelloWorld.apk | python bottools/control/MongoController.py -a

botanist's People

Contributors

cpruce avatar vik001ind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jokerni

botanist's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.