Luckyy
Administrator
Staff
LEVEL 4
90 XP
1. Install the MS17-010 Security Patch
Microsoft released the MS17-010 patch in March 2017. If you're using Windows 7 SP1, you should install update KB4012212 or KB4012215.
Direct download:
https://www.catalog.update.microsoft.com/Search.aspx?q=KB4012212
Or use Windows Update:
Control Panel > Windows Update > Check for updates
2. Disable SMBv1
SMBv1 is an outdated and insecure protocol. EternalBlue targets it directly, so disabling it is a critical step.Option A: Using PowerShell
Open PowerShell as Administrator and run:
Code:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force
Restart your computer afterward.
Option B: Through Windows Features
- Go to Control Panel > Programs and Features
- Click "Turn Windows features on or off"
- Uncheck "SMB 1.0/CIFS File Sharing Support"
- Click OK and restart your PC
3. Block SMB Ports in Windows Firewall
Block TCP port 445 to prevent SMB traffic from reaching your system.Steps:
- Open Control Panel > Windows Firewall
- Click "Advanced settings"
- Go to Inbound Rules > New Rule
- Select "Port", then choose TCP and enter 445
- Choose "Block the connection"
- Apply to all profiles and give it a name like "Block SMB"
4. Use Antivirus with Exploit Protection
Use a reputable antivirus that includes exploit detection. Since Windows 7 doesn’t have Defender ATP, consider:
- Malwarebytes
- Bitdefender
- Kaspersky
5. Disable File and Printer Sharing (If Not Needed)
Turn off file sharing features to reduce exposure.Control Panel > Network and Sharing Center > Change advanced sharing settings > Turn off File and Printer Sharing
Use the “Public” network profile for added security when possible.
6. Upgrade or Isolate Windows 7 Systems
Windows 7 reached end-of-life in January 2020.
- Upgrade to Windows 10 or 11 if possible
- If you must use Windows 7, isolate it from the internet or put it on a restricted network
Summary
To secure your system from EternalBlue:- Install the MS17-010 patch
- Disable SMBv1
- Block port 445
- Keep antivirus updated
- Limit unnecessary file sharing
- Upgrade when possible
Stay secure and keep your system up to date.