Thousands of websites secretly loaded a cryptocurrency miner that preys upon visitors after cybercriminals compromised a third-party library.

Security researcher Scott Helme reported the incident in a blog post that detailed how unknown actors changed one of the script files hosted by Texthelp, a provider of reading-assistive technology. Those malefactors targeted the Browsealoud web screen reader and altered it to include the CoinHive Monero miner.

“The ba.js had been altered to include a document.write call that added a CoinHive crypto miner to any page it was loaded in to,” Helme explained. In total, he found that the incident affected more than 4,000 websites, including many “prominent government websites” in the U.S. and U.K.

Swift Response

Helme reached out to Texthelp following his discovery, and the technology provider responded by temporarily disabling Browsealoud. It also issued a statement informing customers that it had implemented its “data security action plan” after learning of the issue. Texthelp went on to note that it had removed Browsealoud from all customer sites and mitigated any associated risk within four hours.

The U.K.’s Information Commissioner’s Office (ICO) took down its website Feb. 11 after learning it had been affected. The site remained offline the next day while the ICO investigated the incident.

Preventing Cryptocurrency Miner Attacks

The surge of cryptocurrency miner attacks in recent months calls for domain owners to strengthen the security of their websites. According to Helme, they can protect their sites against this particular attack type by adding the SRI Integrity Attribute, which enables the browser to determine whether a file has been modified. If someone has changed it, the browser won’t load the file.

Domain owners can take their website security one step further by implementing the Content Security Policy and the require-sri-for directive, Helme noted. Together, those measures prevent any script from loading on a hosted webpage without an SRI Integrity Attribute.

More from

Detecting Insider Threats: Leverage User Behavior Analytics

3 min read - Employees often play an unwitting role in many security incidents, from accidental data breaches to intentional malicious attacks. Unfortunately, most organizations don’t have the right protocols and processes to identify potential risks posed by their workforce. Based on a survey conducted by SANS Institute, 35% of respondents said they lack visibility into insider threats, while 30% said the inability to audit user access is a security blind spot in their organizations. In addition, the 2023 X-Force Threat Intelligence Index reported that…

3 min read

Poor Communication During a Data Breach Can Cost You — Here’s How to Avoid It

5 min read - No one needs to tell you that data breaches are costly. That data has been quantified and the numbers are staggering. In fact, the IBM Security Cost of a Data Breach estimates that the average cost of a data breach in 2022 was $4.35 million, with 83% of organizations experiencing one or more security incidents. But what’s talked about less often (and we think should be talked about more) is how communication — both good and bad — factors into…

5 min read

Increasingly Sophisticated Cyberattacks Target Healthcare

4 min read - It’s rare to see 100% agreement on a survey. But Porter Research found consensus from business leaders across the provider, payer and pharmaceutical/life sciences industries. Every single person agreed that “growing hacker sophistication” is the primary driver behind the increase in ransomware attacks. In response to the findings, the American Hospital Association told Porter Research, “Not only are cyber criminals more organized than they were in the past, but they are often more skilled and sophisticated.” Although not unanimous, the…

4 min read

Ransomware Renaissance 2023: The Definitive Guide to Stay Safer

2 min read - Ransomware is experiencing a renaissance in 2023, with some cybersecurity firms reporting over 400 attacks in the month of March alone. And it shouldn’t be a surprise: the 2023 X-Force Threat Intelligence Index found backdoor deployments — malware providing remote access — as the top attacker action in 2022, and aptly predicted 2022’s backdoor failures would become 2023’s ransomware crisis. Compounding the problem is the industrialization of the cybercrime ecosystem, enabling adversaries to complete more attacks, faster. Over the last…

2 min read