November 2019
Intermediate to advanced
346 pages
9h 36m
English
The first two steps are preparation for running our UPX packer. In Step 3, we use a subprocess to call an external command, namely UPX, in Python. As we pack our samples (Step 4), whenever an error occurs, we remove the sample, as it cannot be packed successfully. This ensures that our directory contains nothing but packed samples, so that we can feed in clean and organized data to our classifier.