Cyber crime refers to any illegal activity involving computers or networks. The first recorded cyber crime occurred in 1820, while the first spam email and computer virus appeared in 1976 and 1982, respectively. There are two categories of cyber crime: computers as targets and computers as weapons. Common types of cyber crime include hacking, denial of service attacks, virus distribution, computer vandalism, cyber terrorism, and software piracy. Cyber security helps defend against critical attacks by processing incoming and outgoing data to protect from hacks and viruses. Indian law addresses both traditional crimes involving computers as well as new age cyber crimes under the Information Technology Act, 2000.