β‘ Need a server to run these commands?Hostinger 80% Off β
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
| Finding | Risk | What it means |
|---|---|---|
| powershell / cmd outbound to foreign IP | High | Classic reverse shell β almost certain indicator |
| WMI event subscriptions exist | High | Legitimate software almost never uses WMI subscriptions; APT favourite |
| svchost.exe NOT in System32 | High | Name-spoofing is a textbook malware technique |
| Event 1102 β log cleared | High | Attacker covering tracks; check what happened just before |
| Run key value contains -w hidden or -enc | Medium | Verify the program; some legit updaters use hidden windows |
| Defender exclusion in Temp or AppData | Medium | Malware commonly whitelists its own path |
| Recent .exe in Temp | Medium | Hash it on VirusTotal; some installers are legitimate |
| chrome / teams outbound on 443 | Normal | Expected browser / app traffic |
| β€ 20 failed logons in 3 days | Normal | Occasional mistyped passwords |
π VirusTotal Hash Check:
1. Run
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.
1. Run
Get-FileHash "path\to\file" -Algorithm SHA2562. 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
β Back to Toolkit Hub