A Beacon Object File (BOF) implementation of Mimikatz that executes in memory with advanced evasion techniques. BOFKatz uses Process Hollowing and command-line argument spoofing to avoid detection by security products.
- In-Memory Execution: Runs Mimikatz entirely in memory without touching disk
- Argument Spoofing: Masks command-line arguments to evade EDR detection
- Process Hollowing: Uses legitimate processes to host the payload
- Flexible Arguments: Supports multiple Mimikatz commands and arguments with spaces
- Stealth Mode: Default "coffee" mode for discreet operation
BOFKatz
Executes with default coffee command and automatically exits.
BOFKatz coffee "lsadump::trust /patch"
Executes LSA dump trust command with patch argument (note the quotes for arguments containing spaces).
BOFKatz token::elevate privilege::debug sekurlsa::logonpasswords
BOFKatz uses advanced Process Hollowing techniques to:
- Create processes with benign-looking command lines
- Modify the PEB in memory to inject real commands
- Appear as legitimate system processes in monitoring tools
- No disk writes - entire execution happens in memory
- Uses reflective loading techniques
- Cleans up after execution automatically
- Visual Studio Build Tools
- MinGW or similar C compiler
- Beacon Object File compatible C2 framework
make
BOFKatz has been only tested with HavocC2 for the moment
Created by KrakenEU
- LinkedIn: Iaki Tornos
- YouTube: @Kr4k3nEU
This tool is intended for:
- Authorized penetration testing
- Security research
- Educational purposes
Always ensure you have proper authorization before using this tool. The creators are not responsible for misuse or damage caused by this software.
This project is for educational and authorized security testing purposes only.

