PEzor

 

1.0 Installation

1.1 wclang

git clone https://github.com/tpoechtrager/wclang
cmake -DCMAKE_INSTALL_PREFIX=_prefix_ .
make
make install
export PATH="$PATH:/home/user/path/wclang/_prefix_/bin/"

1.2 Donut

git clone http://github.com/thewover/donut.git
cd donut
make
export PATH="$PATH:/home/user/path/donut/

1.3 SGN

1.3.1 Keystone

git clone https://github.com/keystone-engine/keystone/
cd keystone
mkdir build
cd build
../make-share.sh
sudo make install

1.3.2 Encoder

wget https://github.com/EgeBalci/sgn/releases/download/v2.0.1/sgn_x.x.x.zip
unzip sgn_x.x.x.zip
export PATH="$PATH:/home/user/path/sgn/"

1.4 PEzor

git clone https://github.com/phra/PEzor
cd PEzor
chmod +x install.sh
./install.sh
./PEzor.sh -h

1.4.1 Python external managed error

If you get the following error: This environment is externally managed, try to setup a venv:

python -m venv .venv
source .venv/bin/activate
pip3 install --no-warn-script-location xortool

You’ll need to activate the venv every time, you’ll start PEzor!

1.5 PATH export persistence

/home/user/.bashrc

export PATH="$PATH:/home/user/path/PEzor/:/home/user/path/sgn/:/home/user/path/wclang/"

2.0 Configuration

3.0 Usage

3.1 EXE Files

./PEzor.sh -sgn -unhook -antidebug -text -syscalls -sleep=120 /home/kali/repo/evader.exe -z 2

4.0 Hints

5.0 References

6.0 Tags