Search content
Sort by

Showing 19 of 19 results by Meeho
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 24/03/2014, 13:02:29 UTC
"no-client-reconnect" : true,

What is the equivalent for a bat file? (don't use config)

--no-client-reconnect
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 24/03/2014, 11:47:03 UTC
Don't know if it will help with probing, but you do need it for Kalroth's cgminer.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 24/03/2014, 11:04:14 UTC
Are you sure you are still connected to CleverMining? There are a lot of hijack attacks going on lately.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 24/03/2014, 10:56:35 UTC
Guys, Did you see my message I am using Kalroth 3.7.3 and all I changed from Sgminer 4.1.0 is From -i 20   To --xintensity 500 <
...
For some stupid reason all i was seeing is probing for alive pool, Yes I do have Failover set, not sure if the commands are like sgminer like I said the Batch file was exactly like cgminer I deleted the Config.cf as I was only using a Batch file...
...
So All I have is cgminer.exe -o stratum Bla bla bla -u afkhs;dfjhfg;ksfjghs -p x --xintensity 500 -g 1 -w 256 etc etc you get the point I hope....

I tried Middlecoin , Waffle, Multipool, Clevermining and they all said probing for alive pool....

Did you add --scrypt to the cgminer batch file?
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 24/03/2014, 01:23:04 UTC
Do we have a thread with full details on everyone who has been affected?  All software installed and versions, OS, patches, windows updates on/off, last time any configuration was modified, router, ISP, location, etc?

Do we have any way to reproduce this?  Does anyone with logging enabled have a record of the request?  Is it happening frequently enough to run a network monitor?  Do we know what coin is being maliciously mined?

The last dozen pages on Wafflepool thread have more info.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 24/03/2014, 00:52:19 UTC
Add an outgoing firewall rule to only allow verified pool IPs for your miner and/or update to the latest Kalroth's cgminer.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 24/03/2014, 00:37:34 UTC
On the other hand the router idea isn't that likely. I am googling these two IPs (today's and yesterday's where users of Wafflepool and Multipool were redirected) and I find only coin-switching pool threads (I limit search to last 7 days only to filter out junk).

Are any of affected users using any mining-related software on anything other than their rigs and their main computer? Maybe an Android phone and some 3rd party app showing your mining stats?

Your main computer is not likely infected, as you would have your coins stolen too. I would look for something nearby, within the same local network (a smartphone fits perfectly) and something what is related to coin-switching pools (a 3rd party mining stats, a 3rd party rigs monitoring software which you found in some coin-switching thread/subreddit/community, etc). Just wild guessing based on what's known about the problem.

Haven't installed or run anything new on other devices for days and anything mining/coin related in weeks. Only use cgminer and two coin wallets, which were installed about a month ago from original websites (and not on smartphone).
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 24/03/2014, 00:29:48 UTC
Thank you for the quick update, Kalroth!

Sorry for the newb question, but how would one add the command to the config file?

"no-client-reconnect" : true,        ?
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 24/03/2014, 00:22:14 UTC
Asus with Tomato here, no USB used and anything remote disabled.

Anyway, Kalroth just released a new version with a --no-client-reconnect command that should disable the attack.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 23/03/2014, 23:57:37 UTC
I am not using anything besides Kalroth's cgminer 3.7.3 and my hijacking was only taking place while mining on Waffle. I would expect it to continue even after changing to CleverMining. Also, it doesn't seem likely to me that all the affected users were hit by malware on both various Linux distributions, BAMT and Windows. And I haven't touched my mining rig for the last couple of weeks and it only got hijacked today. I've been on CleverMining for the last 26 hours and it hasn't happened again. All of that seems to rule out local malware.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 23/03/2014, 23:45:43 UTC
Kalroth shoud be posting a new version of cgminer that will be immune to this.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][AUTO-SWITCH] Profit-switch auto-exchange pool: CleverMining.com
by
Meeho
on 23/03/2014, 23:31:20 UTC
It is not a malware on users' computers. Miners are receiving stratum redirect commands. It is most likely a form of MITM attack, but definitely not something on the user end. It is happening among multiple pools with various mining clients and operating systems.

It is not cgwatcher/cgremote related, that user on Waffle has a separate issue.

Kalroth's thoughts:
https://bitcointalk.org/index.php?topic=433634.msg5864631#msg5864631
There's not much I can do other than disable the reconnect code, which several individuals already have done.
I'll do a quick update of my github and binaries soon enough.

From a quick glance, it looks like someone found a way to send a spoofed* JSON packet to stratum pools, which makes the pool send a redirect request to (some of?) its clients.
It does not look like it's a bug in the client software, merely an unfortunate feature.

* http://en.wikipedia.org/wiki/IP_address_spoofing
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 14:04:21 UTC
I use my ISP's DNS servers and had the problem. I think DNS hijack was ruled out, as there is a port change and miner reports being connected to the new server, not showing wafflepool's name anymore. And my separate pings to eu.wafflepool.com showed correct DNS resolving.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 13:31:54 UTC
No, mine was CleverMining.

And you had the issue happen to you?

Yes:
https://bitcointalk.org/index.php?topic=433634.msg5844746#msg5844746
https://bitcointalk.org/index.php?topic=433634.msg5853878#msg5853878


I tried to do a traceroute on the ip and it times out after a couple hops from my isp to max of 30 hops ...

anybody do a whois on it?  I don't know command on winblowz.  Suppose I could fire up LMDE in a Virtualbox and try ...

I got this: http://whois.domaintools.com/206.223.224.225
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 13:25:31 UTC
No, mine was CleverMining.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 11:10:33 UTC
I cannot help but wonder that if it is a true man in the middle attack, then why would he even bother allowing miners to initiate and authorize a stratum connection to the intended pool server in the first place, instead of just rewriting the destination headers in the incoming tcp packets from the clients to include the desired server ip address and tcp port within the incoming packets themselves, as he would be also able to rewrite source headers withing the return traffic?  By doing that, the miners would still see wafflepool listed on their cgminer display, as opposed to the rogue server ip address.  This could suggest that he is only able to inspect the traffic but not rewrite it, so therefore tcp packets with forged source headers are being sent to miners because he is not relaying traffic but only inspecting it.

Though in support of a true man in the middle attack, for a day or two you had been searching for a reason why miners were not receiving work from the servers quickly enough, such that some miners (specifically cudaminers) we going idle.  At that point he might have still been setting up shop but not yet begun his attack.

Could it be such a clever attack, that they would not hijack the whole mining session, but only select packets as to divert a small portion of hash power to their servers, so people would not see a complete drop in their waffle stats and become too suspicious. I remember seeing some reports of too small hashing power reported by the stats in this thread. Though some have lost their whole work, so maybe this theory has no merit.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 11:01:53 UTC
I use Kalroth's 3.7.3 from http://k-dev.net/cgminer/ on Win7, Asus router with Tomato FW and remote access disabled, and my ISP's DNS. DNS checks were always resolved correctly to Wafflepool's IP when I checked. My miner went to backup pool completely because of --failover-only and firewall blocking the stratum redirect.

You have some very important information in this post.  How do you know your firewall blocked a client.redirect command message?  Do you have more data?


Ah, sorry if I misled, I didn't observe it directly as I didn't have cgminer logging enabled. I was deducing from PW's observations and log reports, my rig's behaviour and the most likely scenarios discussed here.
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 23/03/2014, 10:52:17 UTC
Things it could still be:
1) Miner malware.  It hits too many different configurations (OS's, miner versions, etc) to be in the miner itself.  Perhaps a bad wallet or something, but to accomplish what they're doing, it would need to be injecting packets into your TCP stack, which while possible, is unlikely.

What we think it is:
Our best guess at the current time is a MITM attack somewhere on the internet.

I do not believe it is miner malware because it is happening with various miners on various operating systems and, for me, it is only happening when connected to Wafflepool.

I use Kalroth's 3.7.3 from http://k-dev.net/cgminer/ on Win7, Asus router with Tomato FW and remote access disabled, and my ISP's DNS. DNS checks were always resolved correctly to Wafflepool's IP when I checked. My miner went to backup pool completely because of --failover-only and firewall blocking the [probable] stratum redirect.

You said your code didn't change. Is it possible it is a sort of malware resident in server's memory?
Post
Topic
Board Pools (Altcoins)
Re: [ANN][POOL] Profit switching pool - wafflepool.com
by
Meeho
on 22/03/2014, 19:57:00 UTC
My cgminer started falling back to a backup pool and no longer connecting to the Waffle EU server. I see in my firewall logs that it tries to connect to 206.223.224.225:3009. Is that address related to Wafflepool and how so? It shows on whois lookup as a residential cable in Montreal, Canada. If I restart the cgminer it connects to Waffle EU normally but the same thing happens after a while.