{"id":10589,"date":"2017-11-24T00:20:22","date_gmt":"2017-11-24T08:20:22","guid":{"rendered":"http:\/\/www.palada.net\/index.php\/2017\/11\/24\/news-4361\/"},"modified":"2017-11-24T00:20:22","modified_gmt":"2017-11-24T08:20:22","slug":"news-4361","status":"publish","type":"post","link":"https:\/\/www.palada.net\/index.php\/2017\/11\/24\/news-4361\/","title":{"rendered":"Massive campaign delivering Monero Miner via compromised websites \u2013 an analysis by Quick Heal Security Labs"},"content":{"rendered":"<p><strong>Credit to Author: Pradeep Kulkarni| Date: Fri, 24 Nov 2017 07:21:16 +0000<\/strong><\/p>\n<p>Ransomware outbreaks have been on the rise for quite some time now but suddenly we are observing a change in this trend. \u00a0Seems like the rise observed in cryptocurrency valuations especially for Bitcoins is making attackers to go after cryptocurrency mining. Cryptocurrency miner malware have become hot attack vectors for cybercriminals. By looking at the current complexities of mining, a mining pool of computers is needed for effective mining of cryptocurrencies. To achieve this, cybercriminals are attacking end users&#8217; machines with miner malware with the aim of creating mining pools. This type of mining attacks can be termed as distributed mining. In this blog post, we will be talking about an ongoing distributed mining campaign targeted towards mining of cryptocurrency called Monero. Monero (XMR) is an open source cryptocurrency which was launched in April 2014. Cryptocurrency mining requires massive computation power. Cybercriminals are misusing the processing power of end user devices to mine targeted cryptocurrency. In order to achieve this, hackers are compromising several websites mostly hosted on WordPress to deliver the Monero miner. As per the telemetry received at Quick Heal Security Labs, the compromised websites include those of Government, Pharmaceuticals, and Educational institutions. Attack chain This infographic depicts the attack chain of this campaign. Fig 1: Attack Chain In this campaign, websites with known vulnerabilities are being targeted. Once exploited, a malicious obfuscated JavaScript is injected into web pages. When a user visits such compromised websites, the injected JavaScript lures them into downloading a fake font update. On execution of the fake font update, it downloads the Monero miner and executes on user\u2019s system. This attack is currently only targeting users of Google Chrome and Firefox browser. Let\u2019s deep dive into the various phases of this attack. The below fiddler session capture shows the attack sequence. The attack sequence is that of a compromised website of a Pharmaceutical company. Fig 2: Fiddler Capture (Shortened Version) The injected JavaScript on execution pops up a window to update the font. The analysis was carried out on a Google Chrome browser during which we saw a pop-up to update \u201cChrome Font Pack\u201d. Fig 3. shows the pop-up window. Fig 3. Pop-up window which asks user to update Fake Font When the update button is clicked on, it pops up an instruction page on the screen. It also downloads a malicious ZIP file to Google Chrome\u2019s default download directory. The instructions displayed on the pop-up window asks the user to execute the file. Fig 4. Pop up window with instructions and downloads malicious ZIP file The downloaded ZIP file i.e., \u2018ttf.zip\u2019 consists of a malicious \u2018ttf.js\u2019 file. When the user clicks on \u2018ttf.js\u2019 it gets executed by \u2018cscript.exe\u2019 and downloads the malicious executable i.e., Monero miner. JavaScript analysis The Injected JavaScript is obfuscated. It consists of a de-obfuscation routine and a long string which is encoded with Base64. Fig 5. Injected JavaScript into Compromised Website The de-obfuscation of the above-injected JavaScript reveals the below code. Fig 6. De-obfuscated version of injected JavaScript As spotted in above Fig 6, it redirects the user to below malicious URL. \u201chxxp:\/\/bmooc[.]net\/wp-content\/service\/cat[.]php?m=f\u201d. The above URL fetches another malicious JavaScript code which looks like the below. Fig 7. Malicious JavaScript which loads Pop-up window The above malicious JavaScript loads the pop-up window on only Google Chrome and Firefox browsers. This, in turn, prompts the user to download the fake font update i.e., \u2018ttf.zip\u2019 file and gives instructions on how to install it. Monero miner post-infection activity On successful execution, the Monero miner generates the below post-infection traffic. Fig 8. Post infection traffic of Monero Miner At the time of analysis, the CnC server did not respond as expected. Using the old trick of compromising websites with known vulnerabilities turns out to be an effective way of mass infection. This campaign also makes use of compromised websites in order to infect mass users with Monero miner. This forms distributed network of Monero miners. To solve the complex job of mining digital currency, such distributed networks of miner pools turns out to be an effective tool. We advise our users to stay protected by keeping their antivirus up to date with the latest security updates. Indicators of compromise bmooc[.]net buyorganicvisitors[.]com&hellip;<br \/><a href=\"http:\/\/blogs.quickheal.com\/massive-campaign-delivering-monero-miner-via-compromised-websites-analysis-quick-heal-security-labs\/\" target=\"bwo\" >http:\/\/blogs.quickheal.com\/feed\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><strong>Credit to Author: Pradeep Kulkarni| Date: Fri, 24 Nov 2017 07:21:16 +0000<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" style=\"float:left; margin:0 15px 15px 0;\" srcset=\"http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-150x150.jpg 150w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-300x300.jpg 300w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-390x390.jpg 390w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-70x70.jpg 70w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-80x81.jpg 80w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720-45x45.jpg 45w, http:\/\/blogs.quickheal.com\/wp-content\/uploads\/2017\/11\/bitcoin-2883885_960_720.jpg 720w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/>Ransomware outbreaks have been on the rise for quite some time now but suddenly we are observing a change in this trend. \u00a0Seems like the rise observed in cryptocurrency valuations especially for Bitcoins is making attackers to go after cryptocurrency mining. Cryptocurrency miner malware have become hot attack vectors for&#8230;<\/p>\n<p>The post <a rel=\"nofollow\" href=\"http:\/\/blogs.quickheal.com\/massive-campaign-delivering-monero-miner-via-compromised-websites-analysis-quick-heal-security-labs\/\">Massive campaign delivering Monero Miner via compromised websites \u2013 an analysis by Quick Heal Security Labs<\/a> appeared first on <a rel=\"nofollow\" href=\"http:\/\/blogs.quickheal.com\">Quick Heal Technologies Security Blog | Latest computer security news, tips, and advice<\/a>.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[10459,10378],"tags":[10490,12053,16723,3764,16398,10538,10752],"class_list":["post-10589","post","type-post","status-publish","format-standard","hentry","category-quickheal","category-security","tag-bitcoin","tag-compromised-websites","tag-malicious-javascripts","tag-malware","tag-miner","tag-monero","tag-vulnerabilities"],"_links":{"self":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/10589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/comments?post=10589"}],"version-history":[{"count":0,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/10589\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/media?parent=10589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/categories?post=10589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/tags?post=10589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}