Skip to content

Sandeep Bhalla's Analysis

An Epistemic Odyssey through Data, Doubt and Discovery.

Menu
  • Home
  • Economics
  • Politics
  • Culture
  • Humour
  • Geopolitics
  • India
Menu
Ransomware protection for Windows

Windows protection from unwanted Ransomware

Posted on August 1, 2025

Protecting Windows computer from Ransomware

Table of Contents

Toggle
  • Protecting Windows computer from Ransomware
    • Common Delivery Methods for Ransomware
  • How to Sandbox Your Downloads Folder (No Execution Allowed)
    • GUI Method
    • PowerShell Equivalent (command line method)
    • Optional: AppLocker Rule (for Pro/Enterprise Edition of Windows)
    • SmartScreen + MOTW
    • SmartScreen Settings
      • 📊 Result

The ransomware attack on Knights of Old, a 158-year-old UK logistics firm (later known as KNP Logistics), was a textbook case of how one weak password can unravel an entire legacy. In 2023, the ransomware gang Akira infiltrated KNP’s systems by guessing an employee’s password. Once inside, they encrypted all company data, locked staff out of critical systems, and left a chilling ransom note:

“If you’re reading this it means the internal infrastructure of your company is fully or partially dead…”

Ransomware is a type of malware that encrypts or blocks access to your files or systems. The attacker then demands a ransom payment to restore access. If unpaid, the data may be leaked, sold, or permanently destroyed.

Common Delivery Methods for Ransomware

  • Phishing Emails: Fake messages trick users into clicking infected attachments or links.
  • Drive-by Downloads: Malware installs when visiting compromised websites.
  • Remote Desktop Protocol (RDP): Attackers brute-force login credentials to gain access.
  • Malvertising: Legit-looking ads hide malicious code.
  • Software Vulnerabilities: Unpatched systems are easy targets.

Though that was an attack on Windows machine, Ransomware is known to have attacked Linux virtual machines as well. But so far has no penetrated Linux OS stand alone computers. Therefore it is better to protect the Windows by preventing any downloaded file from executing itself or by accident. This will help to do that. This will enable the same protection in Windows which is there in Linux by default.

How to Sandbox Your Downloads Folder (No Execution Allowed)

Think of your Downloads folder as quarantine—not a launchpad. Follow these steps to make sure anything dropped here stays inert until granted explicit parole.

GUI Method

  1. Navigate to C:\Users\<YourUsername>\Downloads
  2. Right-click → Properties → Security tab
  3. Click Advanced → Disable Inheritance → Convert permissions
  4. Remove Read & Execute for Users, preserve Read and Write
  5. Apply changes and exit

PowerShell Equivalent (command line method)

(Change USERPROFILE) with your user name)


$downloads = "$env:USERPROFILE\Downloads"
$acl = Get-Acl $downloads
$rule = New-Object System.Security.AccessControl.FileSystemAccessRule("Users","Read,Write","ContainerInherit,ObjectInherit","None","Allow")
$acl.SetAccessRuleProtection($True, $False)  # Disable inheritance
$acl.ResetAccessRule($rule)
Set-Acl -Path $downloads -AclObject $acl
  

Optional: AppLocker Rule (for Pro/Enterprise Edition of Windows)

Use Local Security Policy → AppLocker → Create path rules to block %USERPROFILE%\Downloads. Apply via GPO if needed.

SmartScreen + MOTW

  • Enable SmartScreen: Settings → Privacy → Check apps and files
  • Downloaded files are tagged with MOTW (Mark of the Web)—layered defense!

🧪 If That Option Still Doesn’t Appear…

Let’s verify SmartScreen status via PowerShell:

Get-MpPreference | Select-Object SmartScreenForExplorer

If it returns Disabled, you can enable it with:

Set-MpPreference -SmartScreenForExplorer Enabled

It requires admin rights and Windows Defender to be active.

SmartScreen Settings

  1. Go to Privacy & security in Settings.
  2. Scroll down and click Windows Security.
  3. Then click Open Windows Security.
  4. In the Windows Security window, choose App & browser control.
  5. Under Reputation-based protection, click Reputation-based protection settings.
  6. Look for Check apps and files and toggle it On.

 

Want me to build a script that checks all SmartScreen toggles and logs their status? Or troubleshoot if a Group Policy or registry setting is suppressing the UI? I can modularize it for reuse.

📊 Result

File TypeBehavior in Downloads
.exeBlocked
.ps1, .batBlocked
Moved manually to trusted folderExecution possible (if permissions restored)

Pro tip: This setup mimics chmod -x behavior from Linux—execution must be earned, not assumed.

Now no win.exe or other ransomeware file can be accidentally run to install ransomware on your compute. Be safe and be happy.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Recent Posts

  • Mackinder’s Heartland Theory is an example of Narcissistic Cartography
  • Grok (xAI) not only lies, it cheats and is not transparent.
  • Empires Poison Themselves and Collapse
  • Quietness of Mind is not a Mirage.
  • Tendency of Economic Experts to be Economical with Truth

Recent Comments

  1. How old is Mathematics in India? Bakhshali Papers debate it. - Sandeep Bhalla's Analysis on The Sanskrit Mill Operation of East India Company
  2. Purchasing Power Parity (PPP) Methodology of World Bank is Defective. - Sandeep Bhalla's Analysis on India Reduced Goods Tax (GST): It Must be Punished.
  3. India Reduced Goods Tax (GST): It Must be Punished. - Sandeep Bhalla's Analysis on Purchasing Power Parity (PPP) Methodology of World Bank is Defective.
  4. India's response to West's Epistemological Violence - Sandeep Bhalla's Analysis on The Sanskrit Mill Operation of East India Company
  5. Socialism: A hat that has lost its shape. - Sandeep Bhalla's Analysis on India’s most lucrative start ups: Political Parties

Archives

  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025

Categories

  • Army
  • Artificial Intelligence (AI)
  • Aviation
  • Blog
  • Business
  • Civilisation
  • Computers
  • Corruption
  • Culture
  • Economics
  • Education
  • Fiction
  • Finance
  • Geopolitics
  • Health
  • History
  • Humanity
  • Humour
  • India
  • Judges
  • Judiciary
  • Law
  • lifestyle
  • Movie
  • National Security
  • Philosophy
  • Politics
  • Relationships
  • Romance
  • Sports
  • Tourism
©2025 Sandeep Bhalla's Analysis | Design: Newspaperly WordPress Theme