The cyber attack – possibly by Russia or China – caused “significant” damage to the academic arm of the UK’s Ministry of Defence, according to a retired high-ranking officer.