Event log recovery with EVTXtract
You already know how to export, sort and search through Windows event logs. Now it's time to learn how to recover deleted or corrupted event log artifacts. Thankfully, there is an open source tool by Willi Ballenthin that is capable of solving this problem: EVTXtract. The tool can recover EVTX fragments not only from RAW images, but also from unallocated space and memory dumps.
Getting ready
First of all, since EVTXtract is written in Python, make sure you have this installed on your workstation. If not, go to the official Python website, download and install it. Also, you will need python-evtx, which you can find in Willi's GitHub. Python-evtx is an EVTX parser, which is a dependence for EVTXtract. To install it, download and unpack the archive from GitHub, open Windows Command Prompt, choose the directory to which you unpacked the archive, and run the following command:
setup.py install
That's it; now you have python-evtx installed, and you are ready to install...