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

Updated lockpicker to force loading UNC for NLTMv2 auth #311

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Plazmaz
Copy link

@Plazmaz Plazmaz commented Jul 27, 2019

This change drastically increases the success rate for getting NTLMv2 hashes. The gist of it is, the img file I added contains a single windows shortcut (.lnk) file with an icon pointing at \172.0.6.1\Share. Windows attempts to load this icon from the network share at \172.0.6.1, and in the process will authenticate using the default credentials of the current user to render the icon. Windows will do this whenever it sees one of these files. It will also generally open a folder when a new mass storage device is attached, causing it to render icons for all files within a folder. This will happen even if the screen is still locked.

These two "features" allow for forcing NTLMv2 authentication, which means responder will get a hash much more quickly and more frequently. This also seems to work for most modern versions of windows, versus the existing method, which only works reliably for older versions.

You can find some more details here: https://dylankatz.com/NTLM-Hashes-Microsoft's-Ancient-Design-Flaw/

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

Successfully merging this pull request may close these issues.

1 participant