Let’s say a hacker wanted to change a transaction that happened 60 minutes, or six blocks, ago—maybe to remove evidence that she had spent some bitcoins, so she could spend them again. Her first step would be to go in and change the record for that transaction. Then, because she had modified the block, she would have to solve a new proof-of-work problem—find a new nonce—and do all of that computational work, all over again. (Again, due to the unpredictable nature of hash functions, making the slightest change to the original block means starting the proof of work from scratch.) From there, she’d have to start building an alternative chain going forward, solving a new proof-of-work problem for each block until she caught up with the present.
The difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. The rate is recalculated every 2,016 blocks to a value such that the previous 2,016 blocks would have been generated in exactly one fortnight (two weeks) had everyone been mining at this difficulty. This is expected yield, on average, one block every ten minutes.
The software delivers the work to the miners and receives the completed work from the miners and relays that information back to the blockchain. The best Bitcoin mining software can run on almost any desktop operating systems, such as OSX, Windows, Linux, and has even been ported to work on a Raspberry Pi with some modifications for drivers depending on the platform.
Cryptocurrency mining can be an expensive proposition, requiring computing hardware and electricity. Cryptojacking offers cybercriminals a way to steal computing power from other people to bypass the effort and expense. Cryptojacking software operates on computers in the background, with the only evidence of its presence signified by a user’s device overheating or slowing down.
In 2014 prices started at $770 and fell to $314 for the year. In February 2014 the Mt. Gox exchange, the largest bitcoin exchange at the time, said that 850,000 bitcoins had been stolen from its customers, amounting to almost $500 million. Bitcoin's price fell by almost half, from $867 to $439 (a 49% drop). Prices remained low until late 2016.