There's a seemingly endless collection of crimes you could be charged with if you're hacking a foreign country from inside the US. From wire fraud to conspiracy and everything in-between. A federal charge of conspiracy carries a mandatory minimum of 5 years in jail.