An OCI container wrapper for Manalyze tool.
The image comes prepackaged with yara rules free of errors and precompiled.
Choose your favourite container management tool. (podman will be used in the examples)
The image can be pulled like this:
podman pull ghcr.io/ramdek/manalyze:latest
By default, the container uses the following flags -p all -o json.
It scans the file under /binary inside of the container.
podman run -it --rm -v /path/to/pe/binary:/binary ghcr.io/ramdek/manalyze
You can change default behaviour by calling the manalyze binary.
podman run -it --rm -v /path/to/pe/binary:/other-binary ghcr.io/ramdek/manalyze manalyze -p all /other-binary
It is possible to scan PE files in a directory.
podman run -it --rm -v /path/to/pe/directory:/binaries ghcr.io/ramdek/manalyze manalyze -p all -r /binaries
The image supports using the VirusTotal plugin.
VIRUS_TOTAL_API_KEY environment variable should be filled to use it.
podman run -it --rm -e VIRUS_TOTAL_API_KEY=xxxx -v /path/to/pe/binary:/binary ghcr.io/ramdek/manalyze
The image is built distroless by default.
If you wish to build another image on top of this one, use images with tag
suffixed by -dev. (i.e. latest-dev)
The
noshellkitsubmodule is not yet available !
You can use the Makefile to build the image:
make imageThe image ramdek/manalyze:dev will then be built.
Some yara rules can be malformatted, failing the image build.
Rules to be removed during build time are located in build/malformatted_rules.
Malformatted rules can be listed like so:
make seek_bad_yara_rulesOther targets in the Makefile are for distribution purposes.