Writing an Encoder – Run an Executable From Memory

Recently I encountered a scenario where I needed to avoid local AV signature based detection. Unfortunately, the tools at hand were rather antiquated so I decided to write my own encoder. Below are two C++ files, the first is the encoder and the second is a decoder. The encoder takes an executable file as input. […]