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

Impacket-Get-NPUsers does not output hash of known vulnerable account. #1568

Open
sdcampbell opened this issue Jun 9, 2023 · 2 comments · May be fixed by #1867
Open

Impacket-Get-NPUsers does not output hash of known vulnerable account. #1568

sdcampbell opened this issue Jun 9, 2023 · 2 comments · May be fixed by #1867
Assignees
Labels
bug Unexpected problem or unintended behavior medium Medium priority item

Comments

@sdcampbell
Copy link

sdcampbell commented Jun 9, 2023

Configuration

impacket version: v0.10.0
Python version: 3.11.2
Target OS: Kali

Debug Output With Command String

I can't include debug logs due to client data. There were not any errors.

Additional context

I had a list of domain users. I ran:

 impacket-GetNPUsers -usersfile domainusers.txt -request -format hashcat -outputfile logs/asreproast.log [domain]/

It failed to output a hash of a known asreproastable account. I was able get a hash when I re-ran the script without -usersfile and specified the vulnerable account, which was also in the usersfile. When it worked, the command was:

 impacket-GetNPUsers -request -format hashcat -outputfile logs/asreproast.log [domain]/[vulnerableaccount]

After running the preceding command I was prompted for a password. I pressed enter and got the hash.

Thank you

@Zamanry
Copy link

Zamanry commented Jun 11, 2023

Same issue? #1512

@sdcampbell
Copy link
Author

Similar but not the same. In my case, the output file did not contain a hash. The pentest I'm on ends tomorrow, so please do let me know if there is any troubleshooting/debugging I can do before I lose access to this network environment.

@gabrielg5 gabrielg5 added bug Unexpected problem or unintended behavior medium Medium priority item labels Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior medium Medium priority item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants