Skip to content
WETNav

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.

Worst caseCritical

Subcommands

delete

Deletes backups. delete catalog and delete systemstatebackup remove recovery data.

High
catalog

Acts on the backup catalog. Deleting it hides and blocks recovery of backups.

High
systemstatebackup

Acts on system state backups, which include AD and the registry on a DC.

Medium
start

Starts a backup. Can target NTDS.dit and the SYSTEM hive.

Medium
backup

Specifies a backup operation and its targets.

Low
recovery

Starts a recovery, which can extract specific files such as NTDS.dit.

Medium

Switches

-quiet

Runs without prompts.

Low

Command 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 regexwbadmin(\.exe)?\s+start\s+(backup|recovery)\b.*ntds(\.dit)?

    T1003.003

  • High

    Backups deleted

    Deleting the backup catalog or system state backups removes recovery options. Seen alongside shadow copy deletion before ransomware encryption.

    Detection regexwbadmin(\.exe)?\s+delete\s+(catalog|systemstatebackup)\b

    T1490

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.

  • High
    All 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)

  • High
    Sensitive 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

  • High
    Sensitive 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

  • High
    Shadow 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)

  • Medium
    File 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

  • Medium
    Windows 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.