Sigma rule: Greedy File Deletion Using Del

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e369f53202a3, updated 2023-09-11T00:00:00.000Z.

Rule

Title
Greedy File Deletion Using Del
Status
test
Level
medium
Author
frack113 , X__Junior (Nextron Systems)
Date
2021-12-02
Modified
2023-09-11
File
rules/windows/process_creation/proc_creation_win_cmd_del_greedy_deletion.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects execution of the "del" builtin command to remove files using greedy/wildcard expression. This is often used by malware to delete content of folders that perhaps contains the initial malware infection or to delete evidence.

Log source

product
windows
category
process_creation

Detection

# Example:
#   del C:\ProgramData\*.dll & exit
selection_img:
    - Image|endswith: '\cmd.exe'
    - OriginalFileName: 'Cmd.Exe'
selection_del:
    CommandLine|contains:
        - 'del '
        - 'erase '
selection_extensions:
    CommandLine|contains:
        - '\\\*.au3'
        - '\\\*.dll'
        - '\\\*.exe'
        - '\\\*.js'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1070.004

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_del_greedy_deletion.yml

Sources and licences

  • SigmaHQ

    "Greedy File Deletion Using Del" by frack113 , X__Junior (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_cmd_del_greedy_deletion.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Greedy File Deletion Using Del",
entity page, dataset version ref-e369f53202a3, updated 2023-09-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/204b17ae-4007-471b-917b-b917b315c5db (accessed 2026-11-03).
Underlying source: SigmaHQ rule 204b17ae-4007-471b-917b-b917b315c5db, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.