Market Cap: $2.219T -3.80%
Volume(24h): $129.2422B -1.59%
Fear & Greed Index:

20 - Extreme Fear

  • Market Cap: $2.219T -3.80%
  • Volume(24h): $129.2422B -1.59%
  • Fear & Greed Index:
  • Market Cap: $2.219T -3.80%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to set up silent mining on Windows? (Background Tasks)

为隐蔽挖矿优化Windows系统:禁用更新与Defender、设16GB虚拟内存、调至最佳性能模式,并通过NSSM伪装为系统服务持久运行。

Apr 18, 2026 at 02:00 am

System Optimization for Stealth Mining

1. Adjust visual effects to 'Best Performance' via System Properties → Advanced → Performance Settings. This reduces GUI overhead and frees CPU cycles.

2. Configure virtual memory manually to 16GB. Navigate to Advanced → Performance → Virtual Memory → Change, then disable automatic management and set custom size.

3. Disable Windows Update permanently using Group Policy Editor (gpedit.msc). Go to Computer Configuration → Administrative Templates → Windows Components → Windows Update → Configure Automatic Updates → select 'Disabled'.

4. Set power plan to 'High Performance' and configure sleep/hibernation to 'Never'. Access via Control Panel → Hardware and Sound → Power Options.

5. Turn off Windows Defender by enabling 'Turn off Windows Defender Antivirus' under Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus in Group Policy Editor.

Process Concealment Techniques

1. Rename malicious binaries to mimic system processes: svchost.exe, winlogon.exe, spoolsv.exe — all placed inside non-standard directories like C:\Windows\daozai or C:\Windows\dell.

2. Use NSSM (Non-Sucking Service Manager) to install mining executables as Windows services. This ensures persistence across reboots and hides process ancestry under legitimate service hosts.

3. Launch mining binaries through layered batch scripts: run.bat triggers run64.bat, which executes the miner with obfuscated parameters including stratum URLs and wallet addresses.

4. Strip debug information and embed XOR-encoded strings inside binaries to evade static analysis by endpoint detection tools.

5. Clear event logs after execution using wevtutil.exe commands embedded in startup scripts to erase forensic traces of initial access.

Network Evasion Strategies

1. Route outbound connections through port 5555 or 3333 — commonly associated with Monero and Cryptonight pools — to blend with legacy mining traffic patterns.

2. Hardcode IP addresses instead of domain names to avoid DNS logging; resolve pool endpoints offline and embed raw IPv4 addresses directly into configuration files.

3. Implement TCP keep-alive intervals matching standard HTTP timeouts to mimic benign background sync behavior rather than aggressive polling.

4. Limit bandwidth usage per connection to under 10KB/s to stay below common IDS threshold alerts for data exfiltration or C2 activity.

5. Use TLS 1.2 with self-signed certificates when connecting to custom proxy relays that forward traffic to public mining pools, obscuring final destination from network inspection.

Persistence Mechanisms

1. Register scheduled tasks with random alphanumeric names such as 'AdobeFlashUpdate' or 'JavaRuntimeCheck', triggered at system startup or idle time.

2. Write registry Run keys under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run with base64-encoded command strings that decode and launch PowerShell-based loaders.

3. Drop DLLs into %WINDIR%\System32\drivers directory and register them as legacy filter drivers to execute before user-mode initialization.

4. Abuse WMI Event Subscriptions to spawn new instances whenever specific system events occur — for example, on every successful logon or service start.

5. Store encrypted payloads inside alternate data streams (ADS) of legitimate system files like notepad.exe to bypass file-scanning heuristics.

Common Questions & Direct Answers

Q1: Why does task manager disappear when a silent miner is active?Some miners inject into explorer.exe or hook Win32 APIs used by Task Manager, causing UI failure or immediate termination upon launch.

Q2: Can antivirus detect run64.bat even if it's renamed?Yes — behavioral analysis flags abnormal child processes launched from cmd.exe with long cryptic arguments, regardless of filename.

Q3: What happens if I delete svchost.exe from C:\Windows\dell?The NSSM-installed service fails, but the parent script may respawn it within seconds unless the scheduled task or registry entry is also removed.

Q4: How do I verify if a process is mining without opening Task Manager?Use PowerShell: Get-Process | Where-Object {$_.CPU -gt 80} | ForEach-Object { $_.Id; (Get-WmiObject Win32_Process -Filter 'ProcessID=$($_.Id)').CommandLine }

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct