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

[!] Authentication error on x.x.x.x #58

Open
jjvargass opened this issue May 16, 2020 · 3 comments
Open

[!] Authentication error on x.x.x.x #58

jjvargass opened this issue May 16, 2020 · 3 comments

Comments

@jjvargass
Copy link

the target server
139/tcp open netbios-ssn Samba smbd 3.X - 4.X (workgroup: WORKGROUP)
445/tcp open netbios-ssn Samba smbd 3.0.20-Debian (workgroup: WORKGROUP)
my version of smbclient
smbclient --version
Version 4.11.5-Debian
I solved problem smbclient with --option='client min protocol=NT1'

smbmap -H 10.10.10.3
[!] Authentication error on 10.10.10.3

there is a way to assign the option to smbmap

@ShawnDEvans
Copy link
Owner

I'll have to dig into Impacket a bit to see how to force SMB1 protocol. I'll keep you posted. Should be an easy change. Thanks for the feedback!

@b4ttler
Copy link

b4ttler commented Jul 5, 2020

I too am having this issue for null sessions, I have pulled the latest Impacket.

@ShawnDEvans
Copy link
Owner

ShawnDEvans commented Jul 8, 2020

Thanks for the feedback. I made a super minor update. I'm not quite sure what is up with it. There's nothing particularly complicated about submitting a zero length string for a username and password. See if the tweak made a difference. Fingers crossed!

Edit:

I totally forgot about the SMBv1 support! I've done a bit of research on it, but I lack an SMBv1 server to test against. I'm a bit busy the next couple of weeks but I'll try to find some time to setup a lab and get this change pushed. I think it should be easy....but....well....famous last words. It seems like SMBv1 should be supported out of the gate with Impacket, but I'm going to try forcing the SMB dialect to see if that changes anything.

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

3 participants