France believed the United States attempted to hack into its president's communications network, a leaked US intelligence document published on Friday suggests.