going back to the cold war , the two sides had been waging a clandestine battle for technological supremacy , each side supported by their respective military establishments and intelligence communities .