It can be very difficult to determine from which country the attack originates. For example, we know that North Korea does a lot of hacking, but has almost no internet connections. Clever hackers will always try to route their attack through some other country.