Thailand was ranked among the 20 worst-affected countries for cybercrime last year, according to a US-based security software firm.