Thursday, July 22, 2021

No access to shared folders on Windows

No access to shared folders on Ubuntu from Windows

This works on Windows Vista, Windows 7, Windows 8.1 and Windows 10:

Go to Network and Sharing Center.

Change advanced sharing settings

All networks (at the bottom)

Turn off password protected sharing


If can not connect to Windows 10 PC from Android via ES Explorer or other devices:

Windows 10 disables smb protocol v1.

Go to Turn Windows features on or off.

Enable SMB 1.0/CIFS File Sharing Support


If can not connect to Windows 10 PC from Dolphin in Kubuntu Linux:

In Authentication Dialog use following credentials:

Username: username

Password: Any

smb://username:Any@localPCname


If can not connect to Windows 7 PC from Dolphin in Kubuntu Linux:

Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options -> Accounts: Guest account status: Enabled

Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Deny access to this computer from the network (remove Guest and leave blank)

In Authentication Dialog use following credentials:

Username: user

Password: Any

smb://user:Any@localPCname

smb://username:Any@localPCname


smb://Guest:@server

smb://username:password@server

smb://username:*@server


hostname -I

ip addr show

ifconfig


Dolphin: Ctrl + L smb://192.1.1.1 (enter Windows network PC IP address)

Dolphin: Ctrl + Shift + , -> Skip previews for remote files above:


Due to its outdated technology, SMBv1 is highly insecure. It has many exploits/vulnerabilities and many of these allow remote control execution on the target machine. Although there were warnings from cyber security experts about the SMB 1 vulnerabilities, the infamous WannaCry ransomware attack made it very clear as the attack targeted vulnerabilities found in SMBv1.

    SMB 1 was created in 1984 to share files on DOS.

    CIFS (or Common Internet File System) was introduced in 1996 by Microsoft as Microsoft’s version of SMB in Windows 95.

    SMB 2 was released in 2006 as a part of Windows Vista and Windows Server 2008.

    SMB 2.1 was introduced in 2010 with Windows Server 2008 R2 and Windows 7.

    SMB 3 was released in 2012 with Windows 8 and Windows Server 2012.

    SMB 3.02 made its debut in 2014 with Windows 8.1 and Windows Server 2012 R2.

    SMB 3.1.1 was introduced in 2015 with Windows 10 and Windows Server 2016.

https://appuals.com/what-is-smb-1/

No comments:

Post a Comment