backdoor-factory command not found

In this troubleshooting guide we learn how to fix backdoor-factory command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

backdoor-factory: command not found

or when using sudo you get the following error message

sudo: backdoor-factory: command not found

Solutions to backdoor-factory: command not found

How To Fix backdoor-factory: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu backdoor-factory is provided by backdoor-factory package.

backdoor-factory is:

Injects shellcode into win32/64 PE files, 32/64bits ELF binaries, to continue normal file execution (if the shellcode supports it), by patching the exe/dll directly.

Some executables have built in protections, as such this will not work on all ELF/PE files. It is advisable that you test target ELF/PE files before deploying them to clients or using them in exercises

To fix this problem, we can install more using the command below.

sudo apt-get -y install backdoor-factory

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install backdoor-factory.

sudo apt -y install backdoor-factory

Or if you have aptitude installed you can use the following command.

sudo aptitude install backdoor-factory

Summary

In this tutorial we learn how to fix backdoor-factory command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.