Skip to contentSkip to conversation

US-Cert recommends disabling SMB1

DISCUSSION Sachin Prabhu 3 participants 4 messages Jan 17, 2017 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

No surprise that we should disable cifs ... now our challenge

1) make SMB3 (linux kernel implementation clearly) better than cifs including
- the POSIX/Unix Extensions, which we were close to agreement on ...
- compounding (open/query/close)
- some minor feature finishup (xattrs and acls eg)
Although in most ways SMB3 is already better
2) finishup key security features
- Pavel's encryption patches need more review ASAP (he has a
github branch for these and I plan to merge into for-next fairly soon)
- SMB3.1.1 secure negotiate and crypto negotiation finishup
3) more testing to make sure we didn't miss anything ...

Quoted 10 lines · Sachin Prabhu

The following advisory was released by US-CERT.

https://www.us-cert.gov/ncas/current-activity/2017/01/16/SMB-Security-B
est-Practices

Sachin Prabhu
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Thanks,

Steve
#3 lore raw
In reply to a message not in the archive
Quoted 5 lines · Sachin Prabhu

The following advisory was released by US-CERT.

https://www.us-cert.gov/ncas/current-activity/2017/01/16/SMB-Security-B
est-Practices

Interesting since the KB articles they point out only tell how to disable SMB SMB2 or SMB3, but not why you would do so.

Note, I have had to use SMB(1) on Windows7SP1 at times when I couldn't get SMB2 to work. Could the US-CERT people explain what the risk is in using SMB1 on a closed (not exposed to the internet) network?

FWIW, I am running SMB2 now...

Sure wish I knew how to optimize it, as I have gotten 400-600MB/s in past testing (don't know what SMB level it was), but am now only getting ~ 200MB/s on SMB2. SMB1 was in the low 100's for throughput. (between Win7SP1 client and Samba-on-linux server).

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 16 lines · L A Walsh
Quoted 6 lines · Sachin Prabhu

The following advisory was released by US-CERT.

https://www.us-cert.gov/ncas/current-activity/2017/01/16/SMB-Security-B
est-Practices

Interesting since the KB articles they point out only tell how to disable SMB SMB2 or SMB3, but not why you would do so.

Note, I have had to use SMB(1) on Windows7SP1 at times when I couldn't get SMB2 to work. Could the US-CERT people explain what the risk is in using SMB1 on a closed (not exposed to the internet) network?

Quoted 6 lines

FWIW, I am running SMB2 now...

Sure wish I knew how to optimize it, as I have gotten 400-600MB/s in past testing (don't know what SMB level it was), but am now only getting ~ 200MB/s on SMB2. SMB1 was in the low 100's for throughput. (between Win7SP1 client and Samba-on-linux server).

Couple quick thoughts

- you should never be using SMB2 (SMB2.1 or SMB3 is fine) since it is missing some important features that the later versions supply (unless you really are running Windows Vista servers).

- smb2.1 and later should have faster large i/o (i/o sizes are larger than cifs) but may be slower in some operations that have lots of query of metadata (open/query/close is three operations on the wire instead of one as it was in cifs - since we don't do compounding yet).

Signature · 3 lines
Thanks,

Steve