Uploading and running executable code on other people's devices without their permission is absolutely illegal, regardless if it's exposed or not. I would be pissed if someone did this on any of my devices.
Pro tip: Get with the post-nationalist, internet-enabled program and give up on this line of thinking.
PS: Some people where shocked that Greece defaulted ignoring. "Greece faced economic hardships and defaulted on its loans in 1826, 1843, 1860 and 1893." Why? Because as nation they can get away with it do why not?
Worldview from some assumed national perspective = nationalism.
For example, viewing the entirety of the global internet in terms of the fact that certain other countries (that may be nominal enemies of 'your' (hah!) country) are connected to it.