Skip to content

corelight/zeek-xor-exe-plugin

Repository files navigation

Corelight::PE_XOR

Zeek plugin to detect and decrypt XOR-obfuscated Windows EXEs.

The key used to XOR the file will be automatically discovered and used to XOR the file back to the original Window's executable. Once the file is deobfucated, it is passed back into the file analysis framework for further analysis.

Installation

From Source

git clone https://github.com/corelight/zeek-xor-exe-plugin.git
cd zeek-xor-exe-plugin
./configure
sudo make install

Now confirm that Zeek can see it:

zeek -N | grep Corelight

Usage

Notices

Corelight::XOR_Encrypted_PE_File_Seen - This notice will be generated when an XOR'd Windows executable is discovered.