Forum Discussion

ArthurDent's avatar
ArthurDent
Bronze III
24 days ago
Solved

Python Scripting for Malware Analysis: Ep.4 – Static Analysis of Cryptographic Algorithms matplotlib problem

I've got the Private key by running the initial script sample. I'm attempting to do the plotting of entropy, but immediately get an error for the "import matplotlib.pyplot as plt" line of "ModuleNotFoundError: No module name 'matplotlib'"  Is there something to do to get that to load? pip commands don't work in that environment. 

I've identified where the encrypted data starts based on the code, the rest of the python looks like it builds off the matplotlib output. 

  • Realized that the plotting wasn't essential to the lab - just the rest of the script was necessary. Removing the stuff related to plotting allowed the script to run. 

2 Replies