SPECTRALVIPER Anti-Forensics (Self-Deletion)
Detects self-deletion commands (e.g., rm -f $0) used by Miasma payloads to remove their execution tracks from disk immediately after running. The rule specifically looks for process command lines containing 'rm', '-f', and either '$0' or '%~dp0', which are common patterns for self-deletion in shell scripts.
Microsoft Sentinel (KQL)

