Some businesses paid a ransom of more than $500,000 after a cyberattack last year, new Statistics Canada data revealed.