Testing Quark-Engine

Firstly let’s fetch some apk examples.

$ git clone https://github.com/quark-engine/apk-samples.git

Then we could test one of the apk in apk-samples/malware-samples by the rules quark-rules. For example:

$ quark -a Ahmyth.apk -s

Running in Docker

We could build the corresponding docker image by this command:

docker build . -t quark

When the image is ready, let’s run an example to test the image:

You may also interactively use quark in the docker container. For example:

$ docker run -v $(pwd):/tmp -it quark bash
(in-docker): /app/quark# cd /tmp
(in-docker)::/tmp# quark -a Ahmyth.apk -s