Since our release of Kali Linux 2021.4, the Samba client has been configured for wider compatibility to allow Kali to talk to as many Samba servers as possible. This means that legacy protocols (such as LANMAN1, LANMAN2 and NT1) are enabled by default. This is a change from standard behavior, as these are disabled to enforce communication over more secure channels. As a result of this change tools used inside of Kali will be able to communicate using these outdated methods. This is done to help increase Kali’s ability to talk to older, obsolete Samba servers that are still using these older protocols. Older services using this may be at end of life, thus increasing the chances of discovering vulnerabilities or other problems.
However, if you would rather keep Samba as secure as possible using today’s modern standards, you can enable the Strong Security mode.
These settings can be changed easily using the
kali-tweaks tool. Simply:
- Open a terminal and run
- From there, select the Hardening menu.
- Now you can choose between Wide Compatibility (the default) and Strong Security.
Note: This is achieved by changing the setting
client min protocol in the Samba configuration file
Updated on: 2022-Aug-22