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

Traceback during extraction #5

Open
pand0rausa opened this issue Sep 16, 2015 · 1 comment
Open

Traceback during extraction #5

pand0rausa opened this issue Sep 16, 2015 · 1 comment

Comments

@pand0rausa
Copy link

When running impdump and pointing to the SYSTEM and output files it immediately returns this error.

Traceback (most recent call last):
File "impdump.py", line 246, in
decKrbtgt(sys.argv[1], sys.argv[2])
File "impdump.py", line 145, in decKrbtgt
print decUserHash(bootkey, rawPekKey, "krbtgt", rawRID, "", rawNTLMhash)
File "impdump.py", line 32, in decUserHash
rid = int(rawRID[48:],16)
TypeError: 'NoneType' object has no attribute 'getitem'

@quentinhardy
Copy link

quentinhardy commented May 21, 2018

Same error. I think the bug is in extract.sh.

This error shows the Encrypted PEK (Password Encryption Key) is not correctly extracted from ntds file with extract.sh.

The output file of extract.sh doesn't contain ATTk590689 attributes in my case.

impdump.py uses the output file of extract.sh script for getting hashes.
impdump.py needs this value for decrypting hashes (PEK + RC4).

So I think It is impossible to extract hashes for us with this project...

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