tandasat / Scavenger

A minifilter driver preserves all modified and deleted files.
Other
78 stars 30 forks source link

Scavenger

It copies all files that were modified and some files that are being deleted to a C:\Windows\Scavenger\ directory.

It was initially developed to familiarize myself with a mini-filter driver and unlikely to have any notable advantages over using other open source tools such as Cockoo Sandbox or Capture-BAT.

It is also rather incomplete as it does not handle FILE_DELETE_ON_CLOSE events. For more comprehensive code, refer to the Delete File System Minifilter Driver sample.

Installation and Uninstallation

Get an archive file for compiled files form this link:

https://github.com/tandasat/Scavenger/releases/latest

Then:

  1. Extract the zip file and deploy appropriate version of files onto a target system.
  2. On the target system, execute install.bat with the administrator privilege.

On the x64 bit platform, you have to enable test signing to install the driver. To do that, open the command prompt with the administrator privilege and type the following command, and then reboot the system to activate the change.

bcdedit /set {current} testsigning on

To uninstall the program, execute uninstall.bat with the administrator privilege.

Alternatively, you can use a DrvLoader with a -F option on command prompt with the administrator privilege.

Usage

Once you have installed it, you should see output logs on DebugView and saved files under the C:\Windows\Scavenger\ directory.

Caveats

Supported Platforms

License

This software is released under the MIT License, see LICENSE.