@kavinh As I said he wasn't teaching his daughter a lesson, the whole lesson thing was just a cover for the con to justify he running the contest in the 1º place, he and his daughter are implied in the final pages to actually be in good terms and are partners in this whole project.
As for the virus part, one thing my teachers constantly told me is that it's actually easier to hack and implant virus in major organizations and corporations due to the fact you only need to find someone in the organization that doens't follow basic online security protocols (again trust me, this is more common than most people believe) and then use their machine to access the whole network which is how most security breaches happen rather then the common misconception of attacking the central computer/network that appear in movies.