{"id":18417958,"url":"https://github.com/quark-engine/quark-apklab","last_synced_at":"2025-07-03T05:04:13.061Z","repository":{"id":55892650,"uuid":"299165287","full_name":"quark-engine/quark-APKLab","owner":"quark-engine","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-03T05:29:37.000Z","size":595,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T18:57:12.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quark-engine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-28T02:28:37.000Z","updated_at":"2025-01-02T07:32:15.000Z","dependencies_parsed_at":"2022-08-15T08:50:23.674Z","dependency_job_id":null,"html_url":"https://github.com/quark-engine/quark-APKLab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quark-engine/quark-APKLab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-APKLab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-APKLab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-APKLab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-APKLab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quark-engine","download_url":"https://codeload.github.com/quark-engine/quark-APKLab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quark-engine%2Fquark-APKLab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263264641,"owners_count":23439247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T04:12:23.958Z","updated_at":"2025-07-03T05:04:13.026Z","avatar_url":"https://github.com/quark-engine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ｑuark APK Lab (WIP)\n\n[Quark-Engine](https://github.com/quark-engine/quark-engine) is a well-known open-source Android malware analysis engine written in python. It is based on [Androguard](https://github.com/androguard/androguard), an open-source project for analyzing Android files. However, Androguard is no longer maintained by its author. To ensure the health of Quark-Engine, we had decided to replace Androguard with Radare2, a trending, and open-source reverse engineering tool.\n\n## Why we replace Androguard with Radare2\n\nThere are concerns:\n+ The maintaining of androguard.\n+ The memory usage of androguard.\n+ Need to rely on `pip install androguard` from Github.\n+ Quark only uses the decompile function of androguard.\n\nTherefore, we decided to replace Androguard with Radare2, a trending and active open-source tool. Radare2 has a strong community to support the entire project, which brings lots of popular programming language porting. Besides, it provides almost all the features that Androguard has. It is suitable to take the place of Androguard. \n\n## Goal of this lab\n\nIn this lab, I would be using features from radare2 to achieve the key features of Quark-Engine. All apk-related information gathering will be done by Radare2 commands only !\n\n## QuickStart\n### Requirements\n+ Python 3.9+\n+ Radare2 4.3.1+\n+ Pipenv\n\n### Installation\n```\ngit clone https://github.com/quark-engine/quark-APKLab.git\ncd quark-APKLab\npipenv install\n```\n\nUse `cli.py` as an entry point of Quark. For example,\n```\npipenv shell python3 cli.py --help\n```\n\nThis commands shows what features it can provide.\n\n```\nUsage: cli.py [OPTIONS]\n\nOptions:\n  -a, --apk FILE                 Apk File  [required]\n  -r, --rule DIRECTORY           Json Rule\n  -t, --thershold INTEGER RANGE  Filter for summarizing crimes\n  -o, --output FILENAME          Report as a json file\n  -s, --summary                  Summary report\n  --help                         Show this message and exit.\n```\n\nA common usage\n\n```\npipenv shell python3 -a [Path to APK] -r [Path to rule directory] -s\n```\n**Note**: Radare2-based Quark is still WIP!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquark-engine%2Fquark-apklab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquark-engine%2Fquark-apklab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquark-engine%2Fquark-apklab/lists"}