# ๐Ÿ›ก๏ธ Windows Mining Trojan Remover (WMTR) > A one-click **mining trojan removal toolkit** for Windows. Scans, detects, and removes cryptocurrency mining malware, restores registry integrity, and verifies boot-sector persistence. **Windows Mining Trojan Remover (WMTR)** is a comprehensive toolkit designed to detect and eliminate mining trojans, remote-control backdoors, and boot-sector persistence on Windows systems. It combines multiple scan engines โ€” file, registry, scheduled tasks, processes, network, and boot verification โ€” into one streamlined workflow. > **โš ๏ธ IMPORTANT**: This tool performs privileged system operations (killing processes, deleting files, modifying registry, boot-sector verification). **Run as Administrator or SYSTEM.** Use at your own risk. --- ## โœจ Features | Feature | Description | |---------|-------------| | ๐Ÿ—‚๏ธ **File Scan** | Scans key folders (`ProgramData`, `Public`, `Program Files`, `Temp`) for malicious files | | ๐Ÿ”‘ **Registry Scan** | Detects suspicious startup entries & restores Windows Defender exclusions | | โฐ **Scheduled Task Scan** | Detects malicious scheduled tasks (including English-word deception) | | โš™๏ธ **Process Scan** | Identifies and kills malicious processes | | ๐ŸŒ **Network Scan** | Flags connections to known mining pools / C2 servers | | ๐Ÿ”ค **Random-Name Checker** | Detects virus-like random filenames (e.g. `UT7ejTkn`, `5ghAHv`) | | โ™ป๏ธ **Post-Restart Compare** | Compares logs after reboot to detect old/new viruses | | ๐Ÿงน **Auto-Cleanup** | Removes autostart when system is confirmed clean | | ๐Ÿ’พ **Scan Logs** | Saves detailed scan & cleanup records to `C:\SysMonitorLogs` | | ๐Ÿ”’ **Privilege Check** | Verifies ADMIN / NT / SYSTEM privileges before running | ### Boot Verification (BootVerify) - ๐Ÿ”Ž Verifies **MBR**, **EFI**, and **WMI** persistence for trojan infection - Uses Python libraries, system tools, and `BOOTICE.exe` --- ## ๐Ÿš€ Quick Start ### Prerequisites - Windows 7 / 8 / 10 / 11 - **Administrator privileges** (right-click โ†’ *Run as administrator*) ### Run (Compiled EXE) ```powershell # Run main cleanup tool (as administrator) WMTR_MAIN.exe # Run system monitor sys_monitor.exe # Run boot verification BootVerify.exe ``` ### Run from Source (Python) ```powershell # Requires Python 3.x python code/WMTR.py python code/sys_monitor.py python code/BootVerify.py ``` --- ## ๐Ÿ“ฆ Project Structure ``` Windows-Mining-Trojan-Remover/ โ”œโ”€โ”€ code/ # Python source code โ”‚ โ”œโ”€โ”€ WMTR.py # Main mining trojan remover โ”‚ โ”œโ”€โ”€ sys_monitor.py # Continuous system monitor โ”‚ โ”œโ”€โ”€ BootVerify.py # Boot sector verification โ”‚ โ””โ”€โ”€ BOOTICE.exe # Boot sector management tool โ”œโ”€โ”€ WMTR_MAIN.exe # Compiled main cleanup tool โ”œโ”€โ”€ sys_monitor.exe # Compiled system monitor โ”œโ”€โ”€ BootVerify.exe # Compiled boot verification โ”œโ”€โ”€ BOOTICE.exe # Boot sector management tool โ””โ”€โ”€ README.md # This document ``` --- ## ๐Ÿ”ง How It Works 1. **Scan** โ€” Scans files, registry, scheduled tasks, processes, and network for malicious indicators (known mining keywords + dynamic startup-keyword extraction) 2. **Cleanup** โ€” Kills malicious processes, deletes malicious files, restores registry & security software 3. **Autostart** โ€” Sets up `sys_monitor` and `WMTR` autostart to continue monitoring after reboot 4. **Compare** โ€” After restart, compares logs to detect old/new viruses 5. **Auto-remove** โ€” Removes autostart when system is confirmed clean ### Detection Coverage - **Mining trojans**: lolMiner, SRBMiner, gminer, miniZ, UT7ejTkn, RuntimeHost, etc. - **Remote control**: ScreenConnect, ConnectWise, rasedy, Windows VC - **Mining pools / C2**: kryptex, gleeze, 176.96.137.253, etc. - **English-word deception**: fake task names like "Efficiently Achieve Analysis", "Windows System Health" --- ## ๐Ÿ“„ License This project is licensed under the **MIT License**. See [LICENSE](LICENSE) for details. --- ## ๐Ÿ™ Disclaimer > This tool modifies system-critical components (registry, startup, boot sector). **Use at your own risk.** Always back up important data and disable antivirus tamper protection if prompted. The authors are not responsible for any system damage or data loss.