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

Block Monero miner #42

Closed
gregoryhammond opened this issue Sep 30, 2017 · 5 comments
Closed

Block Monero miner #42

gregoryhammond opened this issue Sep 30, 2017 · 5 comments

Comments

@gregoryhammond
Copy link

As of right now https://jobs.shoppersdrugmart.ca/ is hosting a Monero miner, it loads this javascript in the background.

Found this on the /r/Canada subreddit.

@Leondthurrell
Copy link
Contributor

I've dug through the site and the file in question and I am not seeing anything that would make this a miner.

  • It doesn't connect to coinhive like the thread says
  • it doesn't create any miner threads
  • not noticing any symptoms of a coin miner either (higher than normal CPU usage)

I'm not sure if maybe this file had been compromised and then fixed but right now I am confident that this site currently isn't using a miner at this time.

@keraf
Copy link
Owner

keraf commented Oct 2, 2017

I had a look at the website when it was initially posted here but I haven't had a time to reply. There was indeed a miner but it looks like it has been removed. Interestingly, the script was the same as CoinHive but with different server addresses in there. Is CoinHive code available somewhere? Or is it based on something?

@gregoryhammond
Copy link
Author

@keraf you can probably get the codehive code by signing up for codehive (https://coinhive.com/account/signup), the miner url is https://coinhive.com/lib/coinhive.min.js but there is a proxy available at https://github.com/cazala/coin-hive-proxy

@lucasgcb
Copy link

lucasgcb commented Oct 12, 2017

Another Website that uses this is kiwifarms, if you need another example.
https://kiwifarms.net/threads/the-mining-pit.34649/

This seems to be the script they use:
https://kiwifarms.net/js/Jawsh/xmr/xmr.min.js

keraf added a commit that referenced this issue Oct 12, 2017
@keraf
Copy link
Owner

keraf commented Oct 12, 2017

I blocked the kiwifarms miner. I will close this issue as there is other ones about finding a more effective way to block new miners.

@keraf keraf closed this as completed Oct 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants