This is the guide of the project.
-
Disassemble all the ransomwars to get asm files
If the dataset contains asm files, this step can be skipped.
-
Run extract_opcodes.ipynb file and give location where the asm files are stored in "Ransomware"
-
Make sure you have label.csv file in the source folder. It contains the label information.
It will generate a "dataset.txt" file.
- open train_model.py
- enter the location of created "dataset.txt" in Step II in the variable "data"
- This will also create i) saved model with all weights ii) a feature N-gram CSV file.