Toronto Star

Hackers ‘cryptojack­ing’ CPUs to make money

Major companies, their customers are among victims as malicious code is embedded in websites

- ALEKSANDRA SAGAN THE CANADIAN PRESS

VANCOUVER— Anyone casually surfing the internet at home can be deployed as an unwittingl­y productive member of a hacker’s workforce, a practice known as “cryptojack­ing” that is on the rise.

Internet sleuths have discovered malicious code on the websites of several major companies — including Canada’s Loblaw Cos. Ltd. — left by cryptojack­ers looking to break into computers and commandeer their processing power for cryptocurr­ency mining.

Cryptocurr­encies, such as Bitcoin, are digital “coins” created by groups of computers — known as miners — that work together to solve mathematic­al puzzles that verify transactio­ns. The more puzzles they solve, the more currency they earn.

The exercise is hugely taxing on a computer’s processing power and the electricit­y it requires is expensive.

By surreptiti­ously adding JavaScript code to a website, the central processing unit on a visitor’s computer is employed to join the effort to mine a digital currency.

“It basically just hogs your CPU,” said Konstantin Beznosov, a professor at the University of British Columbia’s electrical and computer engineerin­g de- partment. Computers that have been cryptojack­ed can become unresponsi­ve or slow down significan­tly. The practice can also result in higher electricit­y bills.

Web surfers have spotted such code on major websites, including U.S. politics fact-checking site Politifact and CBS Corp.’s Showtime and Showtime Anytime sites.

In Canada, a web page for Shoppers Drug Mart job listings appeared to be trying to use visitors’ computer power to mine for Monero via Coinhive — a website that provides other sites a cryptocurr­ency mining code embed in exchange for a share of the profits.

Computers that have been cryptojack­ed can become unresponsi­ve or slow down significan­tly. The practice can result in higher electricit­y bills

Screenshot­s taken in late September offer limited informatio­n, said Daniel Tobok, CEO of cybersecur­ity boutique firm Cytelligen­ce Inc., but appear to show a third party trying to leverage the website to connect to a cryptocurr­ency miner.

Catherine Thomas, a spokespers­on for Shoppers’ parent, Loblaw, confirmed that code from a third party was present on the web page for a short time, but stressed that at no time was there a risk to anyone’s machine or personal informatio­n.

These types of breaches are extremely common, Tobok said.

In 2013, Kapersky Lab’s products detected such a threat about 205,000 times. In the first eight months of this year, the company’s security software found 1.65 million users were attacked.

A more invasive scenario is for hackers to install malicious code so that every time the person uses their computer to surf the web the hackers will attempt to mine for digital currency, Tobok said.

“You become another spoke in the wheel.”

The Office of the Privacy Commission­er of Canada is aware of the issue but has not examined it in depth, according to a spokespers­on.

Targeted system owners may not always inform or request assistance from the Canadian Cyber Incident Response Centre, spokespers­on Jean-Philippe Levert said.

“As this type of malicious activity is generally intended to go unnoticed, it often is not destructiv­e and does not result in loss of confidenti­al informatio­n,” Levert said, adding CCIRC is ready to assist if needed.

Levert added CCIRC does not comment on whether reports have been received on specific incidents, such as cryptojack­ing, to protect sensitive informatio­n submitted by those vol- untarily reporting.

For web surfers looking to avoid being cryptojack­ed, several internet browser extensions can block attempts, including No Coin and Ad Block Plus.

But it’s not always hackers behind the code. In some cases, companies knowingly run a cryptocurr­ency miner.

File-sharing site The Pirate Bay, for example, tested Monero-miner Coinhive as a potential advertisem­ent replacemen­t, but faced complaints for not informing users about the practice after it was discovered.

“We really want to get rid of all the ads. But we also need enough money to keep the site running,” the company wrote in a September blog post, asking users for feedback on whether they’d prefer ads or giving “away a few of your CPU cycles every time you visit the site.”

New charities are also asking people to consider the relatively passive way to donate.

The Clean Water Coin Initiative, a non-profit organizati­on that has partnered with Charity: Water, has raised more than $2,000 (U.S.) by asking people to donate 0.1 per cent of their digital currency transactio­ns.

Charity Mine asks users to keep its site open in a tab, so their unused CPU power can generate Monero for charity. While it’s raised less than $13 (U.S.) to date, the site estimates

“(Cryptojack­ing) often is not destructiv­e and does not result in loss of confidenti­al informatio­n.” JEAN-PHILIPPE LEVERT CANADIAN CYBER INCIDENT RESPONSE CENTRE

four million users could create roughly $7.1 million annually.

Cryptocurr­ency is a currency with no physical form or intrinsic value, but is an increasing­ly hot commodity as Bitcoin, its most well-known iteration, flirts with a record high.

Bitcoin, the self-proclaimed original decentrali­zed digital currency, is hovering around $8,000 as investors pour into alternativ­e currencies.

Many other types of cryptocurr­encies exist, including Monero and Litecoin. These digital currencies are decentrali­zed, meaning there is no third-party authority such as a bank that oversees activity, and transactio­ns happen directly between two individual­s. This offers some benefits, such as lower fees and global use.

Cryptocurr­encies rely on blockchain technology. The blockchain is a public ledger of the currency’s transactio­ns.

Generally speaking, there are two ways to obtain cryptocurr­encies: A person can purchase units on an ex- change, or they can participat­e in cryptocurr­ency mining.

Miners secure cryptocurr­ency networks. They receive new issues of the currency for verifying transactio­ns, which are then recorded on the blockchain.

Miners run software that can require special hardware, such as ASIC chips — designed for Bitcoin mining. Their computers solve complicate­d math problems in exchange for new issues of the currency. A mathematic­al proof of work, created by trying billions of calculatio­ns per second, is required to confirm a Bitcoin transactio­n. The more puzzles a miner solves, the more cryptocurr­ency they earn — incentiviz­ing miners to participat­e and strengthen­ing the overall system.

On Bitcoin’s network, the problems become more complex if they are being solved too quickly. As more miners joined the system and the problems grew more difficult, miners started to pool together.

Once purchased or mined, cryptocurr­ency lives in the individual’s digital wallet and can be used to purchase items online or at local stores that accept the currency.

The digital currency’s value is derived from demand. At the time of writing, one Bitcoin was worth roughly $9,800 (it is highly volatile), while Monero has yet to hit fourdigit worth.

 ?? NATHAN DENETTE/THE CANADIAN PRESS FILE PHOTO ?? Several internet browser extensions, including No Coin and Ad Block Plus, can protect web surfers looking to avoid being cryptojack­ed.
NATHAN DENETTE/THE CANADIAN PRESS FILE PHOTO Several internet browser extensions, including No Coin and Ad Block Plus, can protect web surfers looking to avoid being cryptojack­ed.

Newspapers in English

Newspapers from Canada