Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
kratosminifilter — Kratos Minifilter is a Windows kernel driver (FLTMGR.SYS) built for real-time ransomware detection and file I/O mitigation. It intercepts low-level IRPs to instantly block unauthorized mass encryption and canary triggers. | Kitploit
Tools/GitHubGitHub/mukendi/kratosminifilter
Defensive ToolsMalware AnalysisThreat IntelligenceIncident ResponseAnomaly Detection
GitHubmukendi/kratosminifilter

kratosminifilter

Kratos Minifilter is a Windows kernel driver (FLTMGR.SYS) built for real-time ransomware detection and file I/O mitigation. It intercepts low-level IRPs to instantly block unauthorized mass encryption and canary triggers.

View Repository
412913 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Kratos MiniFilter

Kratos Minifilter is a Windows kernel driver (FLTMGR.SYS) built for real-time ransomware detection and file I/O mitigation. It intercepts low-level IRPs to instantly block unauthorized mass encryption and canary triggers.

Platform Language Driver Research


Overview

Kratos is a research Windows File System Minifilter built on top of Microsoft's Filter Manager (fltmgr.sys).

Instead of relying on malware signatures, Kratos explores how ransomware can be detected by observing file-system behavior directly inside the Windows kernel.

The project demonstrates how a security driver can:

  • monitor file creation, deletion and renaming;
  • analyze write entropy in real time;
  • correlate multiple suspicious activities;
  • assign behavioral threat scores;
  • terminate malicious processes;
  • prevent reinfection using kernel-level fingerprinting.

Kratos is not intended to become a commercial antivirus.

Its primary objective is to understand how modern Endpoint Detection and Response (EDR) products implement behavioral ransomware detection inside the Windows kernel.


Detection Engine

Kratos combines three independent detection layers.

Behavioral Analysis

  • Valuable file deletion
  • Suspicious rename operations
  • Ransom note creation

Entropy Analysis

Each write operation is sampled.

Instead of calling floating-point functions unavailable inside the kernel, Kratos uses a precomputed lookup table.

The detector identifies:

  • encrypted overwrite
  • high-entropy temporary files
  • sudden entropy increase

Fingerprint Blacklist

Once ransomware is confirmed, Kratos computes a 64-bit FNV-1a fingerprint from the executable.

The fingerprint is stored inside:

HKLM\SOFTWARE\Kratos\Blacklist

Future executions are blocked before the ransomware starts encrypting files.

Unlike filename-based blacklists, fingerprinting survives:

  • renamed binaries
  • copied executables
  • random filenames

Build Requirements

  • Windows 10 / 11 x64
  • Visual Studio 2022
  • Windows Driver Kit (WDK)
  • Test Signing enabled
  • Secure Boot disabled (recommended)

Attack timeline

Here is the exact chronology of this Ring 0 neutralization by Kratos (the anti-ransomware minifilter driver I am developing), reconstructed from kernel logs—featuring an unexpected twist on hypervisor shared folders:

​1. Note Drop (Silent Pass) DarkSide begins by generating its .txt ransom note. Because text files generate low entropy and standard I/O patterns, Kratos triggers no alerts. Intentional architectural choice: zero false positives on legitimate text editors and office software.

​2. Behavioral Breach (Guest VM) The malware shifts to its destructive phase, targeting desktop files with the .27efa0d1 extension. After 3 suspicious renames (a ZIP archive and 2 PNG images), syntax analysis combined with high entropy pushes the Threat Score past the critical threshold (\ge 80). ​Action: Kratos denies I/O (STATUS_ACCESS_DENIED), terminates the process (PID 6412), samples the first 4096 bytes of the PE header, and registers its FNV-1a hash (07BACD78B04E01D9) in the kernel blacklist.

​3. Cross-Boundary Attack: Saving the HOST System! A second thread (PID 5236) rushes into the blog-security-main directory on HarddiskVolume5. ​The Twist: This volume mapped directly to the hypervisor's shared folder connected to the HOST physical drive. DarkSide was attempting a Guest-to-Host lateral infection. ​Outcome: Attached to all volumes, Kratos intercepts the renaming after just 2 files (about.html and a web page). The process is killed instantly, preserving the host-based project in its entirety.

​4. The Final Blow: O(1) Immunization A third launch attempt of the binary is initiated (PID 704). Right at the PreCreate callback, Kratos hashes the PE header, matches the blacklisted fingerprint, and smothers execution at the source: 0 files touched.

Battle Report:

  • User files impacted: 5 total (3 on Guest, 2 on Host via Shared Folder).

  • Guest-to-Host Guest-to-Host lateral infection: Completely blocked from Ring 0 inside the VM.

  • Ressponse time: Microseconds (fixed-point LUT entropy calculation, zero flooperationst operations)

  • ​Proactive defense: 100% FNV-1a fingerprinting efficacy upon re-execution.

PoC

Architecture

‎Figure : Kratos vs DarkSide

Download Tool