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

A message from John Furrier, co-founder of SiliconANGLE:

Support our mission to keep content open and free by engaging with theCUBE community. Join theCUBE’s Alumni Trust Network, where technology leaders connect, share intelligence and create opportunities.

  • 15M+ viewers of theCUBE videos, powering conversations across AI, cloud, cybersecurity and more
  • 11.4k+ theCUBE alumni — Connect with more than 11,400 tech and business leaders shaping the future through a unique trusted-based network.
About SiliconANGLE Media
SiliconANGLE Media is a recognized leader in digital media innovation, uniting breakthrough technology, strategic insights and real-time audience engagement. As the parent company of SiliconANGLE, theCUBE Network, theCUBE Research, CUBE365, theCUBE AI and theCUBE SuperStudios — with flagship locations in Silicon Valley and the New York Stock Exchange — SiliconANGLE Media operates at the intersection of media, technology and AI.

Founded by tech visionaries John Furrier and Dave Vellante, SiliconANGLE Media has built a dynamic ecosystem of industry-leading digital media brands that reach 15+ million elite tech professionals. Our new proprietary theCUBE AI Video Cloud is breaking ground in audience interaction, leveraging theCUBEai.com neural network to help technology companies make data-driven decisions and stay at the forefront of industry conversations.