local_worker package
Project description
Command line tool for analyzing apk on Android antiviruses.
Requires:
adapers package
andropilot package
avds (with the antivirus installed) inside HOME/.android/avd/
Installation:
pip install andrototal-cli –process-dependency-links
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
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file andrototal-cli-1.69.tar.gz
.
File metadata
- Download URL: andrototal-cli-1.69.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fb41d974892bdcf7660be1a9e496feef519cf2dc93751088be97c330731a1c |
|
MD5 | 9dc045f90b56ef1889ac80bf2f227c2c |
|
BLAKE2b-256 | c84eb7e9f72a15f3c9ac4b0e981c0443c3d621f08714e8e99820e6a1fd2b0b42 |
File details
Details for the file andrototal_cli-1.69-py2.7.egg
.
File metadata
- Download URL: andrototal_cli-1.69-py2.7.egg
- Upload date:
- Size: 32.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a04fc86084457404c22bdb04e0a1d897e8162a412a0989bcd7c8badf2237da |
|
MD5 | c1c4f29c1f7ea8d4f428e5e222fbfd38 |
|
BLAKE2b-256 | 27f78dfaad04c09c72ea9919a6428529a1709a4d1913bd6b7783619474357de6 |