🦠 Windows Malware & Backdoor Scanner

One PowerShell script. Auto-detects Win 7 / 10 / 11. Runs 12–13 checks in ~60 seconds. Red = investigate. Green = clear.

← Back to Toolkit Hub πŸ‡¨πŸ‡³ δΈ­ζ–‡η‰ˆ
⚑ Need a server to run these commands?Hostinger 80% Off β†’
⚠️ Run PowerShell as Administrator β€” right-click Start β†’ Windows PowerShell (Admin) β€” or some checks will be silently skipped.
1

⚑ One-Shot Full Scan β€” Copy, Paste, Enter

Paste the entire script into an Administrator PowerShell window and press Enter. Takes ~30–60 s.

Auto-detects OS version β†’ Win7: 12 checks Β· Win10: 12 checks Β· Win11: +VBS & Secure Boot = 13 checks. Suspicious findings print in red, clean items in green.
What the script checks:
System info + auto OS detection
Currently logged-on users
Unexpected local admins
Processes in Temp / AppData
Masquerading system processes
Outbound connections (Win7: netstat)
Registry Run key persistence
Scheduled tasks (Win7: schtasks)
WMI event subscriptions
Recent executables (7 days)
Win7: MSE / Win10+: Defender + exclusions
Hosts file DNS hijacking
Win11: VBS / Memory Integrity
Win11: Secure Boot state
Expected output:
Detected OS: Windows 11 (Build 22621) === 5/12 Established Outbound Connections === [OK] chrome (PID 4312) -> 142.250.80.46:443 [OK] Code (PID 9840) -> 20.205.243.166:443 [!!] powershell (PID 2288) -> 103.45.12.7:4444 ← reverse shell? === 8/12 WMI Event Subscriptions === [OK] No WMI EventFilter subscriptions [OK] No WMI EventConsumer subscriptions ... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Scan complete [Windows 11]. [!!] items need manual review.
2

πŸ”¬ Deep-Dive Commands β€” After Finding a [!!]

Run these against specific PIDs, file paths, or task names flagged above

Get full command line + parent process by PID
List all network connections for a given PID
SHA256 hash a suspicious file (search on VirusTotal)
Delete a suspicious Run key entry
Remove a malicious scheduled task
Wipe all WMI persistence subscriptions
Show PowerShell command history (find attacker's commands)
Kill a suspicious process
3

πŸ’Ύ Save Report to File

Redirect output to a .txt file for sharing or archiving

Save script as .ps1 then run and capture output
Open the report
4

πŸ” How to Interpret Results

[!!] doesn't always mean malware β€” use this table to decide

High β€” almost certainly compromised Medium β€” needs verification Low β€” likely normal
FindingRiskWhat it means
powershell / cmd outbound to foreign IPHighClassic reverse shell β€” almost certain indicator
WMI event subscriptions existHighLegitimate software almost never uses WMI subscriptions; APT favourite
svchost.exe NOT in System32HighName-spoofing is a textbook malware technique
Event 1102 β€” log clearedHighAttacker covering tracks; check what happened just before
Run key value contains -w hidden or -encMediumVerify the program; some legit updaters use hidden windows
Defender exclusion in Temp or AppDataMediumMalware commonly whitelists its own path
Recent .exe in TempMediumHash it on VirusTotal; some installers are legitimate
chrome / teams outbound on 443NormalExpected browser / app traffic
≀ 20 failed logons in 3 daysNormalOccasional mistyped passwords
πŸ”‘ VirusTotal Hash Check:
1. Run Get-FileHash "path\to\file" -Algorithm SHA256
2. Copy the hash β†’ go to virustotal.com β†’ search
3. 3+ vendors flag it = confirmed malware. 0 flags but suspicious behaviour = possible new variant, still investigate.
Works on: Windows 7 Β· Windows 10 Β· Windows 11 Β· Run as Administrator
← Back to Toolkit Hub