wootski / impacket

Automatically exported from code.google.com/p/impacket
Other
0 stars 0 forks source link

smbserver.py does not work with signing #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
root@kali:~/impacket/impacket# smbclient -v -S required //localhost/TMP
Enter root's password: 
smb_signing_good: BAD SIG: seq 1
smb_signing_good: BAD SIG: seq 3
session setup failed: NT_STATUS_ACCESS_DENIED

Since impacket 0.9.10 added support for smb signing, I hoped and expected to 
see this working in smbserver.py as well.  Maybe it was started and forgotten, 
since hashlib was imported.

I am using svn checkout rev 1056.

Original issue reported on code.google.com by kmike...@yahoo.com on 3 Jan 2014 at 7:16

GoogleCodeExporter commented 9 years ago
Hey there:

Thanks for the report.. Actually you're right.. smbserver does not currently 
support smb signing.. All the pieces are there, but not implemented. Before 
signing packets I need to finalize the management of users, since the signing 
is done based on the user's hashes. There's some work done for right now 
smbserver is not authenticating users, just letting them log in. Once that's 
done then signing the packets is super simple.

Right now I'm swamped with the new RPC runtime so I don't have time left for 
this, but I will accept this issue for future work.

You're welcome to implement it if you have time!

thanks and happy new year!
beto

Original comment by bet...@gmail.com on 8 Jan 2014 at 1:07