Cyber crimes can involve both traditional crimes like theft, fraud, and defamation that are punishable under the Indian Penal Code, as well as new age crimes addressed by the Information Technology Act, 2000. Cyber crimes are categorized based on whether the computer is used as a tool (e.g. hacking, viruses) or a weapon (e.g. cyber terrorism, credit card fraud) to attack other computers or commit real-world crimes. The Information Technology Act outlines various cyber crimes and their corresponding punishments, including offenses related to tampering with computer source documents, sending offensive online messages, identity theft, software piracy, cyber terrorism, and publishing obscene materials online.