One of the top traffic metrics sites on the internet is reportedly being used by criminals to steal bitcoins from a currency exchange.

Researchers with ESET have found that the javascript used by StatCounter's analytics platform has been modified by an attacker with the intent that it would then be embedded into the pages of, a cryptocurrency exchange.

ESET said that the attackers injected malicious code within, a piece of JavaScript that StatCounter's 2 million or so customers use to link up their sites with the the bisuness' traffic analytics service.

While millions of sites may have accessed that modified code, however, it appears that just one site was the target. ESET's researchers say that the attack code within the StatCounter script performs a single check for a specific path: "myaccount/withdraw/BTC".

"It turns out that among the different cryptocurrency exchanges live at time of writing, only has a valid page with this URI," explained ESET malware researcher Matthieu Faou.

"Thus, this exchange seems to be the main target of this attack."

Should that path come up, a second script on a separate domain is run. That script looks to redirect any bitcoin transactions to one of several wallet addresses controlled by the attacker.

Hackers seed StatCounter with nasty JavaScript in elaborate bitcoin theft scheme
Bitcoin backer sues AT&T for $240m over stolen cryptocurrency READ MORE

Because the attacker used multiple accounts to receive the hijacked funds, the researchers do not know precisely how much was stolen. They believe, however, that the loss could be significant. did not respond to a request for comment, while StatCounter could not be reached. ESET says it has notified both companies of the attack.

"Even if we do not know how many Bitcoins have been stolen during this attack, it shows how far attackers go to target one specific website, in particular a cryptocurrency exchange," said Faou.

"To achieve this they compromised an analytics service’s website, used by more than two million other websites, including several government-related websites, to steal bitcoin from customers of just one cryptocurrency exchange website."

Sponsored: Following Bottomline’s journey to the Hybrid Cloud

本文前端(javascript)相关术语:javascript是什么意思 javascript下载 javascript权威指南 javascript基础教程 javascript 正则表达式 javascript设计模式 javascript高级程序设计 精通javascript javascript教程

本文标题:Hackers seed StatCounter with nasty JavaScript in elaborate bitcoin theft scheme

技术大类 技术大类 | 前端(javascript) | 评论(0) | 阅读(81)