We've had JSECoin up and running for a couple of days and trialed different methods for measuring the resource usage. we decided to collect data on an isolated machine. We dedicated that machine to being on this site in order for the script to utilize it's resources for crypto mining. we found over a period of 24hrs the computer alone mine 9 hashes and earned 0 coins. It's CPU and Memory usage was very low, this is due to JSECoins agreement to ensure it does not affect your browser speed. That being said, the effects crypto-mining will have on your browser speed will also depend on your resources. The computer used was a HP-Z800 using the Intel 5520 chip with a Quad-Core Intel Xeon Processor 5500 Series with Intel 64 Architecture. We found it kept CPU and Memory usage relatively low. The next step as a team is to create our own script to embed in the site to see how useful this type crypto-mining can really be when we allow more computer resources to be utilized. JSECoin itself has avoided any legal battles most like due to its minimalistic ideologies, this however makes it unprofitable to those with mild foot traffic on their sites. The worth of the Cryptocurrency itself is declining so revenues even for a site with heavy foot traffic would still be practically nothing as one JSECoin is worth 0.00020287 USD.
Many concerns arise when we look at Browser based crypto-mining. By recruiting more users computers to mine bitcoin we escalate the hashRate, this can make them perform similar to botnets[1]. In addition to this issues there is the overwhelming lack of security involved with how browser based crypto mining is being implemented and its lack of consent from the user. With this being the case many cryptocurrencies difficulties escalated, which means more hashes are required to obtain one bitcoin; this also means more energy is required. This also pushed Anti-virus softwares and browsers(google chrome) to block their users from visiting any sites hosting non-opt-in browser-based crypto mining scripts[2]. These factors have lead to the decline in browser based crypto mining. Coinhive decided to shut down due to the lack of profit despite them taking 30% of all mined currency and 100% from those users who are using the script unlawfully[2]. This leads to the question of how profitable is it to crypto mine today? After looking at the price fluctuations of some of the major Cryptocurrencies we can see that after the drop in 2018 none of them fully recovered. There are many theories behind the sudden drop in value, the two most common are due to the U.S. Securities and Exchange Commission’s decision to classify ICOs as unlicensed securities, meaning that those offering such assets were breaking the law and must pay fines as well as restitution[4]. As well as the forking of Bitcoin BCH into Bitcoin ABC and Bitcoin SV creating what some call a ‘crypto civil war’ between the two communities, creating two competing chains[5].
Because of the regulatory concerns and forking of Bitcoin BCH driving the value of these cryptocurrencies down, the cost to mine them increases. The energy consumption and work are the same while earning less rewards, this is a large concern when it comes to the continuing stability and longevity of cryptocurrencies[6]. The biggest concern is with all of the technology and new solutions to recruit more miners, more resources are being put towards mining cryptocurrencies. This means the hash rate increases and forces the mining difficulty of cryptocurrencies to rise and in turn[7]. Since the release of Bitcoin we can see the increase in hash rates shown below.
With the increasing Hash rates we also see an increase in environmental impact. Statistics from June 2019 show that 60 - 80 % of bitcoin mining revenue goes back into paying for electricity[9]. Bitcoin often claims that much of this energy is renewable but it's hard to track and verify these claims since bitcoin miners are located all over the globe and often remain anonymous. That doesn’t really give us a representation however of how much energy cryptocurrencies utilize. As of December 2017 Bitcoin alone used about 32 terawatts of energy per year, this could power roughly 3 million households in the US. This is crazy in comparison to a company like Visa which uses 1/30th amount of energy annually to complete transactions[10]. Many would think that being said, it can’t compare to the cost of mining gold or platinum. They would be wrong; it takes 17 megajoules of computer power to generate 1 US dollar in Bitcoin, whereas it only takes 5 megajoules to mine 1 US dollar of gold and 7 megajoules for platinum[11]. These statistics raise concerns as these reports were all completed before the end of 2018 and as we discussed earlier the hash rates have risen even further. This begins to raise the question: is there a better way of handling the influx in miners than upping the hash difficulty?
Hrones, Matthew. “When Moon(Ero): The Mystery of Monero's Declining Price.” Bitcoinist.com, 16 June 2018, bitcoinist.com/when-moonero-the-mystery-of-moneros-declining-price/.
Salat, Michal. “Coinhive Shuts Down.” Avast, 8 Mar. 2019, blog.avast.com/coinhive-shuts-down.
“Cryptocurrencies News & Prices | Markets Insider.” Business Insider, Business Insider, 11 Mar. 2020, markets.businessinsider.com/cryptocurrencies.
Clarke, Gina. “Latest Crypto Crash Caused By Bitcoin Civil War Say Experts.” Forbes, Forbes Magazine, 27 Nov. 2018, www.forbes.com/sites/ginaclarke/2018/11/27/latest-crypto-crash-caused-by-bitcoin-civil-war-say-experts/#707b0e763c6c.
Batabyal, Anisa. “Why Are All Cryptocurrencies Falling - 5 Reasons Behind Crypto Market Crash - November 27, 2018.” Cryptocurrency Trading Platform : Instant Cryptocurrency Exchange and Converter, CoinSwitch, 26 Nov. 2019, coinswitch.co/news/possible-reasons-for-today-cryptocurrency-market-crash-november-27-2018.
Bianchi, Daniele. “5 Reasons Bitcoin Prices Continue to Fall.” Inverse, Inverse, 10 Jan. 2019, www.inverse.com/article/52365-why-bitcoin-is-failing-2019-crypto-market.
Febrero, Pedro, et al. “How Does Bitcoin's Hash Rate Impact Price?” Coin Rivet, 16 Jan. 2020, coinrivet.com/how-does-bitcoins-hash-rate-impact-price/.
“Bitcoin Hashrate Chart.” BitInfoCharts, 11 Mar. 2020, bitinfocharts.com/comparison/bitcoin-hashrate.html.
Irfan, Umair. “Bitcoin Is an Energy Hog. Where Is All That Electricity Coming from?” Vox, Vox, 18 June 2019, www.vox.com/2019/6/18/18642645/bitcoin-energy-price-renewable-china.
Reiff, Nathan. “What's the Environmental Impact of Cryptocurrency?” Investopedia, Investopedia, 20 Feb. 2020, www.investopedia.com/tech/whats-environmental-impact-cryptocurrency/.
“'Mining' Bitcoin Takes More Energy than Mining Gold.” Nature News, Nature Publishing Group, 6 Nov. 2018, www.nature.com/articles/d41586-018-07283-3.
The state of affairs concerning the prevalence of cryptomining, be it malicious or not, pushed the cyber community to discovering whether or not there was a way to effectively detect if a site or application has deployed this functionality. There have been methods of machine learning attempted that used function calls as features to determine whether a site or application is using cryptomining [1]. These methods include using a Support Vector Machine (SVM), a Multi-Layer Perceptron (MLP) and a Random Forest. The Receiver Operating Characteristic (ROC) of each of these methods is shown below. It displays that the Random Forest machine learning algorithm performed the best in detecting which sites were performing cryptomining. This is determined by which algorithm gets the least false positives and false negatives.
Other dynamic methods of website analysis to determine if a site is using cryptomining or cryptojacking software include dynamic analysis of legitimate executable, dynamic opcode analysis, and machine learning as well [2]. The machine learning implemented in this research was using 10-fold cross validation where the accuracy was found to be an impressive almost 100% in the sample data set provided [2]. The dynamic part of this included not solely including function calls as the features for the machine learning algorithm.
Since we have determined ways of detecting cryptojacking and cryptomining with a high accuracy, it next falls that there should be a method of protecting against these attacks. A method was determined that involved blacklisting and heuristics from CPU usage, however this has been found to be insufficient [3]. The authors of [3] determined a method of inputting into browsers so that silent cryptojacking can be discovered and defended against.
The question that follows is the consumption of energy required for Cryptomining and the environmental impact that comes from the required computations for the mining of new blockchain. As stated previously, the energy required to mine for some cryptocurrencies is greater than that required for mining metals such as gold. The question brought forward here is whether the energy required for new blocks in the blockchain is worth the price and resulting effect on the environment. The sustainability is shown below for 4 different cryptocurrencies composed of Bitcoin, Ethereum, Litecoin and Monero [4]. It is visible from these figures that the sustainability of these cryptocurrencies has become unrealistic as the required energy is exponentially increasing whereas the price is decreasing per energy unit. The expense required to sustain a consistent inflow of currency from the mining of new blockchain is not realistic [4]. This would indicate a reason that cryptomining and cryptojacking had become as prominent was because it would incur the expense on the victim computers so that the energy consumption and associated costs would be shared. However, it will follow that to have a consistent income, the required energy, and therefore victims computers, must exponentially increase. This was not feasible at the time and could have been a reason that Coinhive shutdown. The income provided from the use of these tools was solely decreasing and the business model was losing money, most likely a strong reason behind the shutdown of Coinhive.
The practice of eWhoring is defined as when an individual sells sexting, erotic pictures or videos fraudulently [6]. Typically, the individual selects a target and pretends to be the subject of the pictures or videos. These interactions involve the exchange of currencies such as cryptocurrencies [6] [7]. The illicit activities by these individuals can be expanded to crimes other than fraud including embedding malware in the provided images/videos/sexting [6]. The extension of this could become cryptojacking by non-browser-based means or through the site used to exchange the currencies and services.
Now we come to our final question, how has the shutdown of the most prominent organization for cryptomining affected the popularity of browser-based cryptomining? The results collected by a group of researchers determined that though there are still some websites using cryptomining, the popularity of browser-based cryptomining has greatly decreased since the shutdown of Coinhive. The determination came from taking the findings of a previous paper that detected approximately 2700 websites that had been running cryptomining, and identified that 99% of these sites were no longer running cryptomining softwares [8]. This allows us to conclude that though the popularity of cryptomining and cryptojacking has decreased dramatically since Coinhive shut down, there is still some software present on sites. Effectively, cryptomining is not quite completely dead after Coinhive was forced to shut their doors.
[1] G. Berecz and I.-G. Czibula, “Hunting Traits for Cryptojackers,” Proceedings of the 16th International Joint Conference on e-Business and Telecommunications, 2019.
[2] D. Carlin, P. Orkane, S. Sezer, and J. Burgess, “Detecting Cryptomining Using Dynamic Analysis,” 2018 16th Annual Conference on Privacy, Security and Trust (PST), 2018.
[3] R. K. Konoth, E. Vineti, V. Moonsamy, M. Lindorfer, C. Kruegel, H. Bos, and G. Vigna, “MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense,” Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, 2018.
[4] M. J. Krause and T. Tolaymat, “Quantification of energy and carbon costs for mining cryptocurrencies,” Nature Sustainability, vol. 1, no. 11, pp. 711–718, 2018.
[5] S. Pastrana and G. Suarez-Tangil, “A First Look at the Crypto-Mining Malware Ecosystem,” Proceedings of the Internet Measurement Conference, Oct. 2019.
[6] A. Hutchings and S. Pastrana, “Understanding eWhoring,” 2019 IEEE European Symposium on Security and Privacy (EuroS&P), 2019.
[7] S. Pastrana, A. Hutchings, D. Thomas, and J. Tapiador, “Measuring eWhoring,” Proceedings of the Internet Measurement Conference, 2019.
[8] Varlioglu, S., Gonen, B., Ozer, M., & Bastug, M. F. "Is Cryptojacking Dead after Coinhive Shutdown?". School of Information Technology University of Cincinnati and Department of Interdisciplinary Studies Lakehead University, 2020
Both the coin value and the company profits of JSECoin have fallen since its peak in 2018.
Using Coinmarketcap [1], a cryptocurrency market data analysis site, I gathered several informative analytics about the current state of JSECoin. The coin value had an all-time high of $0.006075 USD on Nov 17th, 2018. It had an all-time low of $0.000061 USD on March 20th, 2020. As of March 23rd, JSECoin sits at $0.000078 USD, much closer to its all-time low than its all-time high. In other words, JSECoin at its peak was worth over 77 times what it is currently worth, and this low value has been fairly steady in the last several months. Another thing to note is the volume of JSECoin being sold, or rather the lack of. On March 22nd, JSECoin's total daily volume was $5.55. Tether, the cryptocurrency with the greatest total daily volume on that day, had a volume of $49,036,623,749.
The company JSECoin publishes their accounts monthly [2]. From July to February 2018, their gross revenue was $69,342. July to February 2019, their gross revenue was $29,684. Finally July to February 2020, their gross revenue was $14,058. Each year their gross revenue was cut in half. The overhead that went towards salaries was the highest in 2019 at $14,993 over 6 months, but is non-existent in 2020. No salaries were paid at all. If fact the only overhead cost that was higher in 2020 was legal and accountancy fees, indicating a substantial reduction in company assets .
In their problem statement, they describe their services as an alternative to ad services [3] but are they truly comparable? The most well known ad-provider is Google with their adSense program. In the fourth quarter of 2018, Google's ad services (specifically adSense and adWord) generated over 32 billion dollars in revenue. This is up from the 27 billion dollars in the fourth quarter of 2017 [4]. This period was the peak of crypto-jacking yet ad based revenue was still on the rise.
Not much has been done in terms of governmental legislation for cryptojacking. This is likely due to the lack of growth and popularity in the last couple of years. However, just because no bills have been passed doesn't mean the law has ignored cryptojacking. There have been two notable cases of individuals being arrested for using cryptomining scripts on sites they administer. The first was a Japanese man who injected coinhive into his own site. The Japanese man was later acquitted. The court did not find that the script was intended to cause damage and he was only fined 100,000 yen (or $904 USD) [5]. The other case was of a Ukrainian man who injected mining script into numerous educational sites in which he was administrator for. The Cyber Police of Ukraine arrested him under the Ukrainian article 361: (Unauthorized interference with computers, automated systems, computer networks or telecommunication networks). The Ukrainian man is facing up to six years in prison [6]. Both of these cases set precedence for their respective countries on how they treat cryptojacking.
Another instance of the law addressing cryptojacking is the recent Interpol operation named "Operation Goldfish Alpha" [7]. The company Trend Micro discovered how a vulnerability in MikroTik routers exposed many in South-Eastern Asia. Over five months, police located and dealt with over 20,000 routers. This resulted in 78% reduction in cryptojacking.
"JSECOIN (JSE) price, charts, market cap, and other metrics", https://coinmarketcap.com/currencies/jsecoin/
"One Pager Explainer PDF", https://jsecoin.com/onepager.pdf
"Alphabet Announces Fourth Quarter and Fiscal Year 2018 Results", Feb 4th 2019, https://abc.xyz/investor/static/pdf/2018Q4_alphabet_earnings_release.pdf?cache=adc3b38
"Japanese Court Acquits Man Accused of Cryptojacking", Ana Alexandre, Mar 23rd 2019, https://cointelegraph.com/news/japanese-court-acquits-man-accused-of-cryptojacking
"Кіберполіція встановила молодика, який майнив криптовалюту за рахунок більш як мільйона українців" (Ukrainian translated site), Mar 26th 2019, https://cyberpolice.gov.ua/news/kiberpolicziya-vstanovyla-molodyka-yakyj-majnyv-kryptovalyutu-za-raxunok-bilsh-yak-miljona-ukrayincziv-2658/
"Interpol Collaboration Reduces Cryptojacking By 78%", Trend Micro Newsroom, Jan 8th 2020, https://newsroom.trendmicro.com/blog/simply-security/interpol-collaboration-reduces-cryptojacking-78
The web-cryptomining trend kicked off with companies like coinhive launching in 2017 with 2018 being the peak year for web-cryptomining and cryptojacking attacks with an increase of 450% from first to the last quarter of 2018 [1]. Monero was a major factor contributing to this growth with features like increased transaction speed, mining speed and the ability for distributed mining, becoming its the growth factors. Monero [2] grew from 13$ to 300$ within 2017 [3] and was the catalyst for the incarnation of JavaScript-based coin mining [4]. Web-cryptomining was introduced as an alternative to advertisements to monetize websites. Their were issues with the web-cryptomining model for website publishers as well as for the users. The ad based revenue model was proving to be more profitable on average and the users didn't like the implications it posed with additional stress on CPU, memory and network bandwidth. The rise in cryptojacking also didn't help with the public perception of web-cryptomining with the total number of cryptojacking attack incidents being the double of ransomware attacks in 2018 [1].
The profits from web-cryptomining depend on factors like the length of website visit & the processing power of the device being used by the user. The advertisement based model was proving to be more reliable and profitable as the average length of a website visit is around 1 minute [5]. The web-cryptomining option was proving to be harder to utilise for publishers as for an average visit, the profits from an average ~3 ads per page website being upto 5.5 times higher when using 2018's average Monero value of $205 USD [6]. The cryptomining method is more profitable when the length of visit is more than 5.53 minutes and increases further the longer someone stays on the page [6]. The devices that are used by the users have varying form factors ranging from phones, desktops, IoT devices to cloud infrastructure and as the mining scripts started showing up everywhere the processing power of different devices resulted in different hash rates. Hash rates vary across the board depending upon the device, like the rate of 50 Hash/sec(e.g., iPhone7), 90 Hash/sec (e.g., iPhoneX), 200 Hash/sec (e.g., 4-core PC) and 300 Hash/sec (e.g., 8-core PC). Clearly a visit of same length on an iPhone7 will result in far less revenue when compared to an 8-core PC.
Mining crypto currency uses processing power which in case of web-cyptomining is borrowed from the user's CPU. This had certain implication on user's system hardware as it affected CPU, memory & bandwidth usage adversely. The worst of the effects was on CPU usage as mining can use a lot of it. The median miner-supported website used 59 times more of user's processing power than the ad-based model. This had negative implication on user's hardware as it left little processing power for other processes on user's device and also causing it to heat up beyond acceptable temperature range. This also resulted in devices consuming more power which is particularly bad for portable devices as it lowered their battery life [6]. Such severe performance degradation when the user is visiting a mining-supported website can cause glitches, or even crushes to parallel applications (like movie playback, video games), thus ravaging the user’s experience This is something users weren't willing to accept along with the fact that most mining-supported websites didn't inform the user of their practise with some even using the CPU in the background after the tab has been closed. This lead the user environment to assume a hostile towards web-cryptomining and the rise of tools to detect & block such scripts. The negative implications on memory and bandwidth though less significant but still had an impact on user's experience.Miner-supported websites although reserve (3.59×) larger chunks of virtual memory, require 1.7× more MBytes of real memory than ad-supported websites [6]. The median data transmitted as compared to ad-based websites is 3.4 times larger ( 22.8 KB v/s 6.7 [6] ). The data used was from 2018 when the crypto currencies were booming but their values have taken a huge hit since, that along with the fact that mobile devices have accounted for majority of internet traffic since mid-2016 which results in upto 6 times slower hash rates means the profits have been falling dramatically & continuously making the web-cryptomining option obsolete.
IBM Security. Ibm x-force report: Ransomware doesn’t pay in 2018 as cybercriminals turn to cryptojacking for profit. https://newsroom.ibm.com/2019- 02-26-IBM-X-Force-Report-Ransomware-Doesnt-Pay-in-2018-as-CybercriminalsTurn-to-Cryptojacking-for-Profit
CoinWarz. Monero network hashrate chart and graph. https://www.coinwarz.com/network-hashrate-charts/monero-network-hashratechart
Global Coin Report. Here’s how monero (xmr) gets to $1,000. https://globalcoinreport.com/heres-monero-xmr-gets-1000/, 2018.
John Leyden. More and more websites are mining crypto-coins in your browser to pay their bills, line pockets. https://www.theregister.co.uk/2017/10/13/ crypto mining/
JAKOB NIELSEN. How long do users stay on web pages? https://www.nngroup.com/articles/how-long-do-users-stay-on-web-pages/
Papadopoulos, Panagiotis & Ilia, Panagiotis & Markatos, Evangelos. (2019). "Truth in Web Mining: Measuring the Profitability and the Imposed Overheads of Cryptojacking". 10.1007/978-3-030-30215-3_14.
"Monero (XMR) price, market cap, charts and info", https://www.coingecko.com/en/coins/monero