Closed mjurbanski-reef closed 4 months ago
Due use of PyInstaller, which is used to build standalone b2-linux binary, chkrootkit can emit warnings such as this:
b2-linux
Searching for Linux.Xor.DDoS ... INFECTED: Possible Malicious Linux.Xor.DDoS installed
when executing b2-linux executable.
Other popular tools using PyInstaller are also affected by this, e.g. https://github.com/docker/compose/issues/4388#issuecomment-275293181 .
Workarounds:
TMP_DIR
Due use of PyInstaller, which is used to build standalone
b2-linux
binary, chkrootkit can emit warnings such as this:when executing
b2-linux
executable.Other popular tools using PyInstaller are also affected by this, e.g. https://github.com/docker/compose/issues/4388#issuecomment-275293181 .
Workarounds:
TMP_DIR
environment variable to set an alternative temporary directory https://pyinstaller.org/en/stable/when-things-go-wrong.html?highlight=tmpdir#operation-not-permitted-error . Please note the temporary directory is not only used for self-extracting b2 binary, but also a store for spooled temporary files (e.g. during stream uploads).