Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to mount ntds.dit in offline mode #17

Open
saighanasyam opened this issue Dec 18, 2023 · 1 comment
Open

unable to mount ntds.dit in offline mode #17

saighanasyam opened this issue Dec 18, 2023 · 1 comment

Comments

@saighanasyam
Copy link

Hi,
The issue is not related to the tool itself but with mounting the ntds.dit file.

getting below error while trying to mount ntds.dit in offline mode:

issue

The NTDS dump is coming from a Windows 2012 R2, and I've made a clean install + added the necessary requirements (AD LDS services and RSAT AD LDS). I made sure Active Directory Web Service (ADWS) is also running.
Any idea on what is possibly wrong here? I know the issue is not related to the tool, however any assistance from your end is greatly appreciated.

@cert-cwatch
Copy link

Hi @saighanasyam,

We have had the same problem for a while, and I think we've found a workaround.
Sometimes, the NTDS dump is corrupted, and you need to repair it.

In the C:\Windows\NTDS folder, you can find all sorts of file :

image

You can use them to repair your NTDS to a stable state :

  • esentutl /r edb (Check if the 'edb' files are exploitable)
  • esentutl /g ntds.dit (Check if the NTDS is corrupted)
  • esentutl /p ntds.dit (Reconstruct the NTDS with the edb)

Here are more resources regarding this issue :
https://shulerent.com/2011/10/19/using-dsamain-to-browse-disconnected-ntds-dit/

Hope this help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants