Pages:
Author

Topic: Ethereum Mining NoDevFee 0% v15.0 🔥 - page 13. (Read 164902 times)

jr. member
Activity: 49
Merit: 1
October 27, 2017, 02:06:58 PM
What WinAPI are used to encrypt TLS? If you mean intercept internal Claymore functions, this need reverse engineering and I am not good at it. Also Claymore Miner is 64 bit and seems to be packed / obfuscated. As stash2coin logs show packet buffer is already encrypted in ws2_32.send (expected) and it also seems like it uses encryption for dev fee even if main worker is not.
My guess is that he is using WinHTTP library if the project is written in C++. Someone has to be foolhardy enough to implement TLS with raw sockets Smiley In either case you can see what APIs are being used with Dependency Walker. It's all in plaintext.

I just peeked into the Claymore Dual Miner v.10.1 with IDA Pro. He doesn't pack it like most malware is packed. He uses something called VMProtect. It's a weird type "packer" -- it basically takes the assembly/machine code for the part of the executable that the author wants to obfuscate and converts it into some proprietary byte code that VMProtect invented. Then when the executable runs, the obfuscated part has to go thru VMProtect's virtual machine to get interpreted. This makes the code extremely slow when executing, but hard to reverse engineer (simply because the structure of their proprietary byte code is not documented.) The rest of the binary doesn't seem to be packed though. This btw makes me think that if the Claymore Miner wasn't packed that way it might have produced a slightly better hash rate. Just a guess though.

Oh, and as x64 binary goes, the same WinAPI assembly trampoline can be used for it as well. We'll just need to modify the machine code for it. Or, you can use WinDivert library, like this guy did with his NoFee executable.

In any case, I wouldn't mind to collaborate with you on your open source project -- as a challenge I guess. PM me if anything.
newbie
Activity: 14
Merit: 0
October 27, 2017, 06:40:37 AM
how do know if its properly working from the website dashboard?

Check in console after "DevFee: ETH: Stratum - connecting" should be "eth_submitLogin -> YOUR_WALLET" https://i.imgur.com/ndEvwwS.png
On ethermine new "default" working will appear https://i.imgur.com/7e0PSgY.png


Your stuff works perfectly, thanks bro! I receive from 3 to 5 additional shares on 185 mhs rig.
newbie
Activity: 25
Merit: 0
October 27, 2017, 05:40:29 AM
how do know if its properly working from the website dashboard?

Check in console after "DevFee: ETH: Stratum - connecting" should be "eth_submitLogin -> YOUR_WALLET" https://i.imgur.com/ndEvwwS.png
On ethermine new "default" worker will appear https://i.imgur.com/7e0PSgY.png
copper member
Activity: 117
Merit: 17
October 27, 2017, 04:52:25 AM
Hi. I coded small app which intercept (hook) network login packet (Winsock2 -> ws2_32.dll -> send -> eth_submitLogin) and changes all dev fee wallets to your wallet. It detects your wallet automatically, using first login packet with your wallet and remembering it.

How to use :
1. Copy "nodevfee.exe" and "nodevfeeDll.dll" from "nodevfee\x64\Release" to Claymore directory (in same directory with "EthDcrMiner64.exe").
2. Create bat file and use it "nodevfee.exe EthDcrMiner64.exe YOUR_USUAL_PARAMETERS" for instance "nodevfee.exe EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2.worker1 -epsw x"

Download : https://drive.google.com/file/d/0B6aSrIo2Pi0ea0RfdzNqcU1OZXM/view?usp=sharing
Virustotal : https://www.virustotal.com/#/file/10778bd9a28f8705018f6a6049451a3ff78e13fd99a094569f3d690126286e4e/detection

I attach all sources you can check how it works and compile by yourself (Visual Studio 2015). Report bugs, I will try fix them.

Feel free to donate if you like it 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2

how do know if its properly working from the website dashboard?
copper member
Activity: 117
Merit: 17
October 27, 2017, 04:33:42 AM
well ihave been using it for couple of hours now,
"x" miner is not showing up.

Shocked
jr. member
Activity: 108
Merit: 1
October 27, 2017, 01:22:58 AM
reading MS docs winsock have its own TLS api , so to see whats goin on calls before winsock api have to be intercepted. But this miner have little interest because big miners dont use amd cards to mine coins with equihash algo AMD is not good at equihash this is Nvidia territory so donts see anyone spending much time revers engineering it, its possible doesnt mater how obfuscated it is .The simple solution is not to use AMD cards for equihash algo. Smiley
newbie
Activity: 25
Merit: 0
October 27, 2017, 01:06:27 AM
Well, not really. If you intercept the correct WinAPI before encryption you can still inspect and redirect it. Pretty much what you're doing in your DLL. Although I doubt that they would use raw sockets to implement TLS.

PS. I'd test your project but I need to install VS 2015. Why not use an earlier version of VS?

You can try any VS version, it should compile fine (nothing VS 2015 specific as I recall) , just need to recreate project file using existing sources probably.

What WinAPI are used to encrypt TLS? If you mean intercept internal Claymore functions, this need reverse engineering and I am not good at it. Also Claymore Miner is 64 bit and seems to be packed / obfuscated. As stash2coin logs show packet buffer is already encrypted in ws2_32.send (expected) and it also seems like it uses encryption for dev fee even if main worker is not.
jr. member
Activity: 49
Merit: 1
October 26, 2017, 03:32:18 PM
- Claymores ZCash Miner most likely impossible with this method (traffic interception by Winsock winapi hook). Because, as stash2coin said, it is forced SSL encryption....
Well, not really. If you intercept the correct WinAPI before encryption you can still inspect and redirect it. Pretty much what you're doing in your DLL. Although I doubt that they would use raw sockets to implement TLS.

PS. I'd test your project but I need to install VS 2015. Why not use an earlier version of VS?

PS2. And good point that someone brought up above -- can you start a separate thread for this discussion and post a link here?


BTW. Don't use this NoFee executable. I reversed it, and the reason the author doesn't want to release the source code is because he is not upfront about what he's doing in it. Main reason is that he diverts the dev fee from Claymore to your wallet 9 out of 10 times. And then 1 out of 10 times he diverts it into his own wallet. @Millenium Falcon how about mentioning that, buddy?
newbie
Activity: 43
Merit: 0
October 25, 2017, 08:13:19 PM
- Claymores ZCash Miner most likely impossible with this method (traffic interception by Winsock winapi hook). Because, as stash2coin said, it is forced SSL encryption, but still would be nice to see full actual packet log from my Test Log DLL.
- v10.0 works fine for me on ethermine.org, as long as you are refering to Claymores Ethereum Miner.
- I might create github later when I make something worth effort like finishing all ETH protocols.
- xiphon, thanks for authorization packets. As far as I know, some protocols also send wallet when submiting shares. Would be nice if someone who really use different pool / protocol would use Test Log DLL for few hours and send me full log, then it would be easier to add those packets in DLL. Thanks.

Thanks a lot.. Your stuff deserves a separate thread!!!
newbie
Activity: 19
Merit: 0
October 25, 2017, 03:06:48 PM
I think Claymores ZCash Miner is possible to be used because you can use unencrypted communications with higher DevFee.
newbie
Activity: 14
Merit: 0
October 25, 2017, 03:01:05 PM
Great job here!

Hope you continue with other protocols except ethermine
newbie
Activity: 4
Merit: 0
October 25, 2017, 02:42:15 PM
Hi. I coded small app which intercept (hook) network login packet (Winsock2 -> ws2_32.dll -> send -> eth_submitLogin) and changes all dev fee wallets to your wallet. It detects your wallet automatically, using first login packet with your wallet and remembering it.

How to use :
1. Copy "nodevfee.exe" and "nodevfeeDll.dll" from "nodevfee\x64\Release" to Claymore directory (in same directory with "EthDcrMiner64.exe").
2. Create bat file and use it "nodevfee.exe EthDcrMiner64.exe YOUR_USUAL_PARAMETERS" for instance "nodevfee.exe EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2.worker1 -epsw x"

Download : https://drive.google.com/file/d/0B6aSrIo2Pi0ea0RfdzNqcU1OZXM/view?usp=sharing
Virustotal : https://www.virustotal.com/#/file/10778bd9a28f8705018f6a6049451a3ff78e13fd99a094569f3d690126286e4e/detection

I attach all sources you can check how it works and compile by yourself (Visual Studio 2015). Report bugs, I will try fix them.

Feel free to donate if you like it 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2

Great job, thanks.

This is a bug?

Quote
21:23:47:659   e74   buf: {"id":4,"jsonrpc": "2.0","result": false,"error": "Unrequested work provided"}

21:23:47:659   e74   parse packet: 73
21:23:47:659   e74   ETH: Share rejected (78 ms)!

21:23:47:659   e74   new buf size: 0
21:23:47:675   e74   Socket was closed remotely (by pool)
21:23:47:675   e74   DevFee: ETH: Connection lost, retry in 20 sec...
jr. member
Activity: 108
Merit: 1
October 25, 2017, 01:48:12 PM
This is the log https://ufile.io/jyqv0 edited out only my zcash address, indeed when TLS encryption is enabled the strings are encrypted.
newbie
Activity: 25
Merit: 0
October 25, 2017, 12:15:08 PM
- Claymores ZCash Miner most likely impossible with this method (traffic interception by Winsock winapi hook). Because, as stash2coin said, it is forced SSL encryption, but still would be nice to see full actual packet log from my Test Log DLL.
- v10.0 works fine for me on ethermine.org, as long as you are refering to Claymores Ethereum Miner.
- I might create github later when I make something worth effort like finishing all ETH protocols.
- xiphon, thanks for authorization packets. As far as I know, some protocols also send wallet when submiting shares. Would be nice if someone who really use different pool / protocol would use Test Log DLL for few hours and send me full log, then it would be easier to add those packets in DLL. Thanks.
full member
Activity: 254
Merit: 121
October 25, 2017, 07:58:13 AM
Winsock2 -> ws2_32.dll -> send -> eth_submitLogin

Authorization methods among different Ethereum mining protocols:

eth_submitLogin
eth_login
mining.authorize
newbie
Activity: 43
Merit: 0
October 24, 2017, 10:12:02 PM
Code:
send: {"id": 1, "method": "mining.subscribe", "params": ["equihashminer", null, "eu1-zcash.flypool.org", "3443"]}
09:40:10:536 4d8 send: {"id": 2, "method": "mining.authorize", "params": ["t1dn3KXy6mBi5TR1ifRwYse6JMgR2w7zUbr","x"]}
09:40:10:536 4d8 send: {"id": 5, "method": "mining.extranonce.subscribe", "params": []}
09:40:10:536 4d8 DevFee: ZEC: Stratum - Connected (eu1-zcash.flypool.org:3443)

......................................................................................

DevFee: ZEC: 10/18/17-09:40:13 - SHARE FOUND - (GPU 1)
09:40:13:172 4d8 send share: {"id": 4, "method": "mining.submit", "params": ["t1dn3KXy6mBi5TR1ifRwYse6JMgR2w7zUbr","aff439a5d1b69cd6cf1d","05f7e659","d40100000000000000000000000000000000000000000000000000","fd400500655b2453cb8ca5
09:40:13:266 4d8 got 23 bytes
09:40:13:266 4d8 buf: {"id":4,"result":true}
09:40:13:266 4d8 parse packet: 22


Not much different this is his devfee address from the log file.
EDIT there is a problem he is connecting to SSL port of flypool for the devfee, if the data is already encrypted(openssl) in the socket buffer your method may not work.
I think it will work with claymore 9.7 and below.
newbie
Activity: 43
Merit: 0
October 24, 2017, 10:01:58 PM
Hi. I coded small app which intercept (hook) network login packet (Winsock2 -> ws2_32.dll -> send -> eth_submitLogin) and changes all dev fee wallets to your wallet. It detects your wallet automatically, using first login packet with your wallet and remembering it.

How to use :
1. Copy "nodevfee.exe" and "nodevfeeDll.dll" from "nodevfee\x64\Release" to Claymore directory (in same directory with "EthDcrMiner64.exe").
2. Create bat file and use it "nodevfee.exe EthDcrMiner64.exe YOUR_USUAL_PARAMETERS" for instance "nodevfee.exe EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2.worker1 -epsw x"

Download : https://drive.google.com/file/d/0B6aSrIo2Pi0ea0RfdzNqcU1OZXM/view?usp=sharing
Virustotal : https://www.virustotal.com/#/file/10778bd9a28f8705018f6a6049451a3ff78e13fd99a094569f3d690126286e4e/detection

I attach all sources you can check how it works and compile by yourself (Visual Studio 2015). Report bugs, I will try fix them.

Feel free to donate if you like it 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2

Thanks for your work.. Would you mind putting the source on github so that others can contribute?
jr. member
Activity: 108
Merit: 1
October 24, 2017, 06:32:11 AM
Code:
send: {"id": 1, "method": "mining.subscribe", "params": ["equihashminer", null, "eu1-zcash.flypool.org", "3443"]}
09:40:10:536 4d8 send: {"id": 2, "method": "mining.authorize", "params": ["t1dn3KXy6mBi5TR1ifRwYse6JMgR2w7zUbr","x"]}
09:40:10:536 4d8 send: {"id": 5, "method": "mining.extranonce.subscribe", "params": []}
09:40:10:536 4d8 DevFee: ZEC: Stratum - Connected (eu1-zcash.flypool.org:3443)

......................................................................................

DevFee: ZEC: 10/18/17-09:40:13 - SHARE FOUND - (GPU 1)
09:40:13:172 4d8 send share: {"id": 4, "method": "mining.submit", "params": ["t1dn3KXy6mBi5TR1ifRwYse6JMgR2w7zUbr","aff439a5d1b69cd6cf1d","05f7e659","d40100000000000000000000000000000000000000000000000000","fd400500655b2453cb8ca5
09:40:13:266 4d8 got 23 bytes
09:40:13:266 4d8 buf: {"id":4,"result":true}
09:40:13:266 4d8 parse packet: 22


Not much different this is his devfee address from the log file.
EDIT there is a problem he is connecting to SSL port of flypool for the devfee, if the data is already encrypted(openssl) in the socket buffer your method may not work.
newbie
Activity: 25
Merit: 0
October 24, 2017, 06:22:56 AM
Good job, thanks.  Could you adjust the code to work with claymore's zcash miner?

I have no AMD gpu to test Claymore's ZCash AMD GPU Miner, but you can test and send me log (nodevfeeLog.txt).

By the way this simple network packet intercept should work for any miner that use default eth stratum protocol (eth_submitLogin). Also this means it may not work with other protocols (1 - qtminer mode (for example, ethpool.org), 2 - miner-proxy mode (for example, coinotron.com), 3 - nicehash mode). If you are using one of those protocols you can also test and send me log I will try add it.

https://github.com/Demion/nodevfee

Edit: Update links.
sr. member
Activity: 672
Merit: 273
-
October 24, 2017, 05:19:41 AM
Hi. I coded small app which intercept (hook) network login packet (Winsock2 -> ws2_32.dll -> send -> eth_submitLogin) and changes all dev fee wallets to your wallet. It detects your wallet automatically, using first login packet with your wallet and remembering it.

How to use :
1. Copy "nodevfee.exe" and "nodevfeeDll.dll" from "nodevfee\x64\Release" to Claymore directory (in same directory with "EthDcrMiner64.exe").
2. Create bat file and use it "nodevfee.exe EthDcrMiner64.exe YOUR_USUAL_PARAMETERS" for instance "nodevfee.exe EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2.worker1 -epsw x"

Download : https://drive.google.com/file/d/0B6aSrIo2Pi0ea0RfdzNqcU1OZXM/view?usp=sharing
Virustotal : https://www.virustotal.com/#/file/10778bd9a28f8705018f6a6049451a3ff78e13fd99a094569f3d690126286e4e/detection

I attach all sources you can check how it works and compile by yourself (Visual Studio 2015). Report bugs, I will try fix them.

Feel free to donate if you like it 0xcb4effdeb46479caa0fef5f5e3569e4852f753a2

Great job ! Thank you for shared  asap as soon as possible i will use
Pages:
Jump to: