Technique:  Indicator Removal:File Deletion
During the 2015 Ukraine Electric Power Attack, vba_macro.exe deletes itself after FONTCACHE.DAT, rundll32.exe, and the associated .lnk file is delivered.
ADVSTORESHELL can delete files and directories.
Anchor can self delete its dropper after the malware is successfully deployed.
AppleJeus has deleted the MSI file after installation.
AppleSeed can delete files from a compromised host after they are exfiltrated.
It actors deleted tools and batch files from victim systems.
It has intentionally deleted computer files to cover their tracks, including with use of the program CCleaner.
It has used SDelete to remove artifacts from victim networks.
It has a tool that can delete files.
It's macOS backdoor can receive a "delete" command.
It has used a utility called CLOSESHAVE that can securely delete a file from the system. They have also removed malware, tools, or other non-native files used during the intrusion to reduce their footprint or as part of the post-intrusion cleanup process.
It has used malware to delete files after they are deployed on a compromised host.
It deleted files from the system.
It has deleted malicious executables from compromised machines.
Aria-body has the ability to delete files and directories on compromised hosts.
Attor’s plugin deletes the collected files and log files after exfiltration.
AuditCred can delete files from the system.
Azorult can delete files from victim machines.
BabyShark has cleaned up all files associated with the secondary payload execution.
BackConfig has the ability to remove files and folders related to previous infections.
Backdoor.Oldrea contains a cleanup module that removes traces of itself from the victim.
BADHATCH has the ability to delete PowerShell scripts from a compromised machine.
Bandook has a command to delete a file.
Bankshot marks files to be deleted upon the next system reboot and uninstalls and removes itself from the system.
Bazar can delete its loader using a batch file in the Windows temporary folder.
BBSRAT can delete files and directories.
Bisonal will delete its dropper and VBS scripts from the victim’s machine.
BLACKCOFFEE has the capability to delete files.
BLINDINGCAN has deleted itself and associated artifacts from victim machines.
BLUELIGHT can uninstall itself.
The It uploader or malware the uploader uses command to delete the RAR archives after they have been exfiltrated.
Bumblebee can uninstall its loader through the use of a Sdl command.
Calisto has the capability to use rm -rf to remove folders and files from the victim's machine.
It has a command to delete files.
Cardinal RAT can uninstall itself, including deleting its executable.
CARROTBAT has the ability to delete downloaded files from a compromised host.
ccf32 can delete files and folders from compromised machines.
CharmPower can delete created files from a compromised system.
Recent versions of Cherry Picker delete files and registry keys created by the malware.
It has performed file deletion to evade detection.
cmd can be used to delete files from the file system.
It deleted the DLL dropper from the victim’s machine to cover their tracks.
Crimson has the ability to delete files from a compromised host.
Cryptoistic has the ability delete files from a compromised host.
CSPY Downloader has the ability to self delete.
Cuba can use the command cmd.exe /c del to delete its artifacts from the system.
DanBot can delete its configuration file after installation.
DarkWatchman has been observed deleting its original launcher after installation.
Denis has a command to delete files from the victim’s machine.
Derusbi is capable of deleting files. It has been observed loading a Linux Kernel Module (LKM) and then deleting it from the hard disk as well as overwriting the data with null bytes.
It has deleted many of its files used during operations as part of cleanup, including removing applications and deleting screenshots.
Drovorub can delete specific files from a compromised host.
Dtrack can remove its persistence and delete itself.
DustySky can delete files it creates from the infected system.
ECCENTRICBANDWAGON can delete log files generated from the malware stored at C:\windows\temp\tmp0207.
Elise is capable of launching a remote shell on the host to delete itself.
Epic has a command to delete a file from the machine.
EvilBunny has deleted the initial dropper after running through the environment checks.
It has deleted files used during infection.
Exaramel for Linux can uninstall its persistence mechanism and delete its configuration file.
FALLCHILL can delete malware and associated artifacts from the victim.
FatDuke can secure delete its DLL.
FELIXROOT deletes the .LNK file from the startup directory as well as the dropper components.
Ferocious can delete files from a compromised host.
It has used batch scripts and scheduled tasks to delete critical system files.
It uses SDelete to clean up the environment and attempt to prevent detection.
It has removed files from victim machines.
It has deleted tmp and prefetch files during post compromise cleanup activities. It has also deleted PowerShell scripts to evade detection on compromised machines.
FlawedAmmyy can execute batch scripts to delete files.
FruitFly will delete files on the system.
FunnyDream can delete files including its dropper component.
Fysbis has the ability to delete files.
It tools can delete files used during an operation.
Gazer has commands to delete files and persistence mechanisms from the victim.
Gelsemium can delete its dropper component from the targeted system.
gh0st RAT has the capability to to delete files.
Gold Dragon deletes one of its files, 2.hwp, from the endpoint after establishing persistence.
GoldenSpy's uninstaller can delete registry entries, files and folders, and finally itself once these tasks have been completed.
Grandoreiro can delete .LNK files created in the Startup folder.
Green Lambert can delete the original executable after initial installation in addition to unused functions.
GreyEnergy can securely delete a file by hooking into the DeleteFileA and DeleteFileW functions in the Windows API.
GrimAgent can delete old binaries on a compromised host.
Malware used by It is capable of remotely deleting files from victims.
GuLoader can delete its executable from the AppData\Local\Temp directory on the compromised host.
HALFBAKED can delete a specified file.
Hancitor has deleted files using the VBA kill function.
HAWKBALL has the ability to delete files.
HermeticWiper has the ability to overwrite its own file with random bites.
Heyoka Backdoor has the ability to delete folders and files from a targeted system.
Hi-Zor deletes its RAT installer file as it executes its DLL payload file.
Hildegard has deleted scripts after execution.
HotCroissant has the ability to clean up installed files, delete files, and delete itself from the victim’s machine.
HTTPBrowser deletes its original installer file once installation is complete.
Hydraq creates a backdoor through which remote attackers can delete files.
HyperBro has the ability to delete a specified file.
IceApple can delete files and directories from targeted systems.
Imminent Monitor has deleted files related to its dynamic debugger feature.
InnaputRAT has a command to delete files.
InvisiMole has deleted files and directories including XML and files successfully uploaded to C2 servers.
Ixeshe has a command to delete a file from the machine.
The JHUHUGIT dropper can delete itself from the victim. Another JHUHUGIT variant has the capability to delete specified files.
JPIN's installer/uninstaller component deletes itself if it encounters a version of Windows earlier than Windows XP or identifies security-related processes running.
jRAT has a function to delete files from the victim’s machine.
Kazuar can delete files.
Kevin can delete files created on the victim's machine.
KEYMARBLE has the capability to delete files off the victim’s machine.
KillDisk has the ability to quit and delete itself.
It has deleted the exfiltrated data on disk after transmission. It has also used an instrumentor script to terminate browser processes running on an infected system and then delete the cookie files on disk.
Kivars has the ability to uninstall malware from the infected host.
The Komplex trojan supports file deletion.
KONNI can delete files.
It malware has deleted files in various ways, including "suicide scripts" to delete malware binaries from the victim. It also uses secure file deletion to delete files from the victim.
LightNeuron has a function to delete files.
Linfo creates a backdoor through which remote attackers can delete files.
LiteDuke can securely delete files by first writing random data to the file.
LockerGoga has been observed deleting its original launcher after execution.
Lokibot will delete its dropped files after bypassing UAC.
LookBack removes itself after execution and can delete files on the system.
LoudMiner deleted installation files after completion.
Once a file is uploaded, It will delete it from the machine.
MacMa can delete itself from the compromised computer.
MacSpy deletes any temporary files it creates
It has deleted and overwrote files to cover tracks.
A It macro deletes files after it has decoded and decompressed them.
Once loaded into memory, MESSAGETAP deletes the keyword_parm.txt and parm.txt configuration files from disk.
It has quickly deleted cbd.exe from a compromised host following the successful deployment of their malware.
metaMain has deleted collected items after uploading the content to its C2 server.
Metamorfo has deleted itself from the system after execution.
Meteor will delete the folder containing malicious scripts if it detects the hostname as PIS-APP, PIS-MOB, WSUSPROXY, or PIS-DB.
Milan can delete files via C:\Windows\system32\cmd.exe /c ping 1.1.1.1 -n 1 -w 3000 > Nul & rmdir /s /q.
Misdat is capable of deleting the backdoor file.
MoonWind can delete itself or specified files.
More_eggs can remove itself from a system.
Mori can delete its DLL file and related files by Registry value.
Mosquito deletes files using DeleteFileW API call.
MURKYTOP has the capability to delete local files.
It will delete their tools and files, and kill processes after their objectives are reached.
NanHaiShu launches a script to delete their original decoy file to cover tracks.
Nebulae has the ability to delete files and directories.
njRAT is capable of deleting files.
NOKKI can delete files to cover tracks.
OceanSalt can delete files from the system.
It has deleted files associated with their payload after execution.
Okrum's backdoor deletes files after they have been successfully uploaded to C2 servers.
OopsIE has the capability to delete files and scripts from the victim's machine.
During Operation Dream Job, It removed all previously delivered files from a compromised computer.
During Operation Honeybee, the threat actors used batch files that reduced their fingerprint on a compromised system by deleting malware-related files.
During Operation Wocao, the threat actors consistently removed traces of their activity by first overwriting a file using /c cd /d c:\windows\temp\ & copy \\<IP ADDRESS>\c$\windows\system32\devmgr.dll \\<IP ADDRESS>\c$\windows\temp\LMAKSW.ps1 /y and then deleting the overwritten file using /c cd /d c:\windows\temp\ & del \\<IP ADDRESS>\c$\windows\temp\LMAKSW.ps1.
OSX_OCEANLOTUS.D has a command to delete a file from the system. OSX_OCEANLOTUS.D deletes the app bundle and dropper after execution.
OutSteel can delete itself following the successful execution of a follow-on payload.
P.A.S. Webshell can delete scripts from a subdirectory of /tmp after they are run.
Pasam creates a backdoor through which remote attackers can delete files.
It removed certain files and replaced them so they could not be retrieved.
Pay2Key can remove its log file from disk.
PcShare has deleted its files and components from a compromised host.
Penquin can delete downloaded executables after running them.
Pillowmint has deleted the filepath %APPDATA%\Intel\devmonsrv.exe.
PLEAD has the ability to delete files on the compromised host.
pngdowner deletes content from C2 communications that was saved to the user's temporary directory.
PoetRAT has the ability to overwrite scripts and delete itself if a sandbox environment is detected.
Pony has used scripts to delete itself after execution.
PowerDuke has a command to write random data across a file and delete it.
PowerShower has the ability to remove all files created during the dropper process.
POWERSTATS can delete all files on the C:\, D:\, E:\ and, F:\ drives using PowerShell Remove-Item commands.
After encrypting its own log files, the log encryption module in Prikormka deletes the original, unencrypted files from the host.
ProLock can remove files containing its payload after they are executed.
Proton removes all files in the /tmp directory.
Proxysvc can delete files indicated by the attacker and remove itself from disk using a batch file.
Pteranodon can delete files that may interfere with it executing. It also can delete temporary files and itself after the initial script executes.
PUNCHBUGGY can delete files written to disk.
PyDCrypt will remove all created artifacts such as dropped executables.
Pysa has deleted batch files after execution.
QakBot can delete folders and files including overwriting its executable with legitimate programs.
QUADAGENT has a command to delete its Registry key and scheduled task.
RainyDay has the ability to uninstall itself by deleting its service and files.
RCSession can remove files from a targeted system.
RDAT can issue SOAP requests to delete already processed C2 emails. RDAT can also delete itself from the infected system.
RDFSNIFFER has the capability of deleting local files.
Reaver deletes the original dropped file from the victim.
RedLeaves can delete specified files.
Remsec is capable of deleting files on the victim. It also securely removes itself after collecting and exfiltrating data.
REvil can mark its binary code for deletion after reboot.
Rising Sun can delete files and artifacts it creates.
It has deleted files on infected machines.
ROKRAT can request to delete files.
It can delete all files created during its execution.
RunningRAT contains code to delete files from the victim’s machine.
S-Type has deleted files it has created on a compromised host.
Saint Bot can run a batch script named del.bat to remove any Saint Bot payload-linked files from a compromise system if anti-analysis or locale checks fail.
Some Sakula samples use cmd.exe to delete temporary files.
SamSam has been seen deleting its own files and payloads to make analysis of the attack more difficult.
It has used backdoors that can delete files used in an attack from an infected system.
SDBbot has the ability to delete files from a compromised host.
SDelete deletes data in a way that makes it unrecoverable.
SeaDuke can securely delete files, including deleting itself from the victim.
Seasalt has a command to delete a specified file.
ServHelper has a module to delete itself from the infected machine.
Shark can delete files downloaded to the compromised host.
ShimRat can uninstall itself from compromised hosts, as well create and modify directories, delete, move, copy, and rename files.
Sibot will delete itself if a certain server response is received.
It has deleted artifacts, including scheduled tasks, communicates files from the C2 and other logs.
SILENTTRINITY can remove files from the compromised host.
SLOTHFULMEDIA has deleted itself and the 'index.dat' file on a compromised machine to remove recent Internet history from the system.
During the SolarWinds Compromise, It routinely removed their tools, including custom backdoors, once remote access was achieved.
SombRAT has the ability to run cancel or closeanddeletestorage to remove all files from storage and delete the storage temp file on a compromised host.
SpeakUp deletes files to remove evidence on the machine.
SQLRat has used been observed deleting scripts once used.
StoneDrill has been observed deleting the temporary files once they fulfill their task.
StrifeWater can self delete to cover its tracks.
StrongPity can delete previously exfiltrated files from the compromised host.
Stuxnet uses an RPC server that contains a routine for file deletion and also removes itself from the system through a DLL export by deleting specific files.
SUNBURST had a command to delete files.
Following the successful injection of SUNBURST, SUNSPOT deleted a temporary file it created named InventoryManager.bk after restoring the original SolarWinds Orion source code to the software library.
SysUpdate can delete its configuration file from the targeted system.
Taidoor can use DeleteFileA to remove files from infected hosts.
TAINTEDSCRIBE can delete files from a compromised host.
TDTESS creates then deletes log files during installation of itself as a service.
It has used a payload that removes itself after running. It also has deleted locally staged files for collecting credentials or scan results for local IP addresses after exfiltrating them.
It routinely deleted tools, logs, and other files after they were finished with them.
It has the ability to delete its malware entirely from the target system.
It has deleted existing logs and exfiltrated file archives from a victim.
Trojan.Karagany has used plugins with a self-delete capability.
It has deleted dropper files on an infected system using command scripts.
TYPEFRAME can delete files off the system.
Uroburos can run a Clear Agents Track command on an infected machine to delete Uroburos-related logs.
Ursnif has deleted data staged in tmp files after exfiltration.
USBStealer has several commands to delete files associated with the malware from the victim.
VBShower has attempted to complicate forensic analysis by deleting all the files contained in %APPDATA%..\Local\Temporary Internet Files\Content.Word and %APPDATA%..\Local Settings\Temporary Internet Files\Content.Word\.
VERMIN can delete files on the victim’s machine.
Volgmer can delete files and itself after infection to avoid analysis.
It has run rd /S to delete their working directories and files.
WhisperGate can delete tools from a compromised host after execution.
WINDSHIELD is capable of file deletion along with other file system interaction.
WindTail has the ability to receive and execute a self-delete command.
Wingbird deletes its payload along with the payload's parent process after it finishes copying files.
Winnti for Windows can delete the DLLs for its various components from a compromised host.
It has used file deletion to remove some modules and configurations from an infected host after use.
Woody RAT has the ability to delete itself from disk by creating a suspended notepad process and writing shellcode to delete a file into the suspended process using NtWriteVirtualMemory.
XAgentOSX contains the deletFileFromPath function to delete a specified file using the NSFileManager:removeFileAtPath method.
Zebrocy has a command to delete files and directories.
Zeus Panda has a command to delete a file. It also can uninstall scripts and delete files to cover its track.
zwShell has deleted itself after creating a service as well as deleted a temporary file when the system reboots.
ZxShell can delete files from the system.