Skip to main content
Artifacts Generated: File Delete

Summary

Delete a specified file.

Arguments (Positional)

Path

Path to a the file to be deleted. If this is not a full path, the agent’s current working directory will be used.

Usage

rm [path]
rm -Path [path]
Example
rm C:\config.txt
rm -Path C:\Program Files\Google Chrome

MITRE ATT&CK Mapping

  • T1106
  • T1107