New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Monero miner #42

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

Comments

Projects
None yet
4 participants
@gregoryhammond

gregoryhammond commented Sep 30, 2017

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

This comment has been minimized.

Show comment
Hide comment
@Leondthurrell

Leondthurrell Oct 2, 2017

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.

Contributor

Leondthurrell commented Oct 2, 2017

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

This comment has been minimized.

Show comment
Hide comment
@keraf

keraf Oct 2, 2017

Owner

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?

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

This comment has been minimized.

Show comment
Hide comment
@gregoryhammond

gregoryhammond Oct 2, 2017

@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

gregoryhammond commented Oct 2, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@lucasgcb

lucasgcb 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

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

This comment has been minimized.

Show comment
Hide comment
@keraf

keraf Oct 12, 2017

Owner

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.

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 Oct 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment