Add SMB_302 to possible SMB3 dialects - #2220
Conversation
|
@anadrianmanrique, @gabrielg5, @alexisbalbachan since this is quite a critical bug for NetExec, it would be nice if one of you could check this out (sorry for the ping if you already saw this). EDIT: |
|
Hello, thanks for reporting the issue. Based on your report we've found a couple of additional potential issues in:
Given that you were able to solve the issue in your project, if you are ok, I will close this PR without margining it, and open a new one addressing the above mentioned issues. Thanks! |
|
Absolutely! If you have a better way of fixing it (and even make signing checking more reliable/straight forward in the process) feel free to close! |
With commit 8f81720 impacket will automatically negotiate SMB 3.1.1 which enforces signing. Since in NetExec we would still use unsigned SMB connections (e.g. for signing enforcement enumeration, see Pennyw0rth/NetExec#1292) I would like to be able to specify the latest non-signing required SMB dialect which is SMB 3.0.2. However, currently this is simply missing in the options to create an SMB3 connection and therefore fails.
Keep in mind that 8f81720 might also has affected impacket scripts or the relay server, but haven't tested those specifically.
Before&After:
