Dobin Rutishauser 83edee2dfe my own implementation
2022-05-18 13:54:21 +02:00
2022-05-09 16:06:31 +02:00
2022-05-10 09:22:47 +02:00
2022-05-18 13:54:21 +02:00
2022-05-04 10:31:15 +00:00
2022-05-04 10:31:15 +00:00
2022-05-18 13:54:21 +02:00
2022-05-18 13:54:21 +02:00
2022-05-07 16:33:44 +00:00
2022-05-09 16:06:31 +02:00
2022-05-04 14:47:08 +00:00
2022-05-09 15:21:46 +02:00
2022-05-18 13:54:21 +02:00
2022-05-18 13:54:21 +02:00
2022-05-18 13:54:21 +02:00

avred

Based on: https://github.com/scrt/avdebugger

Most antivirus engines rely on strings or other bytes sequences, function exports and big integers to recognize malware. This project helps to automatically recover these signatures.

Setup

On a VM:

  • e.g.: 1.1.1.1:9001
  • Deploy a avred-server onto a VM with the AV you want to test
  • Configured the config.json on the avred-server directory
  • Test it: TODO
  • Start server: ./avred-server.py

On another VM:

  • checkout avred
  • Configure your servers in config.json (eg 1.1.1.1:9001)
  • Start with: ./avred --server defender

Architecture

OLD OLD OLD

Project status

Able to automatically find and remove the strings that have the most impact on the AV's verdict.

Setup and usage

Here are the instructions to use this tool.

Dependencies (Python 3)

  • python-tqdm
  • python-hexdump
  • pytest
python3 -m pip install -r requirements.txt

Dependencies (other)

Configuration

Fix all the values in config.json.

Usage

python3 antivirus_debugger.py -h                                                          
usage: antivirus_debugger.py [-h] [-s] [-z] [-f FILE] [-e] [-l LENGTH] [-c SECTION] [-g] [-V] [-H HIDE_SECTION] [-S SCANNER]

optional arguments:
  -h, --help            show this help message and exit
  -s, --skip-strings    Skip strings analysis
  -z, --skip-sections   Skip sections analysis
  -f FILE, --file FILE  path to file
  -e, --extensive       search strings in all sections
  -l LENGTH, --length LENGTH
                        minimum length of strings
  -c SECTION, --section SECTION
                        Analyze provided section
  -g, --globals         Analyze global variables in .data section
  -V, --virus           Virus scan
  -H HIDE_SECTION, --hide-section HIDE_SECTION
                        Hide a section
  -S SCANNER, --scanner SCANNER
                        Antivirus engine. Default = DockerWindowsDefender
S
Description
Automated archival mirror of github.com/dobin/avred
Readme GPL-3.0 8.4 MiB
Languages
Python 86.8%
CSS 7.3%
HTML 5.8%