Cash-strapped North Korea, cut off from the rest of the world by sanctions, is resorting to cyber warfare to help support itself.