Are hacks legal?

A federal case of computer hacking usually involves illegal access to a government, business or personal computer with intent to cause harm, commit fraud, or obtain something of value. It should be noted that computer hacking can be prosecuted at both the state and federal level .