Impact · Windows · LOLBAS
wbadmin.exe
Windows Backup command line
Manages Windows Server Backup. Deleting backup catalogs and system state backups removes recovery options, and it can also back up the AD database and SYSTEM hive for credential extraction.
Legitimate use
Admins use it to back up and restore volumes, system state and the catalog.
Subcommands
Deletes backups. delete catalog and delete systemstatebackup remove recovery data.
HighActs on the backup catalog. Deleting it hides and blocks recovery of backups.
HighActs on system state backups, which include AD and the registry on a DC.
MediumStarts a backup. Can target NTDS.dit and the SYSTEM hive.
MediumSpecifies a backup operation and its targets.
LowStarts a recovery, which can extract specific files such as NTDS.dit.
MediumSwitches
Runs without prompts.
LowCommand lines to worry about
- Critical
AD database handled through backup
wbadmin is used to back up or recover NTDS.dit and the SYSTEM hive, which together allow offline extraction of domain credentials. High-confidence on a DC.
Detection regex
wbadmin(\.exe)?\s+start\s+(backup|recovery)\b.*ntds(\.dit)? - High
Backups deleted
Deleting the backup catalog or system state backups removes recovery options. Seen alongside shadow copy deletion before ransomware encryption.
Detection regex
wbadmin(\.exe)?\s+delete\s+(catalog|systemstatebackup)\b
Where it is recorded
- Security4688Process creation with the full command line, when command-line auditing is enabled.
- Sysmon1Process creation with command line, hashes and parent process.
Community detections
6 SigmaHQ rules for wbadmin.exe. The explainer checks every pasted command line against all of them.
- HighAll Backups Deleted Via Wbadmin.EXE
Detects the deletion of all backups or system state backups via "wbadmin.exe". This technique is used by numerous ransomware families and actors. This may only be successful on server platforms that have Windows Backup enabled.
T1490by frack113, Nasreddine Bencherchali (Nextron Systems)
- HighSensitive File Dump Via Wbadmin.EXE
Detects the dump of highly sensitive files such as "NTDS.DIT" and "SECURITY" hive. Attackers can leverage the "wbadmin" utility in order to dump sensitive files that might contain credential or sensitive information.
T1003.003by Nasreddine Bencherchali (Nextron Systems), frack113
- HighSensitive File Recovery From Backup Via Wbadmin.EXE
Detects the dump of highly sensitive files such as "NTDS.DIT" and "SECURITY" hive. Attackers can leverage the "wbadmin" utility in order to dump sensitive files that might contain credential or sensitive information.
T1003.003by Nasreddine Bencherchali (Nextron Systems), frack113
- HighShadow Copies Deletion Using Operating Systems Utilities
Shadow Copies deletion using operating systems utilities
T1070T1490by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)
- MediumFile Recovery From Backup Via Wbadmin.EXE
Detects the recovery of files from backups via "wbadmin.exe". Attackers can restore sensitive files such as NTDS.DIT or Registry Hives from backups in order to potentially extract credentials.
T1490by Nasreddine Bencherchali (Nextron Systems), frack113
- MediumWindows Backup Deleted Via Wbadmin.EXE
Detects the deletion of backups or system state backups via "wbadmin.exe". This technique is used by numerous ransomware families and actors. This may only be successful on server platforms that have Windows Backup enabled.
T1490by frack113, Nasreddine Bencherchali (Nextron Systems)
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.