delete-self-poc Logo

delete-self-poc

0
Free
Updated 11 March 2025
Visit Website

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.

FEATURES

EXPLORE BY TAGS

SIMILAR TOOLS

A security solution that monitors, detects, and responds to insider threats by providing visibility into user activities across endpoints, email, and cloud to prevent data loss from careless, compromised, or malicious insiders.

Commercial

Zui is a desktop app for exploring and working with data, powered by Zed's 'Super-Structured Data' approach.

Hide data in images while maintaining perceptual similarity and extract it from printed and photographed images.

A PHP 5.x polyfill for random_bytes() and random_int() created by Paragon Initiative Enterprises.

Steganographic Swiss army knife for encoding and decoding data into images.

A portable public domain password hashing framework for PHP applications.

StegCloak is a JavaScript steganography module for hiding secrets inside text using invisible characters.

Monitors GitHub for leaked secrets

A library for generating random numbers and strings of various strengths, useful in security contexts.

CyberSecTools logoCyberSecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Operated by:

Mandos Cyber • KVK: 97994448

Netherlands • contact@mandos.io

VAT: NL005301434B12

Copyright © 2025 - All rights reserved