A study was conducted on 60 countries trying to determine which are the best and worst in the world of cyber security. Overall, the U.S ranked 5th most secure behind Japan, France, Canada and Denmark. They were ranked based on seven criteria: The percentage of mobile devices infected with malware—software designed to gain unauthorized access to, destroy or disrupt a device’s system, the percentage of computers infected with malware, the number of financial malware attacks used to steal a user’s money from the bank account on their computer system, the percentage of telnet attacks by originating country, the percentage of attacks by cryptominers—software that’s developed to take over a user’s computer and use its resources to mine currency without the user’s permission, the best-prepared countries for cyberattacks and the countries with the most up-to-date legislation. The least cyber secure country in the world is Algeria because it rated the lowest in cyber legislation and the highest in malware rates.