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
PhantomFS — Serving payloads only to allowed processes using Windows projected file system feature | Kitploit
Tools/GitHubGitHub/s1lkys/phantomfs
Encryption/Decryption ToolsPayload GenerationRed TeamingPayload Development
GitHubs1lkys/phantomfs

PhantomFS

Serving payloads only to allowed processes using Windows projected file system feature

View Repository
253299 months agoReviewed by Kitploit
Share

PhantomFS

ProjFS provider. Projects files where the content depends on which process reads them. Payload is stored AES-256-CBC encrypted on disk, decrypted only in memory at runtime. This shouldnt bypass any EDR as the payload will be written to disk when allowed processes try to read it. Everything else gets access denied. This might piss off some analysts as their tools wont read it or simply load a decoy. But you can easily see thats it's a ProjFS using a reparse point.

Workflow

1) Generate key:     PhantomFS.exe -keygen
2) Encrypt payload:  PhantomFS.exe -encrypt mimikatz.exe -key <key> -out mimikatz.enc
3) Serve:            PhantomFS.exe C:\Staging -file mimikatz.enc -key <key> -decoy C:\Windows\System32\calc.exe

Example:
PhantomFS.exe C:\Staging -file mimikatz.enc -key 7ed5a44412447be587b2ca2e4eacb17d41c869360663ae0fea1d0caca159483c -decoy C:\Windows\System32\calc.exe

Result: C:\Staging\calc.exe appears in the filesystem.

  • cmd.exe reading it gets decrypted mimikatz bytes
  • Everything else gets real calc.exe bytes pluss Null padding
  • Delete/rename attempts from non-allowed processes are blocked

Build

VS2022, open PhantomFS.sln, build x64 Release. Requires Windows SDK (ProjFS headers + libs).

Prerequisites

Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -NoRestart

Provider runs at medium integrity, no admin needed (ProjFS feature activation does require admin).

CLI Reference

Keygen

PhantomFS.exe -keygen

Encrypt

PhantomFS.exe -encrypt <input> -key <64_hex_chars> -out <output.enc>

Format: [16 byte random IV][AES-256-CBC ciphertext with PKCS7 padding]

Serve

PhantomFS.exe <root_dir> -file <payload.enc> -key <hex> -decoy <benign_file>
    [-name <virtual_filename>]
    [-allow <process_substring>]  (repeatable, default: powershell.exe, pwsh.exe, cmd.exe)
    [-deny-read <process_substring>]  (repeatable)
    [-quiet]

How It Works

ProjFS callbacks receive TriggeringProcessImageFileName on every file access:

  • GetFileDataCallback: Checks process against rules, serves payload or decoy bytes
  • NotificationCallback PRE_DELETE: Blocks non-allowed processes from deleting
  • FILE_HANDLE_CLOSED: Calls PrjDeleteFile to force re-hydration

The re-hydration trick is necessary because ProjFS caches file content after first read. Without it, the second reader would get whatever the first reader received.

Detection Surface

  • PrjStartVirtualizing API call
  • IO_REPARSE_TAG_PROJFS reparse points
  • ProjFS Windows feature enabled
  • PrjFlt minifilter at altitude 189800 (fltmc.exe)
  • Microsoft-Windows-ProjFS ETW provider
  • Frequent file state transitions (hydrated -> placeholder)

Inspiration:

  • https://www.huntress.com/blog/windows-projected-file-system-mechanics
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →