packing-box / docker-packing-box

Docker image gathering packers and tools for making datasets of packed executables and training machine learning models for packing detection
GNU General Public License v3.0
49 stars 10 forks source link

Error using PePack #62

Closed RomainJennes closed 1 year ago

RomainJennes commented 1 year ago

PePack detector does not seem to be present in the box

$ dataset make baseline -n 100 -f PE -p upx
$ detector baseline -b -d pepack
00:00:03.614 [ERROR] Traceback (most recent call last):
  File "/home/user/.opt/bin/pepack", line 23, in <module>
    run("PePack", parse_func=parse, exe_type="pe", exe_help="path to the PE file", parser_args=ARGS)
  File "/home/user/.local/lib/python3.10/site-packages/pboxtools/__init__.py", line 292, in run
    out, err = exec_func(name, **vars(a))
  File "/home/user/.local/lib/python3.10/site-packages/pboxtools/__init__.py", line 112, in execute
    proc = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=shell)
  File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/bin/pepack'

Using the packing-box setup does not seem to solve the problem