Why would they be? If you're physically in the US and commit a crime, I think it's still a US crime even if the victim is outside the US.
I doubt the US would prosecute you though for hacking Russia.
I doubt the US would prosecute you though for hacking Russia.