US spy agencies detected early signs of Russia revolt: media