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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error using PyPeid

RomainJennes opened this issue · comments

The PyPeid detector does not seem to be installed in the box, but it shows up in the Detectors status

Detectors (9)
  ──────────────  ────────────  ──────  ──────────  ─────────  ─────────────  ───────────────────────────────────────────────
  Name            Targets       Status  Multiclass  Weak Mode  Superdetector  Source
  Bintropy        MSDOS,PE,ELF  ☑       ☒           ☒          ☒                https://github.com/packing-box/bintropy
  DIE             All           ☑       ☑           ☒          ☑                https://github.com/horsicq/Detect-It-Easy
  Manalyze        MSDOS,PE      ☑       ☑           ☑          ☒                https://github.com/JusticeRage/Manalyze
  PEiD            MSDOS,PE      ☑       ☑           ☒          ☑                https://github.com/packing-box/peid
  PePack          MSDOS,PE      ☑       ☑           ☒          ☒                https://github.com/merces/pev
  PyPackerDetect  MSDOS,PE      ☑       ☑           ☑          ☑                https://github.com/packing-box/pypackerdetect
  PyPeid          MSDOS,PE      ☑       ☑           ☒          ☒                https://github.com/FFRI/pypeid
  REMINDer        All           ☑       ☒           ☒          ☒                https://github.com/packing-box/reminder
  RetDec          All           ☑       ☑           ☒          ☑                https://github.com/avast/retdec
  ──────────────  ────────────  ──────  ──────────  ─────────  ─────────────  ───────────────────────────────────────────────
$ dataset make baseline -n 100 -f PE -p upx
$ detector baseline -b -d PyPeid
00:00:03.487 [ERROR] Traceback (most recent call last):
  File "/home/user/.opt/bin/pypeid", line 4, in <module>
    from pypeid import PEiDScanner
ModuleNotFoundError: No module named 'pypeid'

Solved it with

$ packing-box setup detector PyPeid
commented

Hi @RomainJennes
Indeed, it seems that PyPEiD failed to install during the provisioning of your Docker. I got this too.