§ 18.2-152.4. Computer trespass; penalty.
A. It shall be unlawful for any person, with malicious intent, to:
- Temporarily or permanently remove, halt, or otherwise disable any computer data, computer programs or computer software from a computer or computer network;
- Cause a computer to malfunction, regardless of how long the malfunction persists;
- Alter, disable, or erase any computer data, computer programs or computer software;
- Effect the creation or alteration of a financial instrument or of an electronic transfer of funds;
- Use a computer or computer network to cause physical injury to the property of another;
- Use a computer or computer network to make or cause to be made an unauthorized copy, in any form, including, but not limited to, any printed or electronic form of computer data, computer programs or computer software residing in, communicated by, or produced by a computer or computer network;
- Install or cause to be installed, or collect information through, computer software that records all or a majority of the keystrokes made on the computer of another without the computer owner’s authorization; or
- Install or cause to be installed on the computer of another, computer software for the purpose of (i) taking control of that computer so that it can cause damage to another computer or (ii) disabling or disrupting the ability of the computer to share or transmit instructions or data to other computers or to any related computer equipment or devices, including but not limited to printers, scanners, or fax machines.
B. Any person who violates this section is guilty of computer trespass, which shall be a Class 1 misdemeanor. Any person who violates this section for the purposes of affecting a computer that is exclusively for the use of, or exclusively used by or for, (i) the Commonwealth or any local government within the Commonwealth or any department or agency thereof or (ii) a provider of telephone, including wireless or voice over Internet protocol, oil, electric, gas, sewer, wastewater, or water service to the public is guilty of a Class 6 felony. If there is damage to the property of another valued at $1,000 or more caused by such person’s act in violation of this section, the offense shall be a Class 6 felony. If a person installs or causes to be installed computer software in violation of this section on more than five computers of another, the offense shall be a Class 6 felony. If a person violates subdivision A 8, the offense shall be a Class 6 felony.
C. Nothing in this section shall be construed to interfere with or prohibit terms or conditions in a contract or license related to computers, computer data, computer networks, computer operations, computer programs, computer services, or computer software or to create any liability by reason of terms or conditions adopted by, or technical measures implemented by, a Virginia-based electronic mail service provider to prevent the transmission of unsolicited electronic mail in violation of this article. Nothing in this section shall be construed to prohibit the monitoring of computer usage of, the otherwise lawful copying of data of, or the denial of computer or Internet access to a minor by a parent or legal guardian of the minor.