Skip to content

smb accessor: Implement local and hash authentication; Fix Typo #4181

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

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

Conversation

duhirsch
Copy link

@duhirsch duhirsch commented Apr 16, 2025

Since the used smb library (go-smb2) supports local authentication and password authentication I lifted this functionality into Velociraptor.
There currently is neither documentation nor GUI adaptation for this feature but you can use it in the following ways:
For local authentication you can specify ".\" in front of your username, e.g. ".\Administrator".
For hash authentication it can be used by prefixing the hash with "ntlm:" and enter it into the password field, e.g. "ntlm:7AF0A56215582EFAA29563258AE43312".

@CLAassistant
Copy link

CLAassistant commented Apr 16, 2025

CLA assistant check
All committers have signed the CLA.

@scudette
Copy link
Contributor

Thanks for this PR - can you please elaborate on a use case for providing the hash directly during DFIR? Usually we use this accessor to access e.g. a file share and a password is more easily provided.

@duhirsch
Copy link
Author

Good point. I stumbled over this option while implementing local auth and thought "If it's already there, why not use it. Also looks like an easy change".

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.

3 participants