EaseFilter.FileControl 5.8.8.1

dotnet add package EaseFilter.FileControl --version 5.8.8.1
                    
NuGet\Install-Package EaseFilter.FileControl -Version 5.8.8.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EaseFilter.FileControl" Version="5.8.8.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EaseFilter.FileControl" Version="5.8.8.1" />
                    
Directory.Packages.props
<PackageReference Include="EaseFilter.FileControl" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EaseFilter.FileControl --version 5.8.8.1
                    
#r "nuget: EaseFilter.FileControl, 5.8.8.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EaseFilter.FileControl@5.8.8.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EaseFilter.FileControl&version=5.8.8.1
                    
Install as a Cake Addin
#tool nuget:?package=EaseFilter.FileControl&version=5.8.8.1
                    
Install as a Cake Tool

EaseFilter File Control Filter Driver SDK

Platform Architecture Languages Trial

The EaseFilter File Control SDK is a kernel-level development toolkit for building file security, access control, anti-ransomware, and data protection solutions on Windows. Powered by a high-performance Windows file system minifilter driver, it intercepts and manages file I/O operations in real time—providing granular control far beyond standard Windows APIs or Access Control Lists (ACLs).

With the SDK, developers can control file operations at every stage of the I/O lifecycle. Before an I/O request reaches the underlying file system, you can block or allow file access either natively in the kernel using static filter rules or dynamically at runtime through user-mode callbacks. Additionally, after the file system processes the request, you can intercept and modify the I/O data returned from the file system—enabling advanced capabilities such as transparent encryption, data redaction, and virtualized file views.

Documentation & Official Guide: EaseFilter File Control Filter Driver SDK


Table of Contents


Core Architecture

The SDK bridges your user-mode application and the Windows kernel by integrating directly into the Windows I/O stack—positioned between the Windows I/O Manager and underlying file system drivers (such as NTFS and FAT).

File Control

The driver uses a dual-layered interception mechanism:

  • Pre-Operation Callbacks (PRE-IO): Intercepts I/O requests (CreateFile, ReadFile, WriteFile, rename, delete) before they reach the file system. Allows synchronous evaluation, modification, redirection, or immediate denial (StatusAccessDenied).
  • Post-Operation Callbacks (POST-IO): Triggers after the file system processes the request but before returning results to the calling application. Ideal for auditing, logging, and on-the-fly encryption/decryption.

Key Capabilities

  • Real-Time Interception & Access Control: Enforce allow/deny policies on create, open, read, write, rename, and delete operations at the kernel level before requests touch the disk.
  • Pre- and Post-Operation Filtering: Combine synchronous blocking in PRE-IO callbacks with asynchronous monitoring and security dashboard logging in POST-IO callbacks.
  • Tamper-Proof File Protection: Lock down critical binaries, configurations, and logs against unauthorized modification or deletion—even from compromised administrator accounts or ransomware.
  • Virtual File Systems & Sandboxing: Dynamically redirect write operations from protected directories (e.g., C:\Program Files) to isolated sandbox folders using StatusReparse.
  • Transparent File Encryption (TFE) Integration: Enforce automatic, on-the-fly AES-256 encryption and decryption for designated folders or removable drives without user intervention.
  • Low-Level Kernel-Mode Performance: Built on the native Windows minifilter framework to handle thousands of file I/O operations per second with minimal latency and CPU overhead.

Filter Rule Configuration

Rule Matching Criteria

Filter rules define what the driver monitors and how policies are enforced. You can combine multiple matching criteria:

  • File/Folder Path Masks: Target files using wildcards (e.g., C:\SensitiveData\*, *.docx) and define exclude masks to bypass trusted paths and reduce overhead.
  • Process Verification & Trusted Paths: Filter by originating process name/path, or enforce Zero Trust by verifying digital certificate signatures and SHA-256 binary hashes.
  • User Security Identifiers (SIDs): Grant or restrict privileges per local or domain Windows user account and group.
  • Time-Based Rules: Restrict file access permissions to specific hours of the day or calendar dates.

Access Control Flags

Static access control is enforced directly inside the kernel via bitwise integer flags with zero user-mode round-trip overhead:

Access Flag Description
ALLOW_MAX_ACCESS_RIGHT Grants full privileges (read, write, delete, execute, modify).
LEAST_ACCESS_RIGHT Denies all access, effectively locking or hiding the target.
ALLOW_READ_ACCESS Allows the file to be opened and read.
ALLOW_WRITE_ACCESS Allows data to be written to the file.
ALLOW_FILE_RENAME Permits the file or directory to be renamed.
ALLOW_FILE_DELETE Permits the file or directory to be deleted.

Code Examples (C#)

1. Tamper-Proof Audit Log Protection (Static Rule)

Allow general processes to read and write audit logs while blocking deletion and renaming globally—granting full rotation privileges only to LoggingService.exe:

using EaseFilter.FilterControl;

// 1. Target the audit logs directory
FileFilterRule auditLogRule = new FileFilterRule(@"C:\AuditLogs\*");

// 2. Grant max access, but strip delete and rename rights globally at the kernel level
auditLogRule.AccessFlags = FilterAPI.ALLOW_MAX_ACCESS_RIGHT
    & ~FilterAPI.ALLOW_FILE_DELETE
    & ~FilterAPI.ALLOW_FILE_RENAME;

// Optional: Receive notifications whenever the filter driver blocks an I/O request
auditLogRule.BooleanConfig |= FilterAPI.BooleanConfig.ENABLE_SEND_DENIED_EVENT;
auditLogRule.NotifiyFileIOWasBlocked += (sender, e) =>
{
    Console.WriteLine($"Blocked {e.EventName} by {e.ProcessName} ({e.UserName}) on {e.FileName}: {e.Description}");
};

// 3. Grant the trusted logging service full control for log rotation
auditLogRule.AddProcessRight("LoggingService.exe", FilterAPI.ALLOW_MAX_ACCESS_RIGHT);

// 4. Register the rule
filterControl.AddFilter(auditLogRule);

2. Real-Time Blocking & Auditing (Pre/Post-IO Callbacks)

Synchronously block unauthorized writes in PRE-IO when a threat is detected, while asynchronously logging authorized reads in POST-IO:

using EaseFilter.FilterControl;

FileFilterRule ioRule = new FileFilterRule(@"C:\SensitiveData\*");
ioRule.AccessFlags = FilterAPI.ALLOW_MAX_ACCESS_RIGHT;
ioRule.ControlFileIOEventFilter = ControlFileIOEvents.OnPreFileWrite;
ioRule.MonitorFileIOEventFilter = (uint)FileIOEvents.OnPostFileRead;

// Note: PRE-IO callbacks must execute synchronously
ioRule.OnPreWrite += (sender, e) =>
{
    if (ExfiltrationEngine.IsThreatDetected(e.ProcessName))
    {
        e.ReturnStatus = NtStatus.StatusAccessDenied;
    }
};

ioRule.OnFileRead += (sender, e) =>
{
    SecurityDashboard.LogRead(e.FileName, e.UserName);
};

filterControl.AddFilter(ioRule);

3. Dynamic Sandboxing & Path Redirection

Transparently redirect write requests from a protected application folder to an isolated sandbox directory:

using EaseFilter.FilterControl;

FileFilterRule sandboxRule = new FileFilterRule(@"C:\Program Files\LegacyApp\*");
sandboxRule.ControlFileIOEventFilter = ControlFileIOEvents.OnPreFileCreate;

sandboxRule.OnPreCreate += (sender, e) =>
{
    if (e.DesiredAccess.HasFlag(FileAccess.Write))
    {
        e.FileName = e.FileName.Replace(@"C:\Program Files\", @"C:\Sandbox\");
        e.ReturnStatus = NtStatus.StatusReparse;
    }
};

filterControl.AddFilter(sandboxRule);

4. Transparent AES-256 File Encryption (TFE)

Automatically encrypt and decrypt files on the fly inside a protected directory:

using System.Text;
using EaseFilter.FilterControl;

FileFilterRule tfeRule = new FileFilterRule(@"C:\SecureProjects\*");
tfeRule.EnableEncryption = true;

// Use a securely managed 256-bit AES key in production
tfeRule.EncryptionKey = Encoding.UTF8.GetBytes("YourSecure256BitEncryptionKey123");

filterControl.AddFilter(tfeRule);

Supported Languages & Integrations

  • Languages: C#, C++, Python, Java, Go, and Rust
  • Common Use Cases: Endpoint Security, Zero Trust File Access, Data Loss Prevention (DLP), Ransomware Protection, Folder Lockers, Secure Sandboxes, and Cloud Storage Tiering
  • Ecosystem Integrations: AI Decision Engines, SIEM Platforms, and YARA Rule Scanning

Getting Started

  1. Download the 30-day free trial SDK (.exe installer or .zip archive) from the EaseFilter File Control SDK page.
  2. Open one of the pre-built Zero Trust, File Protector, File Monitor, or Sandbox templates in your preferred language (C#, C++, Python, Java, Go, or Rust).
  3. Configure your FileFilterRule policies and run the application with Administrator privileges to load the minifilter driver.

EaseFilter File System Filter Driver SDK Reference

Product Name Description
Cloud File System SDK EaseFilter Cloud File System SDK Introduction.
CloudTier Storage Tiering SDK EaseFilter Storage Tiering Filter Driver SDK Introduction.
File Monitor SDK EaseFilter File Monitor Filter Driver SDK Introduction.
File Control SDK EaseFilter File Control Filter Driver SDK Introduction.
File Encryption SDK EaseFilter Transparent File Encryption Filter Driver SDK Introduction.
Registry Filter SDK EaseFilter Registry Filter Driver SDK Introduction.
Process Filter SDK EaseFilter Process Filter Driver SDK Introduction.
EaseFilter SDK Programming EaseFilter Filter Driver SDK Programming.

EaseFilter SDK Sample Projects

Sample Project Description
CloudTier Storage Tiering Demo A HSM File System Filter Driver Demo.
CloudTier S3 Tiering Demo CloudTier S3 Intelligent Tiering Demo.
Cloud File DR S3 Demo Cloud File DR S3 Demo.
Amazon S3 File Explorer Demo Amazon S3 File Explorer Demo.
Auto File DRM Encryption Auto file encryption with DRM data embedded.
Transparent File Encrypt Transparent on access file encryption.
Secure File Sharing with DRM Secure encrypted file sharing with digital rights management.
File Monitor Example Monitor file system I/O in real time, tracking file changes.
File Protector Example Prevent sensitive files from being accessed by unauthorized users or processes.
FolderLocker Example Lock file automatically in a FolderLocker.
Process Monitor Monitor the process creation and termination, block unauthorized process running.
Registry Monitor Monitor the Registry activities, block the modification of the Registry keys.
Secure Sandbox Example A secure sandbox example, block the processes accessing the files out of the box.
FileSystemWatcher Example File system watcher, logging the file I/O events.
ZeroTrust Example Zero trust file access control with encryption feature.

Filter Driver Reference

Support

If you have questions or need help, please contact support@easefilter.com

License

This repository contains two distinct licensing categories:

  1. Wrapper/Implementation Code (MIT License): The source code, scripts, and configuration files provided directly in this repository are licensed under the MIT License. You are free to modify, distribute, and use this specific integration code.

  2. EaseFilter SDK (Commercial License): This project requires the EaseFilter SDK (including its binaries, filter drivers, and core libraries) to function. The EaseFilter SDK is proprietary commercial software and is strictly excluded from the MIT License.

    To use the EaseFilter SDK for commercial purposes or in a production environment, you must obtain a valid commercial license directly from EaseFilter.

Home | Solution | Download | Demos | Blog | Programming

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.8.8.1 53 11/24/2026

The SDK bridges the gap between your custom user-mode application and the Windows OS kernel. It integrates directly into the Windows I/O stack, sitting between the Windows I/O Manager and the underlying file system drivers (e.g., NTFS, FAT). This privileged position enables the interception of operations before they ever reach the storage disk.