Windows Backup Deleted Via Wbadmin.EXE
A Sigma rule for process creation on Windows, by frack113, Nasreddine Bencherchali (Nextron Systems).
medium 1 ATT&CK technique 1 program it names 3 everyday examples trip it
What it looks for
detection:
filter_main_keep_versions:
CommandLine|contains: 'keepVersions:0'
selection_cli:
CommandLine|contains|all:
- 'delete '
- 'backup'
selection_img:
- Image|endswith: '\wbadmin.exe'
- OriginalFileName: 'WBADMIN.EXE'
condition: all of selection_* and not 1 of filter_main_*
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by frack113, Nasreddine Bencherchali (Nextron Systems), under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
Command lines that trip it
To delete the system state backup created on March 31, 2013 at 10:00 AM, type on the page for wbadmin delete systemstatebackup
wbadmin delete systemstatebackup -version:03/31/2013-10:00IdentifyTo delete all system state backups, except the three most recent, type on the page for wbadmin delete systemstatebackup
wbadmin delete systemstatebackup -keepVersions:3IdentifyTo delete the oldest system state backup stored on disk f:, type on the page for wbadmin delete systemstatebackup
wbadmin delete systemstatebackup -backupTarget:f:\ -deleteOldestIdentify