Massive ransomware attack forces authorities to use typewriters