viruses and computer programmes have already been developed that can turn off a nations electricity , steal its foreign currency , open the sluice gates of dams and so on , all from thousands of miles away .