UPDATED 21:55 EST / NOVEMBER 06 2018

SECURITY

Hackers hijack Statcounter code in an attempt to steal bitcoin

Old-school web traffic analysis tool provider Statcounter Inc. has been hacked, exposing users of the service to malicious code that attempts to steal bitcoin.

Statcounter, established in 1999, offers a visitor tracking service that involves users installing JavaScript code on their websites to track visitors. The use of JavaScript is where both Statcounter and its users were exposed to malicious code.

According to researchers at Eset spol s.r.o,  those behind the attack modified the script at www.statcounter[.]com/counter/counter.js by adding a piece of malicious code in the middle of the script. The fact that the code was inserted in the middle is unusual, researchers said, because “attackers generally add malicious code at the beginning, or at the end, of a legitimate file. Code injected into the middle of an existing script is typically harder to detect via casual observation.”

The malicious code was first inserted Nov. 3 and is possibly still live. In a strange twist, the code only targets users of a cryptocurrency site called Gate.io and hijacks cryptocurrency wallets with the intent of stealing bitcoin.

“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,” the researchers note. “To achieve this they compromised an analytics service’s website, used by more than 2 million other websites, including several government-related websites, to steal bitcoin from customers of just one cryptocurrency exchange website.”

Image: Statcounter

Since you’re here …

… We’d like to tell you about our mission and how you can help us fulfill it. SiliconANGLE Media Inc.’s business model is based on the intrinsic value of the content, not advertising. Unlike many online publications, we don’t have a paywall or run banner advertising, because we want to keep our journalism open, without influence or the need to chase traffic.The journalism, reporting and commentary on SiliconANGLE — along with live, unscripted video from our Silicon Valley studio and globe-trotting video teams at theCUBE — take a lot of hard work, time and money. Keeping the quality high requires the support of sponsors who are aligned with our vision of ad-free journalism content.

If you like the reporting, video interviews and other ad-free content here, please take a moment to check out a sample of the video content supported by our sponsors, tweet your support, and keep coming back to SiliconANGLE.