How to Protect Your Windows PC From Phishing Attacks
Phishing is the number-one delivery method for malware, ransomware, and credential theft on Windows. Attackers craft convincing emails, fake login pages, and malicious links designed to trick you into handing over passwords or running dangerous files. The good news: a few targeted Windows settings and habits can dramatically reduce your exposure.
This guide walks you through practical, step-by-step defenses you can apply today — no advanced IT background required.
Having this problem on your own PC?
Describe what's happening and get a real AI diagnosis in seconds — no account needed.
What Makes Phishing So Effective on Windows
Phishing works because it exploits trust, not technical vulnerabilities. A spoofed Microsoft support email, a fake OneDrive sharing notification, or a cloned bank login page can fool even experienced users. On Windows, the risk is compounded because:
Macro-enabled Office documents can execute malicious code the moment you click "Enable Content"
Shortcut (.lnk) files disguised as PDFs or invoices can silently run PowerShell commands
Browser-saved passwords become an instant jackpot if an attacker gains even brief access
Windows SmartScreen is sometimes disabled by users who find it annoying — removing a key safety net
Understanding these attack vectors helps you close them systematically.
Step 1: Enable and Verify Windows SmartScreen
SmartScreen is Windows' built-in filter that checks downloaded files and websites against a database of known threats. It should always be on.
Open Windows Security → App & browser control
Under Reputation-based protection, click Reputation-based protection settings
Ensure all four toggles are On:
- Check apps and files
- SmartScreen for Microsoft Edge
- Potentially unwanted app blocking
- SmartScreen for Microsoft Store apps
You can also verify the SmartScreen policy via PowerShell:
Get-MpPreference | Select-Object EnableNetworkProtectionA value of 1 means network protection is active. If it returns 0, enable it:
Set-MpPreference -EnableNetworkProtection EnabledStep 2: Disable Office Macros for Untrusted Documents
Macro-based phishing is still rampant. Microsoft now blocks macros from internet-sourced files by default in Office 365, but older Office versions may not have this protection.
In any Office app (Word, Excel, PowerPoint):
Go to File → Options → Trust Center → Trust Center Settings
Click Macro Settings
Select Disable all macros with notification (or "without notification" for maximum security)
Uncheck Trust access to the VBA project object model
For Group Policy environments, the registry path is:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Word\SecuritySet VBAWarnings to 2 (disable with notification) or 4 (disable all, no notification).
Step 3: Use a DNS-Level Phishing Filter
Your browser's built-in phishing protection only catches known bad URLs. A DNS-level filter blocks malicious domains before your browser even connects.
Free options:
Cloudflare 1.1.1.2 — blocks malware and phishing domains
Quad9 (9.9.9.9) — threat intelligence from 20+ security vendors
OpenDNS Family Shield — blocks phishing and adult content
To change your DNS on Windows 11:
Open Settings → Network & Internet → Wi-Fi (or Ethernet) → Hardware properties
Click Edit next to DNS server assignment
Switch to Manual, enable IPv4, and enter your preferred DNS addresses
For Cloudflare's malware-blocking DNS:
Preferred: 1.1.1.2
Alternate: 1.0.0.2
Step 4: Enable Multi-Factor Authentication on Key Accounts
Even if a phishing attack steals your password, multi-factor authentication (MFA) stops the attacker from logging in. Enable MFA on:
Microsoft account — visit account.microsoft.com → Security → Advanced security options
Email accounts (Gmail, Outlook, Yahoo)
Banking and financial services
Any account with saved payment methods
Use an authenticator app (Microsoft Authenticator, Google Authenticator) rather than SMS codes — SIM-swapping attacks can intercept text messages.
Step 5: Audit and Clear Browser-Saved Passwords
Browsers that save passwords are a high-value target. If a phishing page tricks you into running a credential-harvesting script, every saved password becomes exposed.
Best practice: Use a dedicated password manager (Bitwarden, 1Password, KeePass) instead of browser-native storage. Then clear saved passwords from your browser:
In Chrome: chrome://settings/passwords → remove all saved passwords
In Edge: edge://settings/passwords → toggle off "Offer to save passwords"
In Firefox: about:preferences#privacy → Saved Logins → Remove All
A password manager encrypts your vault with a master password and never auto-fills on spoofed domains — a critical defense against lookalike phishing sites.
Step 6: Check for Suspicious Startup Entries and Scheduled Tasks
Successful phishing attacks often install persistence mechanisms — programs that survive reboots. Check these locations regularly:
Startup programs:
msconfig → Startup tab (or Task Manager → Startup apps)Scheduled tasks:
taskschd.mscLook for tasks with random names, tasks pointing to %TEMP% or %APPDATA% folders, or tasks running PowerShell with encoded commands.
Registry run keys:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunAny unfamiliar entry in these locations warrants investigation.
Step 7: Run a Full Diagnostic After Any Suspicious Activity
If you clicked a suspicious link, opened an unexpected attachment, or noticed unusual behavior after an email interaction, don't wait. Run a full Windows Defender scan immediately:
Start-MpScan -ScanType FullScanAlso check your Windows Security event log for logon anomalies:
Event ID 4624 — Successful logon
Event ID 4625 — Failed logon attempt
Event ID 4648 — Logon using explicit credentialsOpen Event Viewer with eventvwr.msc, navigate to Windows Logs → Security, and filter for these event IDs.
Let DiagnoseMyPc Help You Spot the Warning Signs
Phishing attacks often leave traces — unexpected processes, new startup entries, changed browser settings, or unusual network connections. DiagnoseMyPc makes it easy to surface these issues without digging through dozens of Windows tools manually.
With the free plan (5 analyses per month), you can describe what happened, paste command output, upload a screenshot of suspicious behavior, or run the optional Windows scan tool to get a structured analysis of what changed on your system. DiagnoseMyPc cross-references your findings and flags anything that looks out of place.
If you've recently received a suspicious email or noticed something odd after clicking a link, head to DiagnoseMyPc and run a diagnostic — catching a phishing compromise early is the difference between a quick cleanup and a full system rebuild.
Found this helpful?
Share it with someone who could use it.
DiagnoseMyPC Team
Expert PC diagnostics and troubleshooting guides to help you keep your Windows system running smoothly.
Get the free Windows Troubleshooting Checklist
Subscribe and instantly download our 50-point Windows troubleshooting checklist — plus practical fixes, performance tips, and security alerts from the DiagnoseMyPC team.
No spam. Unsubscribe anytime.
Frequently Asked Questions
How do I know if my PC has malware?
Common signs include sudden slowdowns, pop-ups, unfamiliar programs, high network or CPU usage when idle, and browser changes you didn't make. An AI diagnosis can flag suspicious activity in your system data — run a free scan at diagnosemypc.com to check.
Is Windows Defender enough to protect my PC?
For most home users, Windows Defender plus safe browsing habits and regular updates is solid protection. The bigger risks are outdated software, weak passwords, and clicking malicious links — good habits matter more than any single tool.
What should I do first if I think I've been hacked?
Disconnect from the internet, change important passwords from a different device, run a full security scan, and check for unfamiliar programs or startup entries. A diagnosis helps confirm what changed on your system so you know exactly what to clean up.
Does this tool make changes to my PC without asking?
No. The analyzer only reads the diagnostic data you choose to share and shows you any recommended fixes first. You stay in complete control of what actually runs on your computer.



