Train models against your custom classifier
Currently, Pesidious uses a sample classifier to train the models that can generate evasive malware and evade this classifier.
You can add your own classifier to the tool in order to train the models against it. Following are the steps to add your own classifier
Step 1: Create a config file
Create a config file called pesidious.congif
in the home of your machine.
Step 2: Populate the config file
Add the path to your local saved model (pickle file) or configuration for your remote model
Step 3: Modify the tool to query your model
Modify the function get_score_load(bytez)
in gym_malware/envs/utils/interface.py
to get the score from your classifier
Last updated