One in five hacking attempts were on social networking sites this year.