Coder Social home page Coder Social logo

abhijitch / andrototal-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrototal-org/andrototal-cli

1.0 0.0 0.0 37 KB

open source framework to scan android applications

License: GNU Lesser General Public License v3.0

Python 100.00%

andrototal-cli's Introduction

Andrototal-cli

Command line tool for analyzing apk on Android antiviruses.

Requires:

  • adapers package
  • andropilot package
  • avds (with the antivirus installed) inside HOME/.android/avd/

Installation:

  • easy_install andrototal-cli

Basic usage: andrototal-cli path/of/sample/apk NameOfTheAntivirus

NameOfTheAntivirus: one from the adapters package(there must exist and avd: name.of.the.antivirus inside HOME/.android/avd/)

Example: andrototal-cli malware.apk ComAntivirus

usage: andrototal-cli [-h] [-test-method {install,copy}]

[-log-level {DEBUG,INFO,WARNING,ERROR}] [-window [WINDOW]] [-file-log FILE_LOG] [-max-retries {1,2,3,4}] [-store-device-data [STORE_DEVICE_DATA]] malware_sample antivirus [antivirus ...]

positional arguments:

malware_sample path of the apk sample antivirus name of the antivirus

optional arguments:

-h, --help show this help message and exit

-test-method {install,copy}, -t {install,copy}

test method

-log-level {DEBUG,INFO,WARNING,ERROR}, -l {DEBUG,INFO,WARNING,ERROR}

logging level.

-window [WINDOW], -w [WINDOW]

display emulator's graphical window

-file-log FILE_LOG, -fl FILE_LOG

Redirect logger to file

-max-retries {1,2,3,4}, -m {1,2,3,4}

maximum number of scan retries when a non fatal exceptions occurs

-store-device-data [STORE_DEVICE_DATA], -sd [STORE_DEVICE_DATA]

store device logcat and snapshot in device_data folder

output:

{
'sample': {

'sha256': '1944d8ee5bdda3a1bd06555fdb10d3267ab0cc4511d1e40611baf3ce1b81e5e8',

'md5': '77b0105632e309b48e66f7cdb4678e02',

'sha1': '4de0d8997949265a4b5647bb9f9d42926bd88191'

},

'test_count': 1, 'success_count': 1, 'tests': [

{

'status': 'SUCCESS',

'ended_at': '2016-06-08 14:01:27',

'detected_threat': 'THREAT_FOUND',

'antivirus': 'ComAntivirus',

'started_at': '2016-06-08 14:00:34',

'analysis_time': 19

}

], 'failure_count': 0

}

andrototal-cli's People

Contributors

andreimunteanu avatar

Stargazers

 avatar

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.