Windows Backup File Deletion Triggered by CLI or Script Hosts

Alerts when cmd.exe, PowerShell, wt.exe, rundll32.exe, or regsvr32.exe delete files with backup-oriented filename extensions.

FreeReviewedSigma · Medium · v2
Product
windows
Category
file_delete
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-01-02
Updated
2026-07-31
title: Windows Backup File Deletion Triggered by CLI or Script Hosts
id: a11a0e6e-b246-45cc-a8f5-add9dae6a6e8
status: test
description: This rule identifies deletion activity where a process invoked via cmd.exe, PowerShell, pwsh, wt.exe, rundll32.exe, or regsvr32.exe targets files with backup-related extensions. Attackers may remove or disrupt backup artifacts to hinder system recovery and reduce the chance of restoring from known-good data. Telemetry relies on Windows process execution context and file deletion events capturing Image and TargetFilename with the specified extensions.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1490/T1490.md#atomic-test-6---windows---delete-backup-files
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/file/file_delete/file_delete_win_delete_backup_file.yml
author: frack113, Huntrule Team
date: 2022-01-02
modified: 2023-02-15
tags:
  - attack.impact
  - attack.t1490
logsource:
  product: windows
  category: file_delete
detection:
  selection:
    Image|endswith:
      - \cmd.exe
      - \powershell.exe
      - \pwsh.exe
      - \wt.exe
      - \rundll32.exe
      - \regsvr32.exe
    TargetFilename|endswith:
      - .VHD
      - .bac
      - .bak
      - .wbcat
      - .bkf
      - .set
      - .win
      - .dsk
  condition: selection
falsepositives:
  - Legitimate usage
level: medium
license: DRL-1.1
related:
  - id: 06125661-3814-4e03-bfa2-1e4411c60ac3
    type: derived