Politically motivated hackers shut down the computer network of the world's largest oil company for more than 10 days this month, the first time such a group has employed the kind of sophisticated cyberweapons typically used by national governments.