Would it be legal for an American to hack Russian military infrastructure to aid Ukraine?
<p>I am an American citizen located in the US. Suppose I wanted to hack Russian military infrastructure and disable it in order to aid Ukraine. Would this be legal?</p>

<p>It's illegal.</p>
<p><a href="https://www.law.cornell.edu/uscode/text/18/1030" rel="nofollow noreferrer">18 USC 1030</a>, the Computer Fraud and Abuse Act, makes it illegal to, for instance, &quot;intentionally access a protected computer without authorization, and as a result of such conduct, cause damage and loss.&quot;  A &quot;protected computer&quot; is defined to include any computer &quot;which is used in or affecting interstate or foreign commerce or communication&quot;.  This effectively includes every computer in the world that's connected to the Internet (see <a href="https://caselaw.findlaw.com/us-8th-circuit/1072284.html" rel="nofollow noreferrer"><em>US v. Trotter</em></a>, 478 F.3d 918 (8th Cir. 2007).</p>
<p>To the best of my knowledge, Congress has not added any exceptions for Russia or any other specific country.</p>
<hr />
<p>It's also likely to be forbidden by the laws of your state.  You did not specify a state, but taking Colorado as an example, the following are crimes under <a href="https://advance.lexis.com/api/document/collection/statutes-legislation/id/65S8-0X23-GXF6-84JX-00008-00?cite=C.R.S.%2018-5.5-102&amp;context=1000516" rel="nofollow noreferrer">C.R.S. 18-5.5-102</a>:</p>
<blockquote>
<p>(a) Accesses a computer, computer network, or computer system or any part thereof without authorization; exceeds authorized access to a computer, computer network, or computer system or any part thereof; or uses a computer, computer network, or computer system or any part thereof without authorization or in excess of authorized access; or
[...]</p>
<p>(e) Without authorization or in excess of authorized access alters, damages, interrupts, or causes the interruption or impairment of the proper functioning of, or causes any damage to, any computer, computer network, computer system, computer software, program, application, documentation, or data contained in such computer, computer network, or computer system or any part thereof; or</p>
<p>(f) Causes the transmission of a computer program, software, information, code, data, or command by means of a computer, computer network, or computer system or any part thereof with the intent to cause damage to or to cause the interruption or impairment of the proper functioning of or that actually causes damage to or the interruption or impairment of the proper functioning of any computer, computer network, computer system, or part thereof [...]</p>
</blockquote>
<p>Note that this applies to <em>any</em> target computer, and the prosecution would not have to prove that the computer was used in, or affected, interstate or foreign commerce or communication.</p>
<p>Other states most likely have similar laws.</p>

united-states military laws-of-war ukraine computer