Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quark-engine/quark-engine
Quark Agent - Your AI-powered Android APK Analyst
https://github.com/quark-engine/quark-engine
ai android artificial-intelligence blackbox blackbox-testing blackhat defcon llm-agent security-vulnerability-assessment vulnerability
Last synced: 1 day ago
JSON representation
Quark Agent - Your AI-powered Android APK Analyst
- Host: GitHub
- URL: https://github.com/quark-engine/quark-engine
- Owner: quark-engine
- License: gpl-3.0
- Created: 2019-10-22T01:19:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-02T06:35:46.000Z (10 days ago)
- Last Synced: 2024-12-02T07:29:38.789Z (10 days ago)
- Topics: ai, android, artificial-intelligence, blackbox, blackbox-testing, blackhat, defcon, llm-agent, security-vulnerability-assessment, vulnerability
- Language: Python
- Homepage: https://doc.quark-engine.com
- Size: 10 MB
- Stars: 1,333
- Watchers: 42
- Forks: 170
- Open Issues: 65
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - quark-engine/quark-engine - Quark Agent - Your AI-powered Android APK Analyst (Python)
- Awesome-Android-Reverse-Engineering - Quark Engine - The goal of Quark Script aims to provide an innovative way for mobile security researchers to analyze or pentest the targets. Based on Quark, we integrate decent tools as Quark Script APIs and make them exchange valuable intelligence to each other. (Tools / Static Analysis Tools)
- android-security-awesome - Quark-Engine - An Obfuscation-Neglect Android Malware Scoring System (Tools / Static Analysis Tools)
- awesome-mobile-security - quark-engine - An Obfuscation-Neglect Android Malware Scoring System
- awesome-hacking-lists - quark-engine/quark-engine - Quark Agent - Your AI-powered Android APK Analyst (Python)
README
# New Features Coming Soon to Quark Agent
![Oct-11-2024 17-27-46](https://github.com/user-attachments/assets/6643b80b-bd85-450a-b646-9ef1a8b55bc3)
![Screenshot 2024-09-26 at 2 40 55 PM](https://github.com/user-attachments/assets/9a83b256-1b9f-480f-a061-2400e2e868bc)
We are currently focused on:
- The next step of the detection process for auto-suggestion.
- Effortlessly create detection workflows with natural language—no coding required.
- Easily adjust and refine workflows through an intuitive drag-and-drop interface.
- Instantly update and integrate changes as Quark Agent understands and adapts to workflow modifications.We are committed to providing an intuitive and user-friendly experience, enabling users to design detection workflows seamlessly through both textual and visual methods.
Many features are still under development and fine-tuning, and we will roll them out step by step as they become ready.
If you have any suggestions, please don’t hesitate to share them with us!
To stay updated with the latest news, make sure to watch our GitHub repository and follow us on [X (Twitter)](https://twitter.com/quarkengine).
# Quark Agent - Your AI-powered Android APK Analyst
![quark agent demo](https://hackmd.io/_uploads/By6ggTni0.png)
With Quark Agent, you can perform analyses using only natural language. It creates Quark Script code following your ideas and adjusts the code promptly as you provide feedback.
# Showcase:
Here’s a demonstration of using Quark Agent to detect the CWE-798 vulnerability in the ovaa.apk file.
### Step 1: Environments Requirements
* Make sure your Python version is 3.10 or above.
### Step 2: Install Quark Agent
* Install Quark Agent by running:
```bash
git clone https://github.com/quark-engine/quark-engine.git && cd quark-engine
pip install .[QuarkAgent]
```### Step 3: Prepare the Detection Rule and the Sample File
```bash
.
├── ...
├── quark
├── ...
├── agent # Put rule file and sample file here
├── ...
```You can download the **rule file** [here](https://github.com/quark-engine/quark-script/blob/main/constructCryptoGraphicKey.json) and the **sample file** [here](https://github.com/oversecured/ovaa).
### Step 4: Add your OpenAI API key
Add your OpenAI API key in `quarkAgentWeb.py`
```python
os.environ["OPENAI_API_KEY"] = 'your-api-key-here'
```### Step 5: Run Quark Agent
```bash
$ cd quark/agent
$ python3 quarkAgentWeb.py# You can now chat with Quark Agent in your browser.
# The default URL is http://127.0.0.1:5000
```Open a browser and navigate to `127.0.0.1:5000` to start using Quark Agent
See more CWE detections using [quark scripts](https://quark-engine.readthedocs.io/en/latest/quark_script.html) and play them with Quark Agent !
# Acknowledgments
### The Honeynet Project
### Google Summer Of Code
Quark-Engine has been participating in the GSoC under the Honeynet Project!
* 2021:
* [YuShiang Dang](https://twitter.com/YushianhD): [New Rule Generation Technique & Make Quark Everywhere Among Security Open Source Projects](https://quark-engine.github.io/2021/08/17/GSoC-2021-YuShiangDang/)
* [Sheng-Feng Lu](https://twitter.com/haeter525): [Replace the core library of Quark-Engine](https://quark-engine.github.io/2021/08/17/GSoC-2021-ShengFengLu/)Stay tuned for the upcoming GSoC! Join the [Honeynet Slack chat](https://gsoc-slack.honeynet.org/) for more info.
# Core Values of Quark Engine Team
* We love **battle fields**. We embrace **uncertainties**. We challenge **impossibles**. We **rethink** everything. We change the way people think. And the most important of all, we benefit ourselves by benefit others **first**.