Technical Anshu
Tutorials Blog
🛡️ Ransomware Defence

Protect Shared Folders from Ransomware with Permission Hygiene

When ransomware hits one office PC, it does not stop at that PC. It uses the victim's own logins to walk through every shared folder it can write to — and encrypts the lot. Your permission list decides how far it gets. This page sets that list like a blast wall.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 8 minute hardening
🎥 Full video — sharing security that survives a bad day

Think of it mechanically: malware runs as the user it infected. It can open, change and delete exactly what that user can — nothing more, nothing less. So every right you hand out “just in case” is a right you are also handing to anything that ever infects that person's PC. Permission hygiene is not tidiness; it is damage control decided in advance.

Security Tab — What a Ransomware-Ready Share Looks Like (example)
EveryoneFull Control DANGER
UsersModify — on every folder TOO BROAD
After hygiene
Accounts-Read (most staff)Read only — cannot encrypt what it cannot write
Accounts-Full (2 people)Modify — on their folder only
✔ A read-only account's malware can read files — but cannot encrypt or delete the originals
Example entries. Read-only really does mean the files cannot be modified over the network by that account.
1

Remove Everyone Full Control — Everywhere

Search your shared folders for the worst entry in Windows sharing: Everyone — Full Control, on either list. It grants every account — and with password protection off, effectively every device — total power including changing permissions. Replace it with named groups at the level they actually need. While you are there, apply the same thinking to the broad Users group: if all staff accounts land in it, a Modify grant to Users is a Modify grant to everyone.

2

Write Access Only Where the Job Needs It

  1. Reference material — old invoices, price lists, templates: Read only for everyone except the one or two people who maintain it
  2. Working folders: Modify for the team that works in them, Read for everyone else
  3. Drop boxes ("put files here for accounts"): a folder where people can Write but not Read stops one infected PC from even listing what others submitted

Every folder moved from Modify to Read is a folder one infection cannot encrypt. On a typical office share, that is most of the data.

3

Turn Off SMB1 — the Old Protocol With the Worst History

SMB1 is the 1980s-era version of the sharing protocol, kept only for ancient devices. The WannaCry outbreak that crippled hospitals and offices worldwide spread through SMB1. If no genuinely old device (some very old scanners and NAS boxes) needs it, disable it on the file PC from an admin PowerShell: Set-SmbServerConfiguration -EnableSMB1Protocol $false. Check first with Get-SmbServerConfiguration — and if something breaks, it was silently depending on SMB1 and deserves replacing, not re-exposing.

4

The Backup Rule That Actually Decides the Outcome

Permissions limit the blast; they do not undo it. The offices that shrug off ransomware have one thing: a copy of the data that the infected PC cannot write to. That means a backup drive that is unplugged after the backup, a NAS with its own separate login the office PCs do not save, or a cloud backup with version history. Be honest about two popular non-solutions: a permanently connected backup drive gets encrypted too, and shadow copies are routinely deleted by ransomware itself (vssadmin delete shadows is a standard step). A backup the malware can reach is a second copy of the problem.

🔴 Say it to the whole office: no permission setup makes an infected PC safe — it makes the infection smaller. The full defence is tight permissions, SMB1 off, patched Windows, and one offline or separately-credentialed backup. Skip the last one and the rest only decide how much you lose.

🎥 Watch the Full Video

The video builds the permission side of this defence step by step — groups, levels and the settings that matter.

▶️ Watch Full Video
❓ Common Questions (FAQ)

Can ransomware encrypt files in a folder where I only have Read permission?

No — encryption means writing modified files back, and Read does not allow writing. The malware could still read and steal the data, which is its own serious problem, but the originals survive untouched.

Is a mapped drive more dangerous than opening the share by path?

Slightly, in practice: ransomware actively hunts mapped drive letters. But anything the account can reach by path is equally writable. The protection is the permission level, not how the folder was opened.

Should the backup folder be shared so the backup can run?

The backup should pull or push using its own dedicated account with access to nothing else — and the backup destination should not be browsable from office PCs at all. If staff PCs can open the backup share and write to it, so can their malware.

This guide is based on the Technical Anshu advanced sharing video • Stuck on any step? Ask in the video comments — you will get a reply there 🙏