docker-packing-box
docker-packing-box copied to clipboard
Docker image gathering packers and tools for making datasets of packed executables and training machine learning models for packing detection
Hi, based on doc i can't get "model train" working ``` dataset -v make pe-upx-dataset -f PE -a -p upx -n 400 -s /mnt/share/dataset-packed-pe/not-packed ... model train pe-upx-dataset --algorithm dt...
Reported by @lagitannerie ```console # dataset -v make elf-upx-dataset -f ELF -a -p upx -n 400 -s /mnt/share/dataset-packed-elf/not-packed ... # model train elf-upx-dataset --algorithm dt 00:00:01.735 [INFO] Selected algorithm: Decision...
## Command used ```bash docker build -t dhondta/packing-box . ``` ## ERROR [base 12/13] ```bash [...] 177.9 Stored in directory: /home/user/.cache/pip/wheels/b1/b1/e7/2aca5ab1b4fc67cee598ec95b9e8b60c586953a15bf4739551 177.9 Successfully built pydl8.5 weka json2html netifaces pyminizip evdev...
### Issue Sometimes the CFG extraction continues even after the timeout is hit [here](https://github.com/packing-box/docker-packing-box/blob/1f484642046e37503b9634b592e7e18841d39b4a/src/lib/src/pbox/core/executable/cfg/__common__.py#L57). The line `Timeout reached when extracting CFG` gets printed to the screen, but Angr keeps extracting...
This PR adds: - Parallelization of feature extraction in the dataset tool - The ability to specify the number of CPU cores to use for parallelized feature extraction
This PR adds: - A `staticmethod` for computing sorted histograms - A `cached_property` storing the sorted histogram of node sizes (used in multiple features) - A `functools.lru_cache`'d function to calculate...
This PR adds: - A number of cached properties for import-based features - A minor fix for the imported_apis cached property - Some constants related to imports
This PR adds: - A cfg property returning the address of the EP I first tried: ``` binary['cfg']['model']['project']['entry'] ERROR: 'CFGModel' object is not subscriptable ``` Then tried: ``` binary['cfg']['_CFG__project']['entry'] KeyNotAllowedError:...