Git Product home page Git Product logo

Comments (5)

MichaelGrafnetter avatar MichaelGrafnetter commented on July 20, 2024 2

@Sinokra LDS data decryption has been present in DSInternals for a long time and is supported on WS 2003-2019 databases, see

public void PasswordEncryptionKey_DataStoreNTHash_LDS_W2019_Decrypt()

Decryption key loader is implemented here:

public DirectorySecretDecryptor GetSecretDecryptor(byte[] bootKey = null)

I still have not finished rewriting schema loading code so that it can also read LDS accounts from the DB.

from dsinternals.

Sinokra avatar Sinokra commented on July 20, 2024

Hi @MichaelGrafnetter ,

Sorry to come back on this enhancement: does DSInternals is handling ADAM/AD LDS for either process (ADDBAccount) the NTDS file or use the ADReplAccount to retrieve password hashes ?

If not do you plan to include it ? Or do you know a tool to achieve this ?

Thanks a lot for your feedbacks.

Vivien

from dsinternals.

MichaelGrafnetter avatar MichaelGrafnetter commented on July 20, 2024

Hi @Sinokra , I don't know of any other tool supporting this. DSInternals requires a major rewrite of shcema loading to support this and I have already started working on it. The thing is that accounts in LDS/ADAM are not just user or inetOrgPerson classes. If at least one of the following statements applies to an object class within an AD LDS schema, then each instance of that object class functions as an AD LDS user:

  1. The object class contains msDS-BindableObject as a static auxiliary class.
  2. The object class contains a static auxiliary class that is a subclass of msDS-BindableObject.
  3. The object class is a subclass of another object class that satisfies statement 1 or 2.

from dsinternals.

Sinokra avatar Sinokra commented on July 20, 2024

Hi @MichaelGrafnetter, thanks a lot for these precisions, and really sorry for the delay in my answer I had to deal with something else, but now I'm back on the AD LDS topic.
I'm still needing to export the password hashes from an AD LDS. I don't know when DS Internal will handle this "technology" but I have tried to do the job on my own by processing the NTDS.dit file. Nevertheless I'm struggling in the final step I guess and if I may, I would need your expertise:

  • Do you know in which algorithm the password attribute is encrypted (on top of the hash) ?
  • Do you know where to find the master key ? Is is the so-called Boot Key (aka SysKey) ?

Thanks a lot for your insights on this Michael, very appreciated.

from dsinternals.

aapanage avatar aapanage commented on July 20, 2024

@MichaelGrafnetter if there a plan to make this enhancement available? @Sinokra did you find a way to export the hashes?

from dsinternals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.