The delete-self-poc is a demonstration of a method to delete a locked executable or currently running file from disk. This concept was initially discovered by Jonas Lykkegaard, and I have created the proof of concept (POC) for it. Additionally, it can be used to delete locked files on disk, provided that the current calling process has the necessary permissions to access and delete them. How does this work, though - in this POC? - Open a HANDLE to the current running process with DELETE access. Note that only DELETE access is required. - Use the SetFileInformationByHandle function to rename the primary file stream, :$DATA, to :wtfbbq. - Close the HANDLE. - Open a HANDLE to the current process and set the DeleteFile flag of the FileDispositionInfo class to TRUE. - Close the HANDLE to trigger the file disposition. Voila! The file is now gone. Releases: I have included a statically linked release within this repository, if you can't be bothered compiling the original source code.
This tool is not verified yet and doesn't have listed features.
Did you submit the verified tool? Sign in to add features.
Are you the author? Claim the tool by clicking the icon above. After claiming, you can add features.
Helm plugin for cryptographically signing and verifying charts with GnuPG integration.
Tang is a server for binding data to network presence, providing an easy and secure alternative to key escrow.
A tool for creating cryptographically strong volumes that destroy themselves upon tampering or via issued command.
Detect stegano-hidden data in PNG & BMP using zsteg tool.
Tool for hiding data inside data and manipulating byte sequences.
Steghide is a steganography program that hides data in image and audio files.