Hacking is an attempt to exploit a computer system or a private network inside a computer. Hackers attempt to gain unauthorised access to or control over computer network security systems for illicit purposes.